/* Black Background with Star Shine Effect */
.gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000000;
    overflow: hidden;
}

.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.8),
                0 0 4px rgba(255, 255, 255, 0.6),
                0 0 6px rgba(255, 255, 255, 0.4);
    animation: twinkle 2s ease-in-out infinite;
    opacity: 0.3;
}

.star::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.6);
}

.star::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    width: 4px;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.6);
}

/* Larger stars with bigger cross */
.star-large::before {
    width: 8px;
    height: 2px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8),
                0 0 8px rgba(255, 255, 255, 0.5);
}

.star-large::after {
    width: 8px;
    height: 2px;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8),
                0 0 8px rgba(255, 255, 255, 0.5);
}

.star-large {
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.9),
                0 0 8px rgba(255, 255, 255, 0.7),
                0 0 12px rgba(255, 255, 255, 0.5);
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Different animation delays for varied twinkling */
.star:nth-child(3n) {
    animation-duration: 1.5s;
    animation-delay: 0s;
}

.star:nth-child(3n+1) {
    animation-duration: 2.5s;
    animation-delay: 0.5s;
}

.star:nth-child(3n+2) {
    animation-duration: 2s;
    animation-delay: 1s;
}


/* Body and Container */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'SF Pro Rounded', 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern" 1;
    text-rendering: optimizeLegibility;
    height: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.form-container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0 auto;
    height: auto;
}

/* White Glass View Form Card - Transparent */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.15),
        0 15px 40px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 0.6),
        inset 0 -2px 4px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    padding: 36px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
}

/* Glass Highlight Effect */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%);
    border-radius: 36px 36px 0 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

/* Glass Shadow Effect */
.glass-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(0deg, 
        rgba(0, 0, 0, 0.03) 0%,
        transparent 100%);
    border-radius: 0 0 36px 36px;
    pointer-events: none;
    z-index: 1;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 35px 90px rgba(0, 0, 0, 0.2),
        0 18px 45px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1),
        inset 0 3px 6px rgba(255, 255, 255, 0.7),
        inset 0 -3px 6px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Ensure content is above glass layers */
.glass-card > * {
    position: relative;
    z-index: 10;
}

