﻿/* site.css — condensed: only styles used by current Razor views/layout
   Keeps header, language switch, notice, steps, card, forms, captcha and footer.
*/

/* Font stacks
   - --font-sans : primary UI font for English / Latin
   - --font-ar   : optimized Arabic UI font stack
   Add webfont imports in layout/head if you host fonts via Google/your CDN.
*/

@import url('cairo.css');

:root {
    --font-sans: 'Cairo', "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui;
    --font-ar: "Cairo", "Noto Naskh Arabic", "Noto Sans Arabic", "Segoe UI", "Tahoma", Arial, system-ui;
    --font-primary: 'Cairo', sans-serif;
    --brand-navy: #08263f;
    --brand-navy-dark: #041a2b;
    --brand-burgundy: #8a1538;
    --brand-burgundy-dark: #8a1538;
    --brand-ice: #f7eef1;
    --text-muted: #6b6f73;
    --text-strong: #222;
    --card-shadow: 0 14px 28px rgba(17,17,17,0.06);
    --soft-shadow: 0 6px 18px rgba(31,31,31,0.05);
    --content-max: 1100px;
    --focus-ring: rgba(8,38,63,0.18);
    --page-gutter: 14px;
    --header-height: 151px;
    --footer-height: 60px;
}

/* Base typography: use language-aware font-family
   - Default uses the Latin/UI stack (--font-sans)
   - Arabic pages use --font-ar via lang/dir selectors below
*/
html {
    font-family: 'Cairo', sans-serif;
    font-size: 15.5px;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Better numeric rendering for mixed-direction UI */
    -webkit-font-variant-ligatures: contextual;
    font-variant-ligatures: contextual;
}
*,*::before,*::after{box-sizing:inherit;}.form-label
body {
    
    margin: 0;
    color: var(--text-strong);
    background-color: #F6F6F3 !important;
    line-height: 1.45;
    font-weight: 400;
    font-family: 'Cairo', sans-serif;
    /* Improve Arabic/Latin pairing: slightly larger line-height for Arabic */
    -webkit-text-size-adjust: 100%;
}

