/**
 * Niloofar Ghanbari Core Components Stylesheet
 * Header, Hero with Character Artwork, Fast Call, Modal, Programs, Responsive
 */

/* -------------------------------------------------------------
   1. GLOBAL STICKY HEADER
------------------------------------------------------------- */
.ng-site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--ng-glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--ng-border);
    transition: all var(--ng-transition-normal);
}

.ng-site-header.ng-scrolled {
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
    border-bottom-color: var(--ng-border-hover);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
}

.ng-header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.ng-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none !important;
    color: var(--ng-text-main) !important;
}

.ng-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--ng-accent-soft);
    border: 1px solid var(--ng-accent);
    color: var(--ng-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: var(--ng-accent-glow);
    font-family: var(--ng-font-en-head);
}

.ng-brand-text {
    display: flex;
    flex-direction: column;
}

.ng-brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.ng-brand-tag {
    font-size: 0.74rem;
    color: var(--ng-text-muted);
    font-weight: 500;
}

/* Navigation Links */
.ng-nav-menu {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ng-nav-link {
    color: var(--ng-text-secondary) !important;
    text-decoration: none !important;
    font-size: 0.94rem;
    font-weight: 500;
    position: relative;
    padding: 0.4rem 0;
    transition: color var(--ng-transition-fast);
}

.ng-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--ng-accent);
    transition: width var(--ng-transition-normal);
    border-radius: 2px;
}

html[dir="rtl"] .ng-nav-link::after {
    left: auto;
    right: 0;
}

.ng-nav-link:hover,
.ng-nav-link.active {
    color: var(--ng-text-main) !important;
}

.ng-nav-link:hover::after,
.ng-nav-link.active::after {
    width: 100%;
}

/* Header Action Controls */
.ng-header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Theme Toggle Button */
.ng-theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ng-bg-surface);
    border: 1px solid var(--ng-border);
    color: var(--ng-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--ng-transition-fast);
    padding: 0;
}

.ng-theme-toggle:hover {
    border-color: var(--ng-accent);
    color: var(--ng-accent);
    transform: rotate(20deg);
}

/* Lang Switcher */
.ng-lang-btn {
    padding: 0.45rem 0.85rem;
    border-radius: 10px;
    background: var(--ng-bg-surface);
    border: 1px solid var(--ng-border);
    color: var(--ng-text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all var(--ng-transition-fast);
}

.ng-lang-btn:hover {
    color: var(--ng-text-main);
    border-color: var(--ng-accent);
}

/* Mobile Hamburger */
.ng-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--ng-bg-surface);
    border: 1px solid var(--ng-border);
    color: var(--ng-text-main);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

/* Mobile Drawer */
.ng-mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: var(--ng-bg-surface);
    z-index: 2000;
    padding: 2rem 1.8rem;
    box-shadow: -15px 0 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right var(--ng-transition-normal);
}

html[dir="rtl"] .ng-mobile-drawer {
    right: auto;
    left: -100%;
    box-shadow: 15px 0 40px rgba(0,0,0,0.5);
    transition: left var(--ng-transition-normal);
}

.ng-mobile-drawer.open {
    right: 0;
}

html[dir="rtl"] .ng-mobile-drawer.open {
    left: 0;
}

.ng-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--ng-transition-normal);
}

.ng-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* -------------------------------------------------------------
   2. HERO SECTION WITH CHARACTER ARTWORK
------------------------------------------------------------- */
.ng-hero-section {
    padding: 5rem 1.5rem 6rem 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    min-height: 82vh;
}

.ng-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ng-hero-desc {
    font-size: 1.15rem;
    color: var(--ng-text-secondary);
    line-height: 1.85;
    margin: 1.4rem 0 2.2rem 0;
    max-width: 540px;
}

.ng-hero-ctas {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.ng-hero-trust {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ng-border);
    width: 100%;
}

.ng-trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--ng-text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
}

.ng-trust-item svg {
    color: var(--ng-accent);
    flex-shrink: 0;
}

/* Character Artwork Frame */
.ng-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ng-character-stage {
    position: relative;
    width: 100%;
    max-width: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ng-character-backdrop {
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 40px;
    background: radial-gradient(circle at 50% 40%, var(--ng-accent-soft) 0%, transparent 75%);
    border: 1px solid var(--ng-border);
    z-index: 0;
    box-shadow: var(--ng-shadow-card);
}

.ng-character-img {
    position: relative;
    max-width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    z-index: 1;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
    transition: transform var(--ng-transition-slow);
}

.ng-character-stage:hover .ng-character-img {
    transform: translateY(-8px) scale(1.02);
}

/* Editorial Floating Pill on Character Stage */
.ng-portrait-badge {
    position: absolute;
    bottom: -15px;
    background: var(--ng-glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--ng-border);
    border-radius: 18px;
    padding: 0.9rem 1.4rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: var(--ng-shadow-card);
}

.ng-badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--ng-accent);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.ng-badge-info h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ng-text-main);
}

