/* ==========================================================================
   VisionWay Premium Counselling Funnel CSS
   ========================================================================== */

/* Variables matching VisionWay branding */
:root {
    --vw-red: #ED1C24;
    --vw-red-hover: #D1121A;
    --vw-red-light: #FDF2F2;
    --vw-gray-50: #F9FAFB;
    --vw-gray-100: #F3F4F6;
    --vw-gray-200: #E5E7EB;
    --vw-gray-300: #D1D5DB;
    --vw-gray-500: #6B7280;
    --vw-gray-600: #4B5563;
    --vw-gray-800: #1F2937;
    --vw-gray-900: #111827;
    --vw-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --vw-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --vw-shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --vw-radius-sm: 8px;
    --vw-radius-md: 12px;
    --vw-radius-lg: 16px;
    --vw-radius-xl: 30px;
    --vw-transition: all 0.3s ease;
}

/* Page Background container that sits between header and footer */
.vw-funnel-page-wrapper {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    padding: 60px 20px;
    min-height: calc(100vh - 200px);
    /* Account for header/footer approx */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

/* The Main 1400px Container */
.vw-funnel-main-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 1300px;
    border-radius: var(--vw-radius-xl);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    /* Fixed height or min-height to prevent jumping */
    min-height: 700px;
}

.vw-funnel-steps-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Step Switching */
.vw-funnel-step {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.vw-funnel-step.active {
    display: block;
    opacity: 1;
    animation: vwFadeIn 0.5s forwards;
}

@keyframes vwFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Split Layout System */
.vw-split-layout {

    display: flex;
    flex-direction: row;
    min-height: 700px;
}

/* Left Side - 40% */
.vw-split-left {
    flex: 0 0 40%;
    background: url('../images-optimized/book-counselling/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    position: relative;
    border-right: 1px solid var(--vw-gray-200);
    overflow: hidden;
}

/* Right Side - 60% */
.vw-split-right {
    flex: 0 0 60%;
    padding: 4rem;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* ==================== STEP 1 SPECIFIC ==================== */

/* Logo Area */
.vw-funnel-logo-area {
    margin-bottom: 2rem;

}

.vw-funnel-logo-area img {
    width: auto;
    height: 50px;
}

/* Progress Bars */
.vw-progress-bars {
    display: flex;
    gap: 8px;
    margin-bottom: 2rem;
}

.vw-pbar {
    height: 6px;
    flex: 1;
    background-color: var(--vw-gray-200);
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.vw-pbar.active {
    background-color: var(--vw-red);
}

/* Typography */
.vw-funnel-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--vw-gray-900);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    z-index: 2;
}

.vw-funnel-title .text-red {
    color: var(--vw-red);
}

.vw-funnel-subtitle {
    font-size: 1.1rem;
    color: var(--vw-gray-600);
    line-height: 1.6;
    margin-bottom: 2rem;
    z-index: 2;
}

/* Background Illustrations in Left Col */
.vw-bg-graphics {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 350px;
    height: 350px;
    background-image: url('../images-optimized/book-counselling/map.svg');
    /* Update if needed */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

/* Right Side Question Header */
.vw-question-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.vw-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--vw-red-light);
    color: var(--vw-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.vw-question-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--vw-gray-900);
    margin: 0;
    line-height: 1.4;
}

/* Education Grid */
.vw-education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 2.5rem;
}

.vw-edu-card {
    border: 2px solid var(--vw-gray-200);
    border-radius: var(--vw-radius-md);
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--vw-gray-800);
    cursor: pointer;
    transition: var(--vw-transition);
    background: #fff;
}

.vw-edu-card i {
    color: var(--vw-red);
    font-size: 1.2rem;
    transition: var(--vw-transition);
}

.vw-edu-card:hover {
    border-color: var(--vw-red);
    box-shadow: 0 4px 12px rgba(237, 28, 36, 0.08);
}

.vw-edu-card.selected {
    border-color: var(--vw-red);
    background-color: var(--vw-red-light);
    color: var(--vw-red);
}

.vw-edu-card.selected i {
    color: var(--vw-red);
}

/* City Dropdown Section */
.vw-city-section {
    margin-bottom: 2.5rem;
}

.vw-custom-dropdown {
    position: relative;
}

.vw-city-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    padding: 1.2rem 1.5rem;
    border: 2px solid var(--vw-gray-200);
    border-radius: var(--vw-radius-md);
    font-size: 1rem;
    font-family: inherit;
    color: var(--vw-gray-800);
    background-color: #fff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
}

.vw-city-select:focus {
    border-color: var(--vw-red);
}

.vw-dropdown-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--vw-gray-500);
    pointer-events: none;
}