html,
body {
    min-height: 100vh;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Arabic pages: switch to Arabic-optimized stack and slightly larger base size */
html[lang="ar"], html[dir="rtl"]{
  font-family: var(--font-ar);
  /* Arabic script benefits from slightly more vertical space */
  line-height: 1.55;
  /* Slightly larger base size for legibility on Arabic UI */
  font-size: 16px;

  /* Increased font weight for Arabic UI to match MOEHE visual density.
     Use 600 for stronger body text while keeping headings (h1..h6) weight rules intact. */
  font-weight: 600;
}

/* Minor adjustments for strong headings so weight/appearance are consistent across fonts */
h1,h2,h3,h4,h5,h6, .card-title, .site-title {
  font-weight: 700;
  letter-spacing: 0.2px;
  -webkit-font-smoothing: antialiased;
}

/* Header (logo + title) */
.landing-main {
    padding: 0 0 28px;
    min-height: auto;
    position: relative;
    z-index: 5;
/*    height: 75vh;*/
}

/*.hero-banner + .landing-main {
    margin-top: -350px;
}
*/

/* 3-column container so centre brand remains centred */
.header-inner{
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 calc(var(--page-gutter) * 1);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  position: relative;
}

/* Brand (center column) */
.brand-wrap{
  grid-column: 2;
  justify-self: center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  margin: 0;
  z-index: 30;
}
.site-logo{
  height: 80px;
  width: auto;
  display: block;
  object-fit:contain;
  border-radius:6px;
  background: transparent;
  padding:0;
}
.site-title{
  font-weight:700;
  color: var(--color-primary);
  font-size: 1.5rem;
  margin: 4px 0 0;
  line-height: 1.05;
  text-align: center;
}

/* Language switch: shared base for left/right placements */
.header-left,
.header-right{
  align-self: center;
  position: relative;
  display:flex;
  align-items:center;
  gap:8px;
  z-index: 40;
  margin: 0;
  transform: none;
}
.header-left{ grid-column: 1; justify-self: start; }
.header-right{ grid-column: 3; justify-self: end; }

/* Swap placements for RTL */
html[lang="ar"] .header-right,
html[dir="rtl"] .header-right{
  grid-column: 1; justify-self: start;
}
html[lang="ar"] .header-left,
html[dir="rtl"] .header-left{
  grid-column: 3; justify-self: end;
}

/* Language links */
.lang-switch{ display:inline-flex; align-items:center; gap:8px; font-weight:700; }
.lang-switch .lang-link{
  display:inline-flex; align-items:center; justify-content:center;
  padding:6px 10px; border-radius:10px; min-width:40px;
  color:var(--brand-navy); text-decoration:none;
  background: rgba(255,255,255,0.95); border:1px solid rgba(0,0,0,0.06);
  transition: background .12s ease, transform .08s ease, border-color .12s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.lang-switch .lang-link:hover{ background: #fff; transform: translateY(-1px); }
.lang-switch .lang-link.active{
  background: #fff;
  color: var(--brand-navy-dark);
  border-color: rgba(0,0,0,0.08);
}


/* Notice */
.landing-notice {
    display: flex;
    gap: 14px;
    align-items: center;
    color: var(--text-muted);
    padding: 0.75rem;
    background: linear-gradient(180deg, rgba(122, 22, 51, 0.04), var(--brand-ice));
    border: 1px solid rgb(203, 203, 203);
    border-radius: 1.5rem;
    padding: 1rem;
}
    .landing-notice .icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(180deg, var(--brand-burgundy), var(--brand-burgundy-dark));
        color: #fff;
        font-weight: 700;
        font-size: 1.0rem;
    }
.landing-notice .notice-title{ font-weight:700; margin-bottom:2px; color:var(--brand-burgundy-dark); font-size:0.98rem; }
.landing-notice .notice-body{ color:var(--text-muted); line-height:1.35; font-size:0.95rem; }

/* Steps */
.landing-steps{ display:flex; justify-content:center; gap:36px;}
.landing-steps .step{ text-align:center; color:#9aa0a6; display:flex; flex-direction:column; gap:6px; align-items:center; }
.landing-steps .circle{
  width:48px;height:48px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  background:#f1f3f4;color:#666;font-weight:800; font-size:1.25rem; border:1px solid rgb(203, 203, 203);
}
.landing-steps .step.active .circle{ background: var(--brand-burgundy); color:#fff; transform: translateY(-4px);  }
.landing-steps .label{ margin-top:4px; font-size:1rem; color:#999999; }

/* Card */
/*.landing-card{
  max-width: 920px;
  margin: 14px auto 28px;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0,0,0,0.06);
  background: linear-gradient(180deg,#ffffff,#fbfbfb);
  overflow: hidden;
}*/
.landing-card .card-title,
.text-primary{
  color:var(--color-primary) !important;
}
.landing-card .card-body{ padding: 26px 36px; text-align:center; min-height: 160px; display:flex; flex-direction:column; gap:18px; align-items:center; }
.landing-card .card-subtitle{ color:var(--text-muted); margin: 8px 0 18px; font-size:0.98rem; }

/* Forms */
.landing-main .landing-form {
    width: 100%;
/*    max-width: 580px;*/
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}
/*.landing-form .mb-3 { display:flex; justify-content:center; width:100%; }*/
.form-control {
    height: 48px;
    border-radius: 8px !important;
    border: 1px solid rgb(203, 203, 203);
/*    padding: 8px 14px;
*/    background: #fff;
    transition: box-shadow .12s, border-color .12s, transform .08s;
   /* width: 100%;
    max-width: 480px;
    box-sizing: border-box;*/
    font-size: 0.96rem;
    color: var(--text-strong);
    font-family: inherit;
}
.form-control:hover{ box-shadow: 0 6px 10px rgba(0,0,0,0.02); }
.form-control:focus{
  outline:none;
  border-color: rgba(122,22,51,0.9);
  box-shadow: 0 8px 18px rgba(122,22,51,0.06);
  transform: translateY(-1px);
}

/* Captcha */
.captcha-wrap .captcha-inner{ display:inline-flex; align-items:center; gap:12px; justify-content:center; }
.captcha-box {
    display: block;
    padding: 4px 8px;  
    border-radius: 8px;
    font-weight: 900;
    letter-spacing: 6px;
    color: var(--brand-burgundy-dark);
    width: 200px;
    max-width: 70%;
    text-align: center;
    box-shadow: 0 8px 20px rgba(122,22,51,0.05);
    border: 1px solid #E4E4E4;
}
.captcha-refresh{
  width:40px;
  height:40px;
  border-radius:8px;
  border:1px solid rgba(0,0,0,0.06);
  background: #fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.03);
  transition: transform .10s ease, box-shadow .10s ease;
}
.captcha-refresh:hover{ transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,0.05); }

/* CTA */
.btn-cta {
    width: 100%;
    margin: 14px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    
    padding: 12px 18px;
    font-weight: 800;
    border-radius: 2rem;
    background: var(--color-primary);
    box-shadow: 0 14px 28px rgba(122,22,51,0.14);
    color: #fff;
    border: 0;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
    font-family: inherit;
}

.btn-blue {
    width: 100%;
    margin: 14px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    font-weight: 800;
    border-radius: 2rem;
    background: #0D4261 !important;
    box-shadow: 0 14px 28px rgba(122,22,51,0.14);
    color: #fff;
    border: 0;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
    font-family: inherit;
}

.btn-arrow {
    flex-shrink: 0;
}

.flip {
    transform: scaleX(-1);
}

.btn-cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(122,22,51,0.18);
}

/* Provide a consistent fallback for .btn when templates use both .btn and .btn-cta */
.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--color-primary);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-weight: 500;
  font-family: inherit;
}
.btn:hover{ transform: translateY(-2px); box-shadow: 0 12px 28px rgba(122,22,51,0.16); }

/* List group (confirm number screen) */
.list-group {
  width:100%;
/*  max-width:560px;*/
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.list-group-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255,255,255,0.98);
    border-radius: 8px;
    border: 1px solid rgb(203, 203, 203);
    box-shadow: 0 6px 18px rgba(17,17,17,0.02);
    cursor: pointer;
    transition: transform .08s ease, box-shadow .12s ease, border-color .12s ease;
}
.list-group-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(17,17,17,0.04);
  border-color: rgba(122,22,51,0.06);
}
.list-group-item input[type="radio"]{
  width: 18px;
  height: 18px;
  margin-right: 10px;
  accent-color: var(--brand-burgundy);
}
.list-group-item strong{ font-size:0.98rem; margin-left:6px; }
.list-group-item .text-muted{ font-size:0.95rem; letter-spacing:1px; color:var(--text-muted); }

