﻿/* VARIABLES */
/* GLOBAL */
body, html {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

* {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/* LAYOUT */
#page-container {
  display: flex;
  height: 100%;
}

#page-sidebar {
  min-width: 264px;
  transition: width 200ms ease-in-out;
  background: #39505D;
  color: white;
  position: relative;
  user-select: none;
}
#page-sidebar nav {
  overflow-y: auto;
  height: calc(100% - 60px);
}
#page-sidebar nav::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: transparent;
}
#page-sidebar nav::-webkit-scrollbar {
  width: 6px;
  background-color: transparent;
}
#page-sidebar nav::-webkit-scrollbar-thumb {
  background-color: rgb(47.31, 66.4, 77.19);
}
#page-sidebar.collapsed nav {
  overflow-x: visible;
  overflow-y: auto;
}
#page-sidebar.collapsed {
  width: 80px;
  min-width: 80px;
}
#page-sidebar.collapsed #page-sidebar-button {
  transform: rotate(180deg);
}
#page-sidebar.collapsed #page-sidebar-logo #page-sidebar-logo-xl {
  opacity: 0;
}
#page-sidebar.collapsed #page-sidebar-logo #page-sidebar-logo-xs {
  opacity: 1;
}
#page-sidebar.collapsed .sidebar-text {
  display: none;
}
#page-sidebar.collapsed .sidebar-item-chevron {
  position: absolute;
  top: 12px;
  right: -13px;
  background: #39505D;
  border-radius: 12px;
}
#page-sidebar.collapsed .sidebar-item-chevron svg {
  fill: white;
}
#page-sidebar.collapsed ul ul {
  background: #39505D;
  border-radius: 0px 8px 8px 0px;
  border: 1px solid #39505D;
  position: relative;
  right: -24px;
  top: 0;
  width: 240px;
  padding: 0 !important;
  border-left: 1px solid white;
  z-index: 1000;
}
#page-sidebar.collapsed ul ul li a {
  margin-bottom: 0;
}
#page-sidebar.collapsed ul ul li .sidebar-text {
  display: block;
  color: white !important;
}
#page-sidebar.collapsed ul ul li:hover .sidebar-text {
  display: block;
  color: #39505D !important;
}
#page-sidebar #page-sidebar-logo {
  width: 175px;
  height: 75px;
  position: relative;
}
#page-sidebar #page-sidebar-logo #page-sidebar-logo-xl {
  position: absolute;
  opacity: 1;
}
#page-sidebar #page-sidebar-logo #page-sidebar-logo-xs {
  position: absolute;
  opacity: 0;
}
#page-sidebar #page-sidebar-button {
  position: absolute;
  right: -12px;
  top: 70px;
  border: 1px solid #E0E0E0;
  background: #39505D;
  border-radius: 12px;
  width: 24px;
  height: 24px;
  color: #E0E0E0;
  display: flex;
  align-items: center;
  align-content: center;
  transition: transform 200ms ease-in-out;
  padding: 0;
}
#page-sidebar #page-sidebar-button span {
  margin-left: 1px;
  font-size: 12px;
}
#page-sidebar ul {
  list-style: none;
  padding: 0;
}
#page-sidebar ul > li {
  display: flex;
  flex-direction: column;
  position: relative;
}
#page-sidebar ul > li:hover > a {
  background: white;
  color: #39505D;
}
#page-sidebar ul > li:hover > a svg {
  fill: #39505D;
}
#page-sidebar ul > li:hover > span svg {
  fill: #39505D;
}
#page-sidebar ul > li a {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 48px;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  color: white;
  text-decoration: none;
}
#page-sidebar ul > li a svg {
  fill: white;
}
#page-sidebar ul > li ul.collapse ~ span {
  transform: rotate(180deg);
}
#page-sidebar ul > li > .sidebar-item-chevron {
  position: absolute;
  right: 6px;
  top: 11px;
}

#page-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

#page-header {
  min-height: 56px;
  border-bottom: 1px solid #E0E0E0;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}

#page-content {
  flex-grow: 1;
  overflow-y: scroll;
  overflow-x: hidden;
}

/* COMPONENTS */
/* CARDS */
.card {
  border-radius: 12px;
  border: none;
  box-shadow: 0px 2px 30px 0px rgba(0, 0, 0, 0.031372549);
}

