/*  كان @import من fonts.googleapis.com */
@import url('../assets/vendor/fonts/ibm-plex-sans-arabic.css');

:root {
    --e-primary: #1d3461;
    --e-dark: #14213d;
    --e-gold: var(--kt-gold, #f77f00);
    --e-light: #f3f5f9;
}
/*

 GLOBAL / LAYOUT
 ========================================================== */

* , *::before, *::after {
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}
html {
    height: 100%;
    scroll-behavior: smooth;
    font-size: 125%;
}

body {
    font-family: 'Tajawal', sans-serif !important;
    color: #333;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

.lp-main {
    flex: 1 0 auto;
}

.lp-footer {
    flex-shrink: 0;
}
/*

 NAVBAR
 ========================================================== */

.lp-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1050;
    padding: 0.85rem 0;
    background: transparent;
    transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
    background: rgba(13, 57, 83, 0.96) !important;
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}

    .lp-nav.scrolled {
        background: rgba(13,57,83,0.96) !important;
        backdrop-filter: blur(10px);
        padding: 0.5rem 0;
        box-shadow: 0 2px 16px rgba(0,0,0,0.12);
    }

.lp-nav-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lp-nav .lp-logo img {
    height: 46px;
    transition: height 0.3s;
}

.lp-nav.scrolled .lp-logo img {
    height: 36px;
}

.lp-nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .lp-nav-links a {
        color: rgba(255,255,255,0.85);
        text-decoration: none !important;
        font-weight: 500;
        font-size: 0.92rem;
        transition: color 0.2s;
    }

        .lp-nav-links a:hover {
            color: #fff;
        }

.lp-nav-btn {
    padding: 0.5rem 1.3rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.25s;
    white-space: nowrap;
}

.lp-nav-btn-gold {
    background: var(--e-gold);
    color: #fff !important;
}

    .lp-nav-btn-gold:hover {
        background: #d96f00;
        color: #fff !important;
    }

.lp-nav-btn-outline {
    background: transparent;
    color: #fff !important;
    border: 1.5px solid rgba(255,255,255,0.3);
}

    .lp-nav-btn-outline:hover {
        border-color: #fff;
        color: #fff !important;
        background: rgba(255,255,255,0.06);
    }

.lp-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .lp-mobile-toggle {
        display: block;
    }

    .lp-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: rgba(13,57,83,0.98);
        flex-direction: column;
        padding: 1rem 2rem 1.2rem;
        gap: 0.8rem;
        border-top: 1px solid rgba(255,255,255,0.06);
    }

        .lp-nav-links.show {
            display: flex !important;
        }
}
/*

 LANDING PAGE — HERO
 ========================================================== */

.lp-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(155deg, #14213d 0%, #0f1a31 35%, #14213d 65%, #1d3461 100%);
}

    .lp-hero::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: radial-gradient(ellipse 60% 50% at 60% 30%, rgba(29, 52, 97,0.25) 0%, transparent 55%), radial-gradient(ellipse 35% 50% at 10% 70%, rgba(247, 127, 0,0.06) 0%, transparent 45%);
        pointer-events: none;
    }

    .lp-hero::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        opacity: 0.02;
        background-image: linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
        background-size: 55px 55px;
        pointer-events: none;
    }

.lp-hero-wrap {
    position: relative;
    z-index: 2;
    max-width: 1500px;
    margin: 0 auto;
    padding: 7rem 2rem 5rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.lp-hero-text {
    color: #fff;
}

.lp-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(247, 127, 0,0.12);
    border: 1px solid rgba(247, 127, 0,0.22);
    color: var(--e-gold);
    padding: 0.3rem 0.9rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
}

.lp-hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 1.1rem 0;
    color: #fff;
}

    .lp-hero-title em {
        font-style: normal;
        color: var(--e-gold);
    }

.lp-hero-sub {
    font-size: 1.04rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.65);
    margin: 0 0 2rem 0;
    max-width: 480px;
}

.lp-hero-btns {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.6rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
}

.lp-btn-gold {
    background: var(--e-gold);
    color: #fff !important;
}

    .lp-btn-gold:hover {
        background: #d96f00;
        color: #fff !important;
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(247, 127, 0,0.3);
    }

.lp-btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.9) !important;
    border: 1.5px solid rgba(255,255,255,0.2);
}

    .lp-btn-ghost:hover {
        border-color: rgba(255,255,255,0.5);
        background: rgba(255,255,255,0.05);
        color: #fff !important;
    }

/* ===== Mini Dashboard Card ===== */

.lp-dash {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 1.4rem;
}

