/* ═══════════════════════════════════════════
   DAK Calculator — Styles v7 (Redesign)
   ═══════════════════════════════════════════ */

/* ── Base ── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] { -moz-appearance: textfield; }

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── Animated Background Orbs ── */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.12;
    pointer-events: none;
    will-change: transform;
}

.orb:nth-child(1) { animation: orbFloat1 20s ease-in-out infinite; }
.orb:nth-child(2) { animation: orbFloat2 25s ease-in-out infinite; }
.orb:nth-child(3) { animation: orbFloat3 22s ease-in-out infinite; }

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, 40px) scale(1.05); }
    66% { transform: translate(-30px, 60px) scale(0.95); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, -30px) scale(1.08); }
    66% { transform: translate(40px, -50px) scale(0.92); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
    .orb { animation: none !important; }
}

/* ── Grid Overlay ── */
.bg-grid {
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(176, 36, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(176, 36, 255, 0.04) 1px, transparent 1px);
    pointer-events: none;
}

/* ── Sidebar Glass ── */
.sidebar-glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* ── Sidebar Scrollbar ── */
.sidebar-items-scroll::-webkit-scrollbar,
.sidebar-scroll::-webkit-scrollbar { width: 4px; }
.sidebar-items-scroll::-webkit-scrollbar-track,
.sidebar-scroll::-webkit-scrollbar-track { background: transparent; }
.sidebar-items-scroll::-webkit-scrollbar-thumb,
.sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(176, 36, 255, 0.3);
    border-radius: 10px;
}
.sidebar-items-scroll::-webkit-scrollbar-thumb:hover,
.sidebar-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(176, 36, 255, 0.5);
}

/* ── Service Cards ── */
.svc-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(77, 69, 82, 0.12);
    border-radius: 14px;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #b023ff;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.svc-card:hover {
    border-color: rgba(176, 36, 255, 0.2);
    transform: translateY(-2px);
}

.svc-card.activo {
    border-color: rgba(176, 36, 255, 0.35);
    background: rgba(176, 36, 255, 0.06);
}

.svc-card.activo::before {
    transform: scaleY(1);
}

.svc-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.svc-card-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin 0.3s ease;
    margin-top: 0;
}

.svc-card-body.visible {
    max-height: 200px;
    opacity: 1;
    margin-top: 1rem;
}

/* ── Segmented Tier Control ── */
.nivel-seg {
    display: flex;
    gap: 6px;
    width: 100%;
}

.nivel-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 6px;
    border-radius: 8px;
    border: 1px solid rgba(77, 69, 82, 0.2);
    background: rgba(43, 34, 50, 0.5);
    color: #b2a7b6;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
}

.nivel-btn:hover {
    background: rgba(43, 34, 50, 0.8);
    color: #f9edfd;
}

.nivel-btn.activo {
    background: #b023ff;
    border-color: #b023ff;
    color: white;
}