.ng-badge-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--ng-text-secondary);
}

/* -------------------------------------------------------------
   3. SECTIONS & BENEFITS
------------------------------------------------------------- */
.ng-section {
    padding: 5.5rem 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
}

.ng-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.ng-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
}

.ng-benefit-card {
    background: var(--ng-bg-surface);
    border: 1px solid var(--ng-border);
    border-radius: 24px;
    padding: 2.4rem 1.8rem;
    transition: all var(--ng-transition-normal);
    position: relative;
}

.ng-benefit-card:hover {
    transform: translateY(-6px);
    border-color: var(--ng-border-hover);
    box-shadow: 0 16px 32px -10px var(--ng-accent-soft);
}

.ng-benefit-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--ng-accent-soft);
    border: 1px solid var(--ng-border);
    color: var(--ng-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.4rem;
    transition: transform var(--ng-transition-fast);
}

.ng-benefit-card:hover .ng-benefit-icon {
    transform: scale(1.1);
    background: var(--ng-accent);
    color: #FFF;
}

.ng-benefit-desc {
    font-size: 0.94rem;
    color: var(--ng-text-secondary);
    line-height: 1.75;
    margin: 0;
}

/* -------------------------------------------------------------
   4. PROGRAMS & CLASSES CARDS
------------------------------------------------------------- */
.ng-programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.ng-program-card {
    background: var(--ng-bg-surface);
    border: 1px solid var(--ng-border);
    border-radius: 26px;
    padding: 2.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--ng-transition-normal);
}

.ng-program-card:hover {
    border-color: var(--ng-border-hover);
    transform: translateY(-6px);
    box-shadow: var(--ng-shadow-card);
}

.ng-program-tag {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ng-accent);
    background: var(--ng-accent-soft);
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 1.2rem;
    align-self: flex-start;
}

.ng-program-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.ng-program-features li {
    font-size: 0.92rem;
    color: var(--ng-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.ng-program-features li svg {
    color: var(--ng-accent);
    flex-shrink: 0;
}

/* -------------------------------------------------------------
   5. SIGNATURE FLOATING FAST CALL
------------------------------------------------------------- */
.ng-fastcall-wrapper {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

html[dir="rtl"] .ng-fastcall-wrapper {
    right: auto;
    left: 28px;
}

.ng-fastcall-stack {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.92);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.ng-fastcall-wrapper.active .ng-fastcall-stack {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.ng-fastcall-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none !important;
}

.ng-fastcall-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    box-shadow: 0 8px 22px rgba(0,0,0,0.3);
    transition: transform var(--ng-transition-fast), filter var(--ng-transition-fast);
    border: none;
    cursor: pointer;
}

.ng-fastcall-btn:hover {
    transform: scale(1.12);
    filter: brightness(1.1);
}

.ng-fastcall-label {
    background: var(--ng-bg-surface);
    color: var(--ng-text-main);
    padding: 0.45rem 0.95rem;
    border-radius: 12px;
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid var(--ng-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    opacity: 0;
    transform: translateX(8px);
    transition: all 0.25s ease;
    pointer-events: none;
    font-family: var(--ng-font-fa);
}

html[dir="rtl"] .ng-fastcall-label {
    transform: translateX(-8px);
}

.ng-fastcall-item:hover .ng-fastcall-label {
    opacity: 1;
    transform: translateX(0);
}

/* Channel Brand Colors */
.ng-btn-wa { background: #25D366; }
.ng-btn-ig { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); }
.ng-btn-ph { background: var(--ng-accent); }
.ng-btn-tg { background: #0088CC; }

/* Main Trigger Floating Button */
.ng-fastcall-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--ng-accent);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 28px -5px var(--ng-accent-glow), 0 0 0 0 var(--ng-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all var(--ng-transition-normal);
    animation: ngPulseGlow 3s infinite;
}

.ng-fastcall-trigger:hover {
    transform: scale(1.08);
    background: var(--ng-accent-hover);
}

.ng-fastcall-icon-holder {
    position: relative;
    width: 26px;
    height: 26px;
}

.ng-rot-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.7) rotate(-15deg);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ng-rot-icon.active {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.ng-close-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);
    transition: all 0.35s ease;
}

.ng-fastcall-wrapper.active .ng-rot-icon {
    opacity: 0 !important;
}

.ng-fastcall-wrapper.active .ng-close-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* -------------------------------------------------------------
   6. CONSULTATION POPUP MODAL
------------------------------------------------------------- */
.ng-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(9, 9, 13, 0.84);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.ng-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.ng-modal-container {
    background: var(--ng-bg-surface);
    border: 1px solid var(--ng-border);
    border-radius: 28px;
    max-width: 520px;
    width: 100%;
    padding: 2.5rem;
    box-shadow: 0 25px 60px -15px rgba(0,0,0,0.8);
    position: relative;
    transform: translateY(25px) scale(0.96);
    transition: transform 0.4s var(--ng-ease-editorial);
    max-height: 90vh;
    overflow-y: auto;
}

.ng-modal-backdrop.active .ng-modal-container {
    transform: translateY(0) scale(1);
}

.ng-modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ng-bg-elevated);
    border: 1px solid var(--ng-border);
    color: var(--ng-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--ng-transition-fast);
}