/* Verify screen tweaks */
/*.card .mb-3{ width:100%; max-width:520px; margin:0 auto; text-align:left; }
*/
/* Smaller validation messages */
.text-danger{ display:block; margin-top:6px; font-size:0.9rem; color:#b22222; }

/* Footer */
.landing-footer {
    color: var(--color-white);
    background: var(--color-text);
    padding: 18px 0;
    z-index: 20;
}
.footer-inner{ max-width:var(--content-max); margin:0 auto; padding:0 16px; display:flex; justify-content:space-between; align-items:center; }

/* RTL adjustments */
html[lang="ar"], html[dir="rtl"]{ direction:rtl; }
html[lang="ar"] .landing-card, html[dir="rtl"] .landing-card{ text-align:right; }
html[dir="rtl"] .list-group-item{ flex-direction: row-reverse; }
html[dir="rtl"] .list-group-item input[type="radio"]{ margin-left: 10px; margin-right: 0; }
/*html[dir="rtl"] .card .mb-3{ text-align:right; }
*/
/* Responsive tweaks */
@media (max-width: 992px){
  .landing-card{ max-width:920px; margin:12px auto 20px; }
  .landing-card .card-body{ padding:18px 22px; min-height: 140px; }
  .landing-steps{ gap:24px; margin-bottom:12px; }
}
@media (max-width: 768px){
  .landing-card .card-body{ padding:18px 18px; min-height: auto; }
  .list-group { max-width: 100%; padding: 0 8px; }
  .list-group-item{ padding: 10px 12px; }
}
@media (max-width: 576px){
  .landing-card{ margin:10px; }
  .landing-notice{ margin:10px; padding:10px; }
   .btn-cta { width:90%; max-width:320px; }
  .form-control { max-width: 100%; height:42px; }
  .site-logo{ height:48px; }
  .landing-card .card-title{ padding:10px 12px; font-size:1rem; }
  .header-inner { grid-template-columns: 1fr auto 1fr; }
  .brand-wrap { grid-column: 2; margin-bottom: 6px; }
  .header-right, .header-left { grid-column: 2; justify-self: center; margin: 8px 0 0 0; }
}

/* Accessibility focus */
a:focus, button:focus, .form-control:focus { outline: none; box-shadow: 0 0 0 6px var(--focus-ring); border-radius:8px; }

/* Input alignment */
/*.landing-form .form-control { text-align:left; }
html[dir="rtl"] .landing-form .form-control { text-align:right; }*/

/* Micro-adjust: ensure centre brand stays vertically aligned */
.header-inner,
.header-inner > * {
  align-items: center;
}

 /* Overlay styles (keeps consistent look with site) */
        #loadingOverlay {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            background: rgba(255,255,255,0.85);
            z-index: 9999;
        }
        #loadingOverlay .loading-panel {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            padding: 18px 22px;
            border-radius: 8px;
            box-shadow: 0 8px 36px rgba(0,0,0,0.12);
            background: white;
        }
        .spinner {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: 4px solid rgba(122,22,51,0.12);
            border-top-color: var(--brand-burgundy);
            animation: spin 1s linear infinite;
        }
        .loading-text {
            font-weight: 700;
            color: var(--brand-burgundy-dark);
            font-size: 0.98rem;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
/* Password requirements panel - responsive, polished panel style with +/− badge and reveal animation */
details.password-req {
    width: 100%;
    max-width: 880px;                /* constrain on very wide screens */
    margin: 0 auto 0.6rem;
    background: #fff;
    border-radius: 8px;
    padding: 0.25rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(17,17,17,0.06);
    overflow: hidden;
}

/* Summary header */
details.password-req summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.9rem;
    margin: 0;
    user-select: none;
    background: transparent;
    border-radius: 6px;
    transition: background .12s ease, box-shadow .12s ease;
    text-align: start;
}

