/* Candidate portal v2 — isolated from the legacy CRM theme. */
body.guest-body:has(.candidate-portal-shell),
body.guest-body:has(.candidate-auth-shell),
body.guest-body:has(.candidate-auth-page){
    --cp-brand:#c70e25;
    --cp-brand-dark:#970817;
    --cp-brand-soft:#fff0f2;
    --cp-ink:#16171c;
    --cp-muted:#6e7079;
    --cp-line:#e8e9ed;
    --cp-canvas:#f4f5f7;
    --cp-surface:#fff;
    --cp-success:#15845d;
    --cp-warning:#a46808;
    min-height:100vh;
    margin:0;
    background:linear-gradient(180deg,#f8f8f9 0,#f2f3f5 100%);
    color:var(--cp-ink);
    font-family:"Tajawal",Tahoma,Arial,sans-serif;
    overflow-x:hidden;
}
body.guest-body:has(.candidate-portal-shell) button,
body.guest-body:has(.candidate-portal-shell) input,
body.guest-body:has(.candidate-portal-shell) select,
body.guest-body:has(.candidate-portal-shell) textarea,
body.guest-body:has(.candidate-auth-shell) button,
body.guest-body:has(.candidate-auth-shell) input{font-family:inherit}

/* Shared top bar */
.candidate-portal-shell{width:min(1320px,100%);max-width:none;margin:0 auto;padding:22px 28px 64px}
.candidate-portal-shell .portal-header{display:grid;grid-template-columns:minmax(240px,1fr) auto minmax(240px,1fr);align-items:center;gap:22px;margin:0 0 24px;padding:13px 16px;border:1px solid var(--cp-line);border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 12px 32px rgba(30,31,36,.06);position:relative;z-index:12}
.candidate-portal-shell .portal-auth-brand{display:flex;align-items:center;gap:12px;min-width:0;color:var(--cp-ink);text-decoration:none}
.candidate-portal-shell .portal-auth-brand>div{display:grid;min-width:0}
.candidate-portal-shell .portal-auth-brand strong{font-size:16px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.candidate-portal-shell .portal-auth-brand small{font-size:12px;color:var(--cp-muted)}
.candidate-portal-shell .portal-brand-logo{width:112px;height:49px;flex:0 0 auto;padding:3px 6px;border:0;border-radius:9px;background:#fff;object-fit:contain}
.candidate-portal-nav{display:flex;align-items:center;gap:6px;padding:5px;border:1px solid var(--cp-line);border-radius:12px;background:#f5f5f7}
.candidate-portal-nav a{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:9px;color:#595b63!important;font-size:13px;font-weight:800;text-decoration:none;white-space:nowrap}
.candidate-portal-nav a.is-active,.candidate-portal-nav a:hover{background:#fff;color:var(--cp-brand)!important;box-shadow:0 4px 12px rgba(35,35,40,.08)}
.candidate-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px}
.candidate-notification-badge{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:10px;background:var(--cp-brand-soft);color:var(--cp-brand);font-size:13px;font-weight:800;white-space:nowrap}
.candidate-header-actions form{margin:0}.candidate-header-actions button,.candidate-back-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 12px;border:1px solid var(--cp-line);border-radius:10px;background:#fff;color:#33343a!important;font-size:13px;font-weight:800;text-decoration:none;white-space:nowrap}

/* Dashboard */
.portal-success,.candidate-latest-alert{display:flex;align-items:center;gap:14px;margin:0 0 14px;padding:16px 18px;border:1px solid #f0d7db;border-right:4px solid var(--cp-brand);border-radius:14px;background:#fff;box-shadow:0 7px 20px rgba(30,31,36,.035)}
.portal-success{border-color:#cce9db;border-right-color:var(--cp-success);background:#f4fcf8;color:#126b4b}
.portal-success>div,.candidate-latest-alert>div{display:grid;flex:1;gap:3px;min-width:0}.portal-success i,.candidate-latest-alert>i{font-size:22px;color:var(--cp-brand)}.portal-success i{color:var(--cp-success)}
.candidate-latest-alert span{color:var(--cp-muted);line-height:1.6}.candidate-latest-alert>a{padding:9px 13px;border-radius:9px;background:var(--cp-brand);color:#fff!important;font-weight:800;text-align:center;white-space:nowrap}
.candidate-profile-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:220px;padding:38px 42px;border:0;border-radius:26px;background:radial-gradient(circle at 12% 10%,rgba(230,23,50,.44),transparent 30%),linear-gradient(135deg,#18191e 0%,#2b2c33 65%,#3a2227 100%);color:#fff;box-shadow:0 20px 50px rgba(24,25,30,.18);overflow:hidden;position:relative}
.candidate-profile-hero:after{content:"";position:absolute;left:-45px;bottom:-90px;width:250px;height:250px;border:42px solid rgba(255,255,255,.035);border-radius:50%}
.candidate-profile-hero>div{position:relative;z-index:1}.candidate-profile-hero p{margin:0 0 8px;color:#ff9eaa;font-weight:800}.candidate-profile-hero h1{margin:0 0 8px;font-size:clamp(28px,4vw,44px);line-height:1.25;font-weight:800}.candidate-profile-hero>div>span{color:#e7e7ea}
.candidate-hero-actions{display:flex;align-items:flex-end!important;flex-direction:column;gap:12px}.candidate-review-status{display:inline-flex;padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.13);font-weight:800;white-space:nowrap}.candidate-hero-actions>a{display:inline-flex;align-items:center;gap:8px;padding:11px 15px;border-radius:11px;background:#fff;color:#202126!important;font-weight:800;text-decoration:none}
.candidate-progress,.candidate-profile-card{margin-top:16px;padding:23px;border:1px solid var(--cp-line);border-radius:18px;background:var(--cp-surface);box-shadow:0 9px 26px rgba(30,31,36,.045)}
.candidate-progress>div{display:flex;justify-content:space-between;gap:12px}.candidate-progress>div span{font-weight:700}.candidate-progress>div strong{color:var(--cp-brand);font-size:19px}.candidate-progress progress,.candidate-procedure-progress progress{width:100%;height:10px;margin-top:10px;border:0;border-radius:999px;accent-color:var(--cp-brand);overflow:hidden}.candidate-progress progress::-webkit-progress-bar,.candidate-procedure-progress progress::-webkit-progress-bar{background:#ececef}.candidate-progress progress::-webkit-progress-value,.candidate-procedure-progress progress::-webkit-progress-value{background:linear-gradient(90deg,var(--cp-brand-dark),#e3263f);border-radius:999px}.candidate-progress p{margin:8px 0 0;color:var(--cp-muted)}.candidate-progress>a{display:inline-flex;align-items:center;gap:8px;margin-top:12px;color:var(--cp-brand)!important;font-weight:800}
.candidate-portal-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:16px}.candidate-portal-grid article{display:grid;grid-template-columns:auto 1fr;gap:2px 12px;align-items:center;min-height:105px;padding:18px;border:1px solid var(--cp-line);border-radius:16px;background:#fff;box-shadow:0 7px 20px rgba(30,31,36,.035)}.candidate-portal-grid i{grid-row:1/3;display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--cp-brand-soft);color:var(--cp-brand);font-size:20px}.candidate-portal-grid span{color:var(--cp-muted);font-size:13px}.candidate-portal-grid strong{font-size:18px}
.candidate-profile-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:1px solid #f0f0f2}.candidate-profile-card h2{margin:0 0 4px;font-size:21px;font-weight:800}.candidate-profile-card header p{margin:0;color:var(--cp-muted);line-height:1.6}.candidate-profile-card header>span{display:inline-flex;padding:7px 11px;border-radius:999px;background:var(--cp-brand-soft);color:var(--cp-brand);font-size:13px;font-weight:800;white-space:nowrap}.candidate-profile-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 0}.candidate-profile-card dl div{padding:14px;border:1px solid #eff0f2;border-radius:12px;background:#fafafb}.candidate-profile-card dt{color:var(--cp-muted);font-size:13px}.candidate-profile-card dd{margin:4px 0 0;font-weight:800;overflow-wrap:anywhere}
.candidate-card-empty{display:flex;align-items:center;justify-content:center;gap:10px;min-height:105px;color:var(--cp-muted)}.candidate-card-empty i{font-size:25px;color:#b7b8be}.candidate-interview-list,.candidate-notification-list{display:grid;gap:10px;margin-top:16px}.candidate-interview-list>article{display:grid;grid-template-columns:minmax(200px,.85fr) 1.35fr auto;align-items:center;gap:16px;padding:15px;border:1px solid var(--cp-line);border-radius:13px;background:#fcfcfd}.candidate-interview-list>article>div{display:grid;gap:3px}.candidate-interview-list small,.candidate-notification-list small{color:var(--cp-muted)}.candidate-interview-list a{padding:9px 12px;border-radius:9px;background:var(--cp-brand);color:#fff!important;font-weight:800;white-space:nowrap}.candidate-notification-list>article{display:flex;gap:12px;padding:14px;border:1px solid var(--cp-line);border-radius:12px;background:#fff}.candidate-notification-list>article.is-unread{border-right:4px solid var(--cp-brand);background:#fffafb}.candidate-notification-list>article>i{font-size:20px;color:var(--cp-brand)}.candidate-notification-list p{margin:3px 0;color:var(--cp-muted);line-height:1.65}.candidate-notification-list a{display:inline-flex;margin-top:5px;color:var(--cp-brand)!important;font-weight:800}
.candidate-procedure-progress{margin-top:17px}.candidate-procedure-progress p{color:#4f5057}.candidate-procedure-progress a,.primary-action,.secondary-action{display:inline-flex;align-items:center;gap:7px;margin-top:8px;padding:10px 13px;border-radius:9px;background:var(--cp-brand-soft);color:var(--cp-brand)!important;font-weight:800}.candidate-offer-card .offer-allowances{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.candidate-offer-card .offer-allowances span{padding:7px 10px;border-radius:9px;background:#f5f5f7}.candidate-offer-card form{display:grid;gap:10px;margin-top:16px}.candidate-offer-card form label{display:grid;gap:7px;font-weight:700}.candidate-offer-card textarea{width:100%;padding:11px;border:1px solid var(--cp-line);border-radius:10px}.candidate-offer-card form>div{display:flex;gap:9px}.candidate-offer-card form button{padding:10px 16px;border:0;border-radius:9px;background:var(--cp-brand);color:#fff;font-weight:800}.candidate-offer-card form button[value="rejected"]{background:#34353b}
.review-approved{background:#daf4e7!important;color:#126b4b!important}.review-rejected{background:#fde7e9!important;color:#9c2431!important}.review-needs_completion,.review-pending_review{background:#fff0d8!important;color:#8a5c0c!important}

/* Login and password screens */
.candidate-auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);background:#f5f5f7}
.candidate-auth-intro{display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;padding:52px clamp(34px,7vw,105px);background:radial-gradient(circle at 15% 15%,rgba(229,28,52,.42),transparent 29%),linear-gradient(145deg,#15161a,#2e2f36);color:#fff;position:relative;overflow:hidden}.candidate-auth-intro:after{content:"";position:absolute;left:-90px;bottom:-130px;width:380px;height:380px;border:62px solid rgba(255,255,255,.035);border-radius:50%}.candidate-auth-intro .portal-auth-brand{display:flex;align-items:center;gap:13px;color:#fff;text-decoration:none;position:relative;z-index:1}.candidate-auth-intro .portal-auth-brand>div{display:grid}.candidate-auth-intro .portal-auth-brand strong{font-size:17px}.candidate-auth-intro .portal-auth-brand small{color:#d9d9dd}.candidate-auth-intro .portal-brand-logo{width:132px;height:57px;padding:4px 7px;border-radius:10px;background:#fff;object-fit:contain}.candidate-auth-intro>div:last-child{max-width:600px;position:relative;z-index:1}.candidate-auth-intro p,.candidate-auth-card>div>p{margin:0 0 9px;color:#f26e7d;font-weight:800}.candidate-auth-intro h1{margin:0 0 15px;font-size:clamp(38px,5vw,65px);line-height:1.2;font-weight:800}.candidate-auth-intro span{color:#e3e3e6;font-size:18px;line-height:1.7}
.candidate-auth-card{align-self:center;width:min(470px,calc(100% - 44px));margin:32px auto;padding:34px;border:1px solid var(--cp-line);border-radius:22px;background:#fff;box-shadow:0 24px 70px rgba(28,29,34,.1)}.candidate-auth-card h2{margin:0 0 22px;font-size:28px;font-weight:800}.candidate-auth-card form{display:grid;gap:17px}.candidate-auth-card label{display:grid;gap:7px;color:#35363c;font-weight:700}.candidate-auth-card input{width:100%;height:48px;padding:0 12px;border:1px solid #dcdde1;border-radius:10px;background:#fff;outline:0}.candidate-auth-card input:focus{border-color:var(--cp-brand);box-shadow:0 0 0 3px rgba(199,14,37,.1)}.candidate-auth-card button{height:49px;border:0;border-radius:10px;background:linear-gradient(135deg,var(--cp-brand),var(--cp-brand-dark));color:#fff;font-weight:800}.candidate-auth-card .phone-row{display:grid!important;grid-template-columns:105px minmax(0,1fr);gap:10px}.candidate-auth-card footer{display:flex;flex-wrap:wrap;gap:8px 13px;margin-top:21px;padding-top:18px;border-top:1px solid #efeff1}.candidate-auth-card footer a{color:var(--cp-brand)!important;font-weight:800}.portal-alert{padding:12px 14px;border:1px solid #f0c7cc;border-radius:10px;background:#fff1f3;color:#9f2030;margin-bottom:14px}.candidate-auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 20%,rgba(199,14,37,.1),transparent 28%),#f3f4f6}.candidate-auth-page .candidate-auth-card{align-self:auto}

/* Candidate profile editor */
.profile-page-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:32px 36px;border-radius:23px;background:radial-gradient(circle at 12% 12%,rgba(225,24,43,.36),transparent 34%),linear-gradient(135deg,#18191e,#33343b);color:#fff;box-shadow:0 17px 40px rgba(24,25,30,.13)}.profile-page-heading p{margin:0 0 4px;color:#ff9aa6;font-weight:800}.profile-page-heading h1{margin:0 0 6px;font-size:clamp(27px,4vw,40px);font-weight:800}.profile-page-heading>div:first-child>span{color:#e5e5e8}.profile-score{width:108px;height:108px;flex:0 0 auto;border:7px solid rgba(255,255,255,.16);border-radius:50%;display:grid;place-content:center;text-align:center;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 4px var(--cp-brand)}.profile-score strong{font-size:25px}.profile-score span{font-size:11px}.profile-section-nav{display:flex;gap:7px;overflow-x:auto;position:sticky;top:0;z-index:10;margin-top:10px;padding:11px 4px;background:rgba(244,245,247,.94);backdrop-filter:blur(10px);scrollbar-width:thin}.profile-section-nav a{flex:0 0 auto;padding:8px 13px;border:1px solid var(--cp-line);border-radius:999px;background:#fff;color:#4d4e55!important;font-size:13px;font-weight:800;text-decoration:none}.profile-section-nav a:hover{border-color:#e6b8be;color:var(--cp-brand)!important}
.profile-completion-card{margin-top:15px;padding:24px;border:1px solid var(--cp-line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(30,31,36,.04);scroll-margin-top:75px}.profile-completion-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:20px;padding-bottom:15px;border-bottom:1px solid #f0f0f2}.profile-completion-card>header>div{display:flex;align-items:center;gap:12px}.profile-completion-card>header>div>span{display:grid;place-items:center;width:38px;height:38px;flex:0 0 auto;border-radius:11px;background:var(--cp-brand-soft);color:var(--cp-brand);font-weight:800}.profile-completion-card h2{margin:0;font-size:19px;font-weight:800}.profile-completion-card header p{margin:3px 0 0;color:var(--cp-muted)}.profile-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.profile-fields label{display:grid;align-content:start;gap:7px;min-width:0;color:#3c3d43;font-size:13px;font-weight:700}.profile-fields input,.profile-fields select,.compact-profile-form input,.compact-profile-form select{width:100%;height:44px;padding:0 11px;border:1px solid #dddde1;border-radius:9px;background:#fff;outline:0}.profile-fields input:focus,.profile-fields select:focus,.compact-profile-form input:focus,.compact-profile-form select:focus{border-color:var(--cp-brand);box-shadow:0 0 0 3px rgba(199,14,37,.08)}.profile-fields>button,.compact-profile-form button{align-self:end;min-height:44px;padding:0 18px;border:0;border-radius:9px;background:var(--cp-brand);color:#fff;font-weight:800}.profile-fields>button:disabled,.compact-profile-form button:disabled{opacity:.55}.profile-fields .wide{grid-column:span 2}.profile-fields .inline-check{display:flex;align-items:center;gap:8px;height:44px;align-self:end}.profile-fields .inline-check input{width:18px;height:18px}.profile-items{display:grid;gap:9px;margin-bottom:16px}.profile-items article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid #efeff1;border-radius:11px;background:#fafafb}.profile-items h3,.document-list h3{margin:0;font-size:15px;font-weight:800}.profile-items p,.document-list p{margin:3px 0 0;color:var(--cp-muted)}.profile-items button,.document-list button{border:0;background:transparent;color:#a42a38}.split-profile{display:grid;grid-template-columns:1fr 1fr;gap:17px}.split-profile>div{padding:17px;border:1px solid #efeff1;border-radius:13px;background:#fafafb}.split-profile h3{font-size:16px;font-weight:800}.profile-tags{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.profile-tags>span{padding:7px 10px;border-radius:999px;background:var(--cp-brand-soft);color:#8f1422;font-weight:700}.profile-tags button{border:0;background:transparent;color:#8f1422}.compact-profile-form{display:flex;flex-wrap:wrap;gap:8px}.compact-profile-form input,.compact-profile-form select{flex:1;min-width:100px}.document-list{display:grid;gap:9px;margin-bottom:17px}.document-list article{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:12px;padding:12px;border:1px solid var(--cp-line);border-radius:12px}.document-list>article>i{font-size:22px;color:var(--cp-brand)}.document-status{padding:5px 9px;border-radius:999px;background:#fff0d6;color:#8a5c0c;font-size:12px}.profile-message{position:sticky;top:70px;z-index:15;padding:13px 16px;border-radius:10px;margin:12px 0;font-weight:700}.profile-message.success{background:#dff4e7;color:#17683a}.profile-message.error{background:#fde8e8;color:#9e3333}

@media(max-width:1050px){
    .candidate-portal-shell .portal-header{grid-template-columns:1fr auto}.candidate-portal-nav{grid-row:2;grid-column:1/-1;justify-self:center}.candidate-portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.candidate-profile-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:780px){
    .candidate-portal-shell{padding:13px 13px 45px}.candidate-portal-shell .portal-header{grid-template-columns:1fr;gap:12px;padding:12px}.candidate-portal-nav{grid-row:auto;grid-column:auto;width:100%;justify-content:center}.candidate-header-actions{justify-content:stretch}.candidate-header-actions>*{flex:1}.candidate-header-actions form,.candidate-header-actions button{width:100%}.candidate-back-link{width:100%}.candidate-profile-hero{align-items:flex-start;flex-direction:column;min-height:auto;padding:27px 22px}.candidate-hero-actions{align-items:flex-start!important;width:100%}.candidate-hero-actions>a{width:100%;justify-content:center}.candidate-interview-list>article{grid-template-columns:1fr}.candidate-auth-shell{grid-template-columns:1fr}.candidate-auth-intro{min-height:260px;padding:28px}.candidate-auth-intro h1{font-size:35px}.candidate-auth-card{margin:28px auto}.profile-page-heading{padding:26px 22px}.profile-fields{grid-template-columns:1fr}.profile-fields .wide{grid-column:auto}.split-profile{grid-template-columns:1fr}
}
@media(max-width:560px){
    html{font-size:14px}.candidate-portal-shell .portal-brand-logo{width:90px;height:42px}.candidate-portal-nav a{flex:1;justify-content:center;padding:9px 7px}.candidate-latest-alert,.portal-success{align-items:flex-start;flex-wrap:wrap}.candidate-latest-alert>a{width:100%}.candidate-portal-grid,.candidate-profile-card dl{grid-template-columns:1fr}.candidate-progress,.candidate-profile-card,.profile-completion-card{padding:17px 14px}.candidate-profile-card>header,.profile-completion-card>header{align-items:flex-start;flex-direction:column}.candidate-profile-card header>span{white-space:normal}.candidate-notification-list>article{padding:12px}.candidate-auth-intro{min-height:230px}.candidate-auth-intro .portal-auth-brand strong{font-size:14px}.candidate-auth-intro .portal-brand-logo{width:100px}.candidate-auth-intro>div:last-child{margin-top:40px}.candidate-auth-intro span{font-size:15px}.candidate-auth-card{width:calc(100% - 26px);padding:23px 18px;border-radius:17px}.candidate-auth-card .phone-row{grid-template-columns:90px minmax(0,1fr)}.profile-page-heading{align-items:flex-start;flex-direction:column}.profile-score{width:88px;height:88px}.document-list article{grid-template-columns:auto minmax(0,1fr) auto}.document-status{grid-column:2}.document-list article>a,.document-list article>button{grid-row:1}.candidate-offer-card form>div{display:grid}.candidate-offer-card form button{width:100%}
}
@media(max-width:390px){.candidate-header-actions{display:grid;grid-template-columns:1fr}.candidate-portal-nav a{font-size:12px}.candidate-profile-hero h1{font-size:26px}.candidate-auth-card .phone-row{grid-template-columns:1fr}.candidate-portal-grid article{min-height:92px}}

/* Arabic RTL flow — keep visual hierarchy anchored from the right. */
html[dir="rtl"] body.guest-body:has(.candidate-portal-shell),
html[dir="rtl"] body.guest-body:has(.candidate-auth-shell),
html[dir="rtl"] body.guest-body:has(.candidate-auth-page){direction:rtl;text-align:right}
html[dir="rtl"] .candidate-portal-shell,
html[dir="rtl"] .candidate-portal-shell .portal-header,
html[dir="rtl"] .candidate-profile-hero,
html[dir="rtl"] .candidate-profile-card,
html[dir="rtl"] .candidate-progress,
html[dir="rtl"] .profile-completion-card,
html[dir="rtl"] .profile-page-heading{direction:rtl;text-align:right}
html[dir="rtl"] .candidate-header-actions{justify-content:flex-start}
html[dir="rtl"] .candidate-hero-actions{margin-inline-start:auto;align-items:flex-start!important}
html[dir="rtl"] .candidate-profile-card dt,
html[dir="rtl"] .candidate-profile-card dd,
html[dir="rtl"] .candidate-portal-grid article,
html[dir="rtl"] .candidate-interview-list article,
html[dir="rtl"] .candidate-notification-list article{text-align:right}
html[dir="rtl"] input,html[dir="rtl"] select,html[dir="rtl"] textarea{text-align:right}
@media(min-width:1051px){
    html[dir="rtl"] .candidate-portal-shell .portal-header>.portal-auth-brand{grid-column:3;grid-row:1;justify-self:start}
    html[dir="rtl"] .candidate-portal-shell .portal-header>.candidate-portal-nav{grid-column:2;grid-row:1}
    html[dir="rtl"] .candidate-portal-shell .portal-header>.candidate-header-actions,
    html[dir="rtl"] .candidate-portal-shell .portal-header>.candidate-back-link{grid-column:1;grid-row:1;justify-self:end}
}
@media(min-width:781px) and (max-width:1050px){
    html[dir="rtl"] .candidate-portal-shell .portal-header>.portal-auth-brand{grid-column:2;grid-row:1}
    html[dir="rtl"] .candidate-portal-shell .portal-header>.candidate-header-actions,
    html[dir="rtl"] .candidate-portal-shell .portal-header>.candidate-back-link{grid-column:1;grid-row:1;justify-self:end}
    html[dir="rtl"] .candidate-portal-shell .portal-header>.candidate-portal-nav{grid-column:1/-1;grid-row:2}
}
