/* =====================================================
   NubeCita — Sistema de diseño principal
   Colores corporativos: Teal (#2ab5a1 / #1e8e7d)
   ===================================================== */

/* ── TIPOGRAFÍA & FONDO ── */
body {
  font-family: 'Inter', sans-serif !important;
  background-color: #f0f2f8 !important;
}
body.bg-gray-100,
.bg-gray-100 {
  background-color: #f0f2f8 !important;
}

/* ── COLORES CORPORATIVOS ── */
:root {
  --nc-teal:        #2ab5a1;
  --nc-teal-dark:   #1e8e7d;
  --nc-teal-light:  #3cd7bf;
  --nc-bg:          #f0f2f8;
  --nc-dark:        #1a1a2e;
  --nc-sidebar-bg:  #ffffff;
  --nc-text:        #344767;
  --nc-muted:       #7b809a;
  --nc-border:      #d2d6da;
  --nc-white:       #ffffff;
  --nc-blue:        #1A73E8;
}

/* ══════════════════════════════════
   SIDEBAR — Tema claro (Fondo Blanco) NubeCita
══════════════════════════════════ */
.nc-sidebar {
  background: #ffffff !important;
  border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 2px 0 16px rgba(0,0,0,.05) !important;
}

/* Logo header */
.nc-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--nc-teal), var(--nc-teal-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(42,181,161,.3);
  flex-shrink: 0;
}
.nc-logo-icon .material-symbols-rounded {
  font-size: 20px; color: #fff;
}
.nc-logo-text {
  display: flex; flex-direction: column; line-height: 1.1;
}
.nc-brand-name {
  font-size: .95rem; font-weight: 800;
  color: #1e293b; letter-spacing: -.2px;
}
.nc-brand-sub {
  font-size: .62rem; font-weight: 600;
  color: var(--nc-teal); letter-spacing: .1em;
  text-transform: uppercase;
}
.nc-brand-company {
  font-size: .68rem; font-weight: 700;
  color: var(--nc-teal);
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

/* Nav links */
.nc-sidebar .nav-link {
  border-radius: 8px !important;
  margin: 1px 8px !important;
  padding: 8px 12px !important;
  transition: background .2s ease, color .2s ease !important;
  display: flex !important; align-items: center !important; gap: 8px;
}
.nc-sidebar .nav-link:hover {
  background: #f1f5f9 !important;
}
.nc-sidebar .nav-link.active {
  background: linear-gradient(135deg, var(--nc-teal), var(--nc-teal-dark)) !important;
  box-shadow: 0 4px 12px rgba(42,181,161,.35) !important;
}
.nc-sidebar .nav-link .nav-link-text {
  font-size: .78rem !important;
  font-weight: 500 !important;
  color: #334155 !important;
}
.nc-sidebar .nav-link:hover .nav-link-text {
  color: var(--nc-teal-dark) !important;
}
.nc-sidebar .nav-link.active .nav-link-text {
  color: #fff !important;
  font-weight: 600 !important;
}
.nc-nav-icon {
  font-size: 18px !important;
  color: #64748b !important;
  flex-shrink: 0;
}
.nc-sidebar .nav-link:hover .nc-nav-icon {
  color: var(--nc-teal-dark) !important;
}
.nc-sidebar .nav-link.active .nc-nav-icon {
  color: #fff !important;
}
.nc-sidebar hr.horizontal,
.nc-sidebar hr.horizontal.light,
.nc-sidebar hr.horizontal.dark {
  background: rgba(0,0,0,.08) !important;
  opacity: 1 !important;
}

/* Logout sidebar btn */
.nc-btn-logout {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  border-radius: 8px !important;
  font-size: .78rem !important;
  font-weight: 600 !important;
  padding: 8px 14px !important;
  transition: all .2s ease !important;
}
.nc-btn-logout:hover {
  background: rgba(220,53,69,.08) !important;
  border-color: rgba(220,53,69,.25) !important;
  color: #dc3545 !important;
}

/* Sidebar collapse btn */
.sidebar-collapse-btn {
  border: none !important; background: none !important;
  color: #64748b !important;
  cursor: pointer; line-height: 1;
  transition: color .2s ease;
}
.sidebar-collapse-btn:hover { color: #1e293b !important; }

/* ══════════════════════════════════
   NAVBAR SUPERIOR
══════════════════════════════════ */
.nc-navbar {
  position: relative !important;
  z-index: 1035 !important;
  margin-top: 0.5rem !important;
  /* alto navbar */
  padding-top: 0.65rem !important;
  padding-bottom: 0.65rem !important;

  background: rgba(255,255,255,.95) !important;
  backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(0,0,0,.06) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.04) !important;
}

.nc-navbar .dropdown-menu {
  z-index: 1060 !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.15) !important;
}