/* Hover + focus */
details.password-req summary:hover,
details.password-req summary:focus {
    background: rgba(122,22,51,0.03);
    outline: none;
}

/* Accessible focus ring */
details.password-req summary:focus-visible {
    box-shadow: 0 0 0 6px var(--focus-ring);
    border-radius: 6px;
}

/* Inline circular + / − badge (logical so it follows dir) */
details.password-req summary::before {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f3f3;
    color: #333;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: background .12s, color .12s, transform .12s;
    margin-inline-end: 0.9rem;    /* gap after badge; follows writing direction */
    flex: 0 0 auto;
}

/* Open state: badge becomes minus and colored */
details.password-req[open] summary::before {
    content: '−';
    background: var(--brand-burgundy);
    color: #fff;
}

/* Panel content: responsive grid for better layout on wide screens */
details.password-req .req-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height .26s ease, padding .18s ease;
    padding: 0 0.9rem;
    text-align: start;
}

/* When open show content and use grid */
details.password-req[open] .req-content {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    max-height: 1200px;
    display: block;
}

/* Make list(s) responsive: single column on small, two columns on md+ */
details.password-req .req-content > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
details.password-req .req-content .req-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem 1.2rem;
    align-items: start;
}

/* Two-column layout from 768px up */
@media (min-width: 768px) {
    details.password-req .req-content .req-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Inner list styling (uses logical properties so RTL works) */
details.password-req .req-content ul li {
    margin: 0 0 0.6rem 0;
    padding: 0;
    color: var(--text-muted);
    line-height: 1.45;
    text-align: start;
}

/* Ensure nested lists keep correct indentation */
details.password-req .req-content ul ul {
    margin-inline-start: 0.9rem;
    padding-inline-start: 0.65rem;
}

/* Smaller devices: scale down badge and text a bit */
@media (max-width: 420px) {
    details.password-req summary::before {
        width: 30px;
        height: 30px;
        font-size: 0.95rem;
    }
    details.password-req summary {
        padding: 0.5rem 0.6rem;
    }
}

/* RTL-friendly: logical properties follow writing mode; ensure lists align correctly */
html[dir="rtl"] details.password-req summary::before {
    /* margin-inline-end already follows writing direction; no extra rules needed */
}

/* Visual polish for the inside horizontal rule if present */
details.password-req .req-content hr {
    border: 0;
    height: 1px;
    background: rgba(0,0,0,0.04);
    margin: 0.6rem 0;
}


/* Colors */
:root {
    --color-default: #222222;
    --color-primary: #89153D;
    --color-primary-hover: #773347;
    --color-secondary: #f85a40;
    --color-text: #313b40;
    --color-blue: #165a7b;
    --blue-color-translucent: rgba(22, 90, 123, 0.175);
    --blue-color-translucent1: rgb(225 240 247 / 34%);
    --color-white: #fff;
    --grey-color-translucent: rgb(183 183 183 / 34%);
    --color-grey: #f2f2f2;
    --color-grey1: #f5f4ef;
    --color-grey2: #aaa;
    --color-grey3: #767171;
    --color-grey4: #3b404c;
    --color-grey5: rgb(242 242 242 / 52%);
    --color-black: #000;
}
#topbar {
    background: var(--color-primary);
    height: 8px;
    transition: all 0.5s;
    z-index: 996;
}


