.fc-head {
  background-color: #eaeaea;
  text-transform: capitalize;
}

.fc-center {
  font-weight: bold;
  text-transform: uppercase;
}

.fc-axis.fc-time,
.fc-row.fc-widget-header > table > thead > tr > th {
  background: #eaeaea;
}

/*.fc-unthemed td.fc-today {
  background: $today;
}*/
.fc-timeGridDay-view td.fc-today {
  background: #FFFFFF;
}

.fc-event {
  font-size: 1em;
}

.odontograma {
  display: flex;
}

.tooth {
  background: #827f7f;
  position: relative;
  width: 52px;
  height: 73px;
  margin: 4px;
  cursor: pointer;
}
.tooth .tooth-number {
  background: #f1f1f1;
  border: 1px solid #827f7f;
  position: absolute;
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  z-index: 99;
}
.tooth .tooth-top {
  position: absolute;
  top: 22px;
  left: 2px;
  width: 48px;
  height: 0;
  border-top: 10px solid white;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}
.tooth .tooth-top:hover {
  border-top: 10px solid #e6e6e6;
}
.tooth .tooth-top.face-selected {
  border-top: 10px solid #bfbfbf;
}
.tooth .tooth-bottom {
  position: absolute;
  bottom: 1px;
  left: 2px;
  width: 48px;
  height: 0;
  border-bottom: 10px solid white;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}
.tooth .tooth-bottom:hover {
  border-bottom: 10px solid #e6e6e6;
}
.tooth .tooth-bottom.face-selected {
  border-bottom: 10px solid #bfbfbf;
}
.tooth .tooth-left {
  position: absolute;
  top: 22px;
  left: 1px;
  width: 0;
  height: 50px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid white;
}
.tooth .tooth-left:hover {
  border-left: 10px solid #e6e6e6;
}
.tooth .tooth-left.face-selected {
  border-left: 10px solid #bfbfbf;
}
.tooth .tooth-rigth {
  position: absolute;
  top: 22px;
  right: 1px;
  width: 0;
  height: 50px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid white;
}
.tooth .tooth-rigth:hover {
  border-right: 10px solid #e6e6e6;
}
.tooth .tooth-rigth.face-selected {
  border-right: 10px solid #bfbfbf;
}
.tooth .tooth-middle {
  position: absolute;
  top: 33px;
  left: 12px;
  width: 0;
  height: 28px;
  border-right: 28px solid white;
}
.tooth .tooth-middle:hover {
  border-right: 28px solid #e6e6e6;
}
.tooth .tooth-middle.face-selected {
  border-right: 28px solid #bfbfbf;
}

.note-toolbar {
  z-index: auto;
}

.ppto-panel {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e3e3e3;
  overflow: hidden;
}

.ppto-panel .shadow {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ppto-panel-header {
  gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid #edf0f4;
  background-color: #d5e4fc;
}
.ppto-panel-header h6 {
  font-size: 12.5px;
  font-weight: 600;
  color: #3d4f63;
  margin-bottom: 0;
  letter-spacing: 0.1px;
}

.ppto-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
}
.ppto-icon > i {
  padding-right: 0px;
}

.ppto-panel label {
  font-size: 11px;
  font-weight: 600;
  color: #7a8fa6;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 3px;
}

.custom-select2-dropdown .complejidad-gris,
.custom-select2-dropdown .complejidad-verde,
.custom-select2-dropdown .complejidad-naranjo,
.custom-select2-dropdown .complejidad-rojo {
  display: block;
  width: 100%;
  padding: 5px 10px;
  box-sizing: border-box;
}
.custom-select2-dropdown .complejidad-gris {
  background-color: #fcfcfc !important;
}
.custom-select2-dropdown .complejidad-verde {
  background-color: #dcfcdc !important;
}
.custom-select2-dropdown .complejidad-naranjo {
  background-color: #fef8d7 !important;
}
.custom-select2-dropdown .complejidad-rojo {
  background-color: #fee2e2 !important;
}

.select2-results__option {
  margin: 0;
  padding: 0;
}

#ppto-wrapper {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

#ppto-col-form {
  flex: 1 1 0;
  min-width: 0;
}

