@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

body {
    font-family: "Inter", sans-serif;
    background-color: #f0f2f5;
    margin: 0;
}

.navbar-enterprise {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
    border-bottom: 3px solid #3b82f6;
}

.app-header {
    color: #ffffff;
    margin-bottom: 1.5rem;
    z-index: 1030;
}

.app-header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: max(0.65rem, env(safe-area-inset-top));
    padding-bottom: 0.65rem;
}

.app-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.app-brand:hover,
.app-brand:focus {
    color: #ffffff;
}

.app-brand-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.app-brand-full {
    display: inline-block;
    white-space: nowrap;
}

.app-brand-full span,
.app-brand-short {
    color: #67e8f9;
}

.app-brand-short {
    display: none;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.app-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.app-header-context {
    align-items: center;
    max-width: 280px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-notification-pill {
    min-width: 44px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(220, 53, 69, 0.94);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
}

.hamburger-button {
    width: 48px;
    height: 48px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.hamburger-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.42);
}

.hamburger-button:active {
    transform: scale(0.96);
}

.hamburger-button:focus-visible {
    outline: 3px solid #67e8f9;
    outline-offset: 3px;
}

.hamburger-line {
    width: 22px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: currentColor;
}

.app-menu-panel {
    width: min(420px, 92vw) !important;
    max-width: 100vw;
    height: 100dvh;
    border-left: 0;
    background: #f8fafc;
}

.app-menu-header {
    padding: max(1rem, env(safe-area-inset-top)) 1.25rem 1rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
    color: #ffffff;
}

.app-menu-eyebrow {
    color: #67e8f9;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.app-menu-close {
    min-width: 44px;
    min-height: 44px;
    margin: 0;
}

.app-menu-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
    overflow-y: auto;
}