/* Progress Indicator */
.progress-indicator {
    margin-bottom: 40px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 20px;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
    border-radius: 2px;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.step-indicator.active .step-number {
    background: #000000;
    border-color: #000000;
    color: white;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 4px rgba(0, 0, 0, 0.1);
}

.step-indicator.completed .step-number {
    background: #000000;
    border-color: #000000;
    color: white;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.step-label {
    font-size: 12px;
    color: #666666;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.step-indicator.active .step-label {
    color: #1a1a1a;
    font-weight: 600;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-step.active {
    display: block;
}

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

/* Top Logo Container - Outside Form */
.top-logo-container {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 10px 20px;
    margin: 10px auto 0 auto;
    left: 0;
    right: 0;
    box-sizing: border-box;
}

/* Desktop only - Adjust logo and form */
@media (min-width: 769px) {
    .container-fluid {
        min-height: auto !important;
        align-items: flex-start;
        padding-top: 0;
    }
    
    .top-logo-container {
        max-width: 900px;
        padding: 10px 20px;
        margin: 10px auto 0 auto;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }
    
    .top-logo-image {
        width: 100%;
        max-width: 100%;
        max-height: 600px;
    }
    
    .form-container {
        max-width: 900px;
        margin: 0 auto;
        padding: 10px 20px 20px 20px;
    }
    
    /* Add extra spacing for 1st page only */
    .form-container.step-1-active {
        margin-top: 40px;
    }
    
    .glass-card {
        padding: 40px;
    }
}

.top-logo-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 150px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Company Logo - Image Style (for backward compatibility) */
.company-logo {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.logo-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.form-title {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 36px;
    text-align: center;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Pill-Shaped 3D Input Fields - White Background */
.glass-input {
    background: #f8f8f8 !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 50px !important;
    color: #1a1a1a !important;
    padding: 18px 28px !important;
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.05),
        inset 0 2px 4px rgba(255, 255, 255, 0.9),
        inset 0 -2px 4px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(0, 0, 0, 0.03);
    font-weight: 400;
    position: relative;
    overflow: visible;
    z-index: 1;
    transform-style: preserve-3d;
}

/* 3D Top Highlight */
.glass-input::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%);
    border-radius: 50px 50px 0 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

/* 3D Bottom Shadow */
.glass-input::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(0deg, 
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        transparent 100%);
    border-radius: 0 0 50px 50px;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

.glass-input::placeholder {
    color: #999999;
    font-weight: 400;
    opacity: 1;
}

.glass-input::-webkit-input-placeholder {
    color: #999999;
    opacity: 1;
}

.glass-input::-moz-placeholder {
    color: #999999;
    opacity: 1;
}

.glass-input:-ms-input-placeholder {
    color: #999999;
    opacity: 1;
}

.glass-input:focus {
    background: #ffffff !important;
    border-color: #000000 !important;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 3px 6px rgba(255, 255, 255, 0.95),
        inset 0 -3px 6px rgba(0, 0, 0, 0.05),
        0 0 0 2px rgba(0, 0, 0, 0.2) !important;
    color: #000000 !important;
    outline: none;
    transform: translateY(-2px) scale(1.01);
}

.glass-input:focus::before {
    opacity: 1;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        transparent 100%);
}

.glass-input:focus::after {
    opacity: 0.8;
    background: linear-gradient(0deg, 
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.03) 50%,
        transparent 100%);
}

.glass-input.is-invalid {
    border-color: rgba(255, 59, 48, 0.6) !important;
    background: rgba(255, 59, 48, 0.1) !important;
    box-shadow: 
        0 2px 8px rgba(255, 59, 48, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-input textarea,
textarea.glass-input {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    font-size: 20px;
    border-radius: 24px !important;
    padding: 18px 28px !important;
}

textarea.glass-input::before {
    border-radius: 24px 24px 0 0;
}

textarea.glass-input::after {
    border-radius: 24px;
}

.form-label {
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 18px;
    letter-spacing: 0.3px;
}

/* Upgrade Options - iOS Style */
.upgrade-options {
    margin: 24px 0;
}

.option-card {
    position: relative;
}

.option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-label {
    display: block;
    cursor: pointer;
    background: #f8f8f8;
    border: 2px solid #e0e0e0;
    border-radius: 18px;
    padding: 16px 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.option-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.5s ease;
}

.option-label:hover::before {
    left: 100%;
}

.option-card input[type="radio"]:checked + .option-label {
    background: #f5f5f5;
    border-color: #000000;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 0 0 2px rgba(0, 0, 0, 0.2);
}

.option-card.error .option-label {
    border-color: #000000;
    background: #f5f5f5;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.option-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.option-checkmark {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #000000;
    border: 2px solid #000000;
    margin-left: auto;
    transition: all 0.3s ease;
}

.option-checkmark .material-icons {
    color: white;
    font-size: 20px;
}

.option-card input[type="radio"]:checked + .option-label .option-checkmark {
    display: flex;
    animation: checkmarkAppear 0.3s ease;
}

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

.option-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    margin-top: 0;
}

.option-card input[type="radio"]:checked + .option-label .option-icon {
    background: #000000;
    border-color: #000000;
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.option-icon .material-icons {
    color: #666666;
    font-size: 22px;
}

.option-card input[type="radio"]:checked + .option-label .option-icon .material-icons {
    color: white;
}

.option-text {
    flex: 1;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.option-title {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    letter-spacing: -0.3px;
    margin-bottom: 2px;
}

.option-detail {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0;
}

.option-description {
    font-size: 15px;
    color: #1a1a1a;
    line-height: 1.4;
    font-weight: 400;
    margin-top: 2px;
}

.option-description b {
    font-weight: 600;
    color: #000000;
}

.option-price {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin-top: 2px;
    line-height: 1.5;
}

.price-strikethrough {
    text-decoration: line-through;
    color: #666666;
    font-weight: 400;
}

.price-free {
    color: #000000;
    font-weight: 600;
}

.price-note {
    display: none;
}

.option-note {
    font-size: 14px;
    color: #666666;
    font-style: italic;
    margin-top: 2px;
    line-height: 1.4;
}

/* Liquid Glass Buttons - Photo Style */
.btn-glass-primary {
    background: #000000;
    border: 2px solid #000000;
    color: white;
    font-weight: 600;
    padding: 18px 60px;
    width: 100%;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    letter-spacing: 0.5px;
    font-size: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.btn-glass-primary > * {
    position: relative;
    z-index: 2;
}

/* Internal highlight reflection */
.btn-glass-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    border-radius: 50px 50px 0 0;
    pointer-events: none;
    z-index: 1;
}

/* Subtle inner glow */
.btn-glass-primary::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border-radius: 50px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.btn-glass-primary:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px) scale(1.02);
    color: white;
}

.btn-glass-primary:hover::before {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%);
    height: 60%;
}

.btn-glass-primary:hover::after {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.08) 100%);
    opacity: 1;
}