/* SAAS Switcher */
.nc-saas-switcher {
  display: none !important;
  background: #f0f2f8;
  border-radius: 8px;
  padding: 4px 8px;
  gap: 4px !important;
}
.nc-saas-label {
  font-size: .7rem; font-weight: 700;
  color: var(--nc-muted);
  text-transform: uppercase; letter-spacing: .06em;
  margin-right: 2px;
}
.nc-saas-btn {
  font-size: .75rem; font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px; border: none;
  background: transparent; color: var(--nc-muted);
  cursor: pointer; transition: all .15s ease;
  font-family: 'Inter', sans-serif;
}
.nc-saas-btn.active {
  background: var(--nc-dark);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,34,63,.25);
}
.nc-saas-btn:not(.active):hover {
  background: rgba(0,0,0,.06);
  color: var(--nc-text);
}

/* Buscador navbar */
.nc-search-box {
  display: flex; align-items: center;
  background: #f0f2f8;
  border: 1.5px solid var(--nc-border);
  border-radius: 10px;
  padding: 4px 12px;
  gap: 6px;
  transition: border-color .2s, box-shadow .2s;
}
.nc-search-box:focus-within {
  border-color: var(--nc-teal);
  box-shadow: 0 0 0 3px rgba(42,181,161,.12);
  background: #fff;
}
.nc-search-icon { font-size: 18px; color: var(--nc-muted); }
.nc-search-input {
  border: none; background: transparent;
  font-size: .82rem; color: var(--nc-text);
  font-family: 'Inter', sans-serif;
  outline: none; width: 180px;
}
.nc-search-input::placeholder { color: #adb5bd; }

/* Badge de notificaciones */
.nc-notif-badge {
  position: absolute; top: -4px; right: -6px;
  width: 17px; height: 17px;
  background: var(--nc-teal);
  color: #fff; font-size: .6rem; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  animation: nc-ping 2s ease-in-out infinite;
}
@keyframes nc-ping {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.15); }
}
.nc-notif-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Avatar usuario */
.nc-avatar-wrap { position: relative; cursor: pointer; }
.nc-avatar-img {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--nc-teal);
}
.nc-avatar-initials {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--nc-teal), var(--nc-teal-dark));
  color: #fff; font-size: .78rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(42,181,161,.3);
}

/* ══════════════════════════════════
   KPI CARDS
══════════════════════════════════ */
.nc-kpi-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  padding: 1.2rem 1.4rem;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid rgba(0,0,0,.04);
}
.nc-kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,.1);
}
.nc-kpi-body {
  display: flex; align-items: center; gap: 14px;
}
.nc-kpi-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
.nc-kpi-icon .material-symbols-rounded {
  font-size: 26px; color: #fff;
}
.nc-kpi-info { flex: 1; }
.nc-kpi-label {
  font-size: .65rem; font-weight: 700;
  color: var(--nc-muted); text-transform: uppercase;
  letter-spacing: .08em; margin: 0 0 4px;
}
.nc-kpi-value {
  font-size: 1.8rem; font-weight: 800;
  color: var(--nc-dark); margin: 0; line-height: 1;
}
.nc-kpi-footer { margin-top: 10px; border-top: 1px solid #f0f2f5; padding-top: 8px; }
.nc-kpi-trend {
  font-size: .75rem; font-weight: 600;
  display: flex; align-items: center; gap: 3px;
}

/* ══════════════════════════════════
   GRÁFICO DE ACTIVIDAD
══════════════════════════════════ */
.nc-chart-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.04);
  overflow: hidden;
}
.nc-chart-header {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  padding: 1.2rem 1.4rem .8rem;
  border-bottom: 1px solid #f0f2f5;
  flex-wrap: wrap; gap: .5rem;
}
.nc-chart-title {
  font-size: 1rem; font-weight: 700;
  color: var(--nc-dark); margin: 0;
}
.nc-chart-sub {
  font-size: .75rem; color: var(--nc-muted);
  margin: 2px 0 0;
}
.nc-chart-actions { display: flex; gap: 6px; }
.nc-chart-btn {
  font-size: .75rem; font-weight: 600;
  padding: 4px 12px; border-radius: 6px; border: none;
  background: #f0f2f8; color: var(--nc-muted);
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: all .15s ease;
}
.nc-chart-btn.active {
  background: var(--nc-teal);
  color: #fff;
  box-shadow: 0 3px 10px rgba(42,181,161,.35);
}
.nc-chart-body {
  padding: 1.2rem 1.4rem;
  height: 300px;
  position: relative;
}

