trix-editor {
  border: 1px solid #bbb;
  border-radius: 3px;
  margin: 0;
  padding: 0.4em 0.6em;
  min-height: 5em;
  outline: none; }

trix-toolbar * {
  box-sizing: border-box; }

trix-toolbar .trix-button-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  overflow-x: auto; }

trix-toolbar .trix-button-group {
  display: flex;
  margin-bottom: 10px;
  border: 1px solid #bbb;
  border-top-color: #ccc;
  border-bottom-color: #888;
  border-radius: 3px; }
  trix-toolbar .trix-button-group:not(:first-child) {
    margin-left: 1.5vw; }
    @media (max-width: 768px) {
      trix-toolbar .trix-button-group:not(:first-child) {
        margin-left: 0; } }

trix-toolbar .trix-button-group-spacer {
  flex-grow: 1; }
  @media (max-width: 768px) {
    trix-toolbar .trix-button-group-spacer {
      display: none; } }

trix-toolbar .trix-button {
  position: relative;
  float: left;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.75em;
  font-weight: 600;
  white-space: nowrap;
  padding: 0 0.5em;
  margin: 0;
  outline: none;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  background: transparent; }
  trix-toolbar .trix-button:not(:first-child) {
    border-left: 1px solid #ccc; }
  trix-toolbar .trix-button.trix-active {
    background: #cbeefa;
    color: black; }
  trix-toolbar .trix-button:not(:disabled) {
    cursor: pointer; }
  trix-toolbar .trix-button:disabled {
    color: rgba(0, 0, 0, 0.125); }
  @media (max-width: 768px) {
    trix-toolbar .trix-button {
      letter-spacing: -0.01em;
      padding: 0 0.3em; } }

trix-toolbar .trix-button--icon {
  font-size: inherit;
  width: 2.6em;
  height: 1.6em;
  max-width: calc(0.8em + 4vw);
  text-indent: -9999px; }
  @media (max-width: 768px) {
    trix-toolbar .trix-button--icon {
      height: 2em;
      max-width: calc(0.8em + 3.5vw); } }
  trix-toolbar .trix-button--icon::before {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.6;
    content: "";
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain; }
    @media (max-width: 768px) {
      trix-toolbar .trix-button--icon::before {
        right: 6%;
        left: 6%; } }
  trix-toolbar .trix-button--icon.trix-active::before {
    opacity: 1; }
  trix-toolbar .trix-button--icon:disabled::before {
    opacity: 0.125; }

trix-toolbar .trix-button--icon-attach::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.5%2018V7.5c0-2.25%203-2.25%203%200V18c0%204.125-6%204.125-6%200V7.5c0-6.375%209-6.375%209%200V18%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  top: 8%;
  bottom: 4%; }