.app-menu-user,
.app-menu-section {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.app-menu-user {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.app-menu-user strong,
.app-menu-user span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-menu-user span {
    color: #64748b;
    font-size: 0.85rem;
}

.app-menu-avatar {
    flex: 0 0 auto;
    background: #1e40af;
    color: #ffffff;
}

.app-menu-nav,
.app-menu-stack,
.app-pending-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.app-menu-link,
.app-menu-subitem {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.app-menu-link:hover,
.app-menu-link:focus,
.app-menu-subitem:hover,
.app-menu-subitem:focus {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
}

.app-menu-link:focus-visible,
.app-menu-subitem:focus-visible,
.app-language-switch a:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

.app-menu-link i {
    color: #2563eb;
    font-size: 1.1rem;
}

.app-menu-button {
    width: 100%;
    text-align: left;
}

.app-menu-link-danger {
    color: #b91c1c;
}

.app-menu-link-danger i {
    color: #dc2626;
}

.app-menu-section h6 {
    margin: 0 0 0.7rem;
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-menu-section-label {
    margin: 0 0 0.45rem;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.app-menu-subitem {
    justify-content: space-between;
    font-weight: 650;
}

.app-menu-subitem small {
    color: #64748b;
    font-weight: 700;
}

.app-menu-subitem.is-active {
    border-color: #2563eb;
    background: #dbeafe;
    color: #1e40af;
}

.app-menu-empty {
    color: #64748b;
    font-size: 0.92rem;
}

.app-pending-item {
    padding: 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.app-notification-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.app-notification-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 0.85rem 0.85rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
}

.app-notification-content {
    min-width: 0;
    flex: 1 1 auto;
}

.app-notification-item::before {
    content: "";
    position: absolute;
    top: 0.9rem;
    left: 0.5rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #cbd5e1;
}

.app-notification-item.is-unread {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.app-notification-item.is-unread::before {
    background: #2563eb;
}

.app-notification-item strong,
.app-notification-item span,
.app-notification-item small {
    display: block;
}

.app-notification-item strong {
    color: #0f172a;
    font-size: 0.92rem;
}

.app-notification-item span {
    margin-top: 0.25rem;
    color: #475569;
    font-size: 0.84rem;
    line-height: 1.35;
}

.app-notification-item small {
    margin-top: 0.4rem;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
}

.app-notification-delete {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fff7f7;
    color: #dc2626;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.app-notification-delete:hover,
.app-notification-delete:focus-visible {
    border-color: #dc2626;
    background: #fee2e2;
    color: #991b1b;
    outline: none;
}

.app-notification-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.app-pending-item strong,
.app-pending-item span {
    display: block;
}

.app-pending-item span {
    margin-top: 0.25rem;
    color: #64748b;
    font-size: 0.85rem;
}

.app-language-switch {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.app-language-switch a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    color: #334155;
    text-decoration: none;
    font-weight: 900;
}

.app-language-switch a.is-active {
    border-color: #2563eb;
    background: #2563eb;
    color: #ffffff;
}

.public-app-header {
    position: sticky;
    top: 0;
}

.calendar-share-card {
    border: 1px solid rgba(37, 99, 235, 0.12) !important;
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.88), rgba(255, 255, 255, 0.94)) !important;
}

.calendar-share-input .form-control {
    min-width: 0;
    font-size: 0.92rem;
}

.calendar-month-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
}

.calendar-month-action-next {
    justify-self: end;
}

.calendar-month-title {
    min-width: 0;
}

.calendar-month-title h2 {
    font-size: clamp(1.35rem, 3.2vw, 2rem);
    letter-spacing: 0.06em;
}

.calendar-month-subtitle {
    display: block;
    margin-top: 0.2rem;
}

.calendar-nav-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 999px;
    font-weight: 800;
}

.calendar-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 18px 36px -26px rgba(15, 23, 42, 0.35);
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

.calendar-month-card {
    position: relative;
}

.public-calendar-toolbar {
    gap: 1rem;
}

.calendario-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    width: 100%;
}

.calendar-weekdays {
    background: #1e293b;
}

.calendar-days {
    background: #e2e8f0;
}

.header-dia {
    background-color: transparent;
    color: white;
    text-align: center;
    padding: 12px 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none !important;
}

.dia-celda {
    position: relative;
    min-height: clamp(86px, 9vw, 112px);
    padding: 9px;
    background: white;
    border: 0.5px solid #e2e8f0;
    color: #0f172a;
    isolation: isolate;
    transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
}

.dia-celda::before {
    content: "";
    position: absolute;
    top: 7px;
    right: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
}

.dia-celda.is-open::before {
    background: #22c55e;
}

.dia-celda.is-limited::before {
    background: #f59e0b;
}

.dia-celda.is-full::before {
    background: #ef4444;
}

.dia-celda:hover:not(.dia-pasado),
.dia-celda:focus-visible:not(.dia-pasado) {
    background-color: #f8fafc;
    box-shadow: inset 0 0 0 2px #3b82f6;
    outline: none;
    transform: translateY(-1px);
    z-index: 5;
}

.dia-pasado {
    color: #94a3b8;
}

.dia-pasado::before {
    background: #cbd5e1;
}

.dia-vacio {
    min-height: clamp(86px, 9vw, 112px);
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    border: 0.5px solid #e2e8f0;
}

.num-dia {
    min-width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #475569;
    padding: 0 8px;
    border-radius: 9px;
}

.num-dia.hoy {
    background: #3b82f6;
    color: white;
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.26);
}

.calendar-day-badge {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.calendar-legend-dot {
    width: 15px;
    height: 15px;
    display: inline-block;
    flex: 0 0 auto;
    padding: 0;
    border-radius: 999px;
}

.appointments-card {
    border-radius: 18px;
    overflow: hidden;
}

.appointments-card-header {
    min-height: 52px;
}

.appointments-scroll {
    max-height: min(52vh, 360px);
    overflow: auto;
}

.appointments-table {
    min-width: 560px;
}

.appointments-actions .btn {
    min-width: 32px;
    min-height: 30px;
}

.public-booking-hero {
    padding: 1.35rem 1rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.07);
}

.public-step-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.8rem;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.public-booking-badges,
.public-time-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.public-time-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.public-summary-kicker {
    color: #2563eb;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.public-status-dot {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.14);
}

.public-time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.85rem;
}