/* FORMS */
.form-control {
  border-color: #E0E0E0;
  border-radius: 8px;
  background: #F7F7F7;
  font-size: 16px;
  line-height: 20px;
  color: #848484;
  padding: 12px;
}
.form-control:focus {
  box-shadow: unset !important;
}

/* LINKS */
a[href] {
  text-decoration: none;
  color: #82BC48;
  font-weight: bold;
}

/* BUTTONS */
.btn {
  border-color: #E0E0E0;
  border-radius: 8px;
  height: 44px;
  font-size: 16px;
  display: flex;
  line-height: 20px;
  align-items: center;
}

.btn-primary {
  background: #82BC48;
}

.btn-secondary {
  background: #39505D;
  color: #F9F6F1;
}

.btn-default {
  background: #F7F7F7;
}

.catalog-grid-actions-cell .btn,
.catalog-grid-actions-cell > form > .btn {
  border-radius: 4px !important;
}

.btn-danger-soft {
  background: #D9928E;
  border-color: #D9928E;
  border-radius: 4px;
  color: #FFFFFF;
}
.btn-danger-soft:hover, .btn-danger-soft:focus {
  background: #C97F7B;
  border-color: #C97F7B;
  color: #FFFFFF;
}
.btn-danger-soft:active {
  background: #B96F6B;
  border-color: #B96F6B;
  color: #FFFFFF;
}
.btn-danger-soft:disabled {
  background: #E8C4C1;
  border-color: #E8C4C1;
  color: #FFFFFF;
}

.color-shadow {
  color: #A8AABC;
}

.color-default {
  color: #6C6C6C;
}

.color-primary {
  color: #82BC48;
}

.fs-8px {
  font-size: 8px;
}

.fs-10px {
  font-size: 10px;
}

.fs-12px {
  font-size: 10px;
}

.fs-14px {
  font-size: 14px;
}

.fs-16px {
  font-size: 16px;
}

.fs-18px {
  font-size: 18px;
}

.fs-semibold {
  font-weight: 600;
}

.fs-normal-link {
  color: #82BC48;
}

.agenda-page,
.catalog-page {
  padding: 16px 32px;
}

.catalog-page-actions .btn {
  min-height: 48px;
}

.catalog-toolbar {
  max-width: 887px;
}

.catalog-results {
  transition: opacity 120ms ease-in-out;
}
.catalog-results.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.catalog-search {
  width: 100%;
}
.catalog-search .catalog-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid #D5D7DA;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #FAFAFA;
}
.catalog-search .catalog-search-icon svg {
  fill: #82BC48;
}
.catalog-search .catalog-search-input {
  height: 48px;
  border-color: #D5D7DA;
  border-left: 0;
  border-radius: 0 8px 8px 0;
  background: #FAFAFA;
  color: #6C6C6C;
  font-size: 16px;
  line-height: 20px;
  padding: 12px 12px 12px 8px;
}

/* TABLES */
.table > :not(caption) > * > * {
  border-bottom-width: 0;
}

.table-responsive {
  border: 1px solid #E6E6E6;
  border-radius: 8px;
  overflow: hidden;
}
.table-responsive thead tr {
  background: #F9FAFB;
  border-left: 3px solid #F9FAFB;
}
.table-responsive thead tr th {
  border-bottom-width: 0;
}
.table-responsive th,
.table-responsive td {
  box-shadow: none;
  font-size: 14px;
  height: 60px;
  align-content: center;
  padding: 8px 16px;
}
.table-responsive th .btn,
.table-responsive td .btn {
  height: 28px;
  min-height: 28px;
  line-height: 20px;
  font-size: 12px;
  padding: 4px 12px;
}
.table-responsive th .btn-secondary,
.table-responsive td .btn-secondary {
  background: #EFF3F5;
  color: #39505D;
  font-weight: bold;
  border: none;
  border-radius: 4px;
}
.table-responsive th .btn-primary,
.table-responsive td .btn-primary {
  background: rgba(130, 188, 72, 0.631372549);
  color: #82BC48;
  font-weight: bold;
  border: none;
  border-radius: 4px;
}
.table-responsive tbody tr {
  border-left: 3px solid transparent;
}
.table-responsive tbody tr:not(:last-child) {
  border-bottom: 1px solid #F0F0F0;
}
.table-responsive tbody tr:last-child {
  border-bottom-style: none;
}
.table-responsive tbody tr:hover {
  box-shadow: inset 0 0 0 9999px rgba(130, 188, 72, 0.1019607843);
  border-left: 3px solid #82BC48;
}
.table-responsive tbody tr:hover td {
  color: #82BC48;
}

