:root {
    --bgPattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='%236c757d' fill-opacity='0.025'%3E%3Cpolygon fill-rule='evenodd' points='8 4 12 6 8 8 6 12 4 8 0 6 4 4 6 0 8 4'/%3E%3C/g%3E%3C/svg%3E");

    --bg: #f5f7fa;
    --text: #1e1e1e;
    --textSecond: #5C6670;
    --muted: #7c6f66;
    --border: #e7e5e7;

    --primary: #4361EE ;
    --primary-hover: #a6641d;

    --accent: #1f4fff ;
    --accentHover: #3A0CA3;

    --card-bg: #1e1e1e;
    --cart-bg2: #f0f2f5;
    --input-bg: #fffaf5;

    --badge: #f6e2ed;

    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadowHover: 0 4px 50px rgba(0, 0, 0, 0.3);



    --fontMain: 'Inter';
    --fontLogo: 'Sora';

}



.jobSection {
    width: 1000px;
    height: max-content;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 120px;
}


.jobSectionInner {
    display: block;
    margin-left: auto;
    margin-right: auto;
}



.jobCardFirst {
    width: 1000px;
    min-height: 230px;
    height: max-content;
    border-radius: 20px 20px 0 0;
    background-color: var(--bg);
    border: 1px var(--border) solid;
    border-bottom: 0;

    display: flex;
    justify-content: space-between;
    padding: 25px;
    padding-bottom: 0px;
}

.jobNameSection {
    display: block;
    margin-right: auto;
}


.jobTitle {
    color: var(--text);
    font-family: var(--fontLogo);
    font-size: 1.5rem;
    font-weight: 700;
}

.jobBadge {
    padding: 3px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: var(--badge);
    border-radius: 5px;
    color: var(--muted);
    font-family: var(--fontLogo);
    font-weight: 600;
    font-size: .9rem;
    margin-right: 5px;
}


.jobLocation {
    display: block;
    color: var(--textSecond);
    font-family: var(--fontLogo);
    font-weight: 500;
    margin-top: 10px;
}

.employer {
    width: 400px;
    height: 80px;
    margin-top: 30px;
}


.employerInner {
    display: flex;
    justify-content: left;
}



.employerLogo {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    border: 1px var(--border) solid;
}

.employerInfo {
    list-style: none;
    padding: 0;
    margin-left: 10px;
}


.employerName {
    color: var(--text);
    font-family: var(--fontLogo);
    font-weight: 600;
    font-size: .9rem;
}


.employerDes {
    color: var(--textSecond);
    font-family: var(--fontLogo);
    font-weight: 600;
    font-size: .7rem;
}



.jobButtons {
    list-style: none;
    padding: 0;
}


.applyButton {
    width: 250px;
    background-color: var(--textSecond);
    border: 2px var(--textSecond) solid;
    color: var(--bg);
    font-family: var(--fontLogo);
    font-weight: 500;
    border-radius: 8px;
}

.applyButton:hover {
    background-color: var(--accentHover);
    color: var(--bg);
    border: 2px var(--accentHover) solid;
    font-family: var(--fontLogo);
}

.applyButton:active {
    background-color: var(--accentHover) !important;
    color: var(--bg) !important;
    border: 2px var(--accentHover) solid !important;
    font-family: var(--fontLogo) !important;
}




.applyButtonDone {
    width: 250px;
    background-color: var(--accentHover);
    border: 2px var(--accentHover) solid;
    color: var(--bg);
    font-family: var(--fontLogo);
    font-weight: 500;
    border-radius: 8px;
}


.applyButtonDone:disabled {
    cursor: pointer;
    width: 250px;
    background-color: var(--accentHover);
    border: 2px var(--accentHover) solid;
    color: var(--bg);
    font-family: var(--fontLogo);
    opacity: 1;
}




.saveButton {
    width: 250px;
    background-color: var(--bg);
    border: 2px var(--textSecond) solid;
    color: var(--textSecond);
    font-family: var(--fontLogo);
    margin-top: 10px;
    font-weight: 500;
    border-radius: 8px;
}