/* Next Button */
.vw-next-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--vw-red);
    color: white;
    padding: 1rem 1.5rem 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--vw-transition);
    box-shadow: var(--vw-shadow);
    width: auto;
    position: relative;
}

.vw-next-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--vw-shadow-lg);
    background-color: #d1161d;
}

.vw-next-btn .btn-icon {
    color: var(--vw-red);
    background-color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
}

.vw-full-width-btn {
    width: 100%;
    justify-content: center;
}

/* Trust Row Bottom Right */
.vw-trust-row {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--vw-gray-200);
    border-radius: 12px;
    justify-content: space-between;
}

.vw-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--vw-gray-800);
    line-height: 1.4;
    font-weight: 500;
}

.vw-trust-item i {
    color: var(--vw-red);
    background: var(--vw-red-light);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-top: 0;
}


/* ==================== STEP 2 SPECIFIC ==================== */

/* Left Red Gradient Side */
.vw-match-left {
    background: linear-gradient(135deg, #ED1C24 0%, #B91016 100%);
    padding: 4rem;
    color: white;
    justify-content: center;
}

.vw-match-left .vw-funnel-title {
    color: white;
    font-size: 2.8rem;
}

.vw-match-left .vw-funnel-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.vw-black-pill {
    background-color: var(--vw-gray-900);
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    display: inline-block;
}

/* Floating Card inside Red section */
.vw-floating-card {
    background: white;
    border-radius: var(--vw-radius-lg);
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
    color: var(--vw-gray-800);
}

.vw-uni-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.vw-uni-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.vw-uni-logo {
    width: 48px;
    height: 48px;
    background: var(--vw-gray-50);
    border: 1px solid var(--vw-gray-200);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vw-uni-info h4 {
    margin: 0 0 2px 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.vw-uni-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--vw-gray-500);
}

.vw-uni-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.5px;
}

.vw-uni-badge.safe {
    background: #DEF7EC;
    color: #03543F;
}

.vw-uni-badge.moderate {
    background: #FEF3C7;
    color: #92400E;
}

.vw-uni-badge.ambitious {
    background: #FDE8E8;
    color: #9B1C1C;
}

.vw-line-separator {
    height: 1px;
    background: var(--vw-gray-200);
    width: 100%;
}

.vw-uni-footer-note {
    font-size: 0.8rem;
    color: var(--vw-gray-500);
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--vw-gray-200);
    display: flex;
    align-items: flex-start;
}

/* Right Side Steps Panel */
.vw-panel-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.vw-panel-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--vw-red);
    border-radius: 2px;
}

.vw-white-panel {
    background: #fff;
    border: 1px solid var(--vw-gray-200);
    border-radius: var(--vw-radius-md);
    padding: 1.5rem;
    box-shadow: var(--vw-shadow-sm);
}

.vw-step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
}

.vw-step-icon {
    width: 36px;
    height: 36px;
    background: var(--vw-gray-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--vw-gray-800);
    border: 1px solid var(--vw-gray-200);
}

.vw-step-item h4 {
    margin: 0 0 2px 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.vw-step-item p {
    margin: 0;
    color: var(--vw-gray-500);
    font-size: 0.9rem;
}


/* ==================== STEP 3 SPECIFIC ==================== */

.vw-calendar-layout {
    padding: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.vw-calendar-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 2.5rem;
}

/* Date Row */
.vw-date-cards-row {
    display: flex;
    gap: 15px;
    margin-bottom: 2.5rem;
}

.vw-date-card {
    flex: 1;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 1.2rem 1rem;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.vw-date-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    border: 2px solid var(--vw-gray-200);
    transition: all 0.3s ease;
    pointer-events: none;
}

.vw-date-card .day {
    display: block;
    font-size: 0.85rem;
    color: var(--vw-gray-500);
    margin-bottom: 6px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.vw-date-card .date {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--vw-gray-900);
    transition: color 0.3s ease;
}

.vw-date-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.vw-date-card:hover::before {
    border-color: var(--vw-gray-300);
}

.vw-date-card.selected {
    background: linear-gradient(135deg, var(--vw-red) 0%, #B91C1C 100%);
    box-shadow: 0 8px 20px rgba(237, 28, 36, 0.25);
}

.vw-date-card.selected::before {
    border-color: transparent;
}

.vw-date-card.selected .day {
    color: rgba(255, 255, 255, 0.9);
}

.vw-date-card.selected .date {
    color: #ffffff;
}

.vw-more-card {
    flex: 0 0 auto;
    width: 80px;
    border: 2px dashed var(--vw-gray-300);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #FAFAFA;
    transition: all 0.3s ease;
}

.vw-more-card:hover {
    background: #F3F4F6;
    border-color: var(--vw-red);
}

.vw-circle-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--vw-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vw-gray-600);
    margin-bottom: 5px;
}

