/*
 * Default Trix editor styles. See Action Text overwrites below.
*/

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;
  overflow-wrap: break-word;
  word-break: break-word; }
  .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%; }

/*
 * 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;
}
@tailwind base;
@tailwind components;
@tailwind utilities;



@layer components {
  .btn-submit {
    @apply mt-7 px-5 py-3 rounded-lg w-full cursor-pointer 
    text-white font-medium text-sm text-center
    bg-blue-800 dark:bg-blue-700
    hover:bg-blue-900 dark:hover:bg-blue-600 
    focus:ring-4 focus:outline-none focus:ring-blue-300 
    disabled:bg-blue-800/50 disabled:dark:bg-blue-800/50 disabled:cursor-not-allowed;
  }
  
}
/* required styles */
.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
}

.leaflet-container {
	overflow: hidden;
}

.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	-webkit-user-drag: none;
}

/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}

/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
}

/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
}

.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
}

/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
}

.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
}

.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}

.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}

.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}

.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}

.leaflet-tile {
	filter: inherit;
	visibility: hidden;
}

.leaflet-tile-loaded {
	visibility: inherit;
}

.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	z-index: 800;
}

/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
}

.leaflet-pane {
	z-index: 400;
}

.leaflet-tile-pane {
	z-index: 200;
}

.leaflet-overlay-pane {
	z-index: 400;
}

.leaflet-shadow-pane {
	z-index: 500;
}

.leaflet-marker-pane {
	z-index: 600;
}

.leaflet-tooltip-pane {
	z-index: 650;
}

.leaflet-popup-pane {
	z-index: 700;
}

.leaflet-map-pane canvas {
	z-index: 100;
}

.leaflet-map-pane svg {
	z-index: 200;
}

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
}

.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
}

/* control positioning */
.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted;
	/* IE 9-10 doesn't have auto */
	pointer-events: auto;
}

.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
}

.leaflet-top {
	top: 0;
}

.leaflet-right {
	right: 0;
}

.leaflet-bottom {
	bottom: 0;
}

.leaflet-left {
	left: 0;
}

.leaflet-control {
	float: left;
	clear: both;
}

.leaflet-right .leaflet-control {
	float: right;
}

.leaflet-top .leaflet-control {
	margin-top: 10px;
}

.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
}

.leaflet-left .leaflet-control {
	margin-left: 10px;
}

.leaflet-right .leaflet-control {
	margin-right: 10px;
}

/* zoom and fade animations */
.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	-moz-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
}

.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
}

.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	-ms-transform-origin: 0 0;
	transform-origin: 0 0;
}

svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0, 0, 0.25, 1);
	-moz-transition: -moz-transform 0.25s cubic-bezier(0, 0, 0.25, 1);
	transition: transform 0.25s cubic-bezier(0, 0, 0.25, 1);
}

.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	-moz-transition: none;
	transition: none;
}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
}

/* cursors */
.leaflet-interactive {
	cursor: pointer;
}

.leaflet-grab {
	cursor: -webkit-grab;
	cursor: -moz-grab;
	cursor: grab;
}

.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
}

.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
}

.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor: -moz-grabbing;
	cursor: grabbing;
}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted;
	/* IE 9-10 doesn't have auto */
	pointer-events: auto;
}

/* visual tweaks */
.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
}

.leaflet-container a {
	color: #0078A8;
}

.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255, 255, 255, 0.5);
}

/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
}

/* general toolbar styles */
.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
	border-radius: 4px;
}

.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
}

.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
}

.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
}

.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
}

.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
}

.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
}

.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
}

/* zoom control */
.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {
	font-size: 22px;
}

/* layers control */
.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
	background: #fff;
	border-radius: 5px;
}

.leaflet-control-layers-toggle {
	background-image: url(/assets/leaflet/layers-0e356f4d554162eb71f127f50460dbc55d405027189ebe90b20729ef18d13d36.png);
	width: 36px;
	height: 36px;
}

.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(/assets/leaflet/layers-2x-ba8fa601e413b14db27db07285ade3951721e02244c31523284ab2d1ed53c3dc.png);
	background-size: 26px 26px;
}

.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
}

.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
}

.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
}

.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
}

.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
}

.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
}

.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
}

.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
}

/* Default icon URLs */
.leaflet-default-icon-path {
	background-image: url(/assets/leaflet/marker-icon-3d253116ec4ba0e1f22a01cdf1ff7f120fa4d89a6cd0933d68f12951d19809b4.png);
}

/* attribution and scale controls */
.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
}

.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
}

.leaflet-control-attribution a {
	text-decoration: none;
}

.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
}

.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
}

.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
}

.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
}

.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
}

.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
}

.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
}

.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0, 0, 0, 0.2);
	background-clip: padding-box;
}

/* popup */
.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
}

.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
}

.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
}

.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
}

.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
}

.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;
	margin: -10px auto 0;
	pointer-events: auto;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}

.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
}

.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
}

.leaflet-popup-scrolled {
	overflow: auto;
}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
}

.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;
	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
}

/* div icon */
.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
}

/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
}

.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
}

/* Directions */
.leaflet-tooltip-bottom {
	margin-top: 6px;
}

.leaflet-tooltip-top {
	margin-top: -6px;
}

.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
}

.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
}

.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
}

.leaflet-tooltip-left {
	margin-left: -6px;
}

.leaflet-tooltip-right {
	margin-left: 6px;
}

.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
}

.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
}

.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
}

/* Added styles for the map */
/*
#location-map {
	height: 400px !important;
	width: 100% !important;
	min-width: 300px !important;
	position: relative !important;
	z-index: 1 !important;
	display: block !important;
}

.leaflet-container {
	height: 100% !important;
	width: 100% !important;
	min-width: 300px !important;
	z-index: 1 !important;
}
*/