.nivel-btn-name {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.nivel-btn-price {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.75;
}

.nivel-btn.activo .nivel-btn-price { opacity: 1; }

/* ── Stepper ── */
.stepper {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(43, 34, 50, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(77, 69, 82, 0.2);
    overflow: hidden;
}

.stepper-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #b2a7b6;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.stepper-btn:hover {
    color: white;
    background: rgba(176, 36, 255, 0.15);
}

.stepper-input,
.stepper-input:focus,
input.stepper-input[type="number"] {
    width: 40px;
    text-align: center;
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    color: white !important;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    outline: none !important;
    box-shadow: none !important;
    padding: 0;
}

/* ── Info Tooltip ── */
.svc-info-wrap {
    display: inline;
    cursor: help;
    position: relative;
    vertical-align: middle;
}

.svc-info-icon {
    font-size: 12px;
    color: rgba(178, 167, 182, 0.6);
    vertical-align: middle;
    transition: color 0.2s;
}

.svc-info-wrap:hover .svc-info-icon {
    color: #d692ff;
}

.svc-info-tip {
    position: fixed;
    z-index: 9999;
    background: rgba(30, 23, 36, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(176, 36, 255, 0.2);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12px;
    line-height: 1.5;
    color: #f9edfd;
    pointer-events: none;
    transition: opacity 0.15s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ── Custom Items List ── */
.custom-items-list {
    list-style: none;
    padding: 0;
    margin-top: 12px;
}

.custom-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    margin-bottom: 4px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(77, 69, 82, 0.1);
}

.custom-item-nombre {
    font-size: 13px;
    color: #f9edfd;
    flex: 1;
}

.custom-item-precio {
    font-size: 13px;
    font-weight: 600;
    color: #5ff8f8;
    margin: 0 12px;
}

.custom-empty {
    font-size: 12px;
    color: rgba(178, 167, 182, 0.5);
    text-align: center;
    padding: 12px;
}

.btn-delete-custom {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #b2a7b6;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 14px;
}

.btn-delete-custom:hover {
    color: #ff6e84;
    background: rgba(255, 110, 132, 0.1);
}

/* ── Sidebar Item Row ── */
.sidebar-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    animation: slideIn 0.2s ease;
}

.sidebar-item + .sidebar-item {
    border-top: 1px solid rgba(77, 69, 82, 0.08);
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}

.sidebar-item-delete {
    width: 22px;
    height: 22px;
    border: none;
    background: transparent;
    color: rgba(178, 167, 182, 0.4);
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.sidebar-item-delete:hover {
    color: #ff6e84;
    background: rgba(255, 110, 132, 0.1);
}

/* ── Perfil Buttons ── */
.perfil-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 4px;
    border-radius: 8px;
    border: 1px solid rgba(77, 69, 82, 0.2);
    background: rgba(43, 34, 50, 0.4);
    color: #b2a7b6;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
}

.perfil-btn:hover {
    border-color: rgba(176, 36, 255, 0.3);
    color: #f9edfd;
}

.perfil-btn.perfil-btn--activo {
    background: rgba(176, 36, 255, 0.2);
    border-color: #b023ff;
    color: white;
}

/* ── Category Section Header ── */
.cat-section-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 9999px;
    background: #00B478;
    color: white;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ── Category Collapsible Body (mobile) ── */
.cat-body {
    overflow: hidden;
    max-height: 2000px;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 1;
}

.cat-body--collapsed {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

/* ── Extras Item (sidebar) ── */
.extra-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.extra-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.extra-item.activo {
    background: rgba(176, 36, 255, 0.08);
}

/* ── Modals ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.modal-overlay.modal-open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 90%;
    max-width: 520px;
    background: rgba(30, 23, 36, 0.97);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(77, 69, 82, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.modal-overlay.modal-open .modal-content {
    transform: scale(1) translateY(0);
}

.modal-ajustes-size { max-width: 600px; }

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(77, 69, 82, 0.15);
}

.modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #b2a7b6;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.modal-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.modal-body {
    padding: 20px;
    color: #f9edfd;
}

.modal-body-scroll {
    max-height: 60vh;
    overflow-y: auto;
}

.modal-body-scroll::-webkit-scrollbar { width: 4px; }
.modal-body-scroll::-webkit-scrollbar-track { background: transparent; }
.modal-body-scroll::-webkit-scrollbar-thumb {
    background: rgba(176, 36, 255, 0.25);
    border-radius: 10px;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid rgba(77, 69, 82, 0.15);
}

.btn-modal-primary {
    padding: 8px 20px;
    background: #b023ff;
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.btn-modal-primary:hover { background: #c04dff; }
.btn-modal-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-modal-secondary {
    padding: 8px 16px;
    background: transparent;
    color: #b2a7b6;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(77, 69, 82, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.btn-modal-secondary:hover {
    color: white;
    border-color: rgba(77, 69, 82, 0.5);
}

.btn-modal-danger {
    padding: 8px 14px;
    background: transparent;
    color: #ff6e84;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 110, 132, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn-modal-danger:hover {
    background: rgba(255, 110, 132, 0.1);
    border-color: rgba(255, 110, 132, 0.4);
}

/* ── Ajustes Rows ── */
.ajustes-bloque {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(77, 69, 82, 0.1);
}

.ajustes-bloque strong {
    font-size: 13px;
    color: #f9edfd;
    display: block;
    margin-bottom: 8px;
}

.ajustes-filas {
    display: flex;
    gap: 8px;
}

.ajustes-fila {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.ajustes-fila label {
    font-size: 12px;
    color: #b2a7b6;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ajustes-fila input[type="number"] {
    width: 80px;
    padding: 4px 8px;
    background: rgba(43, 34, 50, 0.8);
    border: 1px solid rgba(77, 69, 82, 0.2);
    border-radius: 6px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', monospace;
    text-align: right;
    outline: none;
    transition: border-color 0.2s;
}

.ajustes-fila input[type="number"]:focus {
    border-color: #b023ff;
}

/* ── Interactive Background: Mouse Glow ── */
.mouse-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(176, 36, 255, 0.08) 0%, rgba(95, 248, 248, 0.03) 40%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    will-change: left, top;
}

.mouse-glow.active { opacity: 1; }

/* ── Interactive Background: Math Meteors (Premium) ── */
.meteor-container {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.math-meteor {
    position: absolute;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    pointer-events: none;
    will-change: transform, opacity;
    animation: meteorStreak var(--duration) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    z-index: 1;
    filter: blur(var(--blur, 0px));
}

/* Color variants — the symbol is the "rock", bright and sharp */
.math-meteor--purple {
    color: #e8b4ff;
    text-shadow:
        0 0 4px #fff,
        0 0 12px rgba(214, 146, 255, 0.95),
        0 0 24px rgba(176, 36, 255, 0.7),
        0 0 50px rgba(176, 36, 255, 0.35);
}

.math-meteor--cyan {
    color: #c8ffff;
    text-shadow:
        0 0 4px #fff,
        0 0 12px rgba(150, 255, 255, 0.95),
        0 0 24px rgba(95, 248, 248, 0.7),
        0 0 50px rgba(95, 248, 248, 0.35);
}

.math-meteor--white {
    color: #fff;
    text-shadow:
        0 0 4px #fff,
        0 0 12px rgba(255, 255, 255, 0.9),
        0 0 24px rgba(214, 146, 255, 0.5),
        0 0 50px rgba(176, 36, 255, 0.2);
}

/*
   ::before = hot bright core glow hugging the rock (close, circular)
   ::after  = the long plasma tail stretching behind (wide, elliptical, very blurry)
*/

/* Hot core glow — tight around the symbol like atmospheric entry heat */
.math-meteor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2em;
    height: 2em;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        var(--core-bright, rgba(255, 255, 255, 0.3)) 0%,
        var(--core-mid, rgba(176, 36, 255, 0.15)) 40%,
        transparent 70%
    );
    pointer-events: none;
}

/* Plasma tail — wide, elongated, heavily blurred — the "fire" behind the rock */
.math-meteor::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 60%;
    width: var(--trail-w, 100px);
    height: var(--trail-h, 20px);
    transform: translateY(-50%);
    border-radius: 50% 20% 20% 50%;
    background: var(--trail-gradient,
        radial-gradient(
            ellipse at 100% 50%,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(214, 146, 255, 0.15) 15%,
            rgba(176, 36, 255, 0.1) 35%,
            rgba(176, 36, 255, 0.04) 60%,
            transparent 100%
        ));
    filter: blur(var(--trail-blur, 6px));
    opacity: 0.9;
}

