/* Multi-Step Form Pagination Styles */

/* Progress Container - Flexbox layout */
.progress-container {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #F0F3FF;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    clear: both;
    width: 100%;
}

/* Page Header - Left Side */
.page-header {
    flex: 0 0 auto;
    text-align: left;
    max-width: 300px;
    min-width: 250px;
}

.page-header h2 {
    color: #00497A;
    font-size: 24px;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.page-description {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Form Fields Container */
.form-fields-container {
    clear: both;
    width: 100%;
}

/* Progress Bar - Right Side */
.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex: 1;
    min-width: 400px;
}

/* Progress Line (connecting steps) */
.progress-bar::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #ccd6ff;
    z-index: 0;
}

/* Progress Step */
.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid #ccd6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #666;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 13px;
    color: #666;
    text-align: center;
    max-width: 100px;
    line-height: 1.2;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Active Step */
.progress-step.active .step-circle {
    background: #00497A;
    border-color: #00497A;
    color: white;
    transform: scale(1.1);
}

.progress-step.active .step-label {
    color: #00497A;
    font-weight: 600;
}

/* Completed Step */
.progress-step.completed .step-circle {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.progress-step.completed .step-label {
    color: #28a745;
}

/* Form Actions (buttons) */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e3e8ff;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Review Page Styles */
.review-page {
    background: #F0F3FF;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.review-page h3 {
    color: #00497A;
    margin-bottom: 0.5rem;
}

.review-instructions {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 14px;
}

.review-section {
    background: white;
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.review-section h4 {
    color: #00497A;
    font-size: 16px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e3e8ff;
}

.review-items {
    display: grid;
    gap: 1rem;
}

.review-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f3ff;
}

.review-item:last-child {
    border-bottom: none;
}

.review-label {
    font-weight: 600;
    color: #00497A;
    font-size: 14px;
}

.review-value {
    color: #000;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .progress-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .page-header {
        max-width: 100%;
    }
    
    .progress-bar {
        flex-direction: column;
        gap: 1rem;
        min-width: 100%;
        width: 100%;
    }
    
    .progress-bar::before {
        display: none;
    }
    
    .progress-step {
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
        gap: 1rem;
    }
    
    .step-label {
        text-align: left;
        max-width: none;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions button {
        width: 100%;
    }
    
    .review-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    
    .review-label {
        font-size: 13px;
    }
    
    .review-value {
        font-size: 14px;
        font-weight: 500;
    }
}