trix-toolbar .trix-button--icon-bold::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.522%2019.242a.5.5%200%200%201-.5-.5V5.35a.5.5%200%200%201%20.5-.5h5.783c1.347%200%202.46.345%203.24.982.783.64%201.216%201.562%201.216%202.683%200%201.13-.587%202.129-1.476%202.71a.35.35%200%200%200%20.049.613c1.259.56%202.101%201.742%202.101%203.22%200%201.282-.483%202.334-1.363%203.063-.876.726-2.132%201.12-3.66%201.12h-5.89ZM9.27%207.347v3.362h1.97c.766%200%201.347-.17%201.733-.464.38-.291.587-.716.587-1.27%200-.53-.183-.928-.513-1.198-.334-.273-.838-.43-1.505-.43H9.27Zm0%205.606v3.791h2.389c.832%200%201.448-.177%201.853-.497.399-.315.614-.786.614-1.423%200-.62-.22-1.077-.63-1.385-.418-.313-1.053-.486-1.905-.486H9.27Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-italic::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M9%205h6.5v2h-2.23l-2.31%2010H13v2H6v-2h2.461l2.306-10H9V5Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-link::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M18.948%205.258a4.337%204.337%200%200%200-6.108%200L11.217%206.87a.993.993%200%200%200%200%201.41c.392.39%201.027.39%201.418%200l1.623-1.613a2.323%202.323%200%200%201%203.271%200%202.29%202.29%200%200%201%200%203.251l-2.393%202.38a3.021%203.021%200%200%201-4.255%200l-.05-.049a1.007%201.007%200%200%200-1.418%200%20.993.993%200%200%200%200%201.41l.05.049a5.036%205.036%200%200%200%207.091%200l2.394-2.38a4.275%204.275%200%200%200%200-6.072Zm-13.683%2013.6a4.337%204.337%200%200%200%206.108%200l1.262-1.255a.993.993%200%200%200%200-1.41%201.007%201.007%200%200%200-1.418%200L9.954%2017.45a2.323%202.323%200%200%201-3.27%200%202.29%202.29%200%200%201%200-3.251l2.344-2.331a2.579%202.579%200%200%201%203.631%200c.392.39%201.027.39%201.419%200a.993.993%200%200%200%200-1.41%204.593%204.593%200%200%200-6.468%200l-2.345%202.33a4.275%204.275%200%200%200%200%206.072Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-strike::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6%2014.986c.088%202.647%202.246%204.258%205.635%204.258%203.496%200%205.713-1.728%205.713-4.463%200-.275-.02-.536-.062-.781h-3.461c.398.293.573.654.573%201.123%200%201.035-1.074%201.787-2.646%201.787-1.563%200-2.773-.762-2.91-1.924H6ZM6.432%2010h3.763c-.632-.314-.914-.715-.914-1.273%200-1.045.977-1.739%202.432-1.739%201.475%200%202.52.723%202.617%201.914h2.764c-.05-2.548-2.11-4.238-5.39-4.238-3.145%200-5.392%201.719-5.392%204.316%200%20.363.04.703.12%201.02ZM4%2011a1%201%200%201%200%200%202h15a1%201%200%201%200%200-2H4Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-quote::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M4.581%208.471c.44-.5%201.056-.834%201.758-.995C8.074%207.17%209.201%207.822%2010%208.752c1.354%201.578%201.33%203.555.394%205.277-.941%201.731-2.788%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.121-.49.16-.764.294-.286.567-.566.791-.835.222-.266.413-.54.524-.815.113-.28.156-.597.026-.908-.128-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.674-2.7c0-.905.283-1.59.72-2.088Zm9.419%200c.44-.5%201.055-.834%201.758-.995%201.734-.306%202.862.346%203.66%201.276%201.355%201.578%201.33%203.555.395%205.277-.941%201.731-2.789%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.122-.49.16-.764.294-.286.567-.566.791-.835.222-.266.412-.54.523-.815.114-.28.157-.597.026-.908-.127-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.672-2.701c0-.905.283-1.59.72-2.088Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-heading-1::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.5%207.5v-3h-12v3H14v13h3v-13h4.5ZM9%2013.5h3.5v-3h-10v3H6v7h3v-7Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-code::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3.293%2011.293a1%201%200%200%200%200%201.414l4%204a1%201%200%201%200%201.414-1.414L5.414%2012l3.293-3.293a1%201%200%200%200-1.414-1.414l-4%204Zm13.414%205.414%204-4a1%201%200%200%200%200-1.414l-4-4a1%201%200%201%200-1.414%201.414L18.586%2012l-3.293%203.293a1%201%200%200%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-bullet-list::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%207.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203ZM8%206a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-2.5-5a1.5%201.5%200%201%201-3%200%201.5%201.5%200%200%201%203%200ZM5%2019.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-number-list::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%204h2v4H4V5H3V4Zm5%202a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-3.5-7H6v1l-1.5%202H6v1H3v-1l1.667-2H3v-1h2.5ZM3%2017v-1h3v4H3v-1h2v-.5H4v-1h1V17H3Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-undo::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%2014a1%201%200%200%200%201%201h6a1%201%200%201%200%200-2H6.257c2.247-2.764%205.151-3.668%207.579-3.264%202.589.432%204.739%202.356%205.174%205.405a1%201%200%200%200%201.98-.283c-.564-3.95-3.415-6.526-6.825-7.095C11.084%207.25%207.63%208.377%205%2011.39V8a1%201%200%200%200-2%200v6Zm2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-redo::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21%2014a1%201%200%200%201-1%201h-6a1%201%200%201%201%200-2h3.743c-2.247-2.764-5.151-3.668-7.579-3.264-2.589.432-4.739%202.356-5.174%205.405a1%201%200%200%201-1.98-.283c.564-3.95%203.415-6.526%206.826-7.095%203.08-.513%206.534.614%209.164%203.626V8a1%201%200%201%201%202%200v6Zm-2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-decrease-nesting-level::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-3.707-5.707a1%201%200%200%200%200%201.414l2%202a1%201%200%201%200%201.414-1.414L4.414%2012l1.293-1.293a1%201%200%200%200-1.414-1.414l-2%202Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-button--icon-increase-nesting-level::before {
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-2.293-2.293%202-2a1%201%200%200%200%200-1.414l-2-2a1%201%200%201%200-1.414%201.414L3.586%2012l-1.293%201.293a1%201%200%201%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E"); }

trix-toolbar .trix-dialogs {
  position: relative; }

trix-toolbar .trix-dialog {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 0.75em;
  padding: 15px 10px;
  background: #fff;
  box-shadow: 0 0.3em 1em #ccc;
  border-top: 2px solid #888;
  border-radius: 5px;
  z-index: 5; }

trix-toolbar .trix-input--dialog {
  font-size: inherit;
  font-weight: normal;
  padding: 0.5em 0.8em;
  margin: 0 10px 0 0;
  border-radius: 3px;
  border: 1px solid #bbb;
  background-color: #fff;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none; }
  trix-toolbar .trix-input--dialog.validate:invalid {
    box-shadow: #F00 0px 0px 1.5px 1px; }

trix-toolbar .trix-button--dialog {
  font-size: inherit;
  padding: 0.5em;
  border-bottom: none; }

trix-toolbar .trix-dialog--link {
  max-width: 600px; }

trix-toolbar .trix-dialog__link-fields {
  display: flex;
  align-items: baseline; }
  trix-toolbar .trix-dialog__link-fields .trix-input {
    flex: 1; }
  trix-toolbar .trix-dialog__link-fields .trix-button-group {
    flex: 0 0 content;
    margin: 0; }

trix-editor [data-trix-mutable]:not(.attachment__caption-editor) {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }

trix-editor [data-trix-mutable]::-moz-selection,
trix-editor [data-trix-cursor-target]::-moz-selection, trix-editor [data-trix-mutable] ::-moz-selection {
  background: none; }

trix-editor [data-trix-mutable]::selection,
trix-editor [data-trix-cursor-target]::selection, trix-editor [data-trix-mutable] ::selection {
  background: none; }

trix-editor .attachment__caption-editor:focus[data-trix-mutable]::-moz-selection {
  background: highlight; }

trix-editor .attachment__caption-editor:focus[data-trix-mutable]::selection {
  background: highlight; }

trix-editor [data-trix-mutable].attachment.attachment--file {
  box-shadow: 0 0 0 2px highlight;
  border-color: transparent; }

trix-editor [data-trix-mutable].attachment img {
  box-shadow: 0 0 0 2px highlight; }

trix-editor .attachment {
  position: relative; }
  trix-editor .attachment:hover {
    cursor: default; }

trix-editor .attachment--preview .attachment__caption:hover {
  cursor: text; }

trix-editor .attachment__progress {
  position: absolute;
  z-index: 1;
  height: 20px;
  top: calc(50% - 10px);
  left: 5%;
  width: 90%;
  opacity: 0.9;
  transition: opacity 200ms ease-in; }
  trix-editor .attachment__progress[value="100"] {
    opacity: 0; }

trix-editor .attachment__caption-editor {
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
  color: inherit;
  text-align: center;
  vertical-align: top;
  border: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none; }

trix-editor .attachment__toolbar {
  position: absolute;
  z-index: 1;
  top: -0.9em;
  left: 0;
  width: 100%;
  text-align: center; }

trix-editor .trix-button-group {
  display: inline-flex; }

trix-editor .trix-button {
  position: relative;
  float: left;
  color: #666;
  white-space: nowrap;
  font-size: 80%;
  padding: 0 0.8em;
  margin: 0;
  outline: none;
  border: none;
  border-radius: 0;
  background: transparent; }
  trix-editor .trix-button:not(:first-child) {
    border-left: 1px solid #ccc; }
  trix-editor .trix-button.trix-active {
    background: #cbeefa; }
  trix-editor .trix-button:not(:disabled) {
    cursor: pointer; }

trix-editor .trix-button--remove {
  text-indent: -9999px;
  display: inline-block;
  padding: 0;
  outline: none;
  width: 1.8em;
  height: 1.8em;
  line-height: 1.8em;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid highlight;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.25); }
  trix-editor .trix-button--remove::before {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.7;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M19%206.41%2017.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z%22%2F%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 90%; }
  trix-editor .trix-button--remove:hover {
    border-color: #333; }
    trix-editor .trix-button--remove:hover::before {
      opacity: 1; }

trix-editor .attachment__metadata-container {
  position: relative; }

trix-editor .attachment__metadata {
  position: absolute;
  left: 50%;
  top: 2em;
  transform: translate(-50%, 0);
  max-width: 90%;
  padding: 0.1em 0.6em;
  font-size: 0.8em;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 3px; }
  trix-editor .attachment__metadata .attachment__name {
    display: inline-block;
    max-width: 100%;
    vertical-align: bottom;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }
  trix-editor .attachment__metadata .attachment__size {
    margin-left: 0.2em;
    white-space: nowrap; }

.trix-content {
  line-height: 1.5; }
  .trix-content * {
    box-sizing: border-box;
    margin: 0;
    padding: 0; }
  .trix-content h1 {
    font-size: 1.2em;
    line-height: 1.2; }
  .trix-content blockquote {
    border: 0 solid #ccc;
    border-left-width: 0.3em;
    margin-left: 0.3em;
    padding-left: 0.6em; }
  .trix-content [dir=rtl] blockquote,
  .trix-content blockquote[dir=rtl] {
    border-width: 0;
    border-right-width: 0.3em;
    margin-right: 0.3em;
    padding-right: 0.6em; }
  .trix-content li {
    margin-left: 1em; }
  .trix-content [dir=rtl] li {
    margin-right: 1em; }
  .trix-content pre {
    display: inline-block;
    width: 100%;
    vertical-align: top;
    font-family: monospace;
    font-size: 0.9em;
    padding: 0.5em;
    white-space: pre;
    background-color: #eee;
    overflow-x: auto; }
  .trix-content img {
    max-width: 100%;
    height: auto; }
  .trix-content .attachment {
    display: inline-block;
    position: relative;
    max-width: 100%; }
    .trix-content .attachment a {
      color: inherit;
      text-decoration: none; }
      .trix-content .attachment a:hover, .trix-content .attachment a:visited:hover {
        color: inherit; }
  .trix-content .attachment__caption {
    text-align: center; }
    .trix-content .attachment__caption .attachment__name + .attachment__size::before {
      content: ' \2022 '; }
  .trix-content .attachment--preview {
    width: 100%;
    text-align: center; }
    .trix-content .attachment--preview .attachment__caption {
      color: #666;
      font-size: 0.9em;
      line-height: 1.2; }
  .trix-content .attachment--file {
    color: #333;
    line-height: 1;
    margin: 0 2px 2px 2px;
    padding: 0.4em 1em;
    border: 1px solid #bbb;
    border-radius: 5px; }
  .trix-content .attachment-gallery {
    display: flex;
    flex-wrap: wrap;
    position: relative; }
    .trix-content .attachment-gallery .attachment {
      flex: 1 0 33%;
      padding: 0 0.5em;
      max-width: 33%; }
    .trix-content .attachment-gallery.attachment-gallery--2 .attachment, .trix-content .attachment-gallery.attachment-gallery--4 .attachment {
      flex-basis: 50%;
      max-width: 50%; }
/*
 * Provides a drop-in pointer for the default Trix stylesheet that will format the toolbar and
 * the trix-editor content (whether displayed or under editing). Feel free to incorporate this
 * inclusion directly in any other asset bundle and remove this file.
 *

*/

/*
 * We need to override trix.css’s image gallery styles to accommodate the
 * <action-text-attachment> element we wrap around attachments. Otherwise,
 * images in galleries will be squished by the max-width: 33%; rule.
*/
.trix-content .attachment-gallery > action-text-attachment,
.trix-content .attachment-gallery > .attachment {
  flex: 1 0 33%;
  padding: 0 0.5em;
  max-width: 33%;
}

.trix-content .attachment-gallery.attachment-gallery--2 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--2 > .attachment, .trix-content .attachment-gallery.attachment-gallery--4 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--4 > .attachment {
  flex-basis: 50%;
  max-width: 50%;
}

.trix-content action-text-attachment .attachment {
  padding: 0 !important;
  max-width: 100% !important;
}
/* Top Navigation Styles */
.top-navigation {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e5e7eb;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #c8986b;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-logo:hover {
  color: #a67c52;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #c8986b;
}

/* User Menu Styles */
.user-menu {
  position: relative;
}

.user-menu-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e5e7eb;
  transition: border-color 0.2s;
}

.user-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #c8986b;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.125rem;
  border: 2px solid #e5e7eb;
  transition: border-color 0.2s;
}

.user-menu-button:hover .user-avatar,
.user-menu-button:hover .user-avatar-placeholder {
  border-color: #c8986b;
}

/* Dropdown Menu Styles */
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  display: none;
  z-index: 101;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  transition: background-color 0.2s;
}

.dropdown-item:hover {
  background-color: #f9fafb;
  color: #c8986b;
}

.dropdown-item:first-child {
  border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
  border-radius: 0 0 8px 8px;
}

/* Adjust main content to account for fixed header */
main {
  min-height: calc(100vh - 124px); /* 64px header + 60px footer */
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .nav-container {
    padding: 0 1rem;
  }
  
  .nav-logo {
    font-size: 1.25rem;
  }
  
  .user-avatar,
  .user-avatar-placeholder {
    width: 36px;
    height: 36px;
  }
}
/* Posts Index Styles */
.posts-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.posts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.posts-header h1 {
  margin: 0;
  font-size: 2rem;
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.post-item {
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.post-item h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
}

.post-item h2 a {
  color: #333;
  text-decoration: none;
}

.post-item h2 a:hover {
  color: #007bff;
}

.post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 1rem;
}

.post-excerpt {
  color: #555;
  line-height: 1.6;
}

/* Posts Show Styles */
.post-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.post-content {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.post-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.post-header h1 {
  margin: 0 0 1rem 0;
  font-size: 2.5rem;
  color: #333;
}

.post-body {
  margin-bottom: 2rem;
  line-height: 1.8;
  color: #444;
}

.post-body p {
  margin-bottom: 1rem;
}

.post-actions {
  display: flex;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

/* Posts Form Styles (New/Edit) */
.posts-container .form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.posts-container .form-container h1 {
  margin-bottom: 2rem;
  font-size: 2rem;
}

.posts-container .form-group {
  margin-bottom: 1.5rem;
}

.posts-container .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.posts-container .form-control {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.posts-container .form-control:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.posts-container .error-messages {
  background-color: #fee;
  border: 1px solid #fcc;
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.posts-container .error-messages h2 {
  color: #c00;
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
}

.posts-container .error-messages ul {
  margin: 0;
  padding-left: 1.5rem;
}

.posts-container .error-messages li {
  color: #c00;
}

.posts-container .form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.posts-container trix-editor {
  min-height: 200px;
}

/* Button Styles */
.posts-container .btn {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.posts-container .btn-primary {
  background-color: #007bff;
  color: white;
}

.posts-container .btn-primary:hover {
  background-color: #0056b3;
}

.posts-container .btn-secondary {
  background-color: #6c757d;
  color: white;
}

.posts-container .btn-secondary:hover {
  background-color: #5a6268;
}

.posts-container .btn-danger {
  background-color: #dc3545;
  color: white;
}

.posts-container .btn-danger:hover {
  background-color: #c82333;
}

.posts-container .btn-light {
  background-color: #f8f9fa;
  color: #333;
  border: 1px solid #dee2e6;
}

.posts-container .btn-light:hover {
  background-color: #e2e6ea;
}

/* Posts Feed Styles */
.posts-feed {
  margin-top: 1rem;
}

.posts-feed .post-item {
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  margin-bottom: 1rem;
}

.posts-feed .post-item h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
}

.posts-feed .post-item h3 a {
  color: #333;
  text-decoration: none;
}

.posts-feed .post-item h3 a:hover {
  color: #007bff;
}

.posts-feed .post-actions {
  margin-top: 1rem;
}

.posts-feed .btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.no-posts {
  text-align: center;
  color: #666;
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  border: 1px dashed #ddd;
}

.loading-spinner {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-style: italic;
}

/* Modal Styles for New/Edit Post */
turbo-frame#new_post_modal,
turbo-frame#edit_post_modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

turbo-frame#new_post_modal:empty,
turbo-frame#edit_post_modal:empty {
  display: none;
}

turbo-frame#new_post_modal .form-container,
turbo-frame#edit_post_modal .form-container {
  background-color: white;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Projects Index Styles */
.notice-banner {
  background-color: #d4edda;
  border-left: 4px solid #28a745;
  color: #155724;
  padding: 16px;
  margin-bottom: 24px;
  border-radius: 6px;
}

.projects-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 16px;
}

@media (min-width: 640px) {
  .projects-container {
    padding: 32px 24px;
  }
}

@media (min-width: 1024px) {
  .projects-container {
    padding: 32px;
  }
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.projects-title {
  font-size: 1.875rem;
  font-weight: bold;
  color: #1a202c;
}

.new-project-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color: white;
  background-color: #c8986b;
  text-decoration: none;
  transition: all 0.2s;
}

.new-project-btn:hover {
  background-color: #b8885b;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.new-project-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 152, 107, 0.3);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background-color: white;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transition: box-shadow 0.3s;
}

.project-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.project-card-footer {
  padding: 16px 24px;
  background-color: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.project-link {
  color: #c8986b;
  font-weight: 500;
  text-decoration: none;
}

.project-link:hover {
  color: #a67c52;
}

/* Project Item Styles */
.project-item {
  padding: 24px;
}

.project-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 8px;
}

.star-form {
  flex-shrink: 0;
  display: inline-flex;
}

.star-button-container {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.star-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.2s;
}

.star-button:hover {
  color: #fbbf24;
}

.star-button.starred {
  color: #fbbf24;
}

.star-button.starred:hover {
  color: #9ca3af;
}

.star-icon {
  height: 24px;
  width: 24px;
}

.star-count {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.project-description {
  color: #4b5563;
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-meta {
  margin-top: 16px;
  display: flex;
  align-items: center;
}

.project-codename {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: #e8f0ff;
  color: #2563eb;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 48px 0;
}

.empty-state-icon {
  margin: 0 auto;
  height: 48px;
  width: 48px;
  color: #9ca3af;
}

.empty-state-title {
  margin-top: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a202c;
}

.empty-state-text {
  margin-top: 4px;
  font-size: 0.875rem;
  color: #6b7280;
}

.empty-state-action {
  margin-top: 24px;
}

/* Project Show Page */
.project-detail-container {
  background-color: white;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.add-member-form {
  margin-bottom: 24px;
}

.member-form-controls {
  display: flex;
  gap: 16px;
}

.member-select {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  background-color: white;
}

.member-select:focus {
  outline: none;
  border-color: #c8986b;
  box-shadow: 0 0 0 3px rgba(200, 152, 107, 0.1);
}

.add-member-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color: white;
  background-color: #c8986b;
  cursor: pointer;
  transition: all 0.2s;
}

.add-member-btn:hover {
  background-color: #b8885b;
}

.members-list {
  border-top: 1px solid #e5e7eb;
}

.member-item {
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

.member-item:last-child {
  border-bottom: none;
}

.empty-members {
  color: #6b7280;
  text-align: center;
  padding: 32px 0;
}

.project-actions {
  margin-top: 24px;
  display: flex;
  gap: 16px;
}

.edit-project-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  color: #374151;
  background-color: white;
  text-decoration: none;
  transition: all 0.2s;
}

.edit-project-btn:hover {
  background-color: #f9fafb;
}

.delete-project-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  color: white;
  background-color: #dc2626;
  cursor: pointer;
  transition: all 0.2s;
}

.delete-project-btn:hover {
  background-color: #b91c1c;
}

/* Navigation Panel */
.navigation-panel {
  margin: 2rem 0;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.nav-tabs {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  background-color: #f9fafb;
}

.nav-tab {
  flex: 1;
  padding: 1rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
  transition: all 0.2s ease;
  text-decoration: none;
  display: block;
  text-align: center;
}

.nav-tab:hover {
  color: #111827;
  background-color: #f3f4f6;
}

.nav-tab.active {
  color: #1f2937;
  border-bottom-color: #c8986b;
  background-color: #fff;
}

.tab-content {
  padding: 2rem;
}

.tab-content h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: #1f2937;
}

.tab-content p {
  color: #6b7280;
  line-height: 1.6;
}

/* Project Form Styles */
.form-container-project {
  max-width: 672px;
  margin: 0 auto;
  padding: 32px 16px;
}

@media (min-width: 640px) {
  .form-container-project {
    padding: 32px 24px;
  }
}

@media (min-width: 1024px) {
  .form-container-project {
    padding: 32px;
  }
}

.form-card {
  background-color: white;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 24px;
}

.form-title-project {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1a202c;
  margin-bottom: 24px;
}

.form-space-y {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.error-box {
  border-radius: 6px;
  background-color: #fef2f2;
  padding: 16px;
}

.error-flex {
  display: flex;
}

.error-icon-wrapper {
  flex-shrink: 0;
}

.error-icon {
  height: 20px;
  width: 20px;
  color: #f87171;
}

.error-content {
  margin-left: 12px;
}

.error-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #991b1b;
}

.error-text {
  margin-top: 8px;
  font-size: 0.875rem;
  color: #b91c1c;
}

.error-list {
  list-style-type: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-label-project {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 4px;
}

.form-input-project {
  appearance: none;
  display: block;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-size: 0.875rem;
}

.form-input-project::placeholder {
  color: #9ca3af;
}

.form-input-project:focus {
  outline: none;
  border-color: #c8986b;
  box-shadow: 0 0 0 3px rgba(200, 152, 107, 0.1);
}

.form-textarea {
  appearance: none;
  display: block;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-size: 0.875rem;
  resize: vertical;
}

.form-textarea::placeholder {
  color: #9ca3af;
}

.form-textarea:focus {
  outline: none;
  border-color: #c8986b;
  box-shadow: 0 0 0 3px rgba(200, 152, 107, 0.1);
}

.form-help-text {
  margin-top: 8px;
  font-size: 0.875rem;
  color: #6b7280;
}

.form-actions {
  display: flex;
  gap: 16px;
  padding-top: 16px;
}

.form-submit-btn {
  display: inline-flex;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  color: white;
  background-color: #c8986b;
  cursor: pointer;
  transition: all 0.2s;
}

.form-submit-btn:hover {
  background-color: #b8885b;
}

.form-submit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 152, 107, 0.3);
}

.form-cancel-btn {
  display: inline-flex;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  color: #374151;
  background-color: white;
  text-decoration: none;
  transition: all 0.2s;
}

.form-cancel-btn:hover {
  background-color: #f9fafb;
}

.form-cancel-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 152, 107, 0.3);
}

/* Feed Actions */
.feed-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.feed-actions .btn {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.feed-actions .btn-primary {
  background-color: #007bff;
  color: white;
}

.feed-actions .btn-primary:hover {
  background-color: #0056b3;
}

.feed-actions .btn-secondary {
  background-color: #6c757d;
  color: white;
}

.feed-actions .btn-secondary:hover {
  background-color: #5a6268;
}

/* Settings Tab Styles */
.settings-section {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.settings-section h4 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1a202c;
  margin-bottom: 20px;
}

.settings-section .project-actions {
  margin-top: 0;
  display: flex;
  gap: 16px;
}

.settings-section .add-member-form {
  margin-bottom: 24px;
}

.settings-section .members-list {
  border-top: 1px solid #e5e7eb;
}

.settings-section .empty-members {
  color: #6b7280;
  text-align: center;
  padding: 32px 0;
}
/* Sessions (Login) Page Styles */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f2c1a3 0%, #ffffffc2 100%);
  padding: 48px 16px;
}

.login-form-group {
  margin-bottom: 20px;
  position: relative;
}

.login-form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #5d4037;
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  .login-form-container {
    padding: 30px 20px;
  }

  .login-title {
    font-size: 1.5rem;
  }
  
  .login-container {
    padding: 24px 16px;
  }
}

@media (min-width: 640px) {
  .login-container {
    padding: 48px 24px;
  }
}

@media (min-width: 1024px) {
  .login-container {
    padding: 48px 32px;
  }
}

.login-box {
  max-width: 28rem;
  width: 100%;
}

.login-form-container {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(200, 152, 107, 0.2);
  transition: transform 0.3s ease;
  max-width: 500px;
  margin: 0 auto;
}

.login-form-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #5d4037;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #c8986b, #daa520);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-subtitle {
  color: #8d6e63;
  font-size: 0.95rem;
}