/* Time Sections */
.vw-time-section {
    background: #ffffff;
    border: 1px solid var(--vw-gray-200);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.vw-time-section:hover {
    border-color: var(--vw-gray-300);
}

.vw-time-section.expanded {
    border-color: var(--vw-red);
    border-left: 4px solid var(--vw-red);
    box-shadow: 0 8px 20px rgba(237, 28, 36, 0.08);
    transform: translateX(4px);
}

.vw-time-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease;
}

.vw-time-header:hover {
    background: #FAFAFA;
}

.vw-time-slots-container {
    display: none;
    padding: 0 1.5rem 1.5rem 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}

.vw-time-section.expanded .vw-time-slots-container {
    display: grid;
    animation: vwFadeInDown 0.3s ease;
}

@keyframes vwFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vw-time-slot {
    background: #F9FAFB;
    border: 1px solid var(--vw-gray-200);
    border-radius: 30px;
    padding: 10px 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--vw-gray-800);
}

.vw-time-slot:hover {
    background: #F3F4F6;
    border-color: var(--vw-gray-300);
    transform: translateY(-1px);
}

.vw-time-slot.selected {
    background: var(--vw-red);
    color: white;
    border-color: var(--vw-red);
    box-shadow: 0 4px 12px rgba(237, 28, 36, 0.3);
    transform: scale(1.05);
}

.vw-live-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #EF4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.vw-live-badge .dot {
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/* ==================== RESPONSIVE ==================== */

@media (max-width: 991px) {
    .vw-split-layout {
        flex-direction: column;
        min-height: auto;
    }

    .vw-split-left,
    .vw-split-right {
        flex: 0 0 100%;
        padding: 3rem 2rem;
    }

    .vw-education-grid {
        grid-template-columns: 1fr;
    }

    .vw-trust-row {
        flex-direction: column;
        gap: 15px;
    }

    .vw-calendar-layout {
        padding: 2rem;
    }

    .vw-date-cards-row {
        flex-wrap: wrap;
    }

    .vw-date-card {
        flex: 1 1 calc(50% - 15px);
    }
}

/* --- Utility Classes added for inline styles --- */
.vw-mb-15 {
    margin-bottom: 15px;
}

.vw-mb-20 {
    margin-bottom: 20px;
}

.vw-mt-20 {
    margin-top: 20px;
}

.vw-mt-25 {
    margin-top: 25px;
}

.vw-mt-30 {
    margin-top: 30px;
}

.vw-pt-4rem {
    padding-top: 4rem;
}

.vw-pr-20 {
    padding-right: 20px;
}

.vw-text-center {
    text-align: center;
}

.vw-font-600 {
    font-weight: 600;
}

.vw-font-700 {
    font-weight: 700;
}

.vw-text-1-1rem {
    font-size: 1.1rem;
}

.vw-text-1-2rem {
    font-size: 1.2rem;
}

.vw-text-1-5rem {
    font-size: 1.5rem;
}

.vw-text-12px {
    font-size: 12px;
}

.vw-text-14px {
    font-size: 14px;
}

.vw-text-0-85rem {
    font-size: 0.85rem;
}

.vw-text-0-9rem {
    font-size: 0.9rem;
}

.vw-text-0-95rem {
    font-size: 0.95rem;
}

.vw-m-0 {
    margin: 0;
}

.vw-m-0-0-15px-0 {
    margin: 0 0 15px 0;
}

.vw-m-0-0-5px-0 {
    margin: 0 0 5px 0;
}

.vw-my-15 {
    margin: 15px 0;
}

.vw-my-2rem-auto {
    margin: 2rem auto;
}

.vw-mb-10 {
    margin-bottom: 10px;
}

.vw-ml-10 {
    margin-left: 10px;
}

.vw-ml-minus-15 {
    margin-left: -15px;
}

.vw-mr-5 {
    margin-right: 5px;
}

.vw-mr-8 {
    margin-right: 8px;
}

.vw-mr-10 {
    margin-right: 10px;
}

.vw-text-gray-500 {
    color: var(--vw-gray-500);
}

.vw-text-gray-800 {
    color: #1F2937;
}

.vw-text-gray-600 {
    color: #4B5563;
}

.vw-text-red {
    color: var(--vw-red);
}

.vw-text-yellow {
    color: #F59E0B;
}

.vw-bg-red-light {
    background: var(--vw-red-light);
}

.vw-bg-white {
    background: white;
}

.vw-flex {
    display: flex;
}

.vw-inline-flex {
    display: inline-flex;
}

.vw-items-center {
    align-items: center;
}

.vw-justify-between {
    justify-content: space-between;
}

.vw-justify-center {
    justify-content: center;
}

.vw-justify-start {
    justify-content: flex-start;
}

.vw-gap-15 {
    gap: 15px;
}