.catalog-grid table {
  width: 100%;
  table-layout: fixed;
}
.catalog-grid thead th {
  height: 58px;
  color: #39505D;
  font-weight: 600;
  line-height: 18px;
}
.catalog-grid tbody td {
  color: #2C2C2C;
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Lista de espera: columnas con varias lineas, por eso no usa el layout fijo/nowrap de catalog-grid */
.waitlist-grid table {
  width: 100%;
  table-layout: auto;
}
.waitlist-grid thead th {
  height: 48px;
  color: #39505D;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
}
.waitlist-grid tbody td {
  color: #2C2C2C;
  line-height: 18px;
  white-space: normal;
  word-break: break-word;
}
.waitlist-grid .waitlist-notes {
  max-width: 260px;
}
.waitlist-grid .catalog-grid-actions-column,
.waitlist-grid .catalog-grid-actions-cell {
  width: 230px;
  white-space: nowrap;
  overflow: visible;
  text-align: right;
}

.catalog-grid-id-col {
  width: 76px;
}

.catalog-grid-actions-col {
  width: 224px;
}

.catalog-grid-id-column {
  width: 76px;
}

.catalog-grid-actions-column,
.catalog-grid-actions-cell {
  width: 1%;
  white-space: nowrap;
  text-align: right;
}
.catalog-grid-actions-cell > .btn,
.catalog-grid-actions-cell > form > .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}
.catalog-grid-actions-cell > .btn + .btn,
.catalog-grid-actions-cell > form + .btn,
.catalog-grid-actions-cell > .btn + form,
.catalog-grid-actions-cell > form + form {
  margin-left: 6px;
}

.catalog-grid-actions-column--icons,
.catalog-grid-actions-cell--icons {
  width: 120px;
  white-space: nowrap;
  text-align: center;
}

.catalog-grid-actions-column--icons-3,
.catalog-grid-actions-cell--icons-3 {
  width: 168px;
  white-space: nowrap;
  text-align: center;
}

.pager-panel {
  min-height: 40px;
}
.pager-panel .pager-page {
  background: #82BC48;
  height: 28px;
  width: 28px;
  text-align: center;
  color: white;
  font-size: 12px;
  align-content: center;
  border-radius: 14px;
}
.pager-panel .pager-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  height: 28px;
  width: 28px;
  padding: 0;
  cursor: pointer;
}
.pager-panel .pager-button svg {
  fill: var(--bs-gray-600);
}
.pager-panel .pager-button.disabled {
  cursor: default;
  opacity: 0.45;
  pointer-events: none;
}
.pager-panel .pager-size-label {
  min-width: 176px;
  white-space: nowrap;
}
.pager-panel [data-page-size-select] {
  width: 64px;
  min-width: 64px;
  height: 32px;
  padding: 4px 20px 4px 8px;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  text-align-last: center;
  background-position: right 8px center;
}

/* IMAGE PREVIEW INPUT */
.imagepreview-field {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.imagepreview {
  display: none;
}

.imagepreview-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(57, 80, 93, 0.08);
  transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out, transform 150ms ease-in-out;
}
.imagepreview-img:hover, .imagepreview-img:focus {
  border-color: #39505D;
  box-shadow: 0 0 0 3px rgba(57, 80, 93, 0.12);
  outline: none;
}
.imagepreview-img:active {
  transform: scale(0.98);
}

.imagepreview-clear {
  min-width: 160px;
}

.imagepreview-field--full {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 220px;
}
.imagepreview-field--full .imagepreview-img {
  width: 100%;
  height: 100%;
}

/* VISIBILITY TOGGLE (Visible / Oculto) */
.visibility-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}
.visibility-toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.visibility-toggle-track {
  position: relative;
  width: 56px;
  height: 28px;
  min-width: 56px;
  border-radius: 999px;
  background: #D9928E;
  transition: background-color 150ms ease-in-out;
}
.visibility-toggle-input:checked ~ .visibility-toggle-track {
  background: #82BC48;
}
.visibility-toggle-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #FFFFFF;
}
.visibility-toggle-icon--on {
  left: 8px;
}
.visibility-toggle-icon--off {
  right: 8px;
}
.visibility-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 150ms ease-in-out;
}
.visibility-toggle-input:checked ~ .visibility-toggle-track .visibility-toggle-thumb {
  transform: translateX(28px);
}
.visibility-toggle-label {
  font-size: 14px;
  color: #39505D;
}