.login-subtitle a {
  font-weight: 600;
  color: #c8986b;
  text-decoration: none;
}

.login-subtitle a:hover {
  text-decoration: underline;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-input-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.login-input {
  appearance: none;
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8ddd5;
  border-radius: 12px;
  color: #1a202c;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fefefe;
  outline: none;
  box-sizing: border-box;
}

.login-input::placeholder {
  color: #bcaaa4;
}

.login-input:focus {
  border-color: #c8986b;
  box-shadow: 0 0 0 3px rgba(200, 152, 107, 0.25);
  transform: translateY(-2px);
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.remember-me-group {
  display: flex;
  align-items: center;
}

.remember-checkbox {
  height: 18px;
  width: 18px;
  accent-color: #c8986b;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 2px;
}

.remember-checkbox:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 152, 107, 0.25);
}

.remember-label {
  margin-left: 8px;
  display: block;
  font-size: 0.9rem;
  color: #6d4c41;
  cursor: pointer;
  line-height: 1.5;
}

.forgot-password {
  font-size: 0.9rem;
  font-weight: 600;
  color: #c8986b;
  text-decoration: none;
}

.forgot-password:hover {
  text-decoration: underline;
}

.login-submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #c8986b 0%, #daa520 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(200, 152, 107, 0.3);
  margin-top: 8px;
}