#ppto-col-historial {
  width: 450px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  #ppto-wrapper {
    flex-direction: column;
  }

  #ppto-col-historial {
    width: 100%;
  }
}
#lista_presupuesto_cp {
  font-size: 12.5px;
}
#lista_presupuesto_cp thead th {
  background: #f9fbfc;
  color: #7a8fa6;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e9edf2;
  padding: 8px 10px;
}
#lista_presupuesto_cp tbody tr {
  transition: background 0.12s;
}
#lista_presupuesto_cp tbody tr:hover {
  background: #f5f9ff;
}
#lista_presupuesto_cp tbody td {
  padding: 8px 10px;
  vertical-align: middle;
  border-color: #f0f3f7;
  color: #3d4f63;
}

.ppto-resumen-row {
  padding: 10px 16px;
  border-top: 1px solid #edf0f4;
  background: #f9fbfc;
}
.ppto-resumen-row .label-resumen {
  font-size: 11.5px;
  color: #7a8fa6;
}
.ppto-resumen-row .valor-resumen {
  font-size: 15px;
  font-weight: 700;
  color: #2d3f55;
}

.btn-ppto-agregar {
  background: #6471e0;
  color: #fff;
  border: none;
  transition: background 0.15s;
}
.btn-ppto-agregar:hover {
  background: #505cc8;
  color: #fff;
}

.btn-ppto-guardar {
  background: #f0b429;
  border: none;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 6px 18px;
  border-radius: 6px;
  transition: background 0.15s;
}
.btn-ppto-guardar:hover {
  background: #d9a020;
  color: #fff;
}

.ppto-card {
  border-radius: 8px;
  border: 1px solid #edf0f4;
  overflow: hidden;
  margin-bottom: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.18s, border-color 0.18s;
}
.ppto-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  border-color: #d8e2ee;
}

.ppto-card-trigger {
  gap: 10px;
  padding: 10px 13px;
  cursor: pointer;
  user-select: none;
  background: #d7e3f5;
  border: none;
  width: 100%;
  text-align: left;
}
.ppto-card-trigger:hover {
  background: #ccddf8;
}
.ppto-card-trigger.open .ppto-card-chevron {
  transform: rotate(180deg);
}

.ppto-card-code {
  font-size: 11px;
  background: #eef4ff;
  color: #4a6fa5;
  padding: 2px 7px;
  border-radius: 5px;
  font-family: monospace;
  letter-spacing: 0.5px;
}

.ppto-card-fecha {
  font-size: 11px;
  color: #7a8fa6;
}

.ppto-card-total {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: #2d3f55;
}

.ppto-card-chevron {
  font-size: 9px;
  color: #c0cdd9;
  transition: transform 0.22s;
}

.ppto-card-body {
  display: none;
  border-top: 1px solid #edf0f4;
}

.ppto-card-obs {
  padding: 6px 13px;
  font-size: 11px;
  color: #7a8fa6;
  background: #f9fbfc;
  border-bottom: 1px solid #edf0f4;
  gap: 5px;
}

.ppto-det-table {
  width: 100%;
  font-size: 11.5px;
  border-collapse: collapse;
}
.ppto-det-table thead th {
  background: #f9fbfc;
  color: #6b7f96;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 5px 10px;
  border-bottom: 1px solid #edf0f4;
}
.ppto-det-table tbody td {
  padding: 6px 10px;
  border-bottom: 1px solid #f3f5f8;
  color: #3d4f63;
}
.ppto-det-table tbody tr:last-child td {
  border-bottom: none;
}
.ppto-det-table tfoot td {
  padding: 6px 10px;
  font-weight: 700;
  font-size: 12px;
  background: #f5f7fa;
  color: #2d3f55;
}

.ppto-card-footer-info {
  padding: 5px 13px;
  font-size: 10.5px;
  color: #a0aec0;
  background: #fafbfc;
  border-top: 1px solid #edf0f4;
}

.ppto-hist-empty {
  color: #b0bec9;
}
.ppto-hist-empty i {
  font-size: 26px;
}

.ppto-estado-select {
  font-size: 11px;
  padding: 1px 4px;
  height: auto;
  border-radius: 20px;
  border-width: 1.5px;
  cursor: pointer;
  background: transparent;
}
.ppto-estado-select.estado-Pendiente {
  border-color: #e0a030;
  color: #a06010;
}
.ppto-estado-select.estado-Realizado {
  border-color: #30a878;
  color: #1a6b50;
}
.ppto-estado-select.estado-Pagado {
  border-color: #4a7fd4;
  color: #2a55a0;
}
.ppto-estado-select.estado-Cancelado {
  border-color: #d46464;
  color: #9a2a2a;
}