.vw-relative {
    position: relative;
}

.vw-absolute {
    position: absolute;
}

.vw-z-1 {
    z-index: 1;
}

.vw-z-2 {
    z-index: 2;
}

.vw-flex-1 {
    flex: 1;
}

.vw-border-r-gray {
    border-right: 1px solid #E5E7EB;
}

.vw-border-gray {
    border: 1px solid #E5E7EB;
}

.vw-rounded-full {
    border-radius: 50%;
}

.vw-rounded-8 {
    border-radius: 8px;
}

.vw-rounded-16 {
    border-radius: 16px;
}

.vw-w-24 {
    width: 24px;
}

.vw-h-24 {
    height: 24px;
}

.vw-w-32 {
    width: 32px;
}

.vw-h-32 {
    height: 32px;
}

.vw-w-40 {
    width: 40px;
}

.vw-h-40 {
    height: 40px;
}

.vw-w-100 {
    width: 100%;
}

.vw-h-100 {
    height: 100%;
}

.vw-w-auto {
    width: auto;
}

.vw-max-w-400 {
    max-width: 400px;
}

.vw-px-2rem {
    padding: 0 2rem;
}

.vw-p-2rem {
    padding: 2rem;
}

.vw-left-20 {
    left: 20px;
}

.vw-right-20 {
    right: 20px;
}

.vw-inset-0 {
    top: 0;
    left: 0;
}

.vw-opacity-0 {
    opacity: 0;
}

.vw-cursor-pointer {
    cursor: pointer;
}

.vw-text-decoration-none {
    text-decoration: none;
}

.vw-shadow-card {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.vw-text-blue {
    color: blue;
}

.vw-text-darkred {
    color: darkred;
}

/* Premium Custom Flatpickr styling to match VisionWay brand */
.flatpickr-calendar {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12) !important;
    border: none !important;
    border-radius: 16px !important;
    font-family: inherit !important;
    padding-bottom: 10px;
    width: 320px !important;
}



.flatpickr-weekdaycontainer {
    display: flex;
}

.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
    border-bottom-color: var(--vw-red) !important;
}

.flatpickr-day {
    border-radius: 50% !important;
    color: #1F2937 !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    margin: 2px auto !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
    background: var(--vw-red) !important;
    border-color: var(--vw-red) !important;
    box-shadow: 0 4px 10px rgba(227, 30, 36, 0.3) !important;
    color: white !important;
    transform: scale(1.05);
}

.flatpickr-day:hover {
    background: var(--vw-red-light) !important;
    border-color: var(--vw-red-light) !important;
}

.flatpickr-months .flatpickr-month {
    background: var(--vw-red) !important;
    border-radius: 16px 16px 0 0;
    color: white !important;
    fill: white !important;
    padding: 10px 0 !important;
    height: auto !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month .numInputWrapper {
    background: transparent !important;
    color: white !important;
}

.flatpickr-monthDropdown-months option {
    background: white !important;
    color: #1F2937 !important;
}

.flatpickr-current-month input.cur-year {
    font-weight: 700 !important;
    color: white !important;
}

.flatpickr-monthDropdown-months:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

span.flatpickr-weekday {
    background: var(--vw-red) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 0.8rem !important;
    padding: 10px 0 !important;
    height: auto !important;
    line-height: 1.2 !important;
}

.flatpickr-weekdays {
    background: var(--vw-red) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: auto !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    color: white !important;
    fill: white !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px;
}

.flatpickr-day.today {
    border-color: var(--vw-red) !important;
    color: var(--vw-red) !important;
    font-weight: 700 !important;
}

/* ==================== STEP 4: SUCCESS PAGE ==================== */
.vw-success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    animation: vwFadeInUp 0.6s ease-out;
}

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

.vw-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    animation: scaleBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleBounce {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.vw-appointment-card {
    background: linear-gradient(145deg, #ffffff, #f9fafb) !important;
    border-top: 4px solid var(--vw-red) !important;
    border-radius: 16px !important;
    padding: 2.5rem 2rem !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 2.5rem auto !important;
    width: 100%;
    max-width: 450px !important;
    text-align: left;
}

.vw-appointment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

.vw-appointment-card .vw-line-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--vw-gray-200), transparent);
    margin: 1.5rem 0;
}

.vw-appointment-card p {
    font-size: 1.05rem;
    margin-bottom: 15px !important;
}

.vw-appointment-card p:last-child {
    margin-bottom: 0 !important;
}

.vw-success-container .vw-next-btn {
    background: linear-gradient(135deg, var(--vw-red) 0%, #B91C1C 100%);
    box-shadow: 0 10px 20px rgba(237, 28, 36, 0.3);
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 15px 35px;
    color: white;
}

.vw-success-container .vw-next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(237, 28, 36, 0.4);
}