/* ========================================
   PROPOSAL FORM - MULTI-STEP STYLING
========================================= */

/* Form Container */
#proposal-form-root {
    min-height: 100vh;
    padding: 80px 40px 120px;
    position: relative;
}

.proposal-form-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}


/* ========================================
   PROGRESS BAR
========================================= */

.form-progress {
    margin-bottom: 60px;
}

.form-progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.form-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1fabcd, #4dd4ff);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-progress-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1fabcd;
    opacity: 0.9;
    text-align: center;
}


/* ========================================
   STEP CONTAINER
========================================= */

.form-step {
    opacity: 0;
    transform: translateX(30px);
    animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-step-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 12px;
    background: linear-gradient(to right, #ffffff 0%, #cce3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.95;
}

.form-step-description {
    font-family: 'Manrope', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    color: #fff;
    opacity: 0.7;
    margin-bottom: 40px;
    max-width: 600px;
}


/* ========================================
   FORM FIELDS
========================================= */

.form-field {
    margin-bottom: 32px;
}

.form-field label {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    opacity: 0.85;
    margin-bottom: 10px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="number"],
.form-field textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(31, 171, 205, 0.3);
    border-radius: 8px;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    transition: all 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #1fabcd;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(31, 171, 205, 0.1);
}

.form-field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}


/* ========================================
   YES/NO RADIO BUTTONS
========================================= */



.form-question-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.form-question-row:last-of-type {
    border-bottom: none;
}

.form-question-text {
    flex: 1;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    opacity: 0.85;
    line-height: 1.5;
}

.form-radio-group {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.form-radio-option {
    width: 80px;
}

.form-radio-option input[type="radio"] {
    display: none;
}

.form-radio-label {
    display: block;
    padding: 10px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.7;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-radio-option input[type="radio"]:checked + .form-radio-label {
    background: rgba(31, 171, 205, 0.15);
    border-color: #1fabcd;
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(31, 171, 205, 0.1);
}

.form-radio-label:hover {
    opacity: 1;
    border-color: rgba(31, 171, 205, 0.5);
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .form-question-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .form-radio-group {
        width: 100%;
        justify-content: flex-start;
    }
    
    .form-radio-option {
        flex: 1;
        max-width: 100px;
    }
}

/* ========================================
   NAVIGATION BUTTONS
========================================= */

.form-navigation {
    display: flex;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.form-btn {
    padding: 14px 32px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-btn-primary {
    background: #1fabcd;
    color: #fff;
    flex: 1;
}

.form-btn-primary:hover {
    background: #28bfdf;
    box-shadow: 0 8px 20px rgba(31, 171, 205, 0.3);
    transform: translateY(-2px);
}

.form-btn-primary:active {
    transform: translateY(0);
}

.form-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
    min-width: 120px;
}

.form-btn-secondary:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
}

.form-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


/* ========================================
   ERROR MESSAGES
========================================= */

.form-field-error {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 6px;
    font-weight: 400;
    opacity: 0.9;
}

.form-field.has-error input,
.form-field.has-error textarea {
    border-color: #ff6b6b;
}


/* ========================================
   SUCCESS SCREEN
========================================= */

.form-success {
    text-align: center;
    padding: 80px 40px;
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.form-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 32px;
    background: linear-gradient(135deg, #1fabcd, #4dd4ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.form-success h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.form-success p {
    font-size: 1.1rem;
    opacity: 0.7;
    max-width: 500px;
    margin: 0 auto;
}


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

@media (max-width: 768px) {
    #proposal-form-root {
        padding: 60px 24px 80px;
    }
    
    .form-radio-group {
        flex-direction: column;
    }
    
    .form-radio-option {
        max-width: 100%;
    }
    
    .form-navigation {
        flex-direction: column-reverse;
    }
    
    .form-btn-secondary {
        width: 100%;
    }
}