.ppto-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.ppto-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.ppto-badge-warning {
  background: #fef5e0;
  color: #a07020;
}

.ppto-badge-success {
  background: #e0f5ec;
  color: #1a6b50;
}

.ppto-badge-danger {
  background: #fdeaea;
  color: #9a2a2a;
}

.ppto-badge-info {
  background: #e8f0fd;
  color: #2a55a0;
}

.ppto-badge-muted {
  background: #f1f5f9;
  color: #7a8fa6;
}

#procedimientos_paciente,
#historico_pagos_paciente {
  font-size: 12.5px;
}
#procedimientos_paciente thead th,
#historico_pagos_paciente thead th {
  background: #f9fbfc;
  color: #7a8fa6;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e9edf2;
  border-top: none;
  padding: 8px 10px;
}
#procedimientos_paciente tbody tr,
#historico_pagos_paciente tbody tr {
  transition: background 0.12s;
}
#procedimientos_paciente tbody tr:hover td,
#historico_pagos_paciente tbody tr:hover td {
  background: #f5f9ff;
}
#procedimientos_paciente tbody td,
#historico_pagos_paciente tbody td {
  padding: 7px 10px;
  vertical-align: middle;
  border-color: #f0f3f7;
  color: #3d4f63;
}
#procedimientos_paciente tfoot td,
#historico_pagos_paciente tfoot td {
  padding: 6px 10px;
  font-weight: 700;
  font-size: 12px;
  background: #f5f7fa;
  color: #2d3f55;
  border-top: 2px solid #e9edf2;
}

.pd-label {
  font-size: 12px;
  font-weight: 700;
  color: #8492a6;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pd-label i {
  font-size: 12px;
  opacity: 0.7;
}

#pd-form .form-control {
  font-size: 12px;
  border-color: #dde3ee;
  border-radius: 5px;
  color: #2c3e50;
  background-color: #fafbfc;
  height: calc(1.75em + 0.75rem + 2px);
  transition: border-color 0.15s, box-shadow 0.15s;
}
#pd-form .form-control:focus {
  border-color: #6b8cda;
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(107, 140, 218, 0.12);
}
#pd-form select.form-control {
  height: calc(1.75em + 0.75rem + 2px);
}
#pd-form .input-group-text {
  background-color: #f0f3fa;
  border-color: #dde3ee;
  color: #6b8cda;
  font-size: 12px;
  padding: 0 10px;
}
#pd-form .input-group-text.tel-prefix {
  background-color: #e8f5f2;
  color: #276b5e;
  font-weight: 700;
  letter-spacing: 0.02em;
}
#pd-form .input-group .form-control {
  border-left: none;
}
#pd-form .input-group .form-control:focus {
  border-left: 1px solid #6b8cda;
}

