/* Custom Form Styling for National Banking Academy */

/* Checkbox styling */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.form-check-input {
    margin-right: 0.5rem;
    margin-top: 0 !important;
    flex-shrink: 0;
}

.form-check-label {
    margin-bottom: 0;
    line-height: 1.5;
}

/* Form validation styling */
.was-validated .form-control:valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Link styling for forms */
.form-check-label a {
    color: #1a4dbe !important;
    text-decoration: none !important;
    font-weight: 500;
}

.form-check-label a:hover {
    color: #0d6efd !important;
    text-decoration: underline !important;
}

/* Contact info links */
.single-box p a {
    color: #1a4dbe !important;
    text-decoration: none !important;
    font-weight: 500;
}

.single-box p a:hover {
    color: #0d6efd !important;
    text-decoration: underline !important;
}

/* Form section titles */
.form-title {
    color: #1a4dbe !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

/* Loading state for buttons */
.cmn-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* SweetAlert customization */
.swal2-popup {
    font-family: 'Jost', sans-serif;
}

.swal2-title {
    color: #1a4dbe;
}

.swal2-confirm {
    background-color: #1a4dbe !important;
    border-color: #1a4dbe !important;
}

.swal2-confirm:hover {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}