/* ══════════════════════════════════
   PRÓXIMAS CITAS
══════════════════════════════════ */
.nc-upcoming-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.04);
  display: flex; flex-direction: column;
  height: 100%;
}
.nc-upcoming-header {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem .8rem;
  border-bottom: 1px solid #f0f2f5;
}
.nc-today-badge {
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  background: linear-gradient(135deg, var(--nc-teal), var(--nc-teal-dark));
  color: #fff; padding: 3px 10px; border-radius: 20px;
}
.nc-upcoming-list {
  flex: 1; overflow-y: auto;
  padding: .5rem .8rem;
}
.nc-cita-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 8px;
  border-bottom: 1px solid #f0f2f5;
  transition: background .15s ease;
  border-radius: 8px;
}
.nc-cita-item:last-child { border-bottom: none; }
.nc-cita-item:hover { background: #f8fffe; }
.nc-cita-time-icon {
  width: 32px; height: 32px;
  background: rgba(42,181,161,.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nc-cita-time-icon .material-symbols-rounded {
  font-size: 17px; color: var(--nc-teal);
}
.nc-cita-info { flex: 1; min-width: 0; }
.nc-cita-patient {
  font-size: .8rem; font-weight: 600;
  color: var(--nc-dark); margin: 0 0 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nc-cita-time {
  font-size: .72rem; color: var(--nc-muted); margin-right: 8px;
}
.nc-cita-status {
  font-size: .65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  padding: 2px 7px; border-radius: 4px;
}
.nc-cita-status.pending {
  background: rgba(245,166,35,.12);
  color: #b06b00;
}
.nc-cita-status.credit {
  background: rgba(42,181,161,.12);
  color: var(--nc-teal-dark);
}
.nc-cita-status.confirmed {
  background: rgba(26,115,232,.1);
  color: #1557b0;
}
.nc-cita-status.cancelled {
  background: rgba(220,53,69,.1);
  color: #b02a37;
}

.nc-upcoming-footer {
  padding: .8rem 1.4rem;
  border-top: 1px solid #f0f2f5;
  text-align: center;
}
.nc-link-all {
  font-size: .78rem; font-weight: 600;
  color: var(--nc-teal); text-decoration: none;
  transition: color .15s ease;
  display: inline-flex; align-items: center; gap: 4px;
}
.nc-link-all:hover { color: var(--nc-teal-dark); }

/* ══════════════════════════════════
   BREADCRUMB
══════════════════════════════════ */
.breadcrumb { display:flex; flex-wrap:wrap; padding:0; margin-bottom:0; list-style:none; align-items:center; }
.breadcrumb-item { display:inline-flex; align-items:center; font-size:.82rem; font-weight:500; }
.breadcrumb-item:not(.active), .breadcrumb-item:not(.active) a { color:var(--nc-teal)!important; text-decoration:none; }
.breadcrumb-item.active { color:#6c757d!important; }
.breadcrumb-item+.breadcrumb-item::before { content:">"; color:#8a93a2; padding:0 6px; font-size:.75rem; }

/* ══════════════════════════════════
   INPUTS — Focus corporativo
══════════════════════════════════ */
.input-group.input-group-outline.is-focused .form-label+.form-control,
.input-group.input-group-outline.is-filled .form-label+.form-control {
  border-color: var(--nc-teal) !important;
  border-top-color: transparent !important;
  box-shadow: inset 1px 0 var(--nc-teal), inset -1px 0 var(--nc-teal), inset 0 -1px var(--nc-teal) !important;
}
.input-group.input-group-outline.is-focused .form-label,
.input-group.input-group-outline.is-filled .form-label { color: var(--nc-teal) !important; }

/* ══════════════════════════════════
   SUCCESS → TEAL CORPORATIVO
══════════════════════════════════ */
.text-success           { color: var(--nc-teal) !important; }
.bg-success             { background-color: var(--nc-teal) !important; }
.bg-gradient-success    { background-image: linear-gradient(195deg, var(--nc-teal-light) 0%, var(--nc-teal) 100%) !important; }
.btn-success            { background-image: linear-gradient(195deg, var(--nc-teal-light) 0%, var(--nc-teal) 100%) !important; border-color: var(--nc-teal) !important; }
.btn-outline-success    { border-color: var(--nc-teal) !important; color: var(--nc-teal) !important; }
.btn-outline-success:hover { background-color: var(--nc-teal) !important; color: #fff !important; }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.footer { border-top: 1px solid rgba(0,0,0,.06); margin-top: 2rem; }

/* ══════════════════════════════════
   FORM SWITCH (toggle)
══════════════════════════════════ */
.form-switch .form-check-input:checked {
  background-color: var(--nc-teal) !important;
  border-color: var(--nc-teal) !important;
}
.form-switch .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(42,181,161,.2) !important;
}

/* ══════════════════════════════════
   CALENDARIO — Estilos img1
══════════════════════════════════ */
.nc-cal-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.06);
  padding: 1rem 1.25rem;
}
.nc-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.nc-filter-label {
  font-size: .72rem;
  font-weight: 800;
  color: #7b809a;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nc-filter-select {
  background-color: #fff;
  border: 1px solid #d2d6da;
  border-radius: 20px;
  padding: 6px 32px 6px 16px;
  font-size: .8rem;
  font-weight: 500;
  color: #344767;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%3C7b809a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: all .2s ease;
}
.nc-filter-select:focus, .nc-filter-select:hover {
  border-color: var(--nc-teal);
  box-shadow: 0 0 0 3px rgba(42,181,161,.1);
}

/* Toolbar Calendario */
.nc-cal-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.nc-cal-month-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: .04em;
  margin: 0;
  text-transform: uppercase;
}
.nc-cal-nav-group {
  display: inline-flex;
  align-items: center;
  background: #f0f2f8;
  border-radius: 10px;
  padding: 2px 4px;
  gap: 2px;
}
.nc-cal-nav-btn {
  border: none;
  background: transparent;
  color: #344767;
  font-size: .8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nc-cal-nav-btn:hover {
  background: rgba(0,0,0,.06);
  color: #1a1a2e;
}

/* View switcher Mes / Sem / Dia */
.nc-view-switch-group {
  display: inline-flex;
  align-items: center;
  background: #f0f2f8;
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.nc-view-btn {
  border: none;
  background: transparent;
  color: #7b809a;
  font-size: .76rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s ease;
}
.nc-view-btn.active {
  background: #ffffff;
  color: #1a1a2e;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

/* Botón + Nueva Cita */
.nc-btn-nueva-cita {
  background: #111827 !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  border: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(17,24,39,.2) !important;
  transition: transform .15s ease, background .15s ease !important;
}
.nc-btn-nueva-cita:hover {
  background: #1f2937 !important;
  transform: translateY(-1px);
}

/* Grid de Calendario */
.nc-cal-grid-wrapper {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,.04);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}
.nc-cal-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.nc-cal-table th {
  background: #fff;
  color: #7b809a;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid #edf2f7;
}
.nc-cal-table td {
  border: 1px solid #edf2f7;
  height: 110px;
  vertical-align: top;
  padding: 8px;
  position: relative;
  background: #fff;
  transition: background .15s ease;
}
.nc-cal-table td:hover {
  background: #f8fafc;
}
.nc-cal-day-num {
  font-size: .85rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 6px;
  display: inline-block;
}
.nc-cal-table td.nc-other-month {
  background: #fafbfc;
}
.nc-cal-table td.nc-other-month .nc-cal-day-num {
  color: #cbd5e0;
}

/* Estilo para el día de hoy (ej: 4 de agosto) */
.nc-cal-table td.nc-today-cell {
  background: #f4f8ff !important;
}
.nc-cal-table td.nc-today-cell .nc-cal-day-num {
  color: #1A73E8;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Eventos / Citas dentro de celda */
.nc-cal-event-pill {
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  transition: transform .1s ease, box-shadow .1s ease;
}
.nc-cal-event-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.nc-event-confirmed {
  background: rgba(42,181,161,.15);
  color: #1b7a6c;
  border-left: 3px solid #2ab5a1;
}
.nc-event-pending {
  background: rgba(245,166,35,.15);
  color: #8c5500;
  border-left: 3px solid #f5a623;
}
.nc-event-completed {
  background: rgba(26,115,232,.15);
  color: #104ba0;
  border-left: 3px solid #1A73E8;
}
.nc-event-cancelled {
  background: rgba(220,53,69,.12);
  color: #901d28;
  border-left: 3px solid #dc3545;
}

/* ══════════════════════════════════
   MÓDULO PACIENTES
══════════════════════════════════ */
.nc-pacientes-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.nc-pacientes-table {
  width: 100%;
  margin-bottom: 0;
  vertical-align: middle;
}

.nc-pacientes-table th {
  background: #ffffff;
  color: #344767;
  font-size: .85rem;
  font-weight: 700;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f2f8;
}

.nc-pacientes-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f2f8;
  color: #475569;
  font-size: .88rem;
  background: #ffffff;
}

.nc-pacientes-table tr:last-child td {
  border-bottom: none;
}

.nc-patient-avatar-sm {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #e0f2fe;
  color: #0284c7;
  font-weight: 700;
  font-size: .92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  object-fit: cover;
}

.nc-patient-avatar-lg {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: #f0f4f8;
  color: #1a223f;
  font-weight: 700;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 2px solid #e2e8f0;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nc-patient-name {
  font-weight: 700;
  color: #1a1a2e;
  font-size: .9rem;
}

.nc-patient-email {
  color: #344767;
  font-size: .82rem;
  line-height: 1.3;
}

.nc-patient-phone {
  color: #5a738e;
  font-size: .8rem;
  line-height: 1.3;
}

.nc-action-btn {
  background: transparent;
  border: none;
  color: #64748b;
  padding: 4px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nc-action-btn:hover {
  color: #1a1a2e;
  background: #f1f5f9;
}

.nc-action-btn.delete:hover {
  color: #ef4444;
  background: #fee2e2;
}

/* Form controls for Pacientes modal */
.nc-form-label {
  font-size: .68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 5px;
  display: block;
}

.nc-modal-input {
  border-radius: 10px !important;
  border: 1.5px solid #d2d6da !important;
  padding: 8px 14px !important;
  font-size: .85rem !important;
  color: #344767 !important;
  transition: border-color .2s, box-shadow .2s !important;
}

.nc-modal-input:focus {
  border-color: #2ab5a1 !important;
  box-shadow: 0 0 0 3px rgba(42, 181, 161, 0.12) !important;
}

.nc-btn-dark-save {
  background: #111827 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 8px 24px !important;
  border: none !important;
  font-size: .85rem !important;
  transition: background .15s ease !important;
}

.nc-btn-dark-save:hover {
  background: #1f2937 !important;
}

/* ══════════════════════════════════
   MÓDULO PROFESIONALES
══════════════════════════════════ */
.nc-pro-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0,0,0,.05);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nc-pro-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,.09);
}

.nc-pro-color-bar {
  height: 5px;
  width: 100%;
  display: block;
}

.nc-pro-body {
  padding: 18px 18px 14px;
  flex: 1;
}

.nc-pro-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.nc-pro-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f0f4f8;
  color: #1a223f;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  object-fit: cover;
  border: 2px solid #e2e8f0;
}

.nc-pro-name {
  font-weight: 700;
  color: #1a1a2e;
  font-size: .92rem;
  margin: 0 0 2px;
  line-height: 1.2;
}

.nc-pro-specialty {
  color: #64748b;
  font-size: .78rem;
  margin: 0;
}

.nc-pro-stats {
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 12px;
}

.nc-pro-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}

.nc-pro-stat-label {
  font-size: .75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.nc-pro-stat-value {
  font-size: .82rem;
  font-weight: 700;
}

.nc-pro-stat-value.teal    { color: #2ab5a1; }
.nc-pro-stat-value.orange  { color: #f5a623; }
.nc-pro-stat-value.accent  { color: #1A73E8; }

.nc-pro-btn-pay {
  display: block;
  width: 100%;
  background: transparent;
  border: 1.5px solid #2ab5a1;
  color: #2ab5a1;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 700;
  padding: 7px 12px;
  cursor: pointer;
  transition: all .18s ease;
  font-family: 'Inter', sans-serif;
  text-align: center;
  letter-spacing: .01em;
}
.nc-pro-btn-pay:hover {
  background: #2ab5a1;
  color: #fff;
}

.nc-pro-footer {
  border-top: 1px solid #f0f2f8;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nc-pro-agenda-link {
  font-size: .8rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: color .15s ease;
}
.nc-pro-agenda-link:hover {
  color: #1a1a2e;
}

/* Color input pill */
.nc-color-input-wrap {
  position: relative;
}
.nc-color-input-wrap input[type="color"] {
  width: 100%;
  height: 44px;
  border: 1.5px solid #d2d6da;
  border-radius: 10px;
  cursor: pointer;
  padding: 4px 6px;
  background: #fff;
  transition: border-color .2s;
}
.nc-color-input-wrap input[type="color"]:focus {
  border-color: #2ab5a1;
  outline: none;
}

/* Avatar Large for modal */
.nc-pro-avatar-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 2px solid #e2e8f0;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: background .2s ease;
}


@media (max-width: 1199px) {
  .nc-search-input { width: 130px; }
}
@media (max-width: 767px) {
  .nc-saas-switcher { display: none !important; }
  .nc-search-box    { display: none !important; }
}


/* ══════════════════════════════════════════════════════════
   MÓDULO INVENTARIO — Estilos completos
   Tipo A: Activos Fijos | Tipo B: Consumibles Clínicos
══════════════════════════════════════════════════════════ */

/* ── Header card ── */
.nc-inv-header-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  border: 1px solid #f1f5f9;
}
.nc-inv-icon-wrap {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #6366f1, #818cf8);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(99,102,241,.35);
  flex-shrink: 0;
}
.nc-inv-icon-wrap .material-symbols-rounded {
  font-size: 22px; color: #fff;
}
.nc-inv-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -.03em;
}
.nc-inv-subtitle {
  font-size: .82rem;
  color: #64748b;
  margin-top: 2px;
}

/* ── Tabs Tipo A / B ── */
.nc-inv-tab-group {
  display: flex;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
  align-self: flex-start;
}
.nc-inv-tab {
  padding: 7px 18px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-size: .82rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.nc-inv-tab.active {
  background: #fff;
  color: #1a1a2e;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.nc-inv-tab:hover:not(.active) {
  color: #334155;
}

/* ── Panel toggle ── */
.nc-inv-panel { display: none; }
.nc-inv-panel.active { display: block; }

/* ── Stat cards ── */
.nc-inv-stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s;
}
.nc-inv-stat-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,.09);
}
.nc-inv-stat-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.nc-inv-stat-val {
  font-size: 1.65rem;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -.04em;
  line-height: 1;
}
.nc-inv-stat-icon {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  opacity: .18;
}
.nc-inv-stat-icon .material-symbols-rounded {
  font-size: 38px;
}