.custom-layer-control {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
  }
  
  .layer-control-container {
	position: relative;
  }
  
  .layer-toggle-btn {
	background: white;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	padding: 8px 12px;
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #374151;
	transition: all 0.2s ease;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
	min-width: 100px;
  }
  
  .layer-toggle-btn:hover {
	background: #f9fafb;
	border-color: #9ca3af;
  }
  
  .dark .layer-toggle-btn {
	background: #1f2937;
	border-color: #374151;
	color: #f9fafb;
  }
  
  .dark .layer-toggle-btn:hover {
	background: #374151;
  }
  
  .layer-icon {
	font-size: 16px;
  }
  
  .layer-text {
	flex: 1;
	text-align: left;
  }
  
  .layer-arrow {
	font-size: 12px;
	transition: transform 0.2s ease;
  }
  
  .layer-toggle-btn:hover .layer-arrow {
	transform: rotate(180deg);
  }
  
  .layer-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	background: white;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	min-width: 150px;
	margin-top: 4px;
  }
  
  .dark .layer-dropdown {
	background: #1f2937;
	border-color: #374151;
  }
  
  .layer-option {
	width: 100%;
	padding: 10px 12px;
	border: none;
	background: none;
	text-align: left;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #374151;
	transition: background-color 0.2s ease;
	border-bottom: 1px solid #f3f4f6;
  }
  
  .layer-option:last-child {
	border-bottom: none;
  }
  
  .layer-option:hover {
	background: #f3f4f6;
  }
  
  .layer-option.active {
	background: #dbeafe;
	color: #1e40af;
  }
  
  .dark .layer-option {
	color: #f9fafb;
	border-bottom-color: #374151;
  }
  
  .dark .layer-option:hover {
	background: #374151;
  }
  
  .dark .layer-option.active {
	background: #1e40af;
	color: white;
  }
  
  .layer-option-icon {
	font-size: 16px;
	width: 20px;
	text-align: center;
  }
  
  .layer-option-text {
	flex: 1;
  }
  
  /* Esconder dropdown por padrão */
  .layer-dropdown.hidden {
	display: none;
  }
  
  /* Melhorar aparência dos controles do Leaflet */
  .leaflet-control-layers {
	background: white !important;
	border-radius: 8px !important;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
  }
  
  .dark .leaflet-control-layers {
	background: #1f2937 !important;
	color: white !important;
  }

 /* feraamentas de desenho*/
 .simple-draw-control {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	z-index: 1000 !important;
  }
  
  .draw-control-container {
	display: flex !important;
	flex-direction: column !important;
	gap: 4px !important;
	background: white !important;
	border-radius: 8px !important;
	padding: 4px !important;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
	z-index: 1001 !important;
	position: relative !important;
  }
  
  .draw-btn {
	background: white !important;
	border: 1px solid #d1d5db !important;
	border-radius: 6px !important;
	padding: 8px !important;
	cursor: pointer !important;
	font-size: 18px !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
	width: 40px !important;
	height: 40px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	z-index: 1002 !important;
	position: relative !important;
  }
  
  .draw-btn:hover {
	background: #f3f4f6 !important;
	border-color: #9ca3af !important;
	z-index: 1003 !important;
  }
  
  .draw-btn.active {
	background: #3b82f6 !important;
	color: white !important;
	border-color: #3b82f6 !important;
	z-index: 1003 !important;
  }
  
  .dark .draw-control-container {
	background: #1f2937 !important;
  }
  
  .dark .draw-btn {
	background: #1f2937 !important;
	border-color: #374151 !important;
	color: #f9fafb !important;
  }
  
  .dark .draw-btn:hover {
	background: #374151 !important;
  }
  
  .custom-marker {
	background: transparent !important;
	border: none !important;
  }
  
  .marker-icon {
	font-size: 24px !important;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)) !important;
  }
  
  /* Garantir que os controles do Leaflet ficam por baixo */
  .leaflet-control-container {
	z-index: 100 !important;
  }
  
  .leaflet-control-zoom {
	z-index: 101 !important;
  }
  
  .leaflet-control-layers {
	z-index: 102 !important;
  }

  .draw-instructions {
	background: rgba(255, 255, 255, 0.9);
	padding: 4px 8px;
	border-radius: 4px;
	margin-bottom: 4px;
	font-size: 10px;
	text-align: center;
	border: 1px solid #d1d5db;
  }
  
  .dark .draw-instructions {
	background: rgba(31, 41, 55, 0.9);
	color: #f9fafb;
	border-color: #374151;
  }

/* Instruções discretas do polígono */
.polygon-instructions {
	position: absolute;
	top: 60px;
	left: 20px;
	z-index: 1000;
	pointer-events: none;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 8px 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(4px);
	max-width: 200px;
	font-size: 12px;
	line-height: 1.3;
  }
  
  .polygon-instruction-content {
	display: flex;
	flex-direction: column;
	gap: 4px;
  }
  
  .polygon-instruction-text {
	font-weight: 500;
	margin: 0;
	font-size: 11px;
  }
  
  .polygon-instruction-count {
	font-size: 10px;
	color: #6b7280;
	background: #f3f4f6;
	padding: 2px 6px;
	border-radius: 4px;
	font-weight: 500;
	text-align: center;
  }
  
  /* Dark mode */
  .dark .polygon-instructions {
	background: rgba(31, 41, 55, 0.9);
	border-color: #374151;
	color: #f9fafb;
  }
  
  .dark .polygon-instruction-count {
	background: #374151;
	color: #d1d5db;
  }
  
  /* Animação suave */
  .polygon-instructions {
	animation: fadeInUp 0.3s ease-out;
  }
  
  @keyframes fadeInUp {
	from {
	  opacity: 0;
	  transform: translateY(10px);
	}
	to {
	  opacity: 1;
	  transform: translateY(0);
	}
  }
  
  /* Responsive */
  @media (max-width: 768px) {
	.polygon-instructions {
	  top: 50px;
	  left: 10px;
	  max-width: 160px;
	  padding: 6px 10px;
	}
	
	.polygon-instruction-text {
	  font-size: 10px;
	}
	
	.polygon-instruction-count {
	  font-size: 9px;
	}
  }


  /* Badge para base de dados local */
.suggestion-item .bg-gray-100 {
	background-color: #f3f4f6 !important;
	color: #374151 !important;
  }
  
  .suggestion-item .bg-red-100 {
	background-color: #fee2e2 !important;
	color: #dc2626 !important;
  }


  /* Estilo para marcador arrastável */
.leaflet-marker-icon {
	cursor: move !important;
  }
  
  .leaflet-marker-icon:hover {
	transform: scale(1.1);
	transition: transform 0.2s ease;
  }
  
/*******/
  
/* Printing */
@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
} 
/* PWA Specific Styles */

/* Hide elements when running in standalone mode */
.pwa-standalone .browser-only {
  display: none !important;
}

/* Adjust top padding for standalone mode (no browser UI) */
.pwa-standalone .pt-\[88px\] {
  padding-top: calc(env(safe-area-inset-top) + 60px) !important;
}

.pwa-standalone .lg\:pt-\[72px\] {
  padding-top: calc(env(safe-area-inset-top) + 60px) !important;
}