.lp-dash-top {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-bottom: 0.9rem;
    margin-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.lp-dash-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.lp-dash-lbl {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.28);
    margin-right: auto;
}

.lp-dash-nums {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.lp-dash-num {
    background: rgba(255,255,255,0.035);
    border-radius: 8px;
    padding: 0.75rem 0.5rem;
    text-align: center;
}

    .lp-dash-num b {
        display: block;
        font-size: 1.35rem;
        font-weight: 800;
        color: var(--e-gold);
    }

    .lp-dash-num span {
        font-size: 0.68rem;
        color: rgba(255,255,255,0.35);
    }

.lp-dash-bars {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lp-dash-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.lp-dash-bar-lbl {
    font-size: 0.67rem;
    color: rgba(255,255,255,0.3);
    width: 48px;
    text-align: right;
    flex-shrink: 0;
}

.lp-dash-bar-track {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.04);
    border-radius: 2px;
    overflow: hidden;
}

.lp-dash-bar-fill {
    height: 100%;
    border-radius: 2px;
    display: block;
}
/*

 LANDING PAGE — NUMBERS STRIP
 ========================================================== */

.lp-nums {
    background: #fff;
    border-bottom: 1px solid #ebeef0;
}

.lp-nums-grid {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.lp-nums-cell {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

    .lp-nums-cell + .lp-nums-cell::before {
        content: '';
        position: absolute;
        right: 0;
        top: 28%;
        height: 44%;
        width: 1px;
        background: #e8ebee;
    }

.lp-nums-val {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--e-primary);
    display: block;
}

.lp-nums-txt {
    font-size: 0.82rem;
    color: #8e9aab;
    font-weight: 500;
}
/*

 LANDING PAGE — SECTION SHARED
 ========================================================== */

.lp-sec-wrap {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
}

.lp-sec-head {
    text-align: center;
    margin-bottom: 2.8rem;
}

.lp-sec-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--e-light);
    color: var(--e-primary);
    padding: 0.28rem 0.85rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.lp-sec-head h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--e-dark);
    margin: 0 0 0.6rem 0;
}

.lp-sec-head p {
    font-size: 0.98rem;
    color: #7d8a9a;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.8;
}
/*

 LANDING PAGE — ABOUT
 ========================================================== */

.lp-about {
    padding: 4.5rem 0;
    background: #f8fafb;
}

.lp-about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.lp-about-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.8rem 1.5rem;
    border: 1px solid #e8ecef;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
}

    .lp-about-card:hover {
        box-shadow: 0 10px 32px rgba(29, 52, 97,0.08);
        transform: translateY(-3px);
    }

.lp-about-ico {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
}

    .lp-about-ico.ic-t {
        background: rgba(29, 52, 97,0.07);
        color: var(--e-primary);
    }

    .lp-about-ico.ic-g {
        background: rgba(247, 127, 0,0.07);
        color: var(--e-gold);
    }

    .lp-about-ico.ic-d {
        background: rgba(13,57,83,0.07);
        color: var(--e-dark);
    }

.lp-about-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--e-dark);
    margin: 0 0 0.45rem 0;
}

.lp-about-card p {
    font-size: 0.84rem;
    color: #7d8a9a;
    line-height: 1.7;
    margin: 0;
}
/*

 LANDING PAGE — FEATURES
 ========================================================== */

.lp-features {
    padding: 4.5rem 0;
    background: #fff;
}

.lp-feat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 920px;
    margin: 0 auto;
}

.lp-feat-card {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    background: #f8fafb;
    border-radius: 10px;
    padding: 1.1rem 1.15rem;
    border: 1px solid #eef1f3;
    transition: border-color 0.25s;
}

    .lp-feat-card:hover {
        border-color: var(--e-primary);
    }

.lp-feat-ico {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    background: var(--e-light);
    color: var(--e-primary);
}

.lp-feat-card h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--e-dark);
    margin: 0 0 0.15rem 0;
}

.lp-feat-card p {
    font-size: 0.78rem;
    color: #8e9aab;
    line-height: 1.55;
    margin: 0;
}
/*

 LANDING PAGE — CTA
 ========================================================== */

.lp-cta {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, var(--e-dark), #0f1a31, var(--e-primary));
    text-align: center;
}

    .lp-cta h2 {
        font-size: 1.75rem;
        font-weight: 800;
        color: #fff;
        margin: 0 0 0.6rem 0;
    }

    .lp-cta p {
        font-size: 0.95rem;
        color: rgba(255,255,255,0.6);
        margin: 0 0 1.6rem 0;
    }
