#jobApplyModal {
    width: 100%;
}

#jobApplyModal .modal-dialog {
    width: 665px;
}

#jobApplyModal .modal-header {
    background: #2D92CE;
    padding: 1rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#jobApplyModal .modal-header .close-btn {
    color: #F0F0F0;
    font-size: 28px;
    cursor: pointer;
    background: transparent;
    background: url('../images/icon/close.svg') no-repeat center center;
    margin-top: 10px;
}

#jobApplyModal .btn {
    padding: 0;
}

#jobApplyModal .modal-header .modal-title {
    color: #F6F6F6;
    box-shadow: none;
}

#jobApplyModal .modal-content {
    width: 100%;
    border: none !important;
    border-radius: 10px !important;
    padding: 0;
}

#jobApplyModal .form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #363636;
    padding-left: 15px;
}

.text-danger.error-message {
    padding-left: 15px;
}

#jobApplyModal .modal-content::before {
    content: '';
    display: none;
}

#jobApplyForm {
    padding: 0 2rem;
    border-bottom: 1px solid #D3D3D3;
    padding-bottom: 1rem;
}

#jobApplyForm .form-check .form-check-input:checked {
    background-color: #2D92CE;
    border-color: #2D92CE;
}

#jobApplyForm .form-check label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    vertical-align: middle;
    color: #272727;
}

#jobApplyForm .form-check label span {
    font-weight: 600;
    color: #2D92CE;
}

#jobApplyForm .btn:disabled {
    color: #A4A4A4;
    pointer-events: none;
    background-color: #D6D6D6;
    border-color: transparent;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    line-height: 48px;

}

#jobApplyForm button:not(:disabled) {
    background: #2D92CE;
    color: #F6F6F6;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 48px;
}


.resume-upload-box {
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 40px 20px;
    position: relative;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.resume-upload-box:hover {
    border-color: #999;
}


.resume-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.resume-upload-box p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
    color: #4C4C4C;
}

.resume-upload-box small {
    font-family: 'Montserrat', sans-serif;
    color: #777777;
    font-weight: 600;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

/* .uploaded-file {
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
} */

#uploadBtn {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.uploaded-file {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    gap: 6px;
}

.uploaded-file .fa-solid.fa-file-pdf {
    color: rgb(229, 37, 42);
    font-size: 50px;
}

#uploadedFileName {
    font-weight: 600;
}


.form-control.is-invalid:focus,
.was-validated .form-control:invalid:focus {
    box-shadow: none;
}




/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

#jobApplyModal #jobApplyForm .form-check .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
}

#jobApplyModal .modal-footer small {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    vertical-align: middle;
}

@media (max-width: 1366px) {
    #jobApplyForm {
        padding: 0;
    }
    #jobApplyModal .modal-header{
        padding: 10px 35px;
    }

    #jobApplyForm .mb-5 {
        margin-bottom: 20px !important;
    }

    #jobApplyModal .form-control {
        font-size: 14px;
    }

    .resume-upload-box p {
        font-size: 12px;
    }

    .resume-upload-box {
        padding: 30px 15px;
    }

    #jobApplyModal .modal-dialog {
        width: 540px;
    }
    #jobApplyForm .form-check label, #jobApplyModal .modal-footer small{
        font-size: 12px;
    }
    #jobApplyModal .modal-header .modal-title{
        font-size: 20px;
    }

    #jobApplyForm .btn:disabled,
    #jobApplyForm button:not(:disabled) {
        font-size: 16px;
        line-height: 38px;
    }

}

@media (max-width: 767px) {
    #jobApplyForm {
        padding: 0;
        padding-bottom: 20px;
    }

    #jobApplyForm .mb-5 {
        margin-bottom: 1.2rem !important;
    }

    #jobApplyForm .row.mb-5 {
        margin-bottom: 0 !important;
    }

    #jobApplyForm .row.mb-5 .col-md-6 {
        margin-bottom: 1.2rem !important;
    }


}

@media (max-width: 575px) {


    #jobApplyModal .modal-header {
        padding: 1rem;
    }

    #jobApplyModal .modal-dialog {
        width: auto;
    }

    #jobApplyModal .modal-content {
        height: auto;
    }

    #jobApplyModal .form-control {
        font-size: 14px;
        color: #363636;
    }

    #jobApplyModal .modal-header .modal-title {
        font-weight: 600;
        margin-top: 0;
    }

    .resume-upload-box p {
        font-size: 12px;
        font-weight: 500;
    }

    #jobApplyForm .form-check.mb-3 p {
        display: none;
    }

    #jobApplyForm .form-check label {
        font-size: 12px;
    }

    #jobApplyForm .btn:disabled {
        font-size: 16px;
        line-height: 38px;
    }

    #jobApplyForm button:not(:disabled) {
        line-height: 38px;
    }

    #jobApplyModal .modal-footer small {
        text-align: center;
    }

}