.hc-card-header {
  cursor: pointer;
  user-select: none;
  background-color: #f8f9fc;
  padding: 10px 14px;
  transition: background-color 0.15s;
}
.hc-card-header:hover {
  background-color: #eef2fb;
}
.hc-card-header.es-actual {
  border-left-color: #e74c3c;
  background-color: #fff8f8;
}
.hc-card-header .hc-fecha {
  font-size: 12px;
  font-weight: 600;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hc-card-header .hc-fecha i {
  color: #6b8cda;
  font-size: 12px;
}
.hc-card-header.es-actual .hc-fecha i {
  color: #e74c3c;
}
.hc-card-header[aria-expanded=true] .hc-chevron {
  transform: rotate(180deg);
}

.hc-chevron {
  transition: transform 0.2s ease;
  color: #aab0bb;
  font-size: 12px;
}

.badge-actual {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 10px;
  background-color: #fde8e8;
  color: #c0392b;
  border: 1px solid #f5b8b8;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hc-field-label {
  font-size: 12px;
  font-weight: 700;
  color: #8492a6;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.hc-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}
.hc-status-pill.alerta {
  background-color: #fff4e6;
  color: #c05a00;
  border: 1px solid #f5c08a;
}
.hc-status-pill.ok {
  background-color: #f0f9f4;
  color: #276b44;
  border: 1px solid #a3d9b8;
}

.hc-content-box {
  background: #fafbfc;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 9px 13px;
  font-size: 12px;
  color: #374151;
  line-height: 1.65;
  min-height: 38px;
}
.hc-content-box.con-alerta {
  border-left: 3px solid #f5c08a;
}
.hc-content-box.empty {
  color: #b0bac8;
  font-style: italic;
}

.hc-drug-tag {
  display: inline-block;
  background: #fff4e6;
  color: #c05a00;
  border: 1px solid #f5c08a;
  border-radius: 12px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 500;
  margin: 2px 3px 2px 0;
}

.hc-table {
  border: 1px solid #d0f3eb;
  border-left: 4px solid #d0f3eb;
}
.hc-table thead th {
  font-size: 12px;
  font-weight: 700;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 12px;
  border-top: none !important;
  border-bottom: 2px solid #dde3ea !important;
  background-color: #f4f7fb;
}
.hc-table tbody td {
  font-size: 12px;
  color: #374151;
  vertical-align: middle;
  padding: 7px 12px;
  border-top: 1px solid #f0f4f8;
}
.hc-table tbody tr:hover td {
  background-color: #f8fafd;
}

.hc-pieza-badge {
  display: inline-block;
  background: #eef2ff;
  color: #3d4f8a;
  border: 1px solid #c7d2fe;
  border-radius: 5px;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 700;
}

.hc-anestesia-badge {
  display: inline-block;
  background: #fdfae8;
  color: #7a6200;
  border: 1px solid #e8d97a;
  border-radius: 11px;
  padding: 1px 9px;
  font-size: 12px;
  font-weight: 500;
}

.hc-valor-cell {
  font-weight: 700;
  color: #1a5c3a;
  font-size: 12px;
}

.hc-control-btn {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 500;
}

#accordionHistorial .card {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
#accordionHistorial .card-body {
  padding: 0;
}
#accordionHistorial .hc-section-body {
  border-right: 1px solid #d9e3f7;
  border-bottom: 1px solid #d9e3f7;
  border-left: 4px solid #d9e3f7;
  padding: 14px 16px;
}

.paciente-header {
  background: #f8fafd;
  border: 1px solid #e9edf2;
  border-radius: 8px;
  padding: 14px 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.paciente-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2eaf4 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.paciente-nombre {
  font-size: 15.5px;
  font-weight: 700;
  color: #2d3f55;
  letter-spacing: 0.1px;
  line-height: 1.3;
}

.paciente-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 5px;
}

.paciente-meta {
  font-size: 11.5px;
  color: #7a8fa6;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.paciente-meta i {
  font-size: 10px;
  color: #b0bec9;
}
.paciente-meta.warning {
  color: #a07020;
}

.paciente-divider {
  width: 1px;
  height: 14px;
  background: #dde4ee;
  display: inline-block;
}

.paciente-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.ph-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.ph-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.ph-badge-danger {
  background: #fdeaea;
  color: #9a2a2a;
}

.ph-badge-success {
  background: #e0f5ec;
  color: #1a6b50;
}

.ph-badge-warning {
  background: #fef5e0;
  color: #a07020;
}

.ph-badge-info {
  background: #e8f0fd;
  color: #2a55a0;
}

.grayscale {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.list-group-item i {
  width: 20px;
}

.card-header i {
  width: 30px;
}

@-webkit-keyframes blink {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
.blink {
  -webkit-animation: blink 0.7s infinite linear alternate;
  -webkit-font-smoothing: antialiased;
}

.form-group > label {
  font-weight: 700;
}

.bg-azul {
  background-color: #346e98;
  color: #fff;
}

.bg-agenda {
  background: #346e982e;
}

.bg-en-curso {
  background: #a09e452e;
}

.bg-final {
  background: #5a98342e;
}

.mh {
  min-height: 653px;
}

i {
  padding-right: 10px;
}

/* atencion paciente */
#secciones a {
  color: #fff !important;
}

#secciones a.active {
  background: #00000082;
}

.table-header-blue {
  background-color: #47649b;
  color: #fff;
}

.popover-calendar {
  width: 300px !important;
  margin-right: 5px;
}

.popover {
  max-width: none;
}

.table tbody tr.active {
  background-color: #ffffa7;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
  background-color: #eee !important;
  cursor: default;
}

.has-error .select2-selection {
  border-color: #dd4b39 !important;
}

/*# sourceMappingURL=main.css.map */
