/**
 * Frontend Styles for Application Form
 */

.af-form-container {
   
    margin: 0 auto;
  
}

.af-form {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.af-messages {
    margin-bottom: 20px;
}

.af-messages .alert {
    padding: 12px 15px;
    margin-bottom: 0;
    border-radius: 4px;
}

.af-messages .alert ul {
    padding-left: 20px;
}

.af-field-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

.af-field-error:not(:empty) {
    display: block;
}

.af-form .form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

.af-form .form-label .text-danger {
    color: #dc3545;
}

.af-form .form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.af-form .form-check {
    margin-bottom: 8px;
}

.af-form .form-check-input {
    margin-top: 0.25rem;
}

.af-form #af-submit-btn {
    min-width: 150px;
    padding: 10px 30px;
    font-weight: 500;
}

.af-form #af-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.af-form .form-text {
    font-size: 0.875rem;
    margin-top: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .af-form-container {
        padding: 10px;
    }
    
    .af-form {
        padding: 20px;
    }
}