/* ── Search bar ── */
.nc-inv-search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 340px;
}
.nc-inv-search-icon {
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  color: #94a3b8;
  pointer-events: none;
}
.nc-inv-search {
  width: 100%;
  height: 38px;
  padding: 0 12px 0 36px;
  border: 1.5px solid #e2e8f0;
  border-radius: 9px;
  font-size: .84rem;
  color: #334155;
  background: #fff;
  outline: none;
  transition: border-color .2s;
}
.nc-inv-search:focus {
  border-color: #6366f1;
}

/* ── Select filter ── */
.nc-inv-select {
  height: 38px;
  padding: 0 10px;
  border: 1.5px solid #e2e8f0;
  border-radius: 9px;
  font-size: .83rem;
  color: #334155;
  background: #fff;
  outline: none;
  cursor: pointer;
  min-width: 90px;
  transition: border-color .2s;
}
.nc-inv-select:focus {
  border-color: #6366f1;
}

/* ── Buttons ── */
.nc-btn-inv-primary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 18px;
  height: 38px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff !important;
  border: none;
  border-radius: 9px;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(99,102,241,.35);
  transition: opacity .2s, transform .15s;
}
.nc-btn-inv-primary:hover {
  opacity: .88;
  transform: translateY(-1px);
}
.nc-btn-inv-secondary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 16px;
  height: 38px;
  background: #fff;
  color: #6366f1 !important;
  border: 1.5px solid #6366f1;
  border-radius: 9px;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
}
.nc-btn-inv-secondary:hover {
  background: #6366f108;
  transform: translateY(-1px);
}