.login-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 152, 107, 0.5);
}

.login-submit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 152, 107, 0.5);
}

.login-submit-btn:active {
  transform: translateY(0);
}

.login-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.dashboard {
  margin-top: 30px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(200, 152, 107, 0.1);
}

.dashboard h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #5d4037;
  margin-bottom: 25px;
  text-align: center;
  background: linear-gradient(135deg, #c8986b, #daa520);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dashboard-section {
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f9f6f2;
  border-radius: 10px;
  border: 1px solid #e8ddd5;
}

.dashboard-section:last-child {
  margin-bottom: 0;
}

.dashboard-section h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #6d4c41;
  margin-bottom: 15px;
  border-bottom: 2px solid #e0d8d0;
  padding-bottom: 10px;
}

.dashboard-section ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.dashboard-section li {
  margin-bottom: 10px;
  padding-left: 10px;
  position: relative;
}

.dashboard-section li::before {
  content: '•';
  color: #c8986b;
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: 0;
}

.dashboard-section li a {
  color: #4a4a4a;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  margin-left: 15px; /* Adjust for bullet point */
}

.dashboard-section li a:hover {
  color: #c8986b;
  text-decoration: underline;
}

.dashboard-section p {
  color: #8d6e63;
  font-style: italic;
  text-align: center;
  padding: 10px;
  border: 1px dashed #e0d8d0;
  border-radius: 8px;
}