.btn-glass-primary:active {
    background: #000000;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    transform: translateY(-1px) scale(1);
}

.btn-glass-secondary {
    background: #ffffff;
    border: 2px solid #000000;
    color: #000000;
    font-weight: 600;
    padding: 18px 50px;
    width: 100%;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    letter-spacing: 0.5px;
    font-size: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Icon-only back button styling */
.btn-icon-only {
    padding: 18px !important;
    min-width: auto !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-icon-only .material-icons {
    font-size: 24px;
    margin: 0;
}

.btn-glass-secondary > * {
    position: relative;
    z-index: 2;
}

/* Internal highlight reflection */
.btn-glass-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    border-radius: 50px 50px 0 0;
    pointer-events: none;
    z-index: 1;
}

/* Subtle inner glow */
.btn-glass-secondary::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border-radius: 50px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.btn-glass-secondary:hover {
    background: #f5f5f5;
    border-color: #000000;
    box-shadow: 
        0 16px 40px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.95),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px) scale(1.02);
    color: #000000;
}

.btn-glass-secondary:hover::before {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%);
    height: 60%;
}

.btn-glass-secondary:hover::after {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.08) 100%);
    opacity: 1;
}

.btn-glass-secondary:active {
    background: #e8e8e8;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    transform: translateY(-1px) scale(1);
}

.form-navigation {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 36px;
}

.form-navigation .btn-glass-primary {
    flex: 1;
}

.form-navigation .btn-glass-secondary {
    flex: 0 0 auto;
    width: auto;
    min-width: 60px;
}

/* Text Muted for Step 3 */
.text-muted {
    color: #666666 !important;
    font-size: 15px;
    line-height: 1.6;
}