@keyframes meteorHaloPulse {
    0%   { opacity: 0.6; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 1;   transform: translate(-50%, -50%) scale(1.15); }
}

@keyframes meteorStreak {
    0% {
        transform: translate(0, 0) rotate(var(--angle)) scale(var(--start-scale, 0.6));
        opacity: 0;
    }
    8% {
        opacity: var(--peak-opacity, 1);
        transform: translate(calc(var(--dx) * 0.08), calc(var(--dy) * 0.08)) rotate(var(--angle)) scale(1);
    }
    75% {
        opacity: calc(var(--peak-opacity, 1) * 0.7);
    }
    100% {
        transform: translate(var(--dx), var(--dy)) rotate(var(--angle)) scale(var(--end-scale, 0.4));
        opacity: 0;
    }
}

/* ── Ambient Constellation Particles ── */
.constellation-dot {
    position: absolute;
    width: var(--dot-size, 2px);
    height: var(--dot-size, 2px);
    border-radius: 50%;
    background: var(--dot-color, rgba(176, 36, 255, 0.4));
    box-shadow: 0 0 6px var(--dot-color, rgba(176, 36, 255, 0.3));
    pointer-events: none;
    animation: constellationFloat var(--float-duration, 8s) ease-in-out infinite alternate,
               constellationPulse var(--pulse-duration, 3s) ease-in-out infinite alternate;
    will-change: transform, opacity;
}