/*

 LANDING PAGE — RESPONSIVE
 ========================================================== */

@media (max-width: 992px) {
    .lp-hero-wrap {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 6rem 2rem 3.5rem;
    }

    .lp-hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .lp-hero-btns {
        justify-content: center;
    }

    .lp-dash {
        max-width: 380px;
        margin: 0 auto;
    }

    .lp-hero-title {
        font-size: 2.2rem;
    }

    .lp-about-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

    .lp-nums-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-feat-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .lp-hero-title {
        font-size: 1.7rem;
    }

    .lp-hero-wrap {
        padding: 5rem 1.2rem 2.5rem;
    }

    .lp-dash {
        display: none;
    }

    .lp-nums-val {
        font-size: 1.5rem;
    }

    .lp-sec-head h2 {
        font-size: 1.5rem;
    }
}
/*

 APPLY PAGE
 ========================================================== */

.apply-section {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    background: linear-gradient(180deg, #f5f7fb 0%, #fff 100%);
    direction: rtl;
    text-align: right;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

    .form-header h1 {
        font-size: 2rem;
        font-weight: 800;
        color: var(--e-dark);
        margin-bottom: 0.5rem;
    }

    .form-header p {
        color: #6c757d;
        font-size: 1rem;
    }

.form-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    direction: rtl;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
}

    .step.active {
        background: var(--e-primary);
        color: #fff;
    }

    .step.completed {
        background: #f3f5f9;
        color: #2ecc71;
    }

    .step.inactive {
        background: #f5f5f5;
        color: #aaa;
    }

.step-line {
    width: 40px;
    height: 2px;
    background: #ddd;
}

#step1, #step2 {
    display: none;
}

    #step1.active, #step2.active {
        display: block;
        animation: fadeIn 0.4s ease;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.verify-box {
    text-align: center;
    padding: 2rem;
}

.verify-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(29, 52, 97,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--e-primary);
}

.verify-box h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--e-dark);
    margin-bottom: 0.5rem;
}

.verify-box p {
    color: #888;
    margin-bottom: 1.5rem;
}

.email-input-group {
    display: flex;
    gap: 0.75rem;
    max-width: 500px;
    margin: 0 auto;
    direction: rtl;
}

    .email-input-group input {
        flex: 1;
        padding: 0.75rem 1rem;
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        font-size: 1rem;
        direction: ltr;
        text-align: left;
        font-family: 'Tajawal', sans-serif;
        transition: border-color 0.3s;
    }

        .email-input-group input:focus {
            outline: none;
            border-color: var(--e-primary);
        }

.btn-verify {
    padding: 0.75rem 1.5rem;
    background: var(--e-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    font-family: 'Tajawal', sans-serif;
}

    .btn-verify:hover {
        background: #14213d;
    }

    .btn-verify:disabled {
        background: #aaa;
        cursor: not-allowed;
    }

.verify-error, .verify-success {
    max-width: 500px;
    margin: 1rem auto 0;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    display: none;
    text-align: center;
}

.verify-error {
    background: #fff5f5;
    color: #e74c3c;
    border: 1px solid #fdd;
}

.verify-success {
    background: #f3f5f9;
    color: #27ae60;
    border: 1px solid #c3e6cb;
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--e-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--e-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    direction: rtl;
    text-align: right;
}

.form-group {
    margin-bottom: 1.25rem;
    text-align: right;
    direction: rtl;
}

    .form-group label {
        display: block;
        font-weight: 600;
        font-size: 0.9rem;
        color: #333;
        margin-bottom: 0.4rem;
        text-align: right;
    }

        .form-group label .required {
            color: #e74c3c;
        }

.form-control-custom {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Tajawal', sans-serif;
    transition: border-color 0.3s;
    background: #fff;
    direction: rtl;
    text-align: right;
}

    .form-control-custom:focus {
        outline: none;
        border-color: var(--e-primary);
        box-shadow: 0 0 0 3px rgba(29, 52, 97,0.1);
    }

    .form-control-custom:read-only {
        background: #f8f9fa;
        color: #666;
        cursor: not-allowed;
    }

    .form-control-custom.is-invalid {
        border-color: #e74c3c;
    }

    .form-control-custom.ltr-field {
        direction: ltr;
        text-align: left;
    }

select.form-control-custom {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
    background-size: 16px 12px;
    padding-left: 2.5rem;
}

.invalid-feedback-custom {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    text-align: right;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
    direction: rtl;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    direction: rtl;
}

    .radio-item input[type="radio"] {
        accent-color: var(--e-primary);
        width: 18px;
        height: 18px;
    }

.file-upload-area {
    border: 2px dashed #d0d0d0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

    .file-upload-area:hover {
        border-color: var(--e-primary);
        background: #f5f7fb;
    }

    .file-upload-area input {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer;
    }

    .file-upload-area i {
        font-size: 1.5rem;
        color: #aaa;
        display: block;
        margin-bottom: 0.5rem;
    }

    .file-upload-area span {
        font-size: 0.85rem;
        color: #888;
    }

.file-name {
    font-size: 0.8rem;
    color: var(--e-primary);
    margin-top: 0.3rem;
    font-weight: 600;
}

.btn-submit {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, #f77f00, #d96f00);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
    transition: all 0.3s;
    margin-top: 1rem;
    position: relative;
}

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(247, 127, 0,0.35);
    }

.row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    direction: rtl;
}