.saveButton:hover {
    background-color: var(--bg);
    border: 2px var(--accentHover) solid;
    color: var(--accentHover);
    font-family: var(--fontLogo);
}


.jobCardSecond {
    width: 1000px;
    min-height: 400px;
    height: max-content;
    border-radius: 0 0 20px 20px;
    background-color: var(--cart-bg2);
    border: 1px var(--border) solid;
    padding: 25px;
    padding-bottom: 0px;
}


.jobDes {
    display: flex;
    justify-content: space-between;
}


.jobDesUL {
    width: 400px;
    padding: 0;
    list-style: none;
}


.jobDesLi {
    margin-bottom: 20px;
}



.jobItemTitle {
    color: var(--bg);
    font-family: var(--fontLogo);
    color: var(--text);
    font-weight: 600;
    font-size: 1.2rem;
}


.jobItemDes {
    color: var(--bg);
    font-family: var(--fontLogo);
    color: var(--textSecond);
    font-weight: 400;
}


.jobSkills {
    line-height: 1.8;
}

.jobSkill {
    padding: 3px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: var(--badge);
    border-radius: 3px;
    color: var(--muted);
    font-family: var(--fontLogo);
    font-weight: 600;
    font-size: .9rem;
}







.jobCardDes {
    width: 1000px;
    min-height: 500px;
    height: max-content;
    background-color: var(--bg);
    border: 2px var(--border) solid;
    border-radius: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    padding: 25px;
}


.jobDesTitle {
    color: var(--text);
    font-family: var(--fontLogo);
    font-weight: 700;
    font-size: 2rem;
}


.jobDesText {
    color: var(--text);
    font-family: var(--fontMain);
    font-weight: 500;
    font-size: .9rem;
    line-height: 1.8;

}





.similarJobsSection {
    width: 1000px;
    min-height: 500px;
    height: max-content;
    background-color: var(--bg);
    border: 2px var(--border) solid;
    border-radius: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    padding: 25px;
    padding-bottom: 10px;
}


.similarJobsTitle {
    color: var(--text);
    font-family: var(--fontLogo);
    font-weight: 700;
    font-size: 2rem;
}




.similarJobs {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}


.similarJob {
    width: 950px;
    height: 90px;
    border: 2px var(--border) solid;
    border-radius: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 8px;
    transition: all ease-in-out 0.3s;
}


.similarJob:hover {
    box-shadow: var(--shadow);
}



.similarJobInner {
    display: flex;
    justify-content: space-between;
}



.similarJobTitle {
    color: var(--text);
    font-family: var(--fontLogo);
    font-weight: 600;
    font-size: 1.3rem;
}



.similarJobP1 {
    line-height: 1.7;
}

.similarJobP2 {
    margin-top: 15px;
}



.similarJobApply {
    width: 200px;
    background-color: var(--textSecond);
    color: var(--bg);
    font-family: var(--fontLogo);
}


.similarJobApply:hover {
    background-color: var(--accentHover);
    color: var(--bg);
}





















.apply-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998; /* stay on top */
    transition: all ease-in-out 0.3s;
}


.applySection {
    width: 500px;
    height: max-content;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg);
    border: 2px var(--border) solid;
    border-radius: 25px;
    padding: 15px 20px;
    transition: all ease-in-out 0.3s;
}


.applySectionTitle {
    font-family: var(--fontLogo);
    color: var(--text);
    font-weight: 700;
    font-size: 1.5rem;
}