html[dir="rtl"] .ng-modal-close {
    left: 20px;
    right: auto;
}

.ng-modal-close:hover {
    border-color: var(--ng-accent);
    color: var(--ng-accent);
}

/* Form Controls */
.ng-form-group {
    margin-bottom: 1.3rem;
}

.ng-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ng-text-main);
    margin-bottom: 0.45rem;
    font-family: var(--ng-font-fa);
}

.ng-input, .ng-select, .ng-textarea {
    width: 100%;
    padding: 0.88rem 1.15rem;
    background: var(--ng-bg-main);
    border: 1px solid var(--ng-border);
    border-radius: 12px;
    color: var(--ng-text-main);
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
    box-sizing: border-box;
    transition: border-color var(--ng-transition-fast), box-shadow var(--ng-transition-fast);
}

.ng-input:focus, .ng-select:focus, .ng-textarea:focus {
    border-color: var(--ng-accent);
    box-shadow: 0 0 0 3px var(--ng-accent-soft);
}

.ng-form-notice {
    padding: 0.9rem;
    border-radius: 10px;
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
    display: none;
}

.ng-form-notice.success {
    display: block;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25D366;
}

.ng-form-notice.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

/* -------------------------------------------------------------
   7. FOOTER
------------------------------------------------------------- */
.ng-footer {
    background: var(--ng-bg-secondary);
    border-top: 1px solid var(--ng-border);
    padding: 4.8rem 1.5rem 2.5rem 1.5rem;
    margin-top: 5rem;
}

.ng-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3.5rem;
}

.ng-footer-bottom {
    max-width: 1240px;
    margin: 3.5rem auto 0 auto;
    padding-top: 1.8rem;
    border-top: 1px solid var(--ng-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.86rem;
    color: var(--ng-text-muted);
}

/* -------------------------------------------------------------
   8. RESPONSIVE BREAKPOINTS
------------------------------------------------------------- */
@media (max-width: 1024px) {
    .ng-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ng-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 868px) {
    .ng-hero-section {
        grid-template-columns: 1fr;
        padding-top: 3rem;
        gap: 3.5rem;
        text-align: center;
    }
    .ng-hero-content {
        align-items: center !important;
    }
    .ng-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .ng-hero-ctas {
        justify-content: center;
    }
    .ng-hero-trust {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .ng-nav-menu,
    .ng-header-actions .ng-btn {
        display: none !important;
    }
    .ng-menu-toggle {
        display: flex;
    }
    .ng-programs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .ng-benefits-grid {
        grid-template-columns: 1fr;
    }
    .ng-footer-inner {
        grid-template-columns: 1fr;
    }
    .ng-footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .ng-modal-container {
        border-radius: 24px 24px 0 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        padding: 2rem 1.4rem;
        margin: 0;
    }
    .ng-fastcall-wrapper {
        bottom: 20px;
        right: 20px;
    }
    html[dir="rtl"] .ng-fastcall-wrapper {
        left: 20px;
    }
}


/* -------------------------------------------------------------
   9. INTERACTIVE 3-STEP BOOKING & CALENDAR ENGINE
------------------------------------------------------------- */
.ng-booking-steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 520px;
    margin: 0 auto 2.2rem auto;
    position: relative;
}

.ng-step-indicator {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--ng-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ng-step-indicator.active {
    color: var(--ng-accent);
}

.ng-step-indicator.completed {
    color: #25D366;
}

.ng-step-indicator .step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ng-bg-elevated);
    border: 1.5px solid var(--ng-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.ng-step-indicator.active .step-num {
    background: var(--ng-accent);
    color: #FFFFFF;
    border-color: var(--ng-accent);
    box-shadow: 0 0 15px var(--ng-accent-soft);
}

.ng-step-indicator.completed .step-num {
    background: #25D366;
    color: #FFFFFF;
    border-color: #25D366;
}

.ng-step-line {
    flex: 1;
    height: 2px;
    background: var(--ng-border);
    margin: 0 1rem;
    max-width: 60px;
}

/* Calendar Header */
.ng-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.ng-cal-current-month {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ng-text-main);
    margin: 0;
}

.ng-cal-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--ng-bg-main);
    border: 1px solid var(--ng-border);
    color: var(--ng-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ng-cal-nav-btn:hover {
    border-color: var(--ng-accent);
    color: var(--ng-accent);
    background: var(--ng-bg-elevated);
}

/* Weekdays & Days */
.ng-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ng-text-muted);
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--ng-border);
}