.catalog-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(33, 37, 41, 0.45);
}

.catalog-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-x: hidden;
  overflow-y: auto;
}

.catalog-modal-dialog {
  width: min(100%, 560px);
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(33, 37, 41, 0.18);
}

.catalog-modal-dialog form {
  min-height: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.catalog-modal-wide .catalog-modal-dialog {
  width: min(100%, 1080px);
}

.food-editor-modal .catalog-modal-dialog {
  height: min(100%, 100vh - 48px);
}
.food-editor-modal form {
  min-height: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.food-editor-modal .catalog-modal-body {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
}

.catalog-modal-header,
.catalog-modal-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
}

.catalog-modal-header {
  justify-content: space-between;
  border-bottom: 1px solid #E0E0E0;
}

.catalog-modal-body {
  padding: 20px;
  overflow-y: auto;
}

.catalog-modal-footer {
  justify-content: flex-end;
  border-top: 1px solid #E0E0E0;
}

.catalog-modal-close {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #39505D;
  font-size: 24px;
  line-height: 1;
}
.catalog-modal-close:hover, .catalog-modal-close:focus {
  background: #F7F7F7;
  outline: none;
}

.catalog-sort-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-align: left;
}
.catalog-sort-button:hover, .catalog-sort-button:focus {
  color: #39505D;
  outline: none;
}

.catalog-sort-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: #82BC48;
}
.catalog-sort-icon.inactive {
  opacity: 0;
}

body.catalog-modal-open {
  overflow: hidden;
}

@media (max-width: 575.98px) {
  .catalog-modal {
    align-items: flex-end;
    padding: 12px;
  }
  .catalog-modal-dialog {
    max-height: calc(100vh - 24px);
  }
  .catalog-modal-footer {
    flex-direction: column-reverse;
  }
  .catalog-modal-footer .btn {
    width: 100%;
  }
}
.step-point {
  fill: none;
  stroke: #D5D7DA;
}

.step-line {
  border: 2px solid #D5D7DA;
  margin-top: 20px;
}

.active .step-point {
  fill: none;
  stroke: #007BFF;
}
.active .step-line {
  border: 2px solid #007BFF;
}

.register-step-indicator {
  cursor: pointer;
}
.register-step-indicator.register-step-current .step-point, .register-step-indicator.register-step-completed .step-point {
  stroke: #39505D;
}
.register-step-indicator.register-step-current .step-line, .register-step-indicator.register-step-completed .step-line {
  border-color: #39505D;
}

.register-option-card {
  cursor: pointer;
  border: 1px solid #E5E7EB;
  transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
}
.register-option-card:has(input:checked) {
  border-color: #39505D;
  box-shadow: 0 0 0 2px rgba(57, 80, 93, 0.12);
}

.register-password-strength-bars {
  display: flex;
  gap: 8px;
}

.register-password-strength-bar {
  display: block;
  height: 8px;
  flex: 1;
  border-radius: 999px;
  background: #E5E7EB;
  transition: background-color 150ms ease-in-out;
}

.register-password-strength-indicator[data-strength="1"] .register-password-strength-bar[data-active=true] {
  background: #D9534F;
}

.register-password-strength-indicator[data-strength="2"] .register-password-strength-bar[data-active=true] {
  background: #F0AD4E;
}

.register-password-strength-indicator[data-strength="3"] .register-password-strength-bar[data-active=true] {
  background: #5BC0DE;
}

.register-password-strength-indicator[data-strength="4"] .register-password-strength-bar[data-active=true] {
  background: #82BC48;
}

.register-otp-info {
  border: 1px solid #E5E7EB;
  background: #F9FBFD;
}

.register-otp-qr-frame {
  border: 1px solid #E5E7EB;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%);
}

[data-otp-qr-container] {
  min-height: 244px;
  align-items: center;
}

[data-otp-qr-container] img {
  display: block;
  width: 220px !important;
  height: 220px !important;
  max-width: 100%;
  background: #FFFFFF;
  border: 1px solid #D7DEE7;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(57, 80, 93, 0.08);
  image-rendering: crisp-edges;
}

#dashoard-calendar .day-label {
  color: #6B7280;
  font-size: 10px;
  font-weight: 600;
  line-height: 15px; /* 150% */
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
#dashoard-calendar .day-value {
  color: #14181F;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px; /* 133.333% */
}
#dashoard-calendar .day-label, #dashoard-calendar .day-value {
  font-style: normal;
  font-family: Montserrat;
  text-align: center;
  padding: 10px 0;
  width: 14%;
}
#dashoard-calendar .active {
  border-radius: 10px;
  background: #82BC48;
  color: white;
}