.public-time-slot {
    min-height: 86px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.9rem 1rem;
    border: 2px solid #dbeafe;
    border-radius: 18px;
    background: #ffffff;
    color: #1e40af;
    text-align: left;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.public-time-slot .time-text {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.public-time-slot small {
    color: #64748b;
    font-weight: 800;
}

.public-time-slot.is-available:hover,
.public-time-slot.is-available:focus-visible {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: 0 16px 28px rgba(37, 99, 235, 0.14);
    outline: none;
    transform: translateY(-2px);
}

.public-time-slot.is-pending {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.public-time-slot.is-unavailable {
    border-color: #e2e8f0;
    background: #f8fafc;
    color: #94a3b8;
}

.public-time-legend {
    margin-top: 1.25rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
}

.public-time-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.public-back-link {
    color: #475569;
    font-weight: 800;
    text-decoration: none;
}

.public-back-link:hover,
.public-back-link:focus {
    color: #1d4ed8;
}

.public-empty-state i {
    font-size: 2.4rem;
}

.public-confirm-layout {
    align-items: flex-start;
}

.public-summary-card {
    position: sticky;
    top: 96px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.public-pending-note {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: #fffbeb;
    color: #92400e;
    font-weight: 800;
}

.public-summary-list {
    display: grid;
    gap: 0.8rem;
    color: #475569;
    font-weight: 700;
}

.public-summary-list span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.public-form-card {
    overflow: hidden;
}

.public-form-control {
    border-color: #dbe3ef;
    border-radius: 14px;
}

.public-form-control:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.14);
}

.public-submit-button {
    border-radius: 16px;
}

.public-success-card {
    background: radial-gradient(circle at top, #ecfdf5 0%, #ffffff 46%);
}

.public-success-icon {
    width: 88px;
    height: 88px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    border-radius: 28px;
    background: #dcfce7;
    color: #16a34a;
    font-size: 3.2rem;
    box-shadow: 0 18px 30px rgba(22, 163, 74, 0.16);
}

.admin-booking-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #eef2ff 100%);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.07);
}

.admin-booking-hero-copy {
    min-width: 0;
}

.admin-booking-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(92px, 1fr));
    gap: 0.65rem;
}

.admin-booking-summary div {
    min-width: 0;
    padding: 0.8rem 0.9rem;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    text-align: center;
}

.admin-booking-summary strong,
.admin-booking-summary span {
    display: block;
}

.admin-booking-summary strong {
    color: #1d4ed8;
    font-size: 1.45rem;
    line-height: 1;
}

.admin-booking-summary span {
    margin-top: 0.3rem;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-time-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.admin-time-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
    max-width: 430px;
}

.admin-time-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #eff6ff;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 800;
}

.admin-time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
    gap: 0.75rem;
}