.ltr .lang-switch a#btn-en {
    display: none !important;
    visibility:hidden !important; 
}

.ltr .lang-switch #btn-ar {
    display: block !important;
}


.rtl .lang-switch #btn-ar {
    display: none !important;
    visibility: hidden !important;

}
.rtl .lang-switch a#btn-en {
    display: block !important;
}

.landing-notice {
    padding: 0.5rem;
    background: linear-gradient(180deg, rgba(122,22,51,0.04), var(--brand-ice));
}


.card-table,.card {
    border-radius: 1.5rem;
}
.card-table .card-body {
    padding: 1.5rem;
}
.bg-light {
    background-color: #fbfbfb !important;
}
.btn, .btn:focus {
    border-radius: 8px !important;
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn:active:focus-visible,
    .btn-cta:hover, .btn-cta:focus, .btn-cta:active, .btn-cta:active:focus-visible, .bg-blue {
        background-color: rgb(13, 67, 97);
        border-color: rgb(13, 67, 97);
        color:white
    }

.otp-inputs .form-control {
    border-radius: 0.75rem !important;
    width: 3.5rem;
    height: 3.5rem;
    text-align: center;
    margin-right: .5rem;
}

/* Rounded panel for helpdesk log pages */
.rounded-panel {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.75rem;
    box-shadow: 0 6px 18px rgba(13, 38, 59, 0.04);
    padding: 0.75rem;
}

/* Slight spacing tweak so table rows stay comfortable inside the panel */
.rounded-panel .table {
    margin-bottom: 0;
}

/* Overlay styles so it visibly covers the page and centers the panel */
#loadingOverlay {
    position: fixed;
    inset: 0;
    display: none; /* toggled by script */
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1050;
}

    #loadingOverlay .loading-panel {
        background: #ffffff;
        padding: 1rem 1.25rem;
        border-radius: 6px;
        display: flex;
        gap: 0.75rem;
        align-items: center;
        box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    }

    #loadingOverlay .loading-text {
        font-weight: 600;
        color: #333;
    }

    #loadingOverlay .spinner {
        width: 36px;
        height: 36px;
        border: 4px solid rgba(0,0,0,0.1);
        border-top-color: #8a1538; 
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.login-signup .card .icon {
    width: 100px;
    height: 100px;
    background-color: var(--color-primary);
    border-radius: 50%;
    position: absolute;
    top: -2px !important;
    left: 50% !important;
    transform: translate(-50%,-50%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .login-signup .card .icon img {
        max-width: 55px;
        max-height: 55px;
        transition: 0.3s;
    }

    .login-signup .card .icon:hover img {
        transform: scale(1.1);
    }

.login-signup .card .btn {
    line-height: 1.1;
    min-width: 150px;
    font-weight: normal;
    max-width:100%;
    width:100%;
}
/**** Custom Icons ****/
.icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--color-grey3);
    background-color: var(--color-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
@media (min-width: 992px) {
    #helpdeskNav {
        display: flex;
    }
    }
#helpdeskNav {
    justify-content: space-between;
    background-color: var(--color-primary);
    width: 100%;
    border-radius: 5px;
    padding-left: 15px;
    padding-right: 15px;
    
}
@media (max-width: 992px) {
    #helpdeskNav {
        position: absolute;
        z-index: 999;
        top:100%
    }

}
    #helpdeskNav .nav-link {
        color: white;
        padding: 18px 0.40em;
        line-height: 1.3;
        font-size: 1em;
    }

    #helpdeskNav #btn-en,
    #helpdeskNav #btn-ar,
    #helpdeskNav button.btn.btn-outline-secondary.btn-sm {
        padding: 0.3rem 0.4rem !important;
        border-radius: 0.375rem;
        line-height: 1.5;
        font-size: .85rem;
        display: flex;
        align-items: center;
        min-width: 1.9rem;
        height: 1.9rem;
        border-color: var(--color-primary);
        color: var(--color-primary);
        background-color: #fff;
    }

    #helpdeskNav .nav-item.text-end.d-none.d-lg-block,
    #helpdeskNav .nav-item.text-end.d-none.d-lg-block small {
        color: white !important
    }

    #helpdeskNav ul.navbar-nav.mb-lg-0.align-items-center {
        gap: 0.75rem
    }