.toast-msg {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    direction: rtl;
    text-align: right;
}

.toast-success {
    background: #f3f5f9;
    color: #27ae60;
    border: 1px solid #c3e6cb;
}

.toast-error {
    background: #fff5f5;
    color: #e74c3c;
    border: 1px solid #fdd;
}

@media (max-width: 768px) {
    .row-2col {
        grid-template-columns: 1fr;
    }

    .email-input-group {
        flex-direction: column;
    }

    .form-card {
        padding: 1.5rem;
    }
}
/*

 PROFILE PAGE
 ========================================================== */

.profile-section {
    padding: 7rem 0 4rem;
    min-height: calc(100vh - 120px);
    background: linear-gradient(180deg, #f5f7fb 0%, #fff 100%);
    direction: rtl;
    text-align: right;
}

.profile-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

    .profile-header h1 {
        font-size: 2rem;
        font-weight: 800;
        color: var(--e-dark);
    }

.status-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    margin-bottom: 2rem;
}

.status-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

    .status-banner.pending {
        background: linear-gradient(135deg, #fff8dd, #fff3cd);
    }

    .status-banner.under-review {
        background: linear-gradient(135deg, #eef1f7, #d1ecf1);
    }

    .status-banner.approved {
        background: linear-gradient(135deg, #f3f5f9, #c3e6cb);
    }

    .status-banner.rejected {
        background: linear-gradient(135deg, #fff5f5, #f5c6cb);
    }

.status-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

    .status-icon.pending {
        background: #ffc700;
        color: #fff;
    }

    .status-icon.under-review {
        background: #17a2b8;
        color: #fff;
    }

    .status-icon.approved {
        background: #28a745;
        color: #fff;
    }

    .status-icon.rejected {
        background: #dc3545;
        color: #fff;
    }

.status-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--e-dark);
    margin-bottom: 0.25rem;
}

.status-text p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.info-item {
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

    .info-item label {
        font-size: 0.75rem;
        font-weight: 600;
        color: #888;
        display: block;
        margin-bottom: 0.2rem;
    }

    .info-item span {
        font-size: 0.95rem;
        color: #333;
        font-weight: 500;
    }

.comments-section {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}

.comments-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--e-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

    .comment-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.comment-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.avatar-admin {
    background: var(--e-primary);
    color: #fff;
}

.avatar-user {
    background: var(--e-gold);
    color: #fff;
}

.comment-body {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.comment-author {
    font-weight: 700;
    font-size: 0.9rem;
    color: #333;
}

.comment-badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.badge-admin {
    background: var(--e-light);
    color: var(--e-primary);
}

.badge-user {
    background: #fff8e1;
    color: var(--e-gold);
}

.comment-date {
    font-size: 0.75rem;
    color: #aaa;
}

.comment-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.comment-attachment {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--e-primary);
    text-decoration: none;
    margin-top: 0.3rem;
    font-weight: 600;
}

    .comment-attachment:hover {
        text-decoration: underline;
    }

/* ===== Comment Form (Profile + AdminDetails) ===== */

.comment-form,
.add-comment-form {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
}

    .comment-form textarea,
    .add-comment-form textarea {
        width: 100%;
        padding: 0.85rem 1rem;
        border: 2px solid #e8e8e8;
        border-radius: 10px;
        font-size: 0.9rem;
        font-family: 'Tajawal', sans-serif;
        resize: vertical;
        min-height: 90px;
        direction: rtl;
        text-align: right;
        transition: border-color 0.3s;
        background: #fff;
        color: #333;
        line-height: 1.7;
    }

        .comment-form textarea:focus,
        .add-comment-form textarea:focus {
            outline: none;
            border-color: var(--e-primary);
            box-shadow: 0 0 0 3px rgba(29, 52, 97,0.08);
        }

        .comment-form textarea::placeholder,
        .add-comment-form textarea::placeholder {
            color: #b0b0b0;
        }

.comment-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.btn-comment {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.5rem;
    background: var(--e-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
    transition: all 0.3s;
}

    .btn-comment:hover {
        background: #14213d;
    }

    .btn-comment:disabled {
        background: #aaa;
        cursor: not-allowed;
    }

.attach-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    background: #f5f7fb;
    border: 1.5px solid #d5dcea;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--e-primary);
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Tajawal', sans-serif;
}

    .attach-btn:hover {
        background: #e3e8f1;
        border-color: var(--e-primary);
    }

    .attach-btn input[type="file"] {
        display: none;
    }

.attach-name {
    font-size: 0.78rem;
    color: var(--e-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

    .attach-name .remove-attach {
        color: #e74c3c;
        cursor: pointer;
        font-size: 0.9rem;
        font-weight: 700;
    }

/* ===== Loading Spinner ===== */

.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

    .btn-loading .btn-text {
        visibility: hidden;
    }

    .btn-loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 18px;
        height: 18px;
        margin: -9px 0 0 -9px;
        border: 2.5px solid rgba(255,255,255,0.3);
        border-top-color: #fff;
        border-radius: 50%;
        animation: btnSpin 0.6s linear infinite;
    }

@keyframes btnSpin {
    to {
        transform: rotate(360deg);
    }
}

.no-app-card {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid #eee;
}

.no-app-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(29, 52, 97,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 2rem;
    color: var(--e-primary);
}

.no-app-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--e-dark);
    margin-bottom: 0.5rem;
}

.no-app-card p {
    color: #888;
    margin-bottom: 1.5rem;
}

.btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.8rem;
    background: var(--e-gold);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Tajawal', sans-serif;
}

    .btn-apply:hover {
        background: #d96f00;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(247, 127, 0,0.3);
    }

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .status-banner {
        flex-direction: column;
        text-align: center;
    }
}
/*
 PROFESSIONAL APPLY PAGE - MODERN UI/UX
 ========================================================== */