.profile-actions {
  margin-top: 20px;
  text-align: right;
}

.profile-actions .button-link {
  display: inline-block;
  margin-left: 10px;
}

.user-profile-container {
  max-width: 960px; /* Adjust as needed */
  margin: 0 auto;
  padding: 20px;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *



 */

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #faf6f0;
}

.button-link {
  display: flex;
  justify-content: space-around;
  padding: 7px 20px;
  background: linear-gradient(90deg, #c8986b 0%, #daa520 106.56%);
  opacity: 0.8;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.3s ease;
  border: none;
  cursor: pointer;
  width: 90px;
  box-sizing: border-box;
  height: 30px;
}

.delete {
  background: #dc2626;
}

.delete:hover {
  background: #b91c1c;
}

.button-link:hover {
  opacity: 1;
}

.form-container {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(200, 152, 107, 0.2);
  transition: transform 0.3s ease;
  max-width: 500px;
  margin: 0 auto;
}

.form-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #5d4037;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #c8986b, #daa520);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.form-subtitle {
  color: #8d6e63;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #5d4037;
  font-size: 0.95rem;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8ddd5;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fefefe;
  outline: none;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: #c8986b;
  box-shadow: 0 0 0 3px rgba(200, 152, 107, 0.25);
  transform: translateY(-2px);
}