@media (min-width:992px) {
    #helpdeskNav {
        width: calc(100% - 320px);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-left: 5px;
        padding-right: 15px;
    }
}


@media (max-width: 992px) {

    #helpdeskNav ul.navbar-nav.mb-lg-0.align-items-center {
        flex-direction: row;
    }
        #helpdeskNav ul.navbar-nav.mb-lg-0.align-items-center .header-right,
        #helpdeskNav .nav-item {
            margin: 0;
            margin-bottom: 10px
        }
    #helpdeskNav .nav-link {
        padding: 10px 0.40em
    }
    .helpdesk-root .logo-nav {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
}
.text-blue {
    color: rgb(13, 67, 97)
}

.filter-section {
    padding: 15px;
    background-color: #f2f2f2;
    border-radius: 10px 10px;
    border: 2px dashed #32345B26;
}
    .filter-section .btn.btn-default {
        background-color: #6c757d;
        border-color: #6c757d
    }
.landing-form .btn.btn-default {
    background-color: #6c757d;
    border-color: #6c757d;
    max-width: 320px;
}

.table-card {
    border-radius: 0.6rem;
    background: #fff;
    border: 0;
}

    .table-card .table-responsive {
        border-radius: 0 0 0.6rem 0.6rem;
    }
.table-bordered.table-striped > tbody > tr.even td {
    background-color: rgb(246, 246, 243);
}

.table-bordered > tbody > tr:nth-of-type(2n+1) > * {
    background-color: rgb(255, 255, 255);
}

.table-bordered > tbody > tr > td {
    background-color: rgb(246, 246, 243);
}

.table-bordered th:last-child,
.table-bordered td:last-child {
    border-left-width: 1px;
}

.table-bordered tr:last-child td:first-child {
    border-bottom-left-radius: 0.6rem;
}

.table-bordered tr:last-child td:last-child {
    border-bottom-right-radius: 0.6rem;
}

.table-bordered td p {
    line-height: 1.2;
    margin: 0;
    color: rgb(102, 103, 102);
    gap: 3px;
}

    .table-bordered td p i {
        font-size: 1.3rem;
    }

.table-bordered td .badge {
    min-width: 50px;
    font-weight: 500;
    color: white !important;
    border-radius: 4px;
}

.table-bordered td .form-select {
    background-color: rgb(241, 230, 229);
}

.table > thead.table-light tr th {
    background-color: #8a1538;
    color: white;
    font-weight: 500;
}
.rtl .login-signup .card .icon {
    right: 30% !important;
    left: auto !important;
}
.otp-ltr { direction: ltr; }

.chart-container {
    width: 100%;
    max-width: 1400px; /* increased maximum width for wider displays */
    margin: 0 auto;
}

.chart-large {
    height: 560px; /* increased height */
}




/*NEW DESIGN*/

