
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #172b4d;
    --navy-light: #243e63;
    --gold: #c99b35;
    --text: #293548;
    --muted: #778397;
    --border: #e2e7ee;
    --background: #f5f6f8;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--background);
    font-size: 14px;
}

.application-page {
    min-height: 100vh;
    padding: 45px 24px;
}

.application-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    background: var(--white);
    border: 1px solid #e6e9ef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(27,43,68,0.05);
}


.intro-section {
    padding: 43px 48px 35px;
    border-bottom: 1px solid var(--border);
}

.intro-label {
    color: #a77d22;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.intro-section h1 {
    color: var(--navy);
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.intro-section p {
    max-width: 650px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.required-note {
    font-size: 12px;
    color: #818b9a;
}

.required-note span,
.form-label span {
    color: #d34b4b;
}



#jobForm {
    padding: 0 48px;
}

.form-section {
    padding: 35px 0 38px;
    border-bottom: 1px solid var(--border);
}

.section-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 27px;
}

.section-header h3 {
    color: var(--navy);
    font-size: 17px;
    font-weight: 700;
    margin: 2px 0 6px;
}

.section-header p {
    color: #8993a2;
    font-size: 12px;
    margin: 0;
}



.form-label {
    display: block;
    color: #344258;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 9px;
}



.form-control,
.form-select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #dfe4eb;
    border-radius: 5px;
    background: #fff;
    color: #334155;
    font-family: inherit;
    font-size: 13px;
    padding: 11px 14px;
    box-shadow: none !important;
    transition: border-color 0.2s ease;
}

.form-control::placeholder {
    color: #a4adba;
    font-size: 12px;
}

.form-control:hover,
.form-select:hover {
    border-color: #bdc6d3;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--navy-light);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(36,62,99,0.07) !important;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc5555;
    background-image: none;
}

.skills-input {
    min-height: 115px;
    resize: vertical;
    line-height: 1.6;
}



.phone-field {
    display: flex;
    height: 48px;
    border: 1px solid #dfe4eb;
    border-radius: 5px;
    overflow: hidden;
}

.phone-field:focus-within {
    border-color: var(--navy-light);
    box-shadow: 0 0 0 3px rgba(36,62,99,0.07);
}

.country-code {
    min-width: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f6f8;
    border-right: 1px solid #dfe4eb;
    font-size: 13px;
    font-weight: 600;
    color: #526078;
}

.phone-field .form-control {
    height: 46px;
    min-height: 46px;
    border: none;
    border-radius: 0;
    box-shadow: none !important;
}



.resume-upload {
    width: 100%;
    min-height: 125px;
    padding: 23px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    border: 1px dashed #cbd3de;
    border-radius: 6px;
    cursor: pointer;
    background: #fafbfc;
    transition: 0.2s ease;
}

.resume-upload:hover {
    background: #f6f8fb;
    border-color: var(--navy-light);
}

.resume-upload input {
    display: none;
}

.upload-icon {
    width: 49px;
    height: 49px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf1f6;
    border-radius: 5px;
    color: var(--navy);
    font-size: 25px;
}

.upload-content {
    flex: 1;
    min-width: 0;
}

.upload-content strong {
    display: block;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
}

.upload-content p {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 5px;
}

.upload-content span {
    font-size: 11px;
    color: #9aa3af;
}

.browse-btn {
    padding: 9px 15px;
    border: 1px solid #dce2e9;
    border-radius: 4px;
    background: #fff;
    color: var(--navy);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.selected-file {
    display: none;
    margin-top: 10px;
    color: #347c55;
    font-size: 12px;
    font-weight: 600;
    overflow-wrap: anywhere;
}



.error {
    display: block;
    min-height: 0;
    color: #d44848;
    font-size: 11px;
    margin-top: 6px;
}



.form-bottom {
    padding: 28px 0 38px;
    text-align: center;
}

.submit-btn {
    min-width: 230px;
    min-height: 49px;
    padding: 12px 24px;
    border: 1px solid var(--navy);
    border-radius: 5px;
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s ease;
}

.submit-btn i {
    margin-left: 12px;
}

.submit-btn:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
}

.submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}



.success-message {
    display: none;
    align-items: flex-start;
    gap: 14px;
    margin: 25px 48px 0;
    padding: 17px 20px;
    background: #edf7f0;
    border: 1px solid #cde5d4;
    border-radius: 5px;
    color: #28633d;
}

.success-message i {
    font-size: 23px;
}

.success-message strong {
    font-size: 13px;
}

.success-message p {
    color: #567961;
    font-size: 12px;
    margin: 5px 0 0;
}



.application-footer {
    padding: 20px 25px;
    background: #f8f9fb;
    border-top: 1px solid var(--border);
    text-align: center;
}

.application-footer p {
    font-size: 12px;
    color: #7b8696;
    margin-bottom: 6px;
}

.application-footer strong {
    color: var(--navy);
}