/* Design System Variables */
:root {
    --primary-600: #1d3461;
    --primary-700: #14213d;
    --primary-50: #f3f5f9;
    --primary-100: #d5dcea;

    --secondary-600: var(--kt-gold, #f77f00);
    --secondary-700: #d96f00;

    --accent-600: #6366f1;
    --accent-700: #4f46e5;

    --success-600: #10b981;
    --success-700: #059669;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --spacing-xs: 0.375rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 0.75rem;
    --spacing-lg: 1rem;
    --spacing-xl: 1.25rem;
    --spacing-2xl: 1.5rem;
    --spacing-3xl: 2rem;
}

/* Base Styles */
.apply-section-pro {
    min-height: 100vh;
    padding: 5rem var(--spacing-md);
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--primary-50) 100%);
}

.apply-container-pro {
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
.apply-header-pro {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    animation: fadeInDown 0.6s ease-out;
}

.apply-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.apply-icon-wrap i {
    font-size: 2rem;
    color: white;
}

.apply-header-pro h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.5px;
}

.apply-header-pro p {
    font-size: 0.95rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Alerts */
.alert-pro {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
    animation: slideInRight 0.4s ease-out;
}

.alert-error {
    background: #fef2f2;
    border: 2px solid #fecaca;
    color: #991b1b;
}

.alert-pro i {
    font-size: 1.3rem;
}

/* Progress Steps */
.progress-steps-pro {
    margin-bottom: var(--spacing-2xl);
    animation: fadeIn 0.6s ease-out 0.2s both;
}

.progress-bar-bg {
    height: 5px;
    background: var(--gray-200);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-600), var(--primary-700));
    border-radius: 999px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.steps-wrapper {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.step-pro {
    flex: 1;
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-pro.active {
    border-color: var(--primary-600);
    background: linear-gradient(135deg, rgba(29, 52, 97, 0.05), rgba(29, 52, 97, 0.02));
    box-shadow: var(--shadow-md);
}

.step-pro.completed {
    border-color: var(--success-600);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.02));
}

.step-number {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    background: var(--gray-200);
    color: var(--gray-600);
    transition: all 0.3s;
}

.step-pro.active .step-number {
    background: var(--primary-600);
    color: white;
}

.step-pro.completed .step-number {
    background: var(--success-600);
    color: white;
}

.step-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.step-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--gray-900);
}

