/* Signup Survey Styles - Mobile Optimized */
body {
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(37, 37, 56, 0.9) 50%, rgba(255, 107, 53, 0.9) 100%), 
                url('/static/images/buildmyswim.jpg') center/cover no-repeat fixed;
    margin: 0;
    padding: 0;
}

.home-link {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    color: white;
    font-size: 2rem;
    text-decoration: none;
    transition: all 0.3s;
    z-index: 100;
}

.home-link:hover {
    transform: scale(1.1);
    color: var(--orange-color, #ff6b35);
}

.survey-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.survey-card {
    background: #2a2a3e;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 550px;
    width: 100%;
    padding: 2.5rem 2rem;
    color: white;
}

.logo-img {
    width: 80px;
    height: 80px;
    border-radius: 1rem;
    margin-bottom: 1rem;
    object-fit: cover;
}

.brand-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ff6b35;
    margin: 0;
}

.step-indicator {
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.progress-bar-container {
    height: 6px;
    background: #1a1a2e;
    border-radius: 10px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    border-radius: 10px;
    transition: width 0.4s ease;
    width: 20%;
}

.step-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

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

.question-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.question-subtitle {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 1.75rem;
}

.option-card {
    background: #1a1a2e;
    border: 2px solid #3a3a4e;
    border-radius: 1rem;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.option-card:hover {
    border-color: #ff6b35;
    background: #252538;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.option-card.selected {
    border-color: #ff6b35;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(229, 90, 43, 0.15) 100%);
}

.option-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.option-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.option-content p {
    font-size: 0.85rem;
    color: #aaa;
    margin: 0;
}

.form-control {
    background: #1a1a2e;
    border: 2px solid #3a3a4e;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    color: white;
    transition: all 0.3s;
}

.form-control:focus {
    background: #252538;
    border-color: #ff6b35;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.15);
    color: white;
}

.form-control::placeholder {
    color: #666;
}

.form-check-input {
    background-color: #1a1a2e;
    border-color: #3a3a4e;
}

.form-check-input:checked {
    background-color: #ff6b35;
    border-color: #ff6b35;
}

.form-check-label {
    color: #aaa;
    font-size: 0.9rem;
}

.form-check-label a {
    color: #ff6b35;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Waitlist Signup Option */
.waitlist-signup-option {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.waitlist-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 1rem;
    background: rgba(0, 119, 190, 0.1);
    border: 2px solid rgba(0, 119, 190, 0.3);
    border-radius: 0.75rem;
    transition: all 0.3s;
}

.waitlist-checkbox:hover {
    background: rgba(0, 119, 190, 0.15);
    border-color: rgba(0, 119, 190, 0.5);
}

.waitlist-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #0077be;
}

.waitlist-checkbox span {
    color: #e0e0e0;
    font-size: 0.95rem;
    font-weight: 500;
}

.btn-container {
    display: flex;
    gap: 0.875rem;
    margin-top: 2rem;
}

.btn-back {
    background: transparent;
    color: #aaa;
    border: 2px solid #3a3a4e;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    flex: 1;
    cursor: pointer;
}

.btn-back:hover:not(:disabled) {
    background: #1a1a2e;
    border-color: #aaa;
    color: white;
}

.btn-back:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.btn-next {
    background: linear-gradient(135deg, #ff6b35 0%, #e55a2b 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    flex: 2;
    cursor: pointer;
}

.btn-next:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.signin-link {
    color: #aaa;
    font-size: 0.9rem;
}

.signin-link a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
}

.signin-link a:hover {
    text-decoration: underline;
}

.forgot-link {
    color: #ff6b35;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-link:hover {
    text-decoration: underline;
    color: #e55a2b;
}

/* Social Sign-In */
.social-signin-section {
    margin-top: 2rem;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #3a3a4e;
}

.divider span {
    padding: 0 1rem;
    color: #aaa;
    font-size: 0.875rem;
}

.btn-google {
    background-color: white;
    border: 1px solid #dadce0;
    color: #3c4043;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s;
    text-decoration: none;
    width: 100%;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-google:hover {
    background-color: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.google-icon {
    flex-shrink: 0;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .survey-card {
        padding: 2rem 1.5rem;
    }

    .question-title {
        font-size: 1.3rem;
    }

    .option-icon {
        font-size: 1.75rem;
        min-width: 45px;
    }

    .option-card {
        padding: 1rem;
        /* Better touch targets for mobile */
        min-height: 60px;
    }

    .home-link {
        top: 1rem;
        left: 1rem;
        font-size: 1.75rem;
        /* Better touch target */
        padding: 0.5rem;
    }
    
    /* Prevent iOS input zoom */
    .form-control {
        font-size: 16px;
    }
}

/* reCAPTCHA Styling */
.g-recaptcha {
    display: block;
    transform: scale(0.95);
    transform-origin: 0 0;
}

@media (max-width: 576px) {
    .survey-container {
        padding: 1rem 0.5rem;
    }

    .survey-card {
        padding: 1.5rem 1rem;
        border-radius: 1rem;
    }

    .question-title {
        font-size: 1.2rem;
    }
    
    .question-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }
    
    .option-card {
        padding: 0.85rem;
        margin-bottom: 0.5rem;
        border-radius: 0.75rem;
    }

    .option-icon {
        font-size: 1.5rem;
        min-width: 40px;
    }
    
    .option-content h4 {
        font-size: 0.9rem;
        margin-bottom: 0.15rem;
    }
    
    .option-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .btn-container {
        flex-direction: column;
    }

    .btn-back, .btn-next {
        width: 100%;
    }
    
    .g-recaptcha {
        transform: scale(0.85);
    }
}