.applyContactSection {
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.applyContactInputDiv {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}


.applyContactInputDiv label {
    font-family: var(--fontLogo);
    color: var(--text);
    font-weight: 500;
    margin-left: 2px;
}


.applyContactInput {
    width: 100%;
    height: 40px;
    border-radius: 10px;
    border: 2px var(--border) solid;
    background-color: white;
    outline: none;
    padding: 0px 10px;
    font-family: var(--fontLogo);
    font-weight: 400;
}

.iti {
    width: 100% !important;
}
.iti__selected-flag {
    border-radius: 10px 0 0 10px !important;
}
.iti__country-list {
    width: 456px;
    border-radius: 10px !important;
}
.iti__country {
    font-family: var(--fontMain);
}
.iti__country.iti__highlight {
    background-color: var(--cart-bg2);
}

.applyContactPhonePrefix {
    position: absolute;
    padding: 8px 10px;
    font-family: var(--fontLogo);
    color: var(--textSecond);
    font-weight: 500;
}



.applyResumeSection {
    margin-top: 30px;
}


.applyResumeBox {
    width: 100%;
    height: 100px;
    border: 2px var(--border) solid;
    border-radius: 10px;
}


.applyResumeBoxInner {
    display: flex;
    justify-content: left;
    margin-top: 23px;
    padding: 0px 10px;
}


.applyResumeIcon {
    width: 50px;
    height: auto;
}


.applyResumeText {
    display: grid;
    margin-left: 10px;
    padding-top: 5px;
}


.applyResumeTitle {
    font-family: var(--fontLogo);
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
}


.applyResumeDes {
    cursor: pointer;
    font-family: var(--fontLogo);
    color: var(--textSecond);
    font-weight: 500;
    font-size: .8rem;
}



.applyButtonSection {
    margin-top: 30px;
    width: 100%;
    display: flex;
    justify-content: right;
    direction: rtl;
    border-radius: 8px;
}


.cancelApplyButton {
    width: 100px;
    background-color: var(--bg);
    border: 2px var(--primary-hover) solid;
    color: var(--primary-hover);
    font-family: var(--fontLogo);
    font-weight: 500;
    margin-right: 10px;
    transition: all ease-in-out 0.2s;
    border-radius: 8px;
}

.cancelApplyButton:hover {
    background-color: var(--bg) !important;
    color: var(--primary-hover) !important;
    border: 2px var(--primary-hover) solid !important;
}

.cancelApplyButton:active {
    background-color: var(--bg) !important;
    color: var(--primary-hover) !important;
    border: 2px var(--primary-hover) solid !important;
}



.applyApplyButton {
    width: 200px;
    background-color: var(--textSecond);
    border: 2px var(--textSecond) solid;
    color: var(--bg);
    font-family: var(--fontLogo);
    font-weight: 500;
    transition: all ease-in-out 0.2s;
    border-radius: 8px;
}

.applyApplyButton:hover {
    background-color: var(--accentHover) !important;
    color: var(--bg) !important;
    border: 2px var(--accentHover) solid !important;
}

.applyApplyButton:active {
    background-color: var(--accentHover) !important;
    color: var(--bg) !important;
    border: 2px var(--accentHover) solid !important;
}










.applyDone-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998; /* stay on top */
}




.applyDoneMain {
    display: block;
    margin-top: 50px;
    margin-bottom: 50px;
}

.applyDoneImage {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.applyDoneText {
    text-align: center;
}


.applyDoneText {
    font-family: var(--fontLogo);
    color: var(--text);
    font-weight: 700;
    font-size: 1.2rem;
}



.applyApplyDoneButton {
    width: 200px;
    background-color: var(--accentHover);
    border: 2px var(--accentHover) solid;
    color: var(--bg);
    font-family: var(--fontLogo);
    font-weight: 500;
    margin-right: 10px;
    transition: all ease-in-out 0.2s;
    border-radius: 8px;
}

.applyApplyDoneButton:hover {
    background-color: var(--accentHover) !important;
    color: var(--bg) !important;
    border: 2px var(--accentHover) solid !important;
}

.applyApplyDoneButton:active {
    background-color: var(--accentHover) !important;
    color: var(--bg) !important;
    border: 2px var(--accentHover) solid !important;
}



.cancelApplyDoneButton {
    width: 100px;
    background-color: var(--bg);
    border: 2px var(--accentHover) solid;
    color: var(--accentHover);
    font-family: var(--fontLogo);
    font-weight: 500;
    margin-right: 10px;
    transition: all ease-in-out 0.2s;
    border-radius: 8px;
}

.cancelApplyDoneButton:hover {
    background-color: var(--bg) !important;
    color: var(--accentHover) !important;
    border: 2px var(--accentHover) solid !important;
}

.cancelApplyDoneButton:active {
    background-color: var(--bg) !important;
    color: var(--accentHover) !important;
    border: 2px var(--accentHover) solid !important;
}