/* Responsive Design */
/* Mobile Container Optimization */
.container-fluid {
    padding: 0;
    height: auto;
    min-height: auto !important;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    body {
        height: auto;
        overflow-y: auto;
    }
    
    .container-fluid {
        align-items: flex-start;
        padding: 10px;
        height: auto;
        min-height: auto !important;
    }
    
    .top-logo-container {
        padding: 8px 15px;
        margin: 8px auto 0 auto;
    }
    
    .form-container {
        padding: 10px;
    }
    
    .glass-card {
        padding: 28px 20px;
    }
    
    .form-container {
        padding: 10px;
        width: 100%;
        align-items: center;
    }
    
    .top-logo-container {
        padding: 15px 10px;
        margin: 15px auto 0 auto;
    }
    
    .top-logo-image {
        width: 100%;
        max-width: 100%;
        max-height: 100px;
    }
    
    .form-container {
        margin: 0 auto;
    }
    
    /* Add extra spacing for 1st page only on mobile */
    .form-container.step-1-active {
        margin-top: 30px;
    }
    
    .glass-card {
        padding: 24px 20px;
        border-radius: 24px;
        margin: 0;
    }
    
    .top-logo-image {
        width: 100%;
        max-width: 100%;
        max-height: 100px;
    }
    
    .logo-image {
        max-width: 180px;
    }
    
    .company-logo {
        margin-bottom: 20px;
    }
    
    .form-title {
        font-size: 22px;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .progress-indicator {
        margin-bottom: 24px;
    }
    
    .step-label {
        font-size: 10px;
        display: none;
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .progress-steps {
        padding: 0;
        gap: 8px;
    }
    
    .option-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .option-icon {
        width: 44px;
        height: 44px;
    }
    
    .option-icon .material-icons {
        font-size: 24px;
    }
    
    .option-text strong {
        font-size: 16px;
    }
    
    .option-text p {
        font-size: 14px;
    }
    
    .form-navigation {
        flex-direction: column;
        margin-top: 20px;
        gap: 12px;
    }
    
    .form-navigation .btn {
        width: 100%;
        min-width: auto;
    }
    
    .glass-input {
        padding: 14px 20px !important;
        font-size: 16px !important;
    }
    
    textarea.glass-input {
        min-height: 100px;
        font-size: 16px !important;
    }
    
    .form-label {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .text-muted {
        font-size: 14px;
        margin-bottom: 16px;
    }
}

@media (max-width: 576px) {
    body {
        height: auto;
        overflow-y: auto;
    }
    
    .container-fluid {
        padding: 8px;
        height: auto;
        min-height: auto !important;
    }
    
    .top-logo-container {
        padding: 5px 10px;
        margin: 5px auto 0 auto;
    }
    
    .form-container {
        padding: 8px;
    }
    
    .glass-card {
        padding: 24px 16px;
    }
    
    .form-container {
        padding: 0;
        width: 100%;
    }
    
    .top-logo-container {
        padding: 10px 8px;
        margin-bottom: 12px;
    }
    
    .glass-card {
        padding: 20px 16px;
        border-radius: 20px;
    }
    
    .logo-image {
        max-width: 150px;
    }
    
    .top-logo-container {
        top: 15px;
        padding: 0 8px;
        max-width: 100%;
    }
    
    .top-logo-image {
        width: 100%;
        max-width: 100%;
        max-height: 90px;
    }
    
    .company-logo {
        margin-bottom: 16px;
    }
    
    .form-title {
        font-size: 20px;
        margin-bottom: 16px;
        line-height: 1.2;
    }
    
    .progress-indicator {
        margin-bottom: 16px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .glass-input {
        padding: 12px 18px !important;
        font-size: 16px !important;
        border-radius: 40px !important;
    }
    
    textarea.glass-input {
        min-height: 90px;
        border-radius: 20px !important;
        padding: 12px 18px !important;
    }
    
    .form-label {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .text-muted {
        font-size: 13px;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    .btn-glass-primary,
    .btn-glass-secondary {
        padding: 14px 24px;
        font-size: 16px;
        width: 100%;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-navigation .btn-glass-secondary {
        width: 100%;
    }
    
    .btn-icon-only {
        width: 48px !important;
        height: 48px !important;
        padding: 12px !important;
        flex: 0 0 auto;
    }
    
    .btn-icon-only .material-icons {
        font-size: 22px;
    }
    
    .option-card {
        margin-bottom: 12px;
    }
    
    .option-label {
        padding: 16px;
    }
    
    .option-content {
        gap: 10px;
    }
    
    .option-icon {
        width: 40px;
        height: 40px;
    }
    
    .option-text strong {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .option-text p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .form-navigation {
        margin-top: 16px;
        gap: 10px;
    }
}

/* Date Input Styling */
input[type="date"] {
    color-scheme: dark;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Calendar Styling */
.calendar-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.calendar-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 24px;
    width: 100%;
    max-width: 500px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calendar-month-year {
    font-size: 20px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.5px;
}

.calendar-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    padding: 0;
}

.calendar-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.calendar-nav-btn .material-icons {
    font-size: 24px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.weekday {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    position: relative;
}

.calendar-day.empty {
    cursor: default;
    background: transparent;
}

.calendar-day:not(.empty):not(.disabled):hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.calendar-day.today {
    background: rgba(0, 122, 255, 0.2);
    border-color: rgba(0, 122, 255, 0.4);
    font-weight: 600;
}

.calendar-day.selected {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.4) 0%, rgba(88, 86, 214, 0.4) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    box-shadow: 
        0 4px 12px rgba(0, 122, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.02);
}

.calendar-day.disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 576px) {
    .calendar-wrapper {
        padding: 16px;
    }
    
    .calendar-month-year {
        font-size: 18px;
    }
    
    .calendar-nav-btn {
        width: 36px;
        height: 36px;
    }
    
    .calendar-day {
        font-size: 14px;
    }
    
    .weekday {
        font-size: 11px;
    }
}

/* Alert Styling */
.alert-danger {
    background: #f5f5f5;
    border: 1px solid #000000;
    color: #000000;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Performance optimizations */
.glass-card,
.glass-input,
.option-label,
.btn-glass-primary,
.btn-glass-secondary {
    will-change: transform;
}