.agenda-page {
  max-width: 100%;
}

.agenda-toolbar,
.agenda-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.agenda-view-switch {
  display: inline-flex;
  border: 1px solid #D7DEE7;
  border-radius: 8px;
  overflow: hidden;
  background: #FFFFFF;
}
.agenda-view-switch button,
.agenda-view-switch a {
  border: 0;
  background: transparent;
  padding: 9px 14px;
  color: #39505D;
  font-weight: 600;
  text-decoration: none;
}
.agenda-view-switch button.active,
.agenda-view-switch a.active {
  background: #39505D;
  color: #FFFFFF;
}

.agenda-filter {
  display: grid;
  gap: 4px;
  min-width: 180px;
}
.agenda-filter span {
  font-size: 12px;
  color: #6B7280;
  font-weight: 600;
}

.catalog-filter {
  display: grid;
  gap: 4px;
  min-width: 180px;
}
.catalog-filter span {
  color: #6B7280;
  font-size: 12px;
  font-weight: 600;
}

.agenda-date-form {
  margin: 0;
}

.agenda-legend {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  gap: 12px 18px;
  align-items: center;
}

.agenda-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #39505D;
  font-size: 14px;
  font-weight: 500;
}

.agenda-legend-dot {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 999px;
}

.agenda-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.agenda-calendar,
.agenda-week,
.agenda-day-view {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
}

.agenda-month {
  display: grid;
  grid-template-columns: repeat(7, minmax(128px, 1fr));
  overflow-x: auto;
}

.agenda-weekday {
  padding: 10px;
  color: #6B7280;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid #DCE0E5;
  background: #F9FAFB;
}

.agenda-day {
  min-height: 120px;
  padding: 10px;
  border: 1px solid #E6E6E6;
}
.agenda-day.muted {
  background: #FAFBFC;
  color: #9AA7B3;
}
.agenda-day.today {
  border: 2px solid #82BC48;
  background: rgba(130, 188, 72, 0.1);
}

.agenda-day-number {
  border: 0;
  background: transparent;
  padding: 0;
  color: rgba(57, 80, 93, 0.78);
  /* text-h3 */
  font-family: Montserrat;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%; /* 33.6px */
}

.agenda-day-items,
.agenda-week-items,
.agenda-hour-content {
  display: grid;
  gap: 8px;
}

.agenda-chip,
.agenda-card {
  width: 100%;
  border: 1px solid transparent;
  background: #EDB680;
  color: #26343D;
  text-align: left;
  border-radius: 6px;
  padding: 7px 8px;
}

.agenda-chip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  font-size: 12px;
}
.agenda-chip strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agenda-card {
  display: grid;
  gap: 4px;
  min-height: 78px;
}

.agenda-card-time,
.agenda-card-status,
.agenda-card-notes,
.agenda-more {
  font-size: 12px;
}

.agenda-card-time,
.agenda-card-status,
.agenda-more {
  color: #687885;
}

.agenda-card-notes {
  color: #39505D;
  overflow-wrap: anywhere;
}

.status-pending {
  background: #EDB680;
}

.status-confirmed {
  background: #80D38D;
}

.status-cancelled {
  background: #D9928E;
}

.status-noshow {
  background: #B6C1CA;
}

.status-completed {
  background: #99A3FF;
}

.agenda-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(160px, 1fr));
  overflow-x: auto;
}

.agenda-week-column {
  min-height: 540px;
  padding: 10px;
  border-right: 1px solid #E0E6EF;
}
.agenda-week-column.today {
  background: #FAFFF4;
}

.agenda-week-column-header {
  margin-bottom: 8px;
}
.agenda-week-column-header a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #26343D;
  text-decoration: none;
}

.agenda-add-slot {
  width: 100%;
  border: 1px dashed #B8C5D1;
  background: #F9FBFD;
  color: #39505D;
  border-radius: 6px;
  padding: 7px;
  font-size: 12px;
  margin-bottom: 8px;
}

.agenda-hour-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  border-bottom: 1px solid #E0E6EF;
}

.agenda-hour-label {
  padding: 12px;
  background: #F6F8FB;
  color: #6B7280;
  font-weight: 700;
  font-size: 12px;
}