.admin-time-slot {
    min-height: 86px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.85rem 0.95rem;
    border: 2px solid #dbeafe;
    border-radius: 18px;
    background: #ffffff;
    color: #1e40af;
    text-align: left;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.admin-time-slot:disabled {
    cursor: not-allowed;
}

.admin-time-hour {
    font-size: 1.28rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.admin-time-slot small {
    color: #64748b;
    font-weight: 800;
}

.admin-time-slot.is-available:hover,
.admin-time-slot.is-available:focus-visible {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: 0 16px 28px rgba(37, 99, 235, 0.14);
    outline: none;
    transform: translateY(-2px);
}

.admin-time-slot.is-pending {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.admin-time-slot.is-break {
    border-color: #bae6fd;
    background: #f0f9ff;
    color: #0369a1;
}

.admin-time-slot.is-past,
.admin-time-slot.is-unavailable {
    border-color: #e2e8f0;
    background: #f8fafc;
    color: #94a3b8;
}

.admin-time-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1rem;
    margin-top: 1.25rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
}

.admin-time-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.admin-reservation-modal-header {
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
}

.admin-reservation-eyebrow {
    color: #bfdbfe;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admin-selected-time {
    display: grid;
    place-items: center;
    gap: 0.25rem;
    padding: 1rem;
    border: 1px solid #bfdbfe;
    border-radius: 18px;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.admin-selected-time small {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-selected-time span {
    color: #1d4ed8;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.admin-extra-fields-note {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #eff6ff;
    color: #334155;
    font-size: 0.86rem;
    font-weight: 700;
}

.admin-reservation-modal-footer {
    gap: 0.65rem;
}

.system-settings-hero,
.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #eef2ff 100%);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.07);
}

.system-settings-hero-copy,
.dashboard-hero-copy {
    min-width: 0;
}

.system-settings-summary,
.dashboard-hero-actions,
.dashboard-stat-grid {
    display: grid;
    gap: 0.65rem;
}

.system-settings-summary {
    grid-template-columns: repeat(3, minmax(90px, 1fr));
}

.system-settings-summary div,
.dashboard-stat-card {
    min-width: 0;
    padding: 0.85rem 0.9rem;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    text-align: center;
}

.system-settings-summary strong,
.system-settings-summary span,
.dashboard-stat-card strong,
.dashboard-stat-card span,
.dashboard-stat-card small {
    display: block;
}

.system-settings-summary strong,
.dashboard-stat-card strong {
    color: #1d4ed8;
    font-size: 1.45rem;
    line-height: 1;
}

.system-settings-summary span,
.dashboard-stat-card span {
    margin-top: 0.3rem;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dashboard-stat-card small {
    margin-top: 0.45rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
}

.dashboard-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-stat-card {
    text-align: left;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.dashboard-stat-card.is-success strong {
    color: #16a34a;
}

.dashboard-stat-card.is-warning strong {
    color: #d97706;
}

.dashboard-stat-card.is-info strong {
    color: #0891b2;
}

.system-settings-form {
    display: grid;
    gap: 1rem;
}

.system-settings-card,
.dashboard-chart-card,
.dashboard-insight-card,
.dashboard-calendar-card,
.system-preview-card {
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.system-section-heading,
.dashboard-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.system-section-heading {
    justify-content: flex-start;
}

.system-section-icon,
.dashboard-card-icon,
.link-custom-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 1.2rem;
}

.system-section-icon.is-soft {
    background: #f0f9ff;
    color: #0369a1;
}

.system-section-icon.is-green {
    background: #dcfce7;
    color: #15803d;
}

.system-section-icon.is-amber {
    background: #fef3c7;
    color: #b45309;
}

.system-note,
.system-preview-tip,
.link-custom-intro {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: #eff6ff;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 700;
}

.system-toggle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.85rem;
}

.system-toggle-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #f8fafc;
}

.system-toggle-card strong,
.system-toggle-card span,
.system-preview-list span,
.dashboard-upcoming-item strong,
.dashboard-upcoming-item span,
.dashboard-upcoming-item small {
    display: block;
}

.system-toggle-card strong {
    color: #0f172a;
    font-size: 0.95rem;
}

.system-toggle-card span {
    margin-top: 0.25rem;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.35;
}

.system-toggle-card .form-check-input {
    width: 3rem;
    height: 1.55rem;
    cursor: pointer;
}

.system-save-bar {
    position: sticky;
    bottom: 1rem;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(10px);
}

.system-preview-card {
    top: 96px;
}

.system-preview-list {
    display: grid;
    gap: 0.75rem;
}

.system-preview-list span {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    color: #334155;
    font-weight: 750;
}

.system-preview-tip {
    border-color: #fef3c7;
    background: #fffbeb;
    color: #92400e;
}

.link-custom-header {
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
}

.link-custom-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
    gap: 1rem;
    align-items: stretch;
}

.link-custom-intro {
    padding: 1rem;
}

.link-custom-intro p strong {
    color: #1d4ed8;
}

.link-custom-input .input-group-text {
    max-width: 46%;
    overflow: hidden;
    border-color: #dbe3ef;
    border-radius: 14px 0 0 14px;
    background: #f8fafc;
    color: #64748b;
    font-size: 0.86rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.link-custom-input .form-control {
    border-color: #dbe3ef;
    border-radius: 0 14px 14px 0;
    font-weight: 800;
}

.link-preview-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.7rem;
    min-height: 210px;
    padding: 1.1rem;
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    background: radial-gradient(circle at top left, #dbeafe 0%, #ffffff 54%);
}

.link-preview-card span,
.link-preview-card small {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.link-preview-card strong {
    overflow-wrap: anywhere;
    color: #1d4ed8;
    font-size: 1.02rem;
    line-height: 1.35;
}

.link-preview-card small {
    letter-spacing: 0;
    line-height: 1.35;
    text-transform: none;
}

.link-custom-footer {
    gap: 0.65rem;
}

.dashboard-hero-actions {
    grid-template-columns: repeat(2, max-content);
    align-items: center;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 1rem;
}

.dashboard-grid-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-card-header {
    margin-bottom: 1rem;
}

.dashboard-chart-wrap {
    position: relative;
    min-height: 320px;
}

.dashboard-chart-wrap-small {
    min-height: 260px;
}

.dashboard-hour-list,
.dashboard-upcoming-list,
.dashboard-calendar-grid {
    display: grid;
    gap: 0.75rem;
}

.dashboard-hour-row {
    display: grid;
    gap: 0.45rem;
}

.dashboard-hour-label {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #334155;
    font-size: 0.9rem;
}

.dashboard-hour-label span {
    color: #64748b;
    font-weight: 800;
}

.dashboard-hour-track {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.dashboard-hour-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #67e8f9);
}

.dashboard-conversion {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
}

.dashboard-conversion-ring {
    --value: 0;
    width: 132px;
    height: 132px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(#2563eb calc(var(--value) * 1%), #e2e8f0 0);
    color: #0f172a;
    position: relative;
}

.dashboard-conversion-ring::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: inherit;
    background: #ffffff;
}

.dashboard-conversion-ring strong,
.dashboard-conversion-ring span {
    position: relative;
    display: block;
    text-align: center;
}

.dashboard-conversion-ring strong {
    font-size: 1.8rem;
    line-height: 1;
}

.dashboard-conversion-ring span {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-conversion-stats {
    display: grid;
    gap: 0.55rem;
}

.dashboard-conversion-stats span {
    padding: 0.65rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    color: #475569;
    font-weight: 800;
}

.dashboard-conversion-stats strong {
    color: #1d4ed8;
}

.dashboard-upcoming-item,
.dashboard-calendar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
}

.dashboard-upcoming-item strong,
.dashboard-calendar-item strong {
    color: #0f172a;
}

.dashboard-upcoming-item span,
.dashboard-upcoming-item small,
.dashboard-calendar-item span {
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 750;
}

.dashboard-upcoming-item time {
    min-width: 64px;
    padding: 0.55rem 0.65rem;
    border-radius: 14px;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
}

.dashboard-calendar-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.dashboard-calendar-item {
    align-items: flex-start;
    flex-direction: column;
}

.dashboard-calendar-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.dashboard-calendar-metrics span {
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.45rem 0.6rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 850;
}

.dashboard-empty-card i {
    font-size: 2.7rem;
}

.profile-settings-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    background: radial-gradient(circle at top left, #dbeafe 0%, #ffffff 46%, #eef2ff 100%);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.07);
}

.profile-identity-card,
.profile-side-header {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.profile-avatar-xl,
.profile-avatar-lg {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 18px 30px rgba(37, 99, 235, 0.2);
}

.profile-avatar-xl {
    width: 86px;
    height: 86px;
    font-size: 2rem;
}

.profile-avatar-xl img,
.profile-avatar-lg img,
.profile-photo-preview img,
.avatar-nav img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
    object-fit: cover;
}

.profile-avatar-lg {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 1.35rem;
}

.profile-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 0.65rem;
}

.profile-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}

.profile-stat-card,
.profile-settings-card,
.profile-side-card,
.profile-security-card {
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.profile-stat-card {
    min-width: 0;
    padding: 0.9rem;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.profile-stat-card span,
.profile-stat-card strong,
.profile-stat-card small {
    display: block;
}

.profile-stat-card span {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.profile-stat-card strong {
    overflow: hidden;
    margin-top: 0.3rem;
    color: #1d4ed8;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 900;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-stat-card small {
    margin-top: 0.45rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
}

.profile-stat-card.is-success strong {
    color: #16a34a;
}

.profile-stat-card.is-warning strong {
    color: #d97706;
}

.profile-stat-card.is-info strong {
    color: #0891b2;
}

.profile-settings-form {
    display: grid;
    gap: 1rem;
}

.profile-photo-uploader {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
}

.profile-photo-preview {
    width: 112px;
    height: 112px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #bfdbfe;
    border-radius: 28px;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    color: #ffffff;
    cursor: pointer;
    font-size: 2.1rem;
    font-weight: 900;
    box-shadow: 0 18px 30px rgba(37, 99, 235, 0.16);
}

.profile-photo-preview:hover,
.profile-photo-preview:focus-visible {
    border-color: #2563eb;
    outline: none;
}

.profile-email-textarea {
    resize: vertical;
}

.profile-locked-input {
    position: relative;
}

.profile-locked-input .form-control {
    padding-right: 2.75rem;
    background: #f8fafc;
}

.profile-locked-input i {
    position: absolute;
    top: 50%;
    right: 1rem;
    color: #64748b;
    transform: translateY(-50%);
}

.profile-side-card {
    top: 96px;
}

.profile-detail-list {
    display: grid;
    gap: 0.75rem;
}

.profile-detail-list span {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
    padding: 0.75rem 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    color: #334155;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.profile-email-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profile-email-chips span {
    max-width: 100%;
    overflow-wrap: anywhere;
    padding: 0.45rem 0.65rem;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1e40af;
    font-size: 0.78rem;
    font-weight: 850;
}

.profile-security-card .btn {
    min-height: 44px;
}

.avatar-nav {
    width: 32px;
    height: 32px;
    overflow: hidden;
    background: white;
    color: #1e40af;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 8px;
}

/* --- Ajustes responsivos del calendario --- */
@media (max-width: 768px) {
    .app-header {
        margin-bottom: 1rem;
    }

    .app-header-inner {
        min-height: 60px;
    }

    .app-brand-full {
        display: none;
    }

    .app-brand-short {
        display: inline-block;
    }

    .app-menu-panel {
        width: min(380px, 94vw) !important;
    }

    .system-settings-hero,
    .dashboard-hero {
        grid-template-columns: 1fr;
        padding: 1rem 0.85rem;
        border-radius: 20px;
    }

    .system-settings-hero h1,
    .dashboard-hero h1 {
        font-size: 1.45rem;
    }

    .system-settings-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .system-settings-summary div,
    .dashboard-stat-card {
        padding: 0.7rem 0.55rem;
        border-radius: 15px;
    }

    .system-settings-summary strong,
    .dashboard-stat-card strong {
        font-size: 1.18rem;
    }

    .system-settings-summary span,
    .dashboard-stat-card span,
    .dashboard-stat-card small {
        font-size: 0.66rem;
    }

    .system-settings-card,
    .system-preview-card,
    .dashboard-chart-card,
    .dashboard-insight-card,
    .dashboard-calendar-card {
        padding: 1rem !important;
        border-radius: 18px;
    }

    .system-section-heading,
    .dashboard-card-header {
        align-items: flex-start;
    }

    .system-toggle-grid,
    .dashboard-stat-grid,
    .dashboard-grid,
    .dashboard-grid-secondary,
    .link-custom-layout {
        grid-template-columns: 1fr;
    }

    .system-toggle-card {
        align-items: flex-start;
    }

    .system-save-bar {
        flex-direction: column-reverse;
        align-items: stretch;
        border-radius: 22px;
    }

    .system-save-bar .btn,
    .link-custom-footer .btn {
        width: 100%;
        min-height: 44px;
    }

    .dashboard-hero-actions {
        grid-template-columns: 1fr;
    }

    .dashboard-chart-wrap {
        min-height: 250px;
    }

    .dashboard-conversion {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .dashboard-upcoming-item {
        align-items: flex-start;
    }

    .profile-settings-hero {
        grid-template-columns: 1fr;
        padding: 1rem 0.85rem;
        border-radius: 20px;
    }

    .profile-identity-card {
        align-items: flex-start;
    }

    .profile-avatar-xl {
        width: 64px;
        height: 64px;
        border-radius: 20px;
        font-size: 1.45rem;
    }

    .profile-settings-hero h1 {
        font-size: 1.45rem;
    }

    .profile-quick-actions,
    .profile-stat-grid {
        grid-template-columns: 1fr;
    }

    .profile-quick-actions .btn {
        width: 100%;
        min-height: 44px;
    }

    .profile-stat-card,
    .profile-settings-card,
    .profile-side-card,
    .profile-security-card {
        padding: 1rem !important;
        border-radius: 18px;
    }

    .profile-stat-card strong {
        white-space: normal;
    }

    .profile-photo-uploader {
        grid-template-columns: 1fr;
    }

    .profile-photo-preview {
        width: 96px;
        height: 96px;
        border-radius: 24px;
    }

    .profile-save-bar .btn {
        width: 100%;
        min-height: 44px;
    }

    .link-custom-input .input-group-text {
        max-width: 100%;
        width: 100%;
        border-radius: 14px 14px 0 0;
    }

    .link-custom-input .form-control {
        width: 100%;
        border-radius: 0 0 14px 14px !important;
    }

    .link-custom-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .calendar-share-row {
        margin-bottom: 0.75rem !important;
    }

    .calendar-share-card {
        margin-bottom: 1rem !important;
    }

    .calendar-share-input .form-control {
        font-size: 0.78rem;
        padding-left: 0.75rem;
    }

    .calendar-month-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .calendar-month-title {
        grid-column: 1 / -1;
        order: -1;
        padding: 0.75rem;
        border: 1px solid #e2e8f0;
        border-radius: 18px;
        background: #ffffff;
        box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    }

    .calendar-month-title h2 {
        font-size: clamp(1.1rem, 6vw, 1.55rem);
        letter-spacing: 0.04em;
    }

    .calendar-month-action-prev,
    .calendar-month-action-next {
        justify-self: stretch;
    }

    .calendar-nav-button {
        width: 100%;
        min-height: 44px;
        padding-inline: 0.7rem;
        font-size: 0.86rem;
    }

    .calendar-card {
        border-radius: 18px;
        margin-right: -0.25rem;
        margin-left: -0.25rem;
    }

    .dia-celda {
        min-height: clamp(64px, 17vw, 84px) !important;
        height: auto !important;
        padding: 5px !important;
        overflow: hidden;
    }

    .dia-vacio {
        min-height: clamp(64px, 17vw, 84px) !important;
    }

    .dia-celda::before {
        top: 5px;
        right: 5px;
        width: 5px;
        height: 5px;
    }

    .header-dia {
        padding: 6px 0 !important;
        font-size: clamp(0.58rem, 2.4vw, 0.7rem) !important;
        letter-spacing: 0;
    }

    .num-dia {
        min-width: 24px !important;
        width: 24px !important;
        height: 24px !important;
        font-size: 0.8rem !important;
        padding: 0 !important;
    }

    .calendar-day-badge {
        font-size: clamp(0.52rem, 2vw, 0.62rem) !important;
        padding: 2px 1px !important;
        margin-top: 2px !important;
    }

    .public-calendar-toolbar {
        flex-wrap: wrap;
        padding: 1rem !important;
    }

    .public-calendar-toolbar .btn-group {
        width: 100%;
    }

    .public-calendar-toolbar .btn-group .btn {
        flex: 1 1 0;
        min-height: 40px;
        padding-inline: 0.72rem !important;
    }

    .appointments-card {
        border-radius: 16px;
    }

    .appointments-card-header {
        min-height: 50px;
        padding-right: 0.75rem !important;
        padding-left: 0.75rem !important;
    }

    .appointments-title {
        max-width: calc(100vw - 90px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .appointments-scroll {
        max-height: min(58vh, 420px);
    }

    .appointments-table {
        min-width: 520px;
    }

    .appointment-actions .btn {
        min-width: 34px;
        min-height: 32px;
    }

    .public-booking-hero {
        padding: 1rem 0.85rem;
        border-radius: 20px;
    }

    .public-booking-hero h1 {
        font-size: 1.45rem;
    }

    .public-booking-badges .badge {
        width: 100%;
        white-space: normal;
    }

    .public-time-card {
        padding: 1rem !important;
    }

    .public-time-card-header {
        align-items: flex-start;
        margin-bottom: 0.85rem;
    }

    .public-time-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }

    .public-time-slot {
        min-height: 76px;
        padding: 0.75rem;
        border-radius: 16px;
    }

    .public-time-slot .time-text {
        font-size: 1.1rem;
    }

    .public-time-slot small {
        font-size: 0.72rem;
    }

    .public-time-legend {
        justify-content: flex-start;
        gap: 0.55rem 0.85rem;
    }

    .public-summary-card {
        position: static;
    }

    .public-summary-card .card-body,
    .public-form-card .card-body {
        padding: 1.15rem !important;
    }

    .public-pending-note {
        align-items: flex-start;
        padding: 0.75rem;
    }

    .public-success-card {
        padding: 1.5rem !important;
    }

    .public-success-icon {
        width: 72px;
        height: 72px;
        border-radius: 22px;
        font-size: 2.5rem;
    }

    .admin-booking-hero {
        grid-template-columns: 1fr;
        padding: 1rem 0.85rem;
        border-radius: 20px;
    }

    .admin-booking-hero h1 {
        font-size: 1.45rem;
    }

    .admin-booking-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .admin-booking-summary div {
        padding: 0.65rem 0.45rem;
        border-radius: 15px;
    }

    .admin-booking-summary strong {
        font-size: 1.2rem;
    }

    .admin-booking-summary span {
        font-size: 0.62rem;
    }

    .admin-time-card {
        padding: 1rem !important;
    }

    .admin-time-card-header {
        display: grid;
        gap: 0.85rem;
    }

    .admin-time-meta {
        justify-content: flex-start;
        max-width: none;
    }

    .admin-time-meta span {
        font-size: 0.72rem;
    }

    .admin-time-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.6rem;
    }

    .admin-time-slot {
        min-height: 76px;
        padding: 0.75rem;
        border-radius: 16px;
    }

    .admin-time-hour {
        font-size: 1.08rem;
    }

    .admin-time-slot small {
        font-size: 0.72rem;
    }

    .admin-reservation-modal .modal-body {
        padding: 1rem !important;
    }

    .admin-reservation-modal-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .admin-reservation-modal-footer .btn {
        width: 100%;
        min-height: 44px;
    }
}

@media (max-width: 360px) {
    .app-brand-logo {
        width: 30px;
        height: 30px;
    }

    .hamburger-button {
        width: 46px;
        height: 46px;
    }

    .app-notification-pill {
        min-width: 40px;
        padding-inline: 0.55rem;
    }

    .calendar-nav-button {
        font-size: 0.8rem;
    }

    .calendar-day-badge {
        font-size: 0.5rem !important;
    }

    .public-calendar-toolbar .btn-group .btn {
        padding-inline: 0.56rem !important;
    }

    .public-time-grid {
        gap: 0.5rem;
    }

    .public-time-slot {
        min-height: 72px;
        padding: 0.62rem;
    }

    .public-time-slot .time-text {
        font-size: 1rem;
    }

    .admin-booking-summary span,
    .admin-time-meta span,
    .admin-time-slot small {
        font-size: 0.66rem;
    }

    .admin-time-grid {
        gap: 0.5rem;
    }

    .admin-time-slot {
        min-height: 72px;
        padding: 0.62rem;
    }

    .admin-time-hour {
        font-size: 1rem;
    }
}