.step-desc {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Step Content */
.step-content-pro {
    display: none;
}

.step-content-pro.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

/* Terms Card */
.terms-card-pro {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.terms-header-pro {
    padding: var(--spacing-xs);
    text-align: center;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
}

.terms-header-pro i {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

.terms-header-pro h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
}

.terms-header-pro p {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.terms-body-pro {
    padding: var(--spacing-xl);
    max-height: 380px;
    overflow-y: auto;
}

.terms-body-pro::-webkit-scrollbar {
    width: 8px;
}

.terms-body-pro::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 999px;
}

.terms-body-pro::-webkit-scrollbar-thumb {
    background: var(--primary-600);
    border-radius: 999px;
}

.terms-section-pro {
    margin-bottom: var(--spacing-lg);
}

.terms-section-pro:last-child {
    margin-bottom: 0;
}

.terms-section-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.terms-section-header i {
    font-size: 1.3rem;
    color: var(--primary-600);
}

.terms-section-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
}

.terms-list-pro {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-list-pro li {
    position: relative;
    padding: var(--spacing-xs) 0 var(--spacing-xs) var(--spacing-xl);
    color: var(--gray-700);
    font-size: 0.9rem;
    line-height: 1.5;
}

.terms-list-pro li::before {
    content: '✓';
    position: absolute;
    right: 0;
    top: var(--spacing-xs);
    color: var(--success-600);
    font-weight: 800;
    font-size: 1rem;
}

.terms-footer-pro {
    padding: var(--spacing-xl);
    background: var(--gray-50);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    border-top: 1px solid var(--gray-200);
}

/* Checkbox */
.checkbox-pro {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    user-select: none;
}

.checkbox-pro input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background: white;
}

.checkbox-pro input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-600);
    border-color: var(--primary-600);
}

.checkbox-pro input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
}

.checkbox-text {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.9rem;
}

/* Buttons */
.btn-pro {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Tajawal', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-pro:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary-pro {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary-pro:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-success-pro {
    background: linear-gradient(135deg, var(--success-600), var(--success-700));
    color: white;
    box-shadow: var(--shadow-md);
    min-width: 180px;
}

.btn-success-pro:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-pro {
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.btn-outline-pro:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

/* Form Cards */
.form-card-pro {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}

.form-card-pro:hover {
    box-shadow: var(--shadow-xl);
}

.card-header-pro {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--gray-50), var(--primary-50));
    border-bottom: 1px solid var(--gray-200);
}

.card-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.card-icon-secondary {
    background: linear-gradient(135deg, var(--secondary-600), var(--secondary-700));
}

.card-icon-accent {
    background: linear-gradient(135deg, var(--accent-600), var(--accent-700));
}

.card-icon i {
    font-size: 1.2rem;
    color: white;
}

.card-title-wrap h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.15rem;
}

.card-title-wrap p {
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
}

.card-body-pro {
    padding: var(--spacing-lg);
}

/* Form Fields */
.form-row-pro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-field-pro {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-field-full {
    grid-column: 1 / -1;
}

.label-pro {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 700;
    color: var(--gray-800);
    font-size: 0.85rem;
}

.label-pro i {
    color: var(--primary-600);
    font-size: 1rem;
}

.required-badge {
    display: inline-flex;
    padding: 0.1rem 0.4rem;
    background: #fef2f2;
    color: #dc2626;
    font-size: 0.65rem;
    border-radius: 999px;
    font-weight: 700;
    margin-right: var(--spacing-xs);
}

.input-pro {
    padding: 0.75rem 0.875rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-family: 'Tajawal', sans-serif;
    transition: all 0.2s;
    background: white;
}

.input-pro:focus {
    outline: none;
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(29, 52, 97, 0.1);
}

.input-pro:read-only {
    background: var(--gray-50);
    color: var(--gray-600);
    cursor: not-allowed;
}

.ltr-input {
    direction: ltr;
    text-align: left;
}

.select-pro {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230f7179' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 16px;
    padding-left: 40px;
}

.error-message {
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Radio Group */
.radio-group-pro {
    display: flex;
    gap: var(--spacing-md);
}

.radio-pro {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    transition: all 0.2s;
    background: white;
}

.radio-pro:hover {
    border-color: var(--primary-600);
    background: var(--primary-50);
}

.radio-pro input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--gray-400);
    border-radius: 50%;
    transition: all 0.2s;
    position: relative;
}

.radio-pro input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-600);
}

.radio-pro input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary-600);
    border-radius: 50%;
}

.radio-text {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.9rem;
}

/* Upload Area */
.upload-area-pro {
    position: relative;
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s;
    background: var(--gray-50);
    cursor: pointer;
}

