/* Form Container */
.form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h1 {
    font-size: 2.5rem;
    color: #2a7f62;
    margin-bottom: 0.5rem;
}

.form-header p {
    font-size: 1.2rem;
    color: #555;
}

/* Progress Steps */
.form-progress {
    margin-bottom: 2rem;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2rem;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

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

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.9rem;
    color: #777;
    text-align: center;
}

.step.active .step-number {
    background-color: #f8b400;
    color: #333;
}

.step.active .step-label {
    color: #2a7f62;
    font-weight: 500;
}

.step.completed .step-number {
    background-color: #2a7f62;
    color: white;
}

.step.completed .step-label {
    color: #2a7f62;
}

/* Form Styles */
.admission-form {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.form-step {
    display: none;
}

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

.form-section-title {
    color: #2a7f62;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f8b400;
}

.form-subtitle {
    color: #2a7f62;
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2a7f62;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2a7f62;
    box-shadow: 0 0 0 3px rgba(42, 127, 98, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group input[type="file"] {
    padding: 0.5rem;
}

.error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

/* Review Section */
.review-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.review-title {
    color: #2a7f62;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.review-item {
    margin-bottom: 0.75rem;
}

.review-item strong {
    display: block;
    color: #2a7f62;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

/* Terms Checkbox */
.terms-group {
    display: flex;
    align-items: flex-start;
    margin: 2rem 0;
}

.terms-group input {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.terms-group label {
    font-weight: 400;
    color: #555;
}

/* Form Buttons */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #f8b400;
    color: #333;
}

.btn-primary:hover {
    background-color: #e6a200;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #2a7f62;
    border: 2px solid #2a7f62;
}

.btn-secondary:hover {
    background-color: rgba(42, 127, 98, 0.1);
    transform: translateY(-2px);
}

.btn-next, .btn-submit {
    margin-left: auto;
}

.btn-prev {
    margin-right: auto;
}

.btn i {
    margin: 0 5px;
}

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #333;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success Message */
.form-success {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #2a7f62;
    margin-bottom: 1.5rem;
}

.form-success h2 {
    color: #2a7f62;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.form-success p {
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .progress-steps {
        flex-wrap: wrap;
    }
    
    .step {
        width: 50%;
        margin-bottom: 1.5rem;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-next, .btn-prev, .btn-submit {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .form-header h1 {
        font-size: 2rem;
    }
    
    .form-header p {
        font-size: 1rem;
    }
    
    .step {
        width: 100%;
    }
    
    .form-section-title {
        font-size: 1.3rem;
    }
}