/* Notification styles for PWA updates */
.pwa-notification {
  animation: slideInFromRight 0.3s ease-out;
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Loading spinner for offline content */
.pwa-offline-indicator {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  z-index: 1000;
  font-size: 14px;
}

/* Responsive adjustments for PWA */
@media (display-mode: standalone) {
  /* Additional styles for standalone mode */
  body {
    user-select: none; /* Prevent text selection on mobile */
    -webkit-touch-callout: none; /* Prevent callout on touch */
  }
  
  /* Safe area adjustments for devices with notches */
  .navbar {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

/* iOS specific adjustments */
@supports (-webkit-touch-callout: none) {
  .pwa-standalone {
    /* iOS Safari standalone mode adjustments */
    padding-bottom: env(safe-area-inset-bottom);
  }
}
:root{
  --ss-primary-color: #233876;
  --ss-bg-color: #ffffff;
  --ss-bg-color-dark: #1F2A37;
  --ss-font-color: #4d4d4d;
  --ss-font-color-dark: #fff;
  --ss-font-placeholder-color: #8d8d8d;
  --ss-disabled-color: #dcdee2;
  --ss-border-color: #D1D5DB;
  --ss-border-color-dark:#4B5563;
  --ss-highlight-color: #fffb8c;
  --ss-success-color: #00b755;
  --ss-error-color: #dc3545;
  --ss-focus-color: #233876;
  --ss-focus-color-dark:#A4CAFE;
  --ss-main-height: 30px;
  --ss-content-height: 300px;
  --ss-spacing-l: 7px;
  --ss-spacing-m: 5px;
  --ss-spacing-s: 5px;
  --ss-animation-timing: 0.2s;
  --ss-border-radius:8px;

}
@keyframes ss-valueIn{
  0%{
      transform:scale(0);
      opacity:0
  }
  100%{
      transform:scale(1);
      opacity:1
  }
}
@keyframes ss-valueOut{
  0%{
      transform:scale(1);
      opacity:1
  }
  100%{
      transform:scale(0);
      opacity:0
  }
}
.ss-hide{
  display:none !important
}
.ss-main{
  display:flex;
  flex-direction:row;
  position:relative;
  user-select:none;
  color:var(--ss-font-color);
  min-height:var(--ss-main-height);
  width:100%;
  padding:var(--ss-spacing-s);
  cursor:pointer;
  border:1px solid var(--ss-border-color);
  border-radius:var(--ss-border-radius);
  background-color:var(--ss-bg-color);
  outline:0;
  box-sizing:border-box;
  transition:background-color var(--ss-animation-timing);
  overflow:hidden;
  height:48px;
}
.dark .ss-main {
  background-color:transparent;
  border:1px solid var(--ss-border-color-dark);
  color:var(--ss-font-color-dark);
}
.ss-main:not(.ss-disabled):focus{
  border:1px solid var(--ss-focus-color);
}
.dark .ss-main:not(.ss-disabled):focus{
  border:1px solid var(--ss-focus-color-dark);
}
.ss-main.ss-disabled{
  opacity: 0.5 !important;
  cursor:not-allowed
  
}

/* Aplicar opacidade nas labels quando o select estiver disabled */
.ss-main.ss-disabled + label {
  opacity: 0.5 !important;
}

/* Dark mode - aplicar opacidade nas labels quando o select estiver disabled */
.dark .ss-main.ss-disabled + label {
  opacity: 0.5 !important;
}

/* Para casos onde a label esteja dentro de um container pai */
.ss-main.ss-disabled ~ label {
  opacity: 0.5 !important;
}

.dark .ss-main.ss-disabled ~ label {
  opacity: 0.5 !important;
}
.ss-main.ss-disabled .ss-values .ss-disabled{
  color:var(--ss-font-color)
}
.ss-main.ss-disabled .ss-values .ss-value .ss-value-delete{
  cursor:not-allowed
}
.ss-main.ss-open-above{
  border-top-left-radius:0px;
  border-top-right-radius:0px
}
.ss-main.ss-open-below{
  border-bottom-left-radius:0px;
  border-bottom-right-radius:0px
}
.ss-main .ss-values{
  display:inline-flex;
  flex-wrap:wrap;
  gap:var(--ss-spacing-m);
  flex:1 1 100%;
  width: 80%;
}
.ss-main .ss-values .ss-placeholder{
  display:flex;
  padding:var(--ss-spacing-s) var(--ss-spacing-m) var(--ss-spacing-s) var(--ss-spacing-m);
  margin:auto 0px auto 0px;
  line-height:1em;
  align-items:center;
  width:100%;
  color:var(--ss-font-placeholder-color);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.ss-main .ss-values .ss-max{
  display:flex;
  user-select:none;
  align-items:center;
  width:fit-content;
  font-size:12px;
  color:var(--ss-bg-color);
  line-height:1;
  padding:var(--ss-spacing-s) var(--ss-spacing-m);
  background-color:var(--ss-primary-color);
  border-radius:var(--ss-border-radius)
}
.ss-main .ss-values .ss-single {
  display: flex;
  margin: auto 0 auto var(--ss-spacing-s);
  font-size: 16px; /* Font-size padrão para telas menores */
}

@media (min-width: 1024px) { /* 1024px é o valor padrão para lg em Tailwind */
  .ss-main .ss-values .ss-single {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 20px;
  }
}
.ss-main .ss-values .ss-value{
  display:flex;
  user-select:none;
  align-items:center;
  width:fit-content;
  background-color:var(--ss-primary-color);
  border-radius:var(--ss-border-radius);
  animation-name:ss-valueIn;
  animation-duration:var(--ss-animation-timing);
  animation-timing-function:ease-out;
  animation-fill-mode:both
}
.ss-main .ss-values .ss-value.ss-value-out{
  animation-name:ss-valueOut;
  animation-duration:var(--ss-animation-timing);
  animation-timing-function:ease-out
}
.ss-main .ss-values .ss-value .ss-value-text{
  font-size:12px;
  color:var(--ss-bg-color);
  line-height:1;
  padding:var(--ss-spacing-s) var(--ss-spacing-m)
}
.ss-main .ss-values .ss-value .ss-value-delete{
  display:flex;
  align-items:center;
  height:var(--ss-spacing-l);
  width:var(--ss-spacing-l);
  padding:var(--ss-spacing-s) var(--ss-spacing-m);
  cursor:pointer;
  border-left:solid 1px var(--ss-bg-color);
  box-sizing:content-box
}
.ss-main .ss-values .ss-value .ss-value-delete svg{
  height:var(--ss-spacing-l);
  width:var(--ss-spacing-l)
}
.ss-main .ss-values .ss-value .ss-value-delete svg path{
  fill:none;
  stroke:var(--ss-bg-color);
  stroke-width:18;
  stroke-linecap:round;
  stroke-linejoin:round
}
.ss-main .ss-deselect{
  flex:0 1 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  width:fit-content;
  height:auto;
  margin:0 var(--ss-spacing-m) 0 var(--ss-spacing-m)
}
.ss-main .ss-deselect svg{
  width:8px;
  height:8px
}

.dark .ss-main .ss-deselect svg path{
  stroke:var(--ss-font-color-dark);
}

.ss-main .ss-deselect svg path{
  fill:none;
  stroke:var(--ss-font-color);
  stroke-width:20;
  stroke-linecap:round;
  stroke-linejoin:round
}
.ss-main .ss-arrow{
  flex:0 1 auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  width:12px;
  height:12px;
  margin:auto var(--ss-spacing-m) auto var(--ss-spacing-m)
}
.ss-main .ss-arrow path{
  fill:none;
  stroke:var(--ss-font-color);
  stroke-width:18;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition-timing-function:ease-out;
  transition:var(--ss-animation-timing);
}
.dark .ss-main .ss-arrow path{
  stroke:var(--ss-font-color-dark);
}
.ss-content{
  position:absolute;
  display:flex;
  height:auto;
  flex-direction:column;
  width:auto;
  max-height:var(--ss-content-height);
  box-sizing:border-box;
  border:solid 1px var(--ss-border-color);
  background-color:var(--ss-bg-color);
  transition:transform var(--ss-animation-timing),opacity var(--ss-animation-timing);
  opacity:0;
  transform:scaleY(0);
  transform-origin:center top;
  overflow:hidden;
  z-index:10000;
}

.ss-content.ss-relative{
  position:relative;
  height:100%
}
.ss-content.ss-open-above{
  flex-direction:column-reverse;
  opacity:1;
  transform:scaleY(1);
  transform-origin:center bottom;
  border-top-left-radius:var(--ss-border-radius);
  border-top-right-radius:var(--ss-border-radius)
}
.ss-content.ss-open-below{
  opacity:1;
  transform:scaleY(1);
  transform-origin:center top;
  border-bottom-left-radius:var(--ss-border-radius);
  border-bottom-right-radius:var(--ss-border-radius)
}
.ss-content .ss-search{
  flex:0 1 auto;
  display:flex; 
  /*display:none;*/
  flex-direction:row;
  padding:var(--ss-spacing-l) var(--ss-spacing-l) var(--ss-spacing-m) var(--ss-spacing-l)
}
.dark .ss-search{
  background-color: #1F2A37;
}
.ss-content .ss-search input{
  display:inline-flex;
  font-size:inherit;
  line-height:inherit;
  flex:1 1 auto;
  width:100%;
  min-width:0px;
  padding:var(--ss-spacing-m) var(--ss-spacing-l);
  margin:0;
  border:1px solid var(--ss-border-color);
  border-radius:var(--ss-border-radius);
  background-color:var(--ss-bg-color);
  outline:0;
  text-align:left;
  box-sizing:border-box
}

.dark .ss-search input{
  color: white;
}

.dark .ss-content .ss-search input{
  background-color: #374151;
}

.ss-content .ss-search input::placeholder{
  color:var(--ss-font-placeholder-color);
  vertical-align:middle
}
.ss-content .ss-search input:focus{
  border:1px solid var(--ss-focus-color);
}

.dark .ss-content .ss-search input:focus{
  border:1px solid var(--ss-focus-color-dark) !important;
}

.ss-content .ss-search .ss-addable{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  cursor:pointer;
  flex:0 0 auto;
  height:auto;
  margin:0 0 0 var(--ss-spacing-m);
  border:1px solid var(--ss-border-color);
  border-radius:var(--ss-border-radius)
}
.ss-content .ss-search .ss-addable svg{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex:0 1 auto;
  width:12px;
  height:12px;
  margin:auto var(--ss-spacing-m) auto var(--ss-spacing-m)
}
.ss-content .ss-search .ss-addable svg path{
  fill:none;
  stroke:var(--ss-font-color);
  stroke-width:18;
  stroke-linecap:round;
  stroke-linejoin:round
}
.ss-content .ss-list{
  flex:1 1 auto;
  height:auto;
  overflow-x:hidden;
  overflow-y:auto;
  background-color:var(--ss-bg-color);
  color:var(--ss-font-color)
}
.dark .ss-content .ss-list{
  background-color:var(--ss-bg-color-dark);
  color:var(--ss-font-color-dark)
}
.ss-content .ss-list .ss-error{
  color:var(--ss-error-color);
  padding:var(--ss-spacing-l)
}
.ss-content .ss-list .ss-searching{
  color:var(--ss-font-color);
  padding:var(--ss-spacing-l)
}
.ss-content .ss-list .ss-optgroup.ss-close .ss-option{
  display:none !important
}
.ss-content .ss-list .ss-optgroup .ss-optgroup-label{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
  padding:var(--ss-spacing-m) var(--ss-spacing-l) var(--ss-spacing-m) var(--ss-spacing-l)
}
.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-label-text{
  flex:1 1 auto;
  font-weight:bold;
  color:var(--ss-font-color)
}
.ss-content .ss-list .ss-optgroup .ss-optgroup-label:has(.ss-arrow){
  cursor:pointer
}
.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions{
  flex:0 1 auto;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  gap:var(--ss-spacing-m)
}
.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall{
  flex:0 0 auto;
  display:flex;
  flex-direction:row;
  cursor:pointer
}
.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall:hover{
  opacity:.5
}
.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall.ss-selected svg path{
  stroke:var(--ss-error-color)
}
.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall span{
  flex:0 1 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:60%;
  text-align:center;
  padding:0 var(--ss-spacing-s) 0 0
}
.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall svg{
  flex:0 1 auto;
  width:13px;
  height:13px
}
.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall svg path{
  fill:none;
  stroke:var(--ss-success-color);
  stroke-linecap:round;
  stroke-linejoin:round
}
.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall svg:first-child{
  stroke-width:5
}
.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-selectall svg:last-child{
  stroke-width:11
}
.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-closable{
  flex:0 1 auto;
  display:flex;
  flex-direction:row;
  cursor:pointer
}
.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-closable .ss-arrow{
  flex:1 1 auto;
  width:10px;
  height:10px
}
.ss-content .ss-list .ss-optgroup .ss-optgroup-label .ss-optgroup-actions .ss-closable .ss-arrow path{
  fill:none;
  stroke:var(--ss-font-color);
  stroke-width:18;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition-timing-function:ease-out;
  transition:var(--ss-animation-timing)
}
.ss-content .ss-list .ss-optgroup .ss-option{
  padding:var(--ss-spacing-s) var(--ss-spacing-s) var(--ss-spacing-s) calc(var(--ss-spacing-l)*3)
}
.ss-content .ss-list .ss-option{
  display:flex;
  padding:var(--ss-spacing-m) var(--ss-spacing-l) var(--ss-spacing-m) var(--ss-spacing-l);
  color:var(--ss-font-color);
  cursor:pointer;
  user-select:none;
}
.dark .ss-content .ss-list .ss-option{
  color:var(--ss-font-color-dark);
}
.ss-content .ss-list .ss-option:hover{
  color:#111827;
  background-color:#F3F4F6;
}
.dark .ss-content .ss-list .ss-option:hover{
  color:var(--ss-font-color-dark);
  background-color:#374151;
}
.ss-content .ss-list .ss-option.ss-highlighted,.ss-content .ss-list .ss-option:not(.ss-disabled).ss-selected{
  color:var(--ss-bg-color);
  background-color:var(--ss-primary-color);
}
.dark .ss-content .ss-list .ss-option.ss-highlighted,.dark .ss-content .ss-list .ss-option:not(.ss-disabled).ss-selected{
  color:var(--ss-bg-color-dark);
  background-color:var(--ss-focus-color-dark);
}
.ss-content .ss-list .ss-option.ss-disabled{
  cursor:not-allowed;
  opacity: 0.2;
}

.ss-content .ss-list .ss-option .ss-search-highlight{
  background-color:var(--ss-highlight-color)
}
/*# sourceMappingURL=slimselect.css.map */
@media (min-width: 1024px) {
  .filter_table .ss-main {
    height: 43px; /* Altura ajustada */
    min-height: 43px; /* Altura mínima */
  }

  .filter_table .ss-content {
    top: 43px; /* Ajusta a posição do dropdown */
  }

  .filter_table .search input {
    height: 42px; /* Ajuste de altura específico */
  }

  .filter_table .search .w-4 {
    height: 42px; /* Ajusta a altura do ícone de pesquisa */
  }

  .filter_table .search .absolute {
    top: 50%; /* Para centralizar verticalmente o ícone de lupa */
    transform: translateY(-50%);
  }
}

.turbo-progress-bar {
  visibility: hidden;
}

@keyframes custom-wave {
  0%, 100% {
      transform: translateY(0);
  }
  25% {
      transform: translateY(-1rem); /* Eleva um pouco */
  }
  50% {
      transform: translateY(1rem); /* Desce um pouco */
  }
  75% {
      transform: translateY(-0.5rem); /* Eleva novamente, mas menos */
  }
}

/* Classes de animação */
.custom-wave {
  animation: custom-wave 1.5s ease-in-out infinite; /* A duração pode ser ajustada */
}
/* Dark mode: tornar o ícone do calendário branco nos campos de data */
.dark input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(2);
  /*position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);*/
  cursor: pointer;

}
/* Timeline Specific Styles */

/* Timeline Container */
.timeline-container {
  min-height: calc(100vh - 72px);
}

/* Timeline SVG Styles */
.timeline svg {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.timeline .grid line {
  stroke: #E5E7EB;
  stroke-dasharray: 2,2;
  opacity: 0.5;
}

.timeline .timeline-axis text {
  fill: #6B7280;
  font-size: 12px;
  font-weight: 400;
}

.timeline .timeline-axis path,
.timeline .timeline-axis line {
  stroke: #6B7280;
  stroke-width: 1;
}

/* Service Bars */
.timeline .bar {
  fill: #9CA3AF; /* Start grey, will be updated by updateServiceStates */
  cursor: pointer;
  transition: all 0.2s ease;
  stroke: none;
}

.timeline .bar:hover {
  fill: #2563EB;
  filter: brightness(1.1);
}

.timeline .bar.potential-service {
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.timeline .bar.potential-service:hover {
  opacity: 0.9;
}

.timeline .bar.available {
  fill: #10B981;
}

.timeline .bar.available:hover {
  fill: #059669;
}

.timeline .bar.warning {
  fill: #F59E0B;
}

.timeline .bar.warning:hover {
  fill: #D97706;
}

.timeline .bar.impossible {
  fill: #EF4444;
  opacity: 0.6;
  cursor: not-allowed;
}

.timeline .bar.impossible:hover {
  fill: #DC2626;
  opacity: 0.7;
}

/* Vehicle Labels */
.timeline .vehicle-label {
  fill: #374151;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
  cursor: default;
}

.timeline .vehicle-label.available {
  fill: #10B981;
  font-weight: 500;
}

.timeline .vehicle-label.warning {
  fill: #F59E0B;
  font-weight: 500;
}

.timeline .vehicle-label.impossible {
  fill: #EF4444;
  font-weight: 500;
}

/* Current Time Indicator */
.timeline .current-time-line {
  stroke: #EF4444;
  stroke-width: 2;
  stroke-dasharray: 4,4;
  animation: pulse-line 2s infinite;
}

.timeline .current-time-background {
  fill: #EF4444;
  rx: 10;
}

.timeline .current-time-label {
  fill: #FFFFFF;
  font-size: 13px;
  font-weight: 500;
}

@keyframes pulse-line {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* Services Section Styles */
.services-section {
  margin-top: 30px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 20px;
}

.services-section h2 {
  margin: 0 0 20px 0;
  color: #333;
  font-size: 20px;
}

.services-header {
  display: grid;
  grid-template-columns: 100px 150px 1fr 1fr 150px;
  gap: 20px;
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
  margin-bottom: 10px;
  font-weight: 500;
  color: #666;
  font-size: 14px;
}

.service-item {
  display: grid;
  grid-template-columns: 100px 150px 1fr 1fr 150px;
  gap: 20px;
  padding: 15px;
  border-radius: 4px;
  background-color: #fff;
  border: 1px solid #eee;
  transition: background-color 0.2s ease;
  margin-bottom: 10px;
}

.service-item:hover {
  background-color: #f8f9fa;
}

.service-item.unallocated {
  cursor: pointer;
  border: 1px solid #f57c00;
}

.service-item.unallocated:hover {
  background-color: #fff3e0;
}

.service-item.unallocated.selected {
  background-color: #fff3e0;
  border: 2px solid #f57c00;
}

.service-item.impossible {
  border-color: #d32f2f;
  background-color: #ffebee;
  cursor: not-allowed;
}

.service-item.impossible:hover {
  background-color: #ffebee;
}

.service-status {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.status-allocated {
  background-color: #e3f2fd;
  color: #1976D2;
}

.status-unallocated {
  background-color: #fff3e0;
  color: #f57c00;
}

.status-impossible {
  background-color: #ffebee;
  color: #d32f2f;
}

.service-time, .service-pickup, .service-delivery, .service-vehicle {
  font-size: 14px;
  color: #333;
}

/* Dark Mode Support for Services - only when explicitly dark mode */
.dark .services-section {
  background-color: #1F2937;
  color: #F9FAFB;
}

.dark .services-section h2 {
  color: #F9FAFB;
}

.dark .services-header {
  background-color: #374151;
  color: #D1D5DB;
}

.dark .service-item {
  background-color: #374151;
  border-color: #4B5563;
  color: #F9FAFB;
}

.dark .service-item:hover {
  background-color: #4B5563;
}

.dark .service-time, .dark .service-pickup, .dark .service-delivery, .dark .service-vehicle {
  color: #F9FAFB;
}


/* Modal Styles */
.modal-open {
  overflow: hidden;
}

#help-modal,
#service-modal {
  transition: opacity 0.2s ease-in-out;
}

#help-modal-overlay,
#service-modal-overlay {
  transition: opacity 0.2s ease-in-out;
}

/* Service Modal Timeline */
.service-timeline {
  scrollbar-width: thin;
  scrollbar-color: #CBD5E0 #F7FAFC;
}

.service-timeline::-webkit-scrollbar {
  width: 8px;
}

.service-timeline::-webkit-scrollbar-track {
  background: #F7FAFC;
  border-radius: 4px;
}

.service-timeline::-webkit-scrollbar-thumb {
  background: #CBD5E0;
  border-radius: 4px;
}

.service-timeline::-webkit-scrollbar-thumb:hover {
  background: #A0AEC0;
}

/* Leaflet Map Customizations */
.leaflet-container {
  background: #F3F4F6;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.leaflet-control-attribution {
  font-size: 10px !important;
  background: rgba(255, 255, 255, 0.8) !important;
}

.leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.leaflet-control-zoom a {
  background-color: white !important;
  color: #3B82F6 !important;
  border: none !important;
  width: 30px !important;
  height: 30px !important;
  line-height: 30px !important;
  font-size: 16px !important;
  border-radius: 4px !important;
  margin-bottom: 2px !important;
  transition: all 0.2s ease !important;
}

.leaflet-control-zoom a:hover {
  background-color: #EBF4FF !important;
  color: #2563EB !important;
}

/* Custom Map Markers */
.location-marker {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.location-marker:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Popup Customizations */
.leaflet-popup-content-wrapper {
  border-radius: 8px !important;
  padding: 0 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

.leaflet-popup-content {
  margin: 0 !important;
  padding: 12px 16px !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

.leaflet-popup-tip-container {
  display: none !important;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .timeline .grid line {
    stroke: #374151;
  }
  
  .timeline .timeline-axis text {
    fill: #9CA3AF;
  }
  
  .timeline .timeline-axis path,
  .timeline .timeline-axis line {
    stroke: #9CA3AF;
  }
  
  .timeline .vehicle-label {
    fill: #D1D5DB;
  }
  
  .service-timeline::-webkit-scrollbar-track {
    background: #374151;
  }
  
  .service-timeline::-webkit-scrollbar-thumb {
    background: #6B7280;
  }
  
  .service-timeline::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
  }
  
  .leaflet-container {
    background: #374151;
  }
  
  .leaflet-control-zoom a {
    background-color: #1F2937 !important;
    color: #60A5FA !important;
  }
  
  .leaflet-control-zoom a:hover {
    background-color: #374151 !important;
    color: #93C5FD !important;
  }
}

/* Dark mode classes for explicit dark mode */
.dark .timeline .grid line {
  stroke: #374151;
}

.dark .timeline .timeline-axis text {
  fill: #9CA3AF;
}

.dark .timeline .timeline-axis path,
.dark .timeline .timeline-axis line {
  stroke: #9CA3AF;
}

.dark .timeline .vehicle-label {
  fill: #D1D5DB;
}

.dark .service-timeline::-webkit-scrollbar-track {
  background: #374151;
}

.dark .service-timeline::-webkit-scrollbar-thumb {
  background: #6B7280;
}

.dark .service-timeline::-webkit-scrollbar-thumb:hover {
  background: #9CA3AF;
}

.dark .leaflet-container {
  background: #374151;
}

.dark .leaflet-control-zoom a {
  background-color: #1F2937 !important;
  color: #60A5FA !important;
}

.dark .leaflet-control-zoom a:hover {
  background-color: #374151 !important;
  color: #93C5FD !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .timeline-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .service-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .services-header {
    display: none;
  }
  
  .service-item > div::before {
    content: attr(data-label) ': ';
    font-weight: 600;
    color: #6B7280;
  }
}

/* Profitability section styling */
.profitability-summary {
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.profitability-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 14px;
  color: #374151;
}

.profitability-header i {
  color: #3B82F6;
  font-size: 16px;
}

.profitability-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profitability-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #E5E7EB;
  transition: all 0.2s ease;
}

.profitability-row:hover {
  border-color: #D1D5DB;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.profitability-row.profitable {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  border-color: #BBF7D0;
}

.profitability-row.unprofitable {
  background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
  border-color: #FECACA;
}

.profitability-label {
  font-size: 13px;
  color: #6B7280;
  font-weight: 500;
}

.profitability-value {
  font-size: 13px;
  font-weight: 600;
  color: #1F2937;
  display: flex;
  align-items: center;
  gap: 6px;
}

.profitability-value i {
  font-size: 12px;
}

.profitable .profitability-value {
  color: #059669;
}

.unprofitable .profitability-value {
  color: #DC2626;
}

.calculation-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  border-radius: 6px;
  font-size: 12px;
  color: #92400E;
  margin-top: 4px;
}

.calculation-note i {
  color: #F59E0B;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Dark mode styles for profitability */
.dark .profitability-summary {
  background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
  border-color: #374151;
}

.dark .profitability-header {
  color: #E5E7EB;
}

.dark .profitability-row {
  background: #374151;
  border-color: #4B5563;
}

.dark .profitability-row:hover {
  border-color: #6B7280;
}

.dark .profitability-row.profitable {
  background: linear-gradient(135deg, #064E3B 0%, #065F46 100%);
  border-color: #059669;
}

.dark .profitability-row.unprofitable {
  background: linear-gradient(135deg, #7F1D1D 0%, #991B1B 100%);
  border-color: #DC2626;
}

.dark .profitability-label {
  color: #9CA3AF;
}

.dark .profitability-value {
  color: #F3F4F6;
}

.dark .profitable .profitability-value {
  color: #10B981;
}

.dark .unprofitable .profitability-value {
  color: #EF4444;
}

.dark .calculation-note {
  background: #451A03;
  border-color: #92400E;
  color: #FCD34D;
}

.dark .calculation-note i {
  color: #FBBF24;
}

/* Cost breakdown toggle */
.cost-breakdown-toggle {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cost-breakdown-hidden {
  display: none !important;
}

.cost-breakdown-toggle:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.dark .cost-breakdown-toggle:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.profitability-details.cost-details-expanded .cost-breakdown-hidden {
  display: block !important;
}

.profitability-details.cost-details-expanded .cost-toggle {
  transform: rotate(180deg) !important;
}

/* Impact breakdown toggle */
.impact-breakdown-toggle {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.impact-breakdown-hidden {
  display: none !important;
}

.impact-breakdown-toggle:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.dark .impact-breakdown-toggle:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.profitability-details.impact-details-expanded .impact-breakdown-hidden {
  display: block !important;
}

.profitability-details.impact-details-expanded .impact-toggle {
  transform: rotate(180deg) !important;
}

/* Animation classes */
.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

.slide-up {
  animation: slideUp 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Loading states */
.timeline-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  color: #6B7280;
}

.timeline-loading::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 3px solid #E5E7EB;
  border-top-color: #3B82F6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 1rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Timeline Sequence Styles for Modal - Compact & Operational */
:root {
  --primary-color: #0066B3;
  --primary-light: #E3F2FD;
  --text-color: #333333;
  --border-color: #E0E0E0;
  --operational-blue: #1d4ed8;
  --operational-gray: #6b7280;
  --compact-spacing: 4px;
}

.sequence-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  padding: 0;
}

.sequence-section {
  position: relative;
  margin-bottom: 3px;
  background: #f3f4f6;
  border-radius: 4px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-left: 2px solid #9ca3af;
}

.sequence-section .service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  margin-left: 12px;
}

.sequence-section .service-header h5 {
  color: #6b7280;
  font-size: 13px;
  margin: 0;
  font-weight: 600;
}

.sequence-section .time-info {
  color: #9ca3af;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

/* Current Service Highlight - Operational */
.current-service {
  background: #eff6ff;
  border-radius: 4px;
  padding: 10px 12px;
  border: 1px solid var(--operational-blue);
  border-left: 3px solid var(--operational-blue);
  position: relative;
  margin: 4px 0;
}

.current-service .service-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  margin-left: 12px;
}

.current-service h4 {
  color: var(--operational-blue);
  font-size: 16px;
  margin: 0;
  font-weight: 600;
}

.current-service .service-time {
  font-size: 13px;
  color: var(--operational-blue);
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

/* Service Details - Compact */
.service-details {
  background: white;
  border-radius: 4px;
  padding: 8px;
}

.location-flow {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.location-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 3px;
  background: #f9fafb;
  font-size: 12px;
}

.location-item.highlighted {
  background: #f9fafb;
}

.location-item .label {
  color: var(--operational-gray);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.location-item > div:last-child {
  color: var(--text-color);
  font-weight: 500;
  font-size: 12px;
}

/* Cores mais discretas para serviços anterior/próximo */
.sequence-section .location-item .label {
  color: #9ca3af;
}

.sequence-section .location-item > div:last-child {
  color: #6b7280;
}

/* Travel Info - Ultra Compact */
.travel-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #fef7ec;
  border-radius: 3px;
  padding: 6px 8px;
  margin: 2px 0;
  border-left: 2px solid #f97316;
  font-size: 11px;
}

.distance-time {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--operational-blue);
  font-weight: 500;
}

.waiting-info {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-color);
  font-weight: 500;
}

.waiting-info.warning {
  color: #dc2626;
}

.waiting-info.warning i {
  color: #dc2626;
}

.distance-time i, .waiting-info i {
  color: var(--operational-blue);
  width: 12px;
  font-size: 10px;
}

.delay-explanation {
  grid-column: 1 / -1;
  margin: 2px 0 0 16px;
  font-size: 10px;
  color: var(--operational-gray);
  font-style: italic;
  line-height: 1.3;
}

/* Allocation Section - Compact */
.allocation-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.allocation-warning {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 8px;
  background: #fef3e2;
  border-radius: 4px;
  margin-bottom: 8px;
  font-size: 11px;
}

.allocation-warning i {
  color: #f59e0b;
  margin-top: 1px;
  font-size: 10px;
}

.allocation-warning span {
  color: #92400e;
  font-size: 11px;
  line-height: 1.3;
}

.confirm-allocation {
  width: 100%;
  padding: 8px 12px;
  background: var(--operational-blue);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background-color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.confirm-allocation:hover {
  background: #1e40af;
}

.confirm-allocation i {
  font-size: 11px;
}

/* Service Modal Layout - Compact & Operational */
.service-info-container {
  display: block;
  margin: 0;
  height: calc(90vh - 120px);
  position: relative;
}

.service-timeline {
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 15px;
  width: 580px;
  z-index: 450;
  background: #fcfcfd;
  padding: 12px;
  border-radius: 6px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
  overflow-y: auto;
  overflow-x: hidden;
  pointer-events: all;
  isolation: isolate;
  border: 1px solid #d1d5db;
  font-size: 12px;
}

.service-map {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.route-map-container {
  height: 100%;
  margin: 0;
}

#route-map {
  width: 100%;
  height: 100%;
  pointer-events: all;
}

/* Scroll personalizado - Compact */
.service-timeline {
  scrollbar-width: thin;
  scrollbar-color: #9ca3af #f3f4f6;
}

.service-timeline::-webkit-scrollbar {
  width: 6px;
}

.service-timeline::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 3px;
}

.service-timeline::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 3px;
}

.service-timeline::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

/* Mapa - pointer events */
#route-map {
  pointer-events: all;
}

/* Controles do mapa posicionados à direita */
.leaflet-control-container .leaflet-top.leaflet-left {
  display: none;
}

.leaflet-control-container .leaflet-top.leaflet-right {
  right: 30px;
  top: 30px;
}

/* Dark mode para service timeline */
.dark .service-timeline {
  background: #1F2937;
  color: #F9FAFB;
}

/* Cost Breakdown Styles */
.cost-summary {
  margin-top: 16px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.dark .cost-summary {
  background: #1F2937;
  border-color: #374151;
}

.cost-total {
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  transition: background-color 0.2s ease;
}

.cost-total:hover {
  background: #F3F4F6;
}

.dark .cost-total {
  background: #374151;
  border-bottom-color: #4B5563;
}

.dark .cost-total:hover {
  background: #4B5563;
}

.cost-label {
  font-weight: 600;
  color: #1F2937;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dark .cost-label {
  color: #F9FAFB;
}

.cost-toggle {
  color: #6B7280;
  transition: transform 0.2s ease;
}

.cost-details-collapsed {
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
}

.dark .cost-details-collapsed {
  background: #374151;
  border-top-color: #4B5563;
}

.cost-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 23px;
  border-bottom: 1px solid #F3F4F6;
  transition: background-color 0.15s ease;
}

.cost-breakdown-row:last-child {
  border-bottom: none;
}

.cost-breakdown-row:hover {
  background: #F9FAFB;
}

.dark .cost-breakdown-row {
  border-bottom-color: #4B5563;
}

.dark .cost-breakdown-row:hover {
  background: #4B5563;
}

.breakdown-label {
  font-weight: 500;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dark .breakdown-label {
  color: #D1D5DB;
}

.breakdown-value {
  color: #6B7280;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

.dark .breakdown-value {
  color: #9CA3AF;
}

/* Delta Row Special Styling */
.delta-row {
  background: rgba(249, 115, 22, 0.05);
  border-left: 3px solid #F59E0B;
}

.dark .delta-row {
  background: rgba(251, 146, 60, 0.1);
  border-left-color: #F59E0B;
}

.delta-row:hover {
  background: rgba(249, 115, 22, 0.1);
}

.dark .delta-row:hover {
  background: rgba(251, 146, 60, 0.15);
}

.delta-value {
  color: #EA580C;
  font-weight: 600;
}

.dark .delta-value {
  color: #FB923C;
}

/* Font awesome icons in breakdown */
.breakdown-label .fas {
  width: 14px;
  text-align: center;
}

/* Best Status Indicators for Selected Services */
.service-item.best-available {
  background-color: #f0fdf4 !important;
  border-color: #16a34a !important;
}

.service-item.best-available:hover {
  background-color: #f0fdf4 !important;
}

.service-item.best-warning {
  background-color: #fffbeb !important;
  border-color: #f59e0b !important;
}

.service-item.best-warning:hover {
  background-color: #fffbeb !important;
}

.service-item.best-impossible {
  background-color: #fef2f2 !important;
  border-color: #ef4444 !important;
}

.service-item.best-impossible:hover {
  background-color: #fef2f2 !important;
}

/* Dark mode support for best status indicators */
.dark .service-item.best-available {
  background-color: rgba(34, 197, 94, 0.1) !important;
  border-color: #16a34a !important;
}

.dark .service-item.best-warning {
  background-color: rgba(245, 158, 11, 0.1) !important;
  border-color: #f59e0b !important;
}

.dark .service-item.best-impossible {
  background-color: rgba(239, 68, 68, 0.1) !important;
  border-color: #ef4444 !important;
}

/* DEPOT Section Styles */
.depot-section {
  background: #f8fafc !important;
  border-left: 3px solid #3b82f6 !important;
  border-color: #3b82f6 !important;
}

.depot-section .service-header h5 {
  color: #3b82f6 !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
}

.depot-section .time-info {
  color: #3b82f6 !important;
  font-weight: 600;
}

.depot-section .location-item {
  background: #eff6ff !important;
  border: 1px solid #dbeafe;
}

.depot-section .location-item .label {
  color: #1e40af !important;
  font-weight: 700;
}

.depot-section .location-item > div:last-child {
  color: #1e40af !important;
  font-weight: 600;
}

/* Dark mode support for DEPOT sections */
.dark .depot-section {
  background: rgba(59, 130, 246, 0.1) !important;
  border-left-color: #60a5fa !important;
}

.dark .depot-section .service-header h5 {
  color: #93c5fd !important;
}

.dark .depot-section .time-info {
  color: #93c5fd !important;
}

.dark .depot-section .location-item {
  background: rgba(59, 130, 246, 0.15) !important;
  border-color: rgba(59, 130, 246, 0.3);
}

.dark .depot-section .location-item .label {
  color: #93c5fd !important;
}

.dark .depot-section .location-item > div:last-child {
  color: #93c5fd !important;
}
/*
 * 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 suggested that you include all your assets using require_tree instead of listing them here.
 *



 */

.pagination_component {
  text-align: center;
  padding: 0.3em;
  cursor: default; }
  .pagination_component a, .pagination_component span, .pagination_component em {
    padding: 0.2em 0.5em;
    padding: 0;}
  .pagination_component .disabled {
    color: #aaaaaa; }
  .pagination_component .current {
    color: #6B7280;
    text-decoration: none;
    display: flex;
    justify-content: center;
    width: 42px;
    padding: 10px 0;
    color: #374151;
    background-color: #F3F4F6;
    border: 1px solid #D1D5DB;
    margin-left: -1px; }
    .pagination_component .gap {
      color: #6B7280;
      text-decoration: none;
      display: flex;
      justify-content: center;
      width: 42px;
      padding: 10px 0;
      border: 1px solid #D1D5DB;
      margin-left: -1px; }
  .pagination_component a {
    border: 1px solid #D1D5DB;
    margin-left: -1px;
    color: #6B7280;
    text-decoration: none;
    display: flex;
    justify-content: center;
    width: 42px;
    padding: 10px 0;
    height: 100%;
    align-items: center; }
    .pagination_component a:hover, .pagination_component a:focus {
      border-color: #283772;
      background: #283772;
      color: white; }
    .dark .pagination_component a:hover, .pagination_component a:focus {
      border-color: #D1D5DB;
      background: #111928;
      color: white; }
  .pagination_component .page_info {
    color: #aaaaaa;
    padding-top: 0.8em; }
  .pagination_component .previous_page, .pagination_component .next_page {
    border-width: 2px; }
  .pagination_component .previous_page {
    margin-right: 1em; }
  .pagination_component .next_page {
    margin-left: 1em; }
  .depois {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    margin: 0;
    overflow: hidden; }

  /* chat messages */
  .chat-message table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
  }
  .chat-message th, .chat-message td {
    border: 1px solid #d1d5db;
    padding: 0.5rem;
    text-align: left;
  }
  .chat-message th {
    background: #f3f4f6;
  }
.chat-message ol,
.chat-message ul {
  margin: 0.5rem 0 0.5rem 1.5rem;
  padding-left: 1.5rem;
}

.chat-message ol {
  list-style-type: decimal;
}

.chat-message ul {
  list-style-type: disc;
}

.chat-message li {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  color: #374151; /* text-gray-700 */
}

.chat-message p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #374151; /* text-gray-700 */
}

/*# sourceMappingURL=application.css-b27fd0ab40be063a51637aa30720b9a0e000dd3a28d2fd8a4f155b9beccac462.map */
