/* ===============================
   📄 career-form.css
   تصميم استمارة التوظيف - RTL
   =============================== */

:root {
    --primary-color: #000000;
    --secondary-color: #FAFAFA;
    --text-color: #666666;
    --accent-color: #222222;
    --accent-secondary-color: #ad2025;
    --white-color: #FFFFFF;
    --divider-color: #6666661A;
    --dark-divider-color: #FFFFFF1A;
    --error-color: rgb(230, 87, 87);
    --default-font: "Cairo", sans-serif;
}



#signup_page {
    font-family: "Cairo", sans-serif;
    direction: rtl;
    color: #fff;
    line-height: 1.7;
    /* overflow-x: hidden; */
    min-height: 100vh;
    background-color: #4f4f4f;
    /* background-image: url('https://img.freepik.com/free-photo/shanghai-aerial-sunset_649448-3733.jpg?t=st=1761809752~exp=1761813352~hmac=b515e0f4e8b9f36a520b895ae33ea88d05aae8f3d44784279a6c3df2bb83c827&w=1480'); */
    background-size: cover;
    background-position: center;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* black overlay with 50% opacity */
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
}

/* .container {
    padding: 50px 20px;
} */

h3.textin,
h4 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* استايل العناوين */
h4 {
    font-size: 22px;
    color: #ffc107;
}

h3.textin {
    font-size: 26px;
    color: #fff;
}

/* ====== الفورم ====== */
form#mc-form {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.input-group .row {
    row-gap: 15px;
}

.form-control-light {
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control-light:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: none;
    /* box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25); */
}

/* ====== Select2 ====== */
.select2-container {
    width: 100% !important;
}

.select2-selection--single {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    padding-right: 10px !important;
    color: #fff !important;
}

.select2-selection__rendered {
    color: #fff !important;
    font-size: 14px !important;
}

.select2-selection__arrow b {
    border-color: #ffc107 transparent transparent transparent !important;
}

.select2-dropdown {
    background-color: #1b2d4a !important;
    border: 1px solid #444 !important;
    color: #fff !important;
}

.select2-results__option {
    padding: 8px 12px !important;
    font-size: 14px;
}

.select2-results__option--highlighted {
    background-color: #ffc107 !important;
    color: #000 !important;
}

/* ====== زر الإرسال ====== */
.btn.btn-color {
    background-color: var(--accent-secondary-color);
    color: var(--white-color);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* .btn.btn-color:hover {
    background-color: var(--error-color);
} */

/* ====== رفع السيرة الذاتية ====== */
.fileupload {
    position: relative;
    background-color: rgba(255, 112, 112, 0.12);
    border: 1px dashed #ccc;
    border-radius: 8px;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fileupload:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.fileupload input[type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

#cvName {
    margin: 0;
    font-size: 14px;
    color: #ccc;
}

/* ====== حقل الهاتف مع العلم ====== */
#phone {
    padding-left: 100px !important;
}

/* ====== textarea ====== */
textarea.form-control-light {
    resize: none;
    min-height: 100px;
}

/* ====== السناب شات ====== */
.snap_folw {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.snap_folw a {
    color: #fffc00;
    font-weight: 600;
    text-decoration: none;
}

.snap_folw i {
    margin-left: 8px;
    font-size: 22px;
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
    form#mc-form {
        padding: 20px;
    }

    .form-control-light,
    .select2-selection--single {
        font-size: 13px;
    }

    .btn.btn-color {
        width: 100%;
    }
}

.iti__flag-container {
    position: absolute !important;
    top: 20px !important;
    z-index: 9999 !important;
}

.iti__country-list {
    direction: rtl !important;
    text-align: right !important;
    color: black !important;
}