.clean-header {
    background: #fff;
    height: 95px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.clean-header-inner {
    width: 100%;
    padding-inline: 4rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.clean-logo {
    height: 64px;
    width: auto;
    display: block;
}

.clean-header-inner {
    justify-content: space-between;
}

.clean-lang .lang-switch {
    display: inline-flex;
    align-items: center;
}

.clean-lang .lang-link {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #555 !important;
    padding: 0 !important;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

    .clean-lang .lang-link:hover {
        color: var(--color-primary) !important;
    }


.clean-menu {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

    .clean-menu li {
        margin: 0;
        padding: 0;
    }

    .clean-menu a {
        text-decoration: none;
        color: #222;
        font-weight: 600;
        font-size: 1rem;
        position: relative;
        transition: 0.2s;
    }

        .clean-menu a:hover,
        .clean-menu a.active {
            color: var(--color-primary);
        }

            .clean-menu a.active::after {
                content: "";
                position: absolute;
                bottom: -10px;
                inset-inline-start: 0;
                width: 100%;
                height: 3px;
                background: var(--color-primary);
                border-radius: 10px;
            }


@media (max-width: 991px) {

    .clean-header {
        height: auto;
        padding-block: 1rem;
    }

    .clean-header-inner {
        flex-direction: column;
        gap: 1rem;
        padding-inline: 1rem;
    }

    .clean-menu {
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
    }

        .clean-menu a {
            font-size: 0.95rem;
        }

    .clean-logo {
        height: 54px;
    }
}

.hero-banner {
    width: 100%;
    overflow: hidden;
    position: relative;
}

    .hero-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }


@media (max-width: 768px) {
    .hero-banner img {
        height: 220px;
    }
}


.landing-card,
.card {
    position: relative;
    z-index: 10;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.clean-footer {
    background: var(--color-primary);
    padding: 1rem 1.5rem;
    margin-top: auto;
}

.clean-footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.clean-footer-text {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
}


@media (max-width: 768px) {
    .clean-footer {
        padding: 0.9rem 1rem;
    }

    .clean-footer-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

.landing-card-header {
    text-align: center;
}

.landing-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    margin-top: 2rem;
    line-height: 1.2;
}

.landing-page-subtitle {
    font-size: 1.2rem;
    color: #666766;
    margin: 0;
    line-height: 1.8;
    font-weight: 500;
    padding: 0px 2rem;
}


@media (max-width: 768px) {

    .landing-card-header {
        margin-bottom: 1.5rem;
    }

    .landing-page-title {
        font-size: 2rem;
    }

    .landing-page-subtitle {
        font-size: 1rem;
        line-height: 1.7;
    }
}

.landing-notification {
    background: #F5F8FC;
    border: 1px solid #C7DDF3;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.notification-icon {
    width: 2.2rem;
    height: 2.2rem;
    min-width: 2.2rem;
    border-radius: 50%;
    background: #2196F3;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    font-family: serif;
}

.notification-text {
    color: #6C7A89;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 500;
}

/* mobile */
@media (max-width: 768px) {

    .landing-notification {
        padding: 0.9rem 1rem;
        align-items: flex-start;
    }

    .notification-text {
        font-size: 0.92rem;
    }
}

.landing-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    width: 100%;
    justify-content: space-between;
}

    /* line behind circles */
    .landing-steps::before {
        content: "";
        position: absolute;
        top: 24px;
        left: 20%;
        width: 60%;
        height: 2px;
        background: #D6DCE5;
        z-index: 1;
    }

.step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #E4E8ED;
    color: #7C8795;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step.active .circle {
    background: var(--color-primary);
    color: #fff;
}

.label {
    font-size: 1.2rem;
    color: #999999;
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
    max-width: 160px;
}

.step.active .label {
    color: var(--color-primary);
    font-weight: 700;
}

/* mobile */
@media (max-width: 768px) {

    .landing-steps {
        gap: 0.5rem;
    }

        .landing-steps::before {
            left: 16%;
            width: 68%;
        }

    .circle {
        width: 42px;
        height: 42px;
        font-size: 0.95rem;
    }

    .label {
        font-size: 0.82rem;
        max-width: 90px;
    }
}
.stepper {
    padding: 2rem 0 !important;
    border-radius: 8px !important;
    border: 1px solid #CBCBCB;
    margin-bottom: 2rem;
}


.custom-form-group {
    margin-bottom: 1.5rem;
}

.custom-label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: #222;
}

    .custom-label span {
        color: #D92D20;
    }

.custom-input {
    width: 100%;
    height: 56px;
    border: 1px solid #D0D5DD;
    border-radius: 0.9rem;
    background: #fff;
    padding-inline: 1rem;
    font-size: 1rem;
    color: #222;
    outline: none;
    transition: 0.2s;
}

    .custom-input::placeholder {
        color: #98A2B3;
    }

    .custom-input:focus {
        border-color: var(--color-primary);
        box-shadow: 0 0 0 4px rgba(137, 21, 61, 0.08);
    }

/* mobile */
@media (max-width: 768px) {

    .custom-input {
        height: 52px;
        font-size: 0.95rem;
        border-radius: 8px !important;
    }

    .custom-label {
        font-size: 0.95rem;
    }
}



.captcha-refresh {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: transparent;
    border: 0;
    padding: 0;
    min-width: 120px;
    color: #0B5C7A;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
}

    .captcha-refresh svg {
        flex-shrink: 0;
    }

    .captcha-refresh:hover {
        opacity: 0.85;
    }


    .auth-card {
        margin-top: -80px;
    }


.login-page {
/*    min-height: calc(100vh - 120px);*/
    position: relative;
}

.login-hero {
    height: 310px;
    background: url('/images/login-bg.jpg') center center / cover no-repeat;
}

.login-card-wrapper {
    display: flex;
    justify-content: center;
    margin-top: -290px;
    padding: 0 1rem 3rem;
}

.login-card {
    width: 100%;
    max-width: 810px;
    background: #fff;
    border-radius: 22px;
    padding: 2rem 1.5rem;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.14);
    border: 1px solid #ddd;
}