.form-input::placeholder {
  color: #bcaaa4;
}

.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #a1887f;
  font-size: 1.1rem;
  user-select: none;
  background: none;
  border: none;
  padding: 4px;
}

.password-toggle:hover {
  color: #c8986b;
}

.avatar-upload {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.avatar-placeholder {
  display: inline-block;
  height: 56px;
  width: 56px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f5f5f5;
  border: 2px solid #e8ddd5;
  flex-shrink: 0;
}

.file-input {
  background: #fefefe;
  padding: 8px 12px;
  border: 2px solid #e8ddd5;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #6d4c41;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}

.file-input:hover {
  border-color: #c8986b;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  margin-top: 8px;
}

.checkbox-input {
  width: 18px;
  height: 18px;
  accent-color: #c8986b;
  margin-top: 2px;
}

.checkbox-label {
  font-size: 0.9rem;
  color: #6d4c41;
  line-height: 1.5;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #c8986b 0%, #daa520 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(200, 152, 107, 0.3);
  margin-top: 8px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 152, 107, 0.5);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e8ddd5;
}

.form-footer p {
  color: #8d6e63;
  font-size: 0.9rem;
}

.form-footer a {
  color: #c8986b;
  text-decoration: none;
  font-weight: 600;
}

.form-footer a:hover {
  text-decoration: underline;
}

.error-container {
  background-color: #fef6f0;
  border: 1px solid #d4a574;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}

.error-container .error-icon {
  flex-shrink: 0;
}

.error-container .error-content {
  margin-left: 12px;
}

.error-container .error-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #a0826d;
  margin-bottom: 8px;
}

.error-container .error-list {
  font-size: 0.875rem;
  color: #8b6f47;
}

.error-container ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.error-container li {
  margin-bottom: 4px;
}

/* Form improvements */
.form-input::-webkit-input-placeholder {
  color: #bcaaa4;
}

.form-input::-moz-placeholder {
  color: #bcaaa4;
}

.form-input:-ms-input-placeholder {
  color: #bcaaa4;
}

.form-input:-moz-placeholder {
  color: #bcaaa4;
}

/* Ensure consistent box model */
* {
  box-sizing: border-box;
}

input[type="file"]::-webkit-file-upload-button {
  visibility: hidden;
}

input[type="file"]::before {
  content: 'Choose file';
  display: inline-block;
  background: transparent;
  padding: 0;
  margin: 0;
  outline: none;
  white-space: nowrap;
  cursor: pointer;
}

@media (max-width: 480px) {
  .form-container {
    padding: 30px 20px;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .signup-page-wrapper {
    padding: 24px 16px;
  }
}

/* Signup Page Wrapper */
.signup-page-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
}

@media (min-width: 640px) {
  .signup-page-wrapper {
    padding: 48px 24px;
  }
}

@media (min-width: 1024px) {
  .signup-page-wrapper {
    padding: 48px 32px;
  }
}

.signup-content-wrapper {
  max-width: 28rem;
  width: 100%;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.error-svg-icon {
  height: 20px;
  width: 20px;
  color: #f87171;
}

.avatar-svg-icon {
  height: 100%;
  width: 100%;
  color: #c1c1c1;
}

/* Main Layout */
main {
  min-height: calc(100vh - 60px);
}

footer {
  background-color: #f9fafb;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #e5e7eb;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer p {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

.star-button {
  display: flex;
  align-items: center;
  gap: 4px;
  /* Adjust as needed for spacing between count and icon */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #6b7280;
  /* Default color */
}

.star-button.starred .star-icon {
  fill: currentColor;
  color: #fbbf24;
  /* Yellow color for starred icon */
}

.star-icon {
  width: 20px;
  /* Adjust size as needed */
  height: 20px;
  /* Adjust size as needed */
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  /* Default to outline */
  transition: fill 0.2s ease-in-out, color 0.2s ease-in-out;
}

.star-count {
  font-size: 0.875rem;
  /* Adjust font size as needed */
  font-weight: 500;
  color: #4b5563;
  /* Adjust color as needed */
}