.application-footer span {
    font-size: 10px;
    color: #a0a8b4;
    letter-spacing: 0.4px;
}



@media (min-width: 1025px) {

    .application-page {
        padding: 50px 30px;
    }

    .application-wrapper {
        max-width: 1100px;
    }

    #jobForm {
        padding: 0 55px;
    }

    .intro-section {
        padding: 48px 55px 38px;
    }

    .form-section {
        padding: 38px 0;
    }

    .form-control,
    .form-select {
        min-height: 50px;
        font-size: 14px;
    }

    .phone-field {
        height: 50px;
    }

    .phone-field .form-control {
        height: 48px;
        min-height: 48px;
    }
}



@media (min-width: 577px) and (max-width: 1024px) {

    .application-page {
        padding: 25px 18px;
    }

    .application-wrapper {
        max-width: 900px;
    }

    .intro-section {
        padding: 35px 30px;
    }

    #jobForm {
        padding: 0 30px;
    }

    .form-section {
        padding: 30px 0;
    }

    .intro-section h1 {
        font-size: 30px;
    }

    .section-header h3 {
        font-size: 16px;
    }

    .form-control,
    .form-select {
        min-height: 47px;
    }

    .resume-upload {
        padding: 18px;
        gap: 13px;
    }

    .success-message {
        margin-left: 30px;
        margin-right: 30px;
    }

    .submit-btn {
        min-width: 220px;
    }
}



@media (max-width: 576px) {

    body {
        font-size: 13px;
    }

    .application-page {
        padding: 8px;
    }

    .application-wrapper {
        width: 100%;
        border-radius: 6px;
    }

    .intro-section {
        padding: 27px 17px;
    }

    .intro-label {
        font-size: 10px;
    }

    .intro-section h1 {
        font-size: 25px;
        letter-spacing: -0.5px;
    }

    .intro-section p {
        font-size: 12px;
        line-height: 1.7;
    }

    #jobForm {
        padding: 0 17px;
    }

    .form-section {
        padding: 25px 0;
    }

    .section-header {
        margin-bottom: 20px;
    }

    .section-header h3 {
        font-size: 15px;
    }

    .section-header p {
        font-size: 11px;
        line-height: 1.6;
    }

    .form-label {
        font-size: 12px;
        margin-bottom: 7px;
    }

    .form-control,
    .form-select {
        min-height: 45px;
        height: 45px;
        font-size: 12px;
        padding: 10px 11px;
    }

    .skills-input {
        min-height: 105px;
        height: 105px;
    }

    .phone-field {
        height: 45px;
    }

    .phone-field .form-control {
        height: 43px;
        min-height: 43px;
    }

    .resume-upload {
        min-height: 115px;
        padding: 15px 11px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .upload-icon {
        width: 39px;
        height: 39px;
        font-size: 21px;
    }

    .upload-content strong {
        font-size: 12px;
    }

    .upload-content p {
        font-size: 11px;
        line-height: 1.5;
    }

    .upload-content span {
        font-size: 10px;
    }

    .browse-btn {
        margin-left: 49px;
        padding: 8px 12px;
        font-size: 11px;
    }

    .success-message {
        margin: 17px;
        padding: 13px;
        gap: 10px;
    }

    .success-message strong {
        font-size: 12px;
    }

    .success-message p {
        font-size: 11px;
    }

    .form-bottom {
        padding: 25px 0 30px;
    }

    .submit-btn {
        width: 100%;
        min-height: 48px;
        font-size: 13px;
    }

    .application-footer {
        padding: 17px 10px;
    }

    .application-footer p {
        font-size: 11px;
    }

    .application-footer span {
        font-size: 9px;
    }
}



@media (max-width: 360px) {

    .intro-section h1 {
        font-size: 23px;
    }

    #jobForm {
        padding: 0 13px;
    }

    .intro-section {
        padding: 24px 13px;
    }

    .resume-upload {
        gap: 8px;
    }

    .upload-content {
        flex: 1 1 150px;
    }

    .browse-btn {
        margin-left: 0;
    }
}




.form-select {
    background-color: #ffffff;
    border: 1px solid #dce2e9;
    border-radius: 7px;
    color: #293548;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.form-select:focus {
    border-color: #243e63;
    box-shadow: 0 0 0 3px rgba(36, 62, 99, 0.10) !important;
}



.form-select option {
    background-color: #ffffff;
    color: #293548;
    padding: 14px;
    font-size: 14px;
}



.form-select option:checked {
    background-color: #eaf0f8;
    color: #172b4d;
    font-weight: 600;
}



.form-select option:hover {
    background-color: #f1f5fa;
    color: #172b4d;
}



@media (max-width: 576px) {

    .form-select {
        height: 47px;
        font-size: 13px;
        border-radius: 7px;
    }

    .form-select option {
        font-size: 15px;
        padding: 12px;
    }

}