.login-title {
    text-align: center;
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #111;
}

.login-subtitle {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.login-card .form-label {
    width: 100%;
    text-align: start;
    font-weight: 500;
    color: #222;
}

    .login-card .form-label span {
        color: #9b123f;
    }

.login-card .form-control {
    height: 48px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.forgot-password {
    text-align: end;
    margin-bottom: 1.5rem;
}

    .forgot-password a,
    .create-account a {
        color: #005b7f;
        text-decoration: underline;
    }

.btn-login {
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 6px;
    background: #941542;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 20px;
}

.create-account {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

    .create-account span {
        flex: 1;
        height: 1px;
        background: #ccc;
    }

    .create-account p {
        margin: 0;
        white-space: nowrap;
    }

@media (max-width: 768px) {
    .login-hero {
        height: 230px;
    }

    .login-card-wrapper {
/*        margin-top: -90px;*/
    }

    .login-title {
        font-size: 1.4rem;
    }

    .login-card {
        border-radius: 16px;
        padding: 1.5rem 1rem;
    }
}




    .custom-background {
        background: #B4D5E1;
        border-radius: 6px;
        width: 100%;
        padding: 2rem;
    }

    .btn-text {
        background: transparent;
        color: #0D4361 !important;
        font-weight: 700;
    }


.hero-banner + .landing-main {
    margin-top: -320px;
}

@media (max-width: 1400px) {
    .hero-banner + .landing-main {
        margin-top: -220px;
    }
}

@media (max-width: 1100px) {
    .hero-banner + .landing-main {
        margin-top: -160px;
    }
}


.btn.btn-cta.btn-blue {
    background-color: #0D4261 !important;
    border-color: #0D4261 !important;
    color: #fff !important;
}

    .btn.btn-cta.btn-blue:hover,
    .btn.btn-cta.btn-blue:focus {
        background-color: #0B3852 !important;
        border-color: #0B3852 !important;
    }

.btn.btn-cta.btn-outline {
    background-color: #fff !important;
    border: 1px solid #8a1538 !important;
    color: #8a1538 !important;
}

    .btn.btn-cta.btn-outline:hover,
    .btn.btn-cta.btn-outline:focus {
        background-color: #8a1538 !important;
        border-color: #8a1538 !important;
        color: #fff !important;
    }



.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

    .action-buttons .btn-blue {
        grid-column: 1 / -1;
    }