.agenda-hour-content {
  padding: 10px;
  min-height: 96px;
}

.agenda-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
}

.agenda-modal .catalog-modal-dialog {
  max-width: 860px;
}

.reminders-page .reminder-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 12px;
}
.reminders-page .reminder-summary-item {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid #E4E9EF;
  border-radius: 8px;
  background: #FFFFFF;
}
.reminders-page .reminder-summary-item span {
  color: #6B7280;
  font-size: 12px;
  font-weight: 600;
}
.reminders-page .reminder-summary-item strong {
  color: #26343D;
  font-size: 28px;
  line-height: 1;
}
.reminders-page .reminders-list {
  display: grid;
  gap: 10px;
}
.reminders-page .reminder-empty {
  padding: 24px;
  border: 1px dashed #B8C5D1;
  border-radius: 8px;
  background: #FFFFFF;
  color: #6B7280;
  text-align: center;
}
.reminders-page .reminder-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #E4E9EF;
  border-radius: 8px;
  background: #FFFFFF;
}
.reminders-page .reminder-row.completed {
  background: #F8FAFC;
}
.reminders-page .reminder-row.completed .reminder-title,
.reminders-page .reminder-row.completed .reminder-notes {
  color: #82909B;
  text-decoration: line-through;
}
.reminders-page .reminder-check-form {
  margin: 0;
}
.reminders-page .reminder-check {
  width: 28px;
  height: 28px;
  border: 1px solid #B8C5D1;
  border-radius: 999px;
  background: #FFFFFF;
  color: #FFFFFF;
  font-weight: 700;
}
.reminders-page .reminder-check.checked {
  border-color: #82BC48;
  background: #82BC48;
}
.reminders-page .reminder-content {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}
.reminders-page .reminder-title {
  color: #26343D;
  font-weight: 700;
}
.reminders-page .reminder-notes,
.reminders-page .reminder-meta {
  overflow-wrap: anywhere;
  color: #687885;
  font-size: 12px;
}
.reminders-page .reminder-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.reminders-page .reminder-badge {
  border-radius: 999px;
  padding: 4px 9px;
  color: #26343D;
  font-size: 12px;
  font-weight: 700;
}
.reminders-page .reminder-badge.priority-high {
  background: #D9928E;
}
.reminders-page .reminder-badge.priority-normal {
  background: #EDB680;
}
.reminders-page .reminder-badge.priority-low {
  background: #B6C1CA;
}
.reminders-page .reminder-badge.state {
  background: #EAF0F4;
  color: #39505D;
}

@media (max-width: 768px) {
  .agenda-toolbar,
  .agenda-header-row {
    align-items: stretch;
  }
  .agenda-view-switch,
  .agenda-filter,
  .agenda-nav {
    width: 100%;
  }
  .agenda-nav .btn {
    flex: 1;
  }
  .reminders-page .reminder-summary {
    grid-template-columns: 1fr;
  }
  .reminders-page .reminder-row {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }
  .reminders-page .reminder-badges {
    grid-column: 2;
    justify-content: flex-start;
  }
}
/* PAGES */
/* LOGIN */
#page-login-panel-1 {
  background: linear-gradient(#87D935, #3B5621);
  border-radius: 8px;
}

#dashboard-page .card {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  background: #FFF;
  box-shadow: 0 1px 3px 0 rgba(20, 24, 31, 0.04), 0 1px 2px 0 rgba(20, 24, 31, 0.06);
}

.dashboard-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.dashboard-status-badge {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 9999px;
  color: #39505D;
  font-family: Montserrat;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  line-height: 16.5px;
  letter-spacing: 0.275px;
}

.dashboard-status-button {
  border: 0;
}

.dashboard-reminder-check {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  padding: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.dashboard-reminder-check::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 5px;
  border-left: 2px solid #82BC48;
  border-bottom: 2px solid #82BC48;
  transform: rotate(-45deg);
  opacity: 0;
  top: 8px;
  left: 7px;
}
.dashboard-reminder-check:hover::after, .dashboard-reminder-check:focus::after, .dashboard-reminder-check.checked::after {
  opacity: 1;
}

/* SELECT 2 (tema bootstrap-5) */
.select2-container--bootstrap-5 .select2-selection {
  min-height: calc(1.9em + .75rem + 2px);
  border-color: #E0E0E0;
  border-radius: 8px;
  background: #F7F7F7;
  font-size: 16px;
  line-height: 20px;
  color: #848484;
  padding: 12px;
}