/* ── Table card ── */
.nc-inv-table-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
  overflow: hidden;
}
.nc-inv-table thead th {
  background: #f8fafc;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #64748b;
  border-bottom: 1.5px solid #e8ecf0;
  padding: .8rem 1rem;
  white-space: nowrap;
}
.nc-inv-table tbody td {
  font-size: .85rem;
  color: #334155;
  padding: .8rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.nc-inv-table tbody tr:last-child td {
  border-bottom: none;
}
.nc-inv-table tbody tr:hover td {
  background: #fafbff;
}

/* ── Item name ── */
.nc-inv-item-name {
  font-weight: 600;
  color: #1e293b;
  font-size: .875rem;
}
.nc-inv-item-serial {
  font-size: .75rem;
  color: #94a3b8;
  margin-top: 2px;
}
.nc-inv-brand { font-weight: 600; color: #334155; }
.nc-inv-model { color: #64748b; font-size: .84rem; }

/* ── Badges ── */
.nc-badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.nc-badge-success { background: #dcfce7; color: #166534; }
.nc-badge-info    { background: #e0f2fe; color: #075985; }
.nc-badge-warning { background: #fef9c3; color: #854d0e; }
.nc-badge-danger  { background: #fee2e2; color: #991b1b; }

/* ── Empty state ── */
.nc-inv-empty {
  color: #94a3b8;
  font-size: .84rem;
}

/* ── Bitácora card ── */
.nc-inv-bitacora-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
  padding: 1.2rem;
  height: 100%;
}
.nc-inv-bitacora-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6366f1;
  margin-bottom: 4px;
}
.nc-inv-bitacora-title {
  font-size: .92rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}
.nc-inv-bitacora-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 440px;
  overflow-y: auto;
}
.nc-inv-bitacora-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  transition: background .2s;
}
.nc-inv-bitacora-item:hover { background: #f0f4ff; }
.nc-inv-bitacora-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nc-inv-bitacora-name {
  font-size: .82rem;
  font-weight: 600;
  color: #1e293b;
}
.nc-inv-bitacora-meta {
  font-size: .74rem;
  color: #64748b;
  margin-top: 1px;
}
.nc-inv-bitacora-razon {
  font-size: .72rem;
  color: #94a3b8;
  margin-top: 1px;
  font-style: italic;
}

/* ── Modal ── */
.nc-inv-modal {
  border-radius: 16px;
  border: none;
  box-shadow: 0 10px 40px rgba(0,0,0,.15);
}
.nc-inv-modal .modal-title {
  font-size: 1rem;
  color: #1a1a2e;
}
.nc-btn-inv-save {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: .9rem;
  padding: 11px;
  box-shadow: 0 4px 14px rgba(99,102,241,.35);
  transition: opacity .2s, transform .15s;
}
.nc-btn-inv-save:hover {
  color: #fff;
  opacity: .88;
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 767px) {
  .nc-inv-tab-group { flex-wrap: wrap; }
  .nc-inv-search-wrap { max-width: 100%; }
  .nc-inv-stat-val { font-size: 1.3rem; }
}

/* ══════════════════════════════════
   REPORTES — Estilos de Reportes
   ================================== */
.nc-date-range-box {
  transition: border-color .2s, box-shadow .2s;
}
.nc-date-range-box:focus-within {
  border-color: var(--nc-teal) !important;
  box-shadow: 0 0 0 3px rgba(42, 181, 161, 0.15) !important;
}
.nc-date-range-box input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
  filter: invert(0.3);
}
.nc-date-range-box input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* ══════════════════════════════════
   BOTONES DE CIERRE DE MODAL Y ALERTAS (.btn-close)
   ══════════════════════════════════ */
.btn-close {
  box-sizing: content-box !important;
  width: 0.85em !important;
  height: 0.85em !important;
  padding: 0.5em !important;
  color: #334155 !important;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23334155'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
  border: 0 !important;
  border-radius: 50% !important;
  opacity: 0.75 !important;
  cursor: pointer !important;
  transition: all 0.2s ease-in-out !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.btn-close:hover {
  opacity: 1 !important;
  background-color: rgba(15, 23, 42, 0.1) !important;
  transform: scale(1.1) !important;
}

.btn-close:focus {
  outline: none !important;
  box-shadow: 0 0 0 0.2rem rgba(42, 181, 161, 0.25) !important;
  opacity: 1 !important;
}

.modal-header .btn-close {
  margin: -0.5rem -0.5rem -0.5rem auto !important;
}

.btn-close-white,
.btn-close.text-white {
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
  filter: none !important;
}

.btn-close-white:hover,
.btn-close.text-white:hover {
  background-color: rgba(255, 255, 255, 0.25) !important;
}


/* ══════════════════════════════════════════════════════════
   BOTÓN PRIMARIO CANÓNICO — Degradado Verde/Teal NubeCita
   Todos los botones "Nuevo xxx" y acción principal del sistema
   deben usar esta clase (o una de sus variantes alias).
   ══════════════════════════════════════════════════════════ */

/* ── Clase base ── */
.nc-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #2ab5a1 0%, #1e8e7d 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 9px 20px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.22s ease !important;
  box-shadow: 0 4px 14px rgba(42, 181, 161, 0.30) !important;
  white-space: nowrap;
  text-decoration: none;
}
.nc-btn-primary:hover,
.nc-btn-primary:focus {
  background: linear-gradient(135deg, #1e8e7d 0%, #166b60 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(42, 181, 161, 0.42) !important;
  outline: none !important;
}
.nc-btn-primary:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(42, 181, 161, 0.25) !important;
}

/* ── Alias: Nueva Cita / Nuevo Paciente / Nuevo Profesional ── */
.nc-btn-nueva-cita {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #2ab5a1 0%, #1e8e7d 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 9px 20px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.22s ease !important;
  box-shadow: 0 4px 14px rgba(42, 181, 161, 0.30) !important;
  white-space: nowrap;
}
.nc-btn-nueva-cita:hover,
.nc-btn-nueva-cita:focus {
  background: linear-gradient(135deg, #1e8e7d 0%, #166b60 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(42, 181, 161, 0.42) !important;
  outline: none !important;
}
.nc-btn-nueva-cita:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(42, 181, 161, 0.25) !important;
}

/* ── Alias: Guardar en modales (nc-btn-dark-save) ── */
.nc-btn-dark-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #2ab5a1 0%, #1e8e7d 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 10px 26px !important;
  font-size: 0.87rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: all 0.22s ease !important;
  box-shadow: 0 4px 14px rgba(42, 181, 161, 0.30) !important;
  white-space: nowrap;
}
.nc-btn-dark-save:hover,
.nc-btn-dark-save:focus {
  background: linear-gradient(135deg, #1e8e7d 0%, #166b60 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(42, 181, 161, 0.42) !important;
  outline: none !important;
}
.nc-btn-dark-save:active {
  transform: translateY(0) !important;
}

/* ── Alias global: Nuevo Servicio / Cabina / Inventario / Factura ──
   Los módulos que tengan sus propios estilos deben migrar a
   nc-btn-primary. Mientras tanto, estos selectores extra los cubren. */
.nc-btn-nuevo-servicio,
.nc-btn-nueva-cabina,
.nc-btn-nueva-factura,
.nc-btn-inv-primary,
.nc-modal-btn-guardar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #2ab5a1 0%, #1e8e7d 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 9px 20px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: all 0.22s ease !important;
  box-shadow: 0 4px 14px rgba(42, 181, 161, 0.30) !important;
  white-space: nowrap;
}
.nc-btn-nuevo-servicio:hover,
.nc-btn-nueva-cabina:hover,
.nc-btn-nueva-factura:hover,
.nc-btn-inv-primary:hover,
.nc-modal-btn-guardar:hover {
  background: linear-gradient(135deg, #1e8e7d 0%, #166b60 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(42, 181, 161, 0.42) !important;
}
.nc-btn-nuevo-servicio:active,
.nc-btn-nueva-cabina:active,
.nc-btn-nueva-factura:active,
.nc-btn-inv-primary:active,
.nc-modal-btn-guardar:active {
  transform: translateY(0) !important;
}

/* ── Botón "Guardar" de inventario ── */
.nc-btn-inv-save {
  background: linear-gradient(135deg, #2ab5a1 0%, #1e8e7d 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 10px 20px !important;
  font-size: 0.87rem !important;
  font-weight: 700 !important;
  transition: all 0.22s ease !important;
  box-shadow: 0 4px 14px rgba(42, 181, 161, 0.30) !important;
}
.nc-btn-inv-save:hover {
  background: linear-gradient(135deg, #1e8e7d 0%, #166b60 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(42, 181, 161, 0.42) !important;
  color: #ffffff !important;
}