.upload-area-pro:hover {
    border-color: var(--primary-600);
    background: var(--primary-50);
}

.upload-area-pro.has-file {
    border-color: var(--success-600);
    background: rgba(16, 185, 129, 0.05);
}

.upload-area-pro input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.upload-placeholder i {
    font-size: 2rem;
    color: var(--primary-600);
    margin-bottom: 0;
}

.upload-text {
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 600;
}

.upload-text strong {
    color: var(--primary-600);
}

.upload-hint {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.upload-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.upload-preview i {
    font-size: 1.75rem;
    color: var(--success-600);
}

.file-name-display {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.85rem;
}

.btn-remove-file {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #fef2f2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-remove-file:hover {
    background: #dc2626;
    color: white;
}

/* Submit Section */
.submit-section-pro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.btn-loader {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .apply-section-pro {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .apply-header-pro h1 {
        font-size: 1.5rem;
    }

    .apply-header-pro p {
        font-size: 0.9rem;
    }

    .steps-wrapper {
        flex-direction: column;
    }

    .step-pro {
        padding: var(--spacing-md);
    }

    .step-title {
        font-size: 0.85rem;
    }

    .step-desc {
        font-size: 0.75rem;
    }

    .terms-header-pro {
        padding: var(--spacing-xl);
    }

    .terms-header-pro h2 {
        font-size: 1.4rem;
    }

    .terms-body-pro {
        padding: var(--spacing-lg);
        max-height: 300px;
    }

    .card-header-pro {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-lg);
    }

    .card-title-wrap h3 {
        font-size: 1.1rem;
    }

    .card-body-pro {
        padding: var(--spacing-lg);
    }

    .form-row-pro {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .label-pro {
        font-size: 0.85rem;
    }

    .input-pro {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .radio-group-pro {
        flex-direction: column;
    }

    .upload-area-pro {
        padding: var(--spacing-lg);
    }

    .upload-placeholder i {
        font-size: 2rem;
    }

    .submit-section-pro {
        flex-direction: column-reverse;
        padding: var(--spacing-lg);
    }

    .btn-pro {
        width: 100%;
        justify-content: center;
    }
}
/*
 PROFESSIONAL PROFILE PAGE
 ========================================================== */

.profile-section-pro {
    min-height: 100vh;
    padding: 5rem var(--spacing-md) var(--spacing-md);
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--primary-50) 100%);
}

.profile-container-pro {
    max-width: 1400px;
    margin: 0rem auto;
}

/* Header */
.profile-header-pro {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    animation: fadeInDown 0.6s ease-out;
}

.profile-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    border-radius: 50%;
    display: none !important;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.profile-icon-wrap i {
    font-size: 2rem;
    color: white;
}

.profile-header-pro h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.profile-header-pro p {
    font-size: 0.95rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Alert Success */
.alert-success {
    background: #f0fdf4;
    border: 2px solid #86efac;
    color: #166534;
}

.alert-info {
    background: #eff6ff;
    border: 2px solid #93c5fd;
    color: #1e40af;
}

/* No Application Card */
.no-app-card-pro {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-3xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.no-app-icon-pro {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-app-icon-pro i {
    font-size: 2.5rem;
    color: var(--gray-500);
}

.no-app-card-pro h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
}

.no-app-card-pro p {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
}

/* Two Column Layout */
.profile-layout-pro {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: var(--spacing-lg);
    align-items: start;
}

.profile-col-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.profile-col-left {
    position: sticky;
    top: var(--spacing-lg);
}

/* Status Card */
.status-card-pro {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.status-header-pro {
    padding: var(--spacing-lg);
    color: white;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.status-icon-pro {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon-pro i {
    font-size: 1.5rem;
}

.status-info-pro h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
}

.status-info-pro p {
    font-size: 0.85rem;
    opacity: 0.95;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.status-info-pro p i {
    font-size: 0.9rem;
}

/* Info Cards */
.info-card-pro {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}

.info-card-pro:hover {
    box-shadow: var(--shadow-lg);
}

.info-card-header {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--gray-50), var(--primary-50));
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.info-card-header i {
    font-size: 1.3rem;
    color: var(--primary-600);
}

.info-card-header h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--gray-900);
}

.info-grid-pro {
    padding: var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.info-item-pro {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.info-item-full {
    grid-column: 1 / -1;
}

.info-item-pro label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item-pro label i {
    font-size: 0.9rem;
}

.info-item-pro span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-900);
}

.ltr-text {
    direction: ltr;
    text-align: left;
}

.link-pro {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    word-break: break-all;
}

.link-pro:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

/* Attachments Grid */
.attachments-grid-pro {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.attachment-item-pro {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-200);
    transition: all 0.3s;
}

.attachment-item-pro:hover {
    border-color: var(--primary-600);
    background: var(--primary-50);
}

.attachment-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.attachment-icon.cv {
    background: linear-gradient(135deg, #dc2626, #991b1b);
}

.attachment-icon.photo {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.attachment-icon i {
    font-size: 1.5rem;
    color: white;
}

.attachment-info {
    flex: 1;
}

.attachment-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.15rem;
}

.attachment-info p {
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 500;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    background: var(--primary-600);
    color: white;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.btn-download:hover {
    background: var(--primary-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Comments Card */
.comments-card-pro {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 200px);
}

.comments-header-pro {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.comments-header-pro i {
    font-size: 1.3rem;
}

.comments-header-pro h3 {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 800;
}

.comments-count {
    background: rgba(255,255,255,0.3);
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Comments List */
.comments-list-pro {
    flex: 1;
    padding: var(--spacing-lg);
    overflow-y: auto;
    max-height: 500px;
}

.comments-list-pro::-webkit-scrollbar {
    width: 6px;
}

.comments-list-pro::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 999px;
}

.comments-list-pro::-webkit-scrollbar-thumb {
    background: var(--primary-600);
    border-radius: 999px;
}

.comment-item-pro {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.3s ease-out;
}

.comment-item-pro:last-child {
    margin-bottom: 0;
}

.comment-avatar-pro {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.comment-admin .comment-avatar-pro {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
}

.comment-user .comment-avatar-pro {
    background: linear-gradient(135deg, var(--gray-300), var(--gray-400));
    color: var(--gray-700);
}

.comment-content-pro {
    flex: 1;
    background: var(--gray-50);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
}

.comment-admin .comment-content-pro {
    background: linear-gradient(135deg, rgba(29, 52, 97,0.08), rgba(29, 52, 97,0.04));
    border: 1px solid rgba(29, 52, 97,0.15);
}

.comment-header-pro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xs);
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.comment-author-pro {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.comment-author-pro strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-900);
}

.comment-role {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-weight: 700;
}

.role-admin {
    background: var(--primary-600);
    color: white;
}

.role-user {
    background: var(--gray-300);
    color: var(--gray-700);
}

.comment-time-pro {
    font-size: 0.75rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.comment-text-pro {
    font-size: 0.9rem;
    color: var(--gray-800);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.comment-attachment-pro {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.375rem 0.75rem;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    color: var(--primary-600);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
}

.comment-attachment-pro:hover {
    background: var(--primary-600);
    color: white;
    border-color: var(--primary-600);
}

/* No Comments */
.no-comments-pro {
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-lg);
    color: var(--gray-400);
}

.no-comments-pro i {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.no-comments-pro p {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Add Comment Form */
.add-comment-pro {
    padding: var(--spacing-lg);
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.comment-input-pro textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: 'Tajawal', sans-serif;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 80px;
    transition: all 0.2s;
}

.comment-input-pro textarea:focus {
    outline: none;
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(29, 52, 97, 0.1);
}

.comment-actions-pro {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
    flex-wrap: wrap;
}

.attach-label-pro {
    cursor: pointer;
}

.attach-display-pro {
    display: none;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-md);
    color: var(--primary-700);
    font-size: 0.85rem;
    font-weight: 600;
}

.attach-display-pro i {
    font-size: 1rem;
}

.btn-remove-attach {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: var(--primary-600);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    margin-right: var(--spacing-xs);
}

.btn-remove-attach:hover {
    background: var(--primary-700);
}

/* Comment Closed */
.comment-closed-pro {
    padding: var(--spacing-xl);
    text-align: center;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    color: var(--gray-500);
}

.comment-closed-pro i {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.comment-closed-pro p {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1200px) {
    .profile-layout-pro {
        grid-template-columns: 1fr;
    }

    .profile-col-left {
        position: static;
    }

    .comments-card-pro {
        max-height: 600px;
    }
}

@media (max-width: 768px) {
    .profile-container-pro {
        padding: var(--spacing-md);
    }

    .profile-header-pro h1 {
        font-size: 1.4rem;
    }

    .info-grid-pro {
        grid-template-columns: 1fr;
    }

    .attachment-item-pro {
        flex-direction: column;
        text-align: center;
    }

    .comment-actions-pro {
        flex-direction: column;
    }

    .comment-actions-pro .btn-pro {
        width: 100%;
    }
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1566px;
    }
}
