/* =========================================================
   BBSR SERVICES
   COMMON APPLY ONLINE BUTTON
   USE ON ALL SERVICE PAGES
========================================================= */

.bbsr-apply-online-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 12px 22px;

    background: #198754;
    color: #ffffff !important;

    border: 1px solid #198754;
    border-radius: 5px;

    font-family: 'Poppins', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none !important;

    cursor: pointer;

    transition:
        background-color .25s ease,
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.bbsr-apply-online-btn i {
    font-size: 14px;
}

.bbsr-apply-online-btn:hover {
    background: #146c43;
    border-color: #146c43;
    color: #ffffff !important;

    text-decoration: none !important;

    transform: translateY(-2px);

    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}

.bbsr-apply-online-btn:focus {
    outline: none;
    color: #ffffff !important;
    text-decoration: none !important;
}

.bbsr-apply-online-btn:active {
    transform: translateY(0);
}


/* =========================================================
   MOBILE
========================================================= */

@media only screen and (max-width: 767px) {

    .bbsr-apply-online-btn {
        width: 100%;
        box-sizing: border-box;

        padding: 12px 18px;

        font-size: 13px;

        text-align: center;
    }

}
/* =========================================================
   BBSR SERVICES
   APPLY ONLINE
========================================================= */

.apply-page {
    background: #f6f8fa;
    padding: 30px 0 60px;
    font-family: 'Poppins', Arial, sans-serif;
}

.apply-container {
    width: 1120px;
    max-width: 94%;
    margin: auto;
}


/* HERO */

.apply-hero {
    padding: 45px;
    margin-bottom: 25px;
    border-radius: 10px;
    background: linear-gradient(135deg, #173f5f, #286b8e);
    box-shadow: 0 8px 25px rgba(0,0,0,.10);
}

.apply-hero-content {
    max-width: 900px;
}

.apply-label {
    display: inline-block;
    padding: 6px 13px;
    margin-bottom: 12px;
    border-radius: 20px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
}

.apply-hero h1 {
    margin: 0 0 15px;
    color: #fff;
    font-size: 38px;
    line-height: 1.3;
}

.apply-hero p {
    margin: 0 0 10px;
    color: rgba(255,255,255,.94);
    font-size: 15px;
    line-height: 28px;
}

.apply-hero-small {
    font-weight: 600;
}


/* FORM */

.apply-form-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(0,0,0,.07);
    overflow: hidden;
}

.apply-form-section {
    padding: 30px;
    border-bottom: 1px solid #e5e9ec;
}

.apply-section-heading {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.apply-section-heading > span {
    min-width: 38px;
    height: 38px;
    line-height: 38px;
    border-radius: 50%;
    background: #173f5f;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.apply-section-heading h2 {
    margin: 0 0 4px;
    color: #173f5f;
    font-size: 22px;
}

.apply-section-heading p {
    margin: 0;
    color: #777;
    font-size: 13px;
}


/* GRID */

.apply-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.apply-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


/* FIELDS */

.apply-field {
    margin-bottom: 20px;
}

.apply-field label,
.apply-upload-box label {
    display: block;
    margin-bottom: 7px;
    color: #333;
    font-size: 13px;
    font-weight: 600;
}

.apply-field label span {
    color: #dc3545;
}

.apply-input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 13px;
    border: 1px solid #d5dce1;
    border-radius: 5px;
    background: #fff;
    color: #333;
    font-family: inherit;
    font-size: 13px;
    transition: border .2s, box-shadow .2s;
}

.apply-input:focus {
    outline: none;
    border-color: #286b8e;
    box-shadow: 0 0 0 3px rgba(40,107,142,.08);
}

.apply-field small,
.apply-upload-box small {
    display: block;
    margin-top: 6px;
    color: #777;
    font-size: 11px;
    line-height: 19px;
}


/* UPLOAD */

.apply-upload-box {
    margin-bottom: 20px;
    padding: 20px;
    background: #f7f9fa;
    border: 1px dashed #bdc8cf;
    border-radius: 7px;
}

.apply-file {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #d5dce1;
}


/* CONSENT */

.apply-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 18px;
    background: #f5f8fa;
    border: 1px solid #dfe6ea;
    border-radius: 6px;
}

.apply-consent input {
    margin-top: 4px;
}

.apply-consent label {
    color: #555;
    font-size: 13px;
    line-height: 23px;
}


/* SUBMIT */

.apply-submit-area {
    padding: 30px;
    text-align: center;
}

.apply-submit-btn {
    padding: 13px 30px;
    border: 0;
    border-radius: 5px;
    background: #198754;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.apply-submit-btn:hover {
    background: #146c43;
}

.apply-submit-area p {
    margin: 12px 0 0;
    color: #777;
    font-size: 12px;
}


/* SUCCESS */

.apply-success {
    margin-bottom: 25px;
    padding: 40px;
    background: #fff;
    border: 1px solid #d9eee3;
    border-radius: 8px;
    text-align: center;
}

.apply-success-icon {
    color: #198754;
    font-size: 55px;
}

.apply-success h2 {
    color: #173f5f;
}

.apply-success strong {
    display: inline-block;
    margin: 10px 0 20px;
    padding: 12px 20px;
    background: #f0f8f4;
    color: #198754;
    font-size: 20px;
    letter-spacing: 1px;
}

.apply-success-note {
    color: #777;
}


/* ERROR */

.apply-error {
    margin-bottom: 20px;
    padding: 15px 20px;
    background: #fff3f3;
    border-left: 4px solid #dc3545;
    border-radius: 5px;
    color: #a51d2d;
    font-size: 13px;
}


/* BUTTON */

.apply-btn {
    display: inline-block;
    padding: 11px 20px;
    border-radius: 5px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
}

.apply-btn-primary {
    background: #173f5f;
    color: #fff !important;
}


/* HONEYPOT */

.apply-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* NAV */

.apply-navigation {
    padding-top: 20px;
    text-align: center;
}

.apply-navigation a {
    display: inline-block;
    margin: 0 5px;
    padding: 9px 17px;
    border-radius: 5px;
    background: #173f5f;
    color: #fff !important;
    font-size: 12px;
    text-decoration: none !important;
}


/* MOBILE */

@media only screen and (max-width: 767px) {

    .apply-page {
        padding: 20px 8px 40px;
    }

    .apply-container {
        max-width: 100%;
    }

    .apply-hero {
        padding: 30px 20px;
    }

    .apply-hero h1 {
        font-size: 27px;
    }

    .apply-hero p {
        font-size: 14px;
        line-height: 25px;
    }

    .apply-grid-2,
    .apply-grid-3 {
        display: block;
    }

    .apply-form-section {
        padding: 22px 18px;
    }

    .apply-section-heading h2 {
        font-size: 19px;
    }

    .apply-submit-area {
        padding: 25px 18px;
    }

    .apply-submit-btn {
        width: 100%;
    }

}