.ng-cal-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.ng-cal-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--ng-bg-main);
    border: 1px solid transparent;
    color: var(--ng-text-main);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ng-cal-day:hover:not(.disabled) {
    border-color: var(--ng-accent);
    transform: translateY(-2px);
    background: var(--ng-bg-elevated);
}

.ng-cal-day.today::after {
    content: '';
    position: absolute;
    bottom: 6px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ng-accent);
}

.ng-cal-day.selected {
    background: var(--ng-accent) !important;
    color: #FFFFFF !important;
    border-color: var(--ng-accent) !important;
    box-shadow: 0 8px 20px var(--ng-accent-soft);
}

.ng-cal-day.disabled {
    opacity: 0.28;
    cursor: not-allowed;
    background: transparent;
    color: var(--ng-text-muted);
}

.ng-cal-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.8rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--ng-border);
    font-size: 0.8rem;
    color: var(--ng-text-muted);
}

.ng-cal-legend .legend-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.ng-cal-legend .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.ng-cal-legend .dot.available {
    background: var(--ng-text-muted);
}

.ng-cal-legend .dot.selected {
    background: var(--ng-accent);
}

.ng-cal-legend .dot.disabled {
    background: #555;
    opacity: 0.4;
}

/* Step 2: Time Slots Grid */
.ng-selected-date-badge {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ng-text-main);
    margin-top: 0.2rem;
}

.ng-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.ng-slot-card {
    padding: 1.15rem 1rem;
    border-radius: 14px;
    background: var(--ng-bg-main);
    border: 1px solid var(--ng-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.22s ease;
}

.ng-slot-card:hover:not(.booked) {
    border-color: var(--ng-accent);
    background: var(--ng-bg-elevated);
    transform: translateY(-2px);
}

.ng-slot-card.selected {
    border-color: var(--ng-accent);
    background: rgba(147, 102, 245, 0.12);
    box-shadow: 0 0 0 2px var(--ng-accent);
}

.ng-slot-card.booked {
    opacity: 0.45;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.02);
}

.ng-slot-time {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ng-text-main);
}

.ng-slot-status {
    font-size: 0.78rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
}

.ng-slot-status.open {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
}

.ng-slot-status.closed {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
}

/* Step 3: Summary Pill & Receipt */
.ng-booking-summary-pill {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.65rem 1.2rem;
    border-radius: 30px;
    background: var(--ng-bg-main);
    border: 1px solid var(--ng-border);
    font-size: 0.88rem;
}

.ng-btn-link {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    padding: 0.3rem 0.5rem;
}

.ng-btn-link:hover {
    text-decoration: underline;
}

.ng-success-badge-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.15);
    border: 2px solid #25D366;
    color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 1.2rem auto;
}

.ng-receipt-box {
    max-width: 440px;
    margin: 0 auto;
    background: var(--ng-bg-main);
    border: 1px dashed var(--ng-border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: right;
}

html[dir="ltr"] .ng-receipt-box {
    text-align: left;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.92rem;
}

.receipt-row:last-child {
    border-bottom: none;
}

.receipt-code {
    font-family: monospace;
    font-size: 1.2rem;
    color: var(--ng-accent);
    letter-spacing: 1px;
}

.ng-btn-whatsapp {
    background: #25D366;
    color: #FFFFFF !important;
    border-radius: 14px;
    border: none;
    font-weight: 700;
    transition: all 0.25s ease;
}

.ng-btn-whatsapp:hover {
    background: #1EBE5B;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

.ng-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(147, 102, 245, 0.2);
    border-top-color: var(--ng-accent);
    border-radius: 50%;
    animation: ng-spin 0.8s linear infinite;
    margin: 0 auto;
}

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