/* Enrollment Form Styles */
.enrollment-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
    counter-reset: step;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #e9ecef;
    z-index: 1;
}

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

.step:not(:last-child) {
    margin-right: 15px;
}

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

.step.active .step-circle {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.step.completed .step-circle {
    background-color: #198754;
    color: white;
    border-color: #198754;
}

.step-label {
    font-size: 0.85rem;
    text-align: center;
    color: #6c757d;
    transition: all 0.3s ease;
}

.step.active .step-label,
.step.completed .step-label {
    color: #212529;
    font-weight: 500;
}

.step-connector {
    flex: 1;
    height: 3px;
    background-color: #e9ecef;
    margin: 0 10px;
    position: relative;
    top: 20px;
}

.step.completed + .step-connector {
    background-color: #198754;
}

/* Form Styles */
.enrollment-form .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.enrollment-form .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-weight: 600;
}

.enrollment-form .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.enrollment-form .form-control,
.enrollment-form .form-select {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.enrollment-form .form-control:focus,
.enrollment-form .form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.enrollment-form .form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.15em;
}

.enrollment-form .form-check-label {
    margin-left: 0.5em;
}

/* Payment Methods */
.payment-method {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-method:hover {
    border-color: #86b7fe;
    background-color: #f8f9fa;
}

.payment-method.active {
    border-color: #0d6efd;
    background-color: #f0f7ff;
}

.payment-method .form-check-input {
    margin-top: 0.25em;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .progress-steps {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .step {
        flex: 0 0 50%;
        margin-bottom: 1rem;
    }
    
    .step-connector {
        display: none;
    }
    
    .progress-steps::before {
        display: none;
    }
}

/* Confirmation Page */
.confirmation-step {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.confirmation-step .success-icon {
    font-size: 5rem;
    color: #198754;
    margin-bottom: 1.5rem;
}

.confirmation-step .confirmation-details {
    text-align: left;
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 2rem 0;
}

.confirmation-step .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.confirmation-step .detail-row:last-child {
    border-bottom: none;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.confirmation-step {
    animation: fadeIn 0.5s ease-out;
}

/* Button Styles */
.btn-primary {
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

/* Alert Styles */
.alert {
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c2c7;
    color: #842029;
}

.alert-success {
    background-color: #d1e7dd;
    border-color: #badbcc;
    color: #0f5132;
}

/* Table Styles */
.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 500;
    background-color: #f8f9fa;
    border-bottom-width: 1px;
}

/* Custom Checkbox and Radio */
.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Loading Spinner */
.spinner-border {
    width: 1.2rem;
    height: 1.2rem;
    border-width: 0.15em;
}
