/* Style the modal overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-overlay.vacancy-respond {
    display: none;
    padding: 30px 80px;
}

.modal-overlay.overage {
    display: none;
    padding: 30px 80px;
}

.modal-overlay.contact {
    display: none;
    padding: 30px 80px;
}

/* Style the modal window */
.modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.modal.vacancy-respond {
    max-width: 938px;
    width: fit-content;
}

.modal.overage {
    width: 400px;
    height: fit-content;
}

.modal-content.vacancy-respond {
    padding: 0 60px;
}

/* Style the modal header */
.modal-header {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-bottom: 10px;
}

/* Style the modal close button */
.modal-close {
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
}

.modal-image {
    text-align: center;
    margin-bottom: 40px;
}

.modal-image img {
    margin-bottom: 42px;
}

.modal-color-title {
    font-weight: 800;
    font-size: 13px;
    line-height: 120%;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FB8644;
    margin-bottom: 16px;
}

.modal-title {
    font-weight: 700;
    font-size: 28px;
    line-height: 135%;
    margin-bottom: 16px;
}

.model-text {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    text-align: center;
    color: #5B6182;
}

.model-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-bottom: 64px;
}

.modal-form {
    margin-top: 40px;
    width: 776px;
}

.modal-label {
    font-size: 13px;
    color: #C0C3CA;
    /*margin-bottom: 14px;*/
}

.modal-phone-email {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.cv-upload {
    width: 776px;
    height: 89px;
    background: #F7F8FF;
    border: 2px dashed #CACFE0;
    border-radius: 12px;
    margin-bottom: 46px;
    padding: 24px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.cv-uplod-left-side {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#resume-upload {
    display: none;
}

#file-chosen{
    display: none;
    margin-top: 0.3rem;
    color: red;
}

.modal-image-name {
    display: flex;
}

.modal-image-name img {
    margin-right: 18px;
}

.modal-name-profile {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cv-uplod-left-side p {
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: #404250;
}

.cv-uplod-left-side a {
    font-size: 12px;
    font-weight: 600;
    line-height: 140%;
    color: #2D52D3;
}