@keyframes constellationFloat {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(var(--float-x, 15px), var(--float-y, -20px)); }
}

@keyframes constellationPulse {
    0%   { opacity: var(--min-opacity, 0.15); }
    100% { opacity: var(--max-opacity, 0.6); }
}

@media (prefers-reduced-motion: reduce) {
    .math-meteor,
    .constellation-dot { animation: none !important; display: none !important; }
}

/* ── Glass Panel (shared) ── */
.glass-panel {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.orb-blur {
    filter: blur(120px);
    opacity: 0.12;
}

/* ── Full-Screen Scheduling Overlay ── */
.cita-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background-color: #030106;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cita-overlay.cita-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cita-main {
    flex: 1;
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 6.5rem 1.5rem 7rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .cita-main {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
        padding-top: 7rem;
    }
}

/* ── Cita Badge Pills ── */
.cita-badge {
    padding: 3px 10px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    color: #b2a7b6;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.cita-badge--teal {
    color: #4de9e9;
    border-color: rgba(77, 233, 233, 0.2);
}

/* ── Cita Spinner ── */
.cita-spinner-lg {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(176, 36, 255, 0.15);
    border-top-color: #b023ff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ── Calendar Day Cell ── */
.cal-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    color: rgba(255, 255, 255, 0.2);
    cursor: default;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    padding: 0;
}

.cal-cell--available {
    background: rgba(255, 255, 255, 0.05);
    color: #b2a7b6;
    cursor: pointer;
    border-color: transparent;
}

.cal-cell--available:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(176, 36, 255, 0.2);
    color: white;
}

.cal-cell--selected {
    background: #b023ff !important;
    color: white !important;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(176, 36, 255, 0.4);
    border-color: #b023ff !important;
}

.cal-cell--selected .cal-dot { display: none; }

.cal-cell--weekend { color: rgba(255, 255, 255, 0.1); }
.cal-cell--past { color: rgba(255, 255, 255, 0.08); }
.cal-cell:disabled { cursor: not-allowed; }

.cal-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #b023ff;
    margin-top: 3px;
}

/* ── Time Slot Buttons ── */
.slot-btn {
    padding: 10px 8px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: transparent;
    color: #b2a7b6;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.slot-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(176, 36, 255, 0.3);
    color: white;
}

.slot-btn.activo {
    background: rgba(176, 36, 255, 0.2);
    color: #d692ff;
    border-color: #b023ff;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(176, 36, 255, 0.2);
}

/* ── Cita Meet Link ── */
.cita-meet-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 16px;
    background: rgba(0, 180, 120, 0.15);
    border: 1px solid rgba(0, 180, 120, 0.3);
    border-radius: 8px;
    color: #00B478;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.cita-meet-link:hover {
    background: rgba(0, 180, 120, 0.25);
}

.cita-success-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

/* ── Tooltip (approx lock) ── */
.tooltip-dak {
    margin-top: -4px;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 110, 132, 0.1);
    transition: all 0.25s ease;
}

.tooltip-dak.tooltip-error {
    animation: tooltipShake 0.3s ease;
}

@keyframes tooltipShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* ── Email Feedback ── */
#email-feedback:empty { display: none; }
#email-feedback.ok { color: #00B478; }
#email-feedback.error { color: #ff6e84; }

/* ── Mobile Floating Total ── */
.mobile-total {
    animation: slideUp 0.3s ease;
}

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

/* ── Card Checkbox (hidden native, custom style) ── */
.svc-checkbox {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #b023ff;
    pointer-events: none;
    cursor: pointer;
}

/* ── Responsive ── */
@media (max-width: 1023px) {
    .sidebar-glass {
        position: static;
    }
}

@media (max-width: 640px) {
    .svc-card { padding: 1rem; }
    .nivel-seg { flex-direction: column; }
    .nivel-btn { flex-direction: row; justify-content: space-between; }
}
