:root {
    --navy: #0e2457;
    --navy-2: #163b80;
    --blue: #2563b7;
    --cyan: #2aa9c6;
    --gold: #e9b949;
    --ink: #17243d;
    --muted: #6b7895;
    --surface: #ffffff;
    --bg: #f3f6fb;
    --line: #e2e8f3;
    --success: #168a61;
    --danger: #ca4b5a;
    --shadow: 0 16px 45px rgba(20, 46, 94, .10);
}
* { box-sizing: border-box; }
body { font-family: 'Cairo', sans-serif; background: var(--bg); color: var(--ink); min-height: 100vh; }
a { text-decoration: none; }
.app-navbar { background: linear-gradient(110deg, var(--navy), #133b80 70%, #1d5c91); box-shadow: 0 5px 20px rgba(10,31,74,.18); }
.navbar-brand { color: #fff !important; letter-spacing: -.2px; }
.navbar-brand small { display:block; color: rgba(255,255,255,.62); font-size: .66rem; font-weight: 400; }
.brand-mark { display:grid; place-items:center; width:42px; height:42px; border-radius:14px; background: linear-gradient(135deg, var(--gold), #f6d678); color: var(--navy); font-size:1.35rem; }
.nav-link { color: rgba(255,255,255,.72) !important; padding-inline: .85rem !important; font-weight:600; }
.nav-link:hover { color:#fff !important; }
.user-chip { background:rgba(255,255,255,.12); color:#fff; border:1px solid rgba(255,255,255,.12); border-radius:999px; padding:.38rem .7rem; font-size:.8rem; }
.btn-accent { background:var(--gold); color:var(--navy); border-color:var(--gold); font-weight:700; }
.btn-accent:hover { background:#f5ce67; color:var(--navy); }
.hero { position:relative; overflow:hidden; border-radius:26px; color:#fff; background: radial-gradient(circle at 10% 18%, rgba(73,177,214,.25), transparent 25%), linear-gradient(120deg, #0b2254, #174787 70%, #217d9b); box-shadow:var(--shadow); }
.hero:after { content:''; position:absolute; width:260px; height:260px; border-radius:50%; border:1px solid rgba(255,255,255,.13); left:-70px; bottom:-145px; box-shadow:0 0 0 30px rgba(255,255,255,.035), 0 0 0 60px rgba(255,255,255,.025); }
.hero-content { position:relative; z-index:1; max-width:760px; }
.eyebrow { color:var(--gold); text-transform:uppercase; letter-spacing:.1em; font-size:.75rem; font-weight:800; }
.hero h1 { font-weight:800; letter-spacing:-.03em; line-height:1.35; }
.hero p { color:rgba(255,255,255,.75); max-width:670px; }
.home-hero { position:relative; overflow:hidden; display:grid; grid-template-columns:1.15fr .85fr; min-height:350px; padding:2.25rem 3rem; margin-bottom:1rem; border-radius:24px; color:#fff; background:linear-gradient(120deg,#081d4d 5%,#123c7d 58%,#16839a); box-shadow:0 18px 42px rgba(14,36,87,.18); }
.home-hero-copy { position:relative; z-index:2; align-self:center; max-width:650px; }
.home-hero h1 { font-size:clamp(1.8rem,3.5vw,3rem); line-height:1.25; font-weight:800; letter-spacing:-.04em; margin:.7rem 0; }
.home-hero h1 span,.feature-copy h2 span { color:#f3ca58; }
.home-hero-copy>p { color:rgba(255,255,255,.76); font-size:.9rem; line-height:1.8; max-width:540px; }
.eyebrow { display:flex; align-items:center; gap:.55rem; color:#f3ca58; font-size:.76rem; font-weight:800; }
.eyebrow-dot { width:8px; height:8px; border-radius:50%; background:#f3ca58; box-shadow:0 0 0 6px rgba(243,202,88,.16); }
.hero-actions { display:flex; align-items:center; gap:1rem; flex-wrap:wrap; margin-top:1.15rem; }.hero-actions .btn i,.hero-link i,.home-cta .btn i,.home-feature-band .btn i { margin-inline-start:.4rem; }
.hero-link { color:#fff; font-weight:700; }.hero-link:hover { color:#f3ca58; }.hero-trust { display:flex; gap:1.2rem; margin-top:1.25rem; color:rgba(255,255,255,.6); font-size:.68rem; }.hero-trust i { color:#8bd7e5; margin-inline-end:.3rem; }
.hero-visual { position:relative; min-height:330px; }.hero-device { position:absolute; z-index:2; inset:45px 45px 20px 70px; display:flex; flex-direction:column; align-items:center; padding:1.35rem; border:1px solid rgba(255,255,255,.28); border-radius:24px; background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.06)); backdrop-filter:blur(8px); box-shadow:0 25px 50px rgba(0,0,0,.2); }.device-top { align-self:stretch; display:flex; gap:5px; }.device-top span { width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.55); }.device-icon { display:grid; place-items:center; width:76px;height:76px;margin:1.3rem 0 1rem;border-radius:24px;background:#f3ca58;color:#112e65;font-size:2.3rem; }.hero-device strong { font-size:1.2rem; }.hero-device small { color:rgba(255,255,255,.65); margin-top:.3rem; }.device-progress { width:80%;height:8px;margin:1.5rem 0 1rem;border-radius:99px;background:rgba(255,255,255,.18);overflow:hidden; }.device-progress span { display:block;width:72%;height:100%;border-radius:inherit;background:#f3ca58; }.device-status { color:#b9f0d6;font-size:.75rem; }.orbit-a,.orbit-b { position:absolute; border:1px solid rgba(255,255,255,.16); border-radius:50%; }.orbit-a { width:330px;height:330px;right:0;top:0; }.orbit-b { width:240px;height:240px;right:45px;top:45px; }.floating-badge { position:absolute;z-index:3;display:flex;align-items:center;gap:.6rem;padding:.7rem .85rem;border:1px solid rgba(255,255,255,.2);border-radius:14px;background:rgba(7,26,67,.75);box-shadow:0 12px 25px rgba(0,0,0,.15);font-size:.7rem; }.floating-badge i { color:#f3ca58;font-size:1.2rem; }.floating-badge b { color:#fff;font-size:.72rem; }.badge-top { right:-8px;top:65px; }.badge-bottom { left:15px;bottom:35px; }.home-stats { display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:2.5rem; }.home-stat { display:flex;align-items:center;gap:.85rem;padding:1.1rem 1.2rem;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow); }.home-stat strong { display:block;font-size:1.65rem;line-height:1.1;color:var(--navy); }.home-stat span { color:var(--muted);font-size:.73rem; }.home-stat-icon { display:grid;place-items:center;width:46px;height:46px;border-radius:14px;color:#2563b7;background:#eaf2ff;font-size:1.25rem; }.home-stat-icon.cyan { color:#1592a7;background:#e8f8fa; }.home-stat-icon.gold { color:#b77d0b;background:#fff5d9; }.home-stat-icon.green { color:#168a61;background:#e2f7ed; }
.home-section { margin-bottom:2.5rem; }.section-intro { display:flex;justify-content:space-between;align-items:end;gap:2rem;margin-bottom:1.5rem; }.section-intro h2,.home-cta h2 { margin:.35rem 0 0;font-size:1.75rem;font-weight:800;color:var(--navy); }.section-intro p { max-width:380px;margin:0;color:var(--muted);font-size:.82rem; }.journey-grid { display:grid;grid-template-columns:1fr 36px 1fr 36px 1fr;align-items:center; }.journey-card { position:relative;min-height:170px;padding:1.15rem;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow); }.journey-card.featured { background:linear-gradient(145deg,#102d68,#1d6295);color:#fff;border-color:transparent;transform:translateY(-10px); }.journey-card h3 { font-size:1rem;font-weight:800;margin:1rem 0 .5rem;color:var(--navy); }.journey-card.featured h3 { color:#fff; }.journey-card p { color:var(--muted);font-size:.78rem;line-height:1.8;margin:0; }.journey-card.featured p { color:rgba(255,255,255,.7); }.journey-number { position:absolute;top:1.2rem;left:1.3rem;color:#c4d0e5;font-weight:800;font-size:.75rem; }.journey-icon { display:grid;place-items:center;width:45px;height:45px;border-radius:14px;color:var(--cyan);background:#edf8f9;font-size:1.2rem; }.journey-card.featured .journey-icon { color:var(--navy);background:#f3ca58; }.journey-line { color:#b4c2d8;text-align:center; }.home-feature-band { display:flex;justify-content:space-between;align-items:center;gap:3rem;padding:2rem 2.4rem;margin-bottom:2.5rem;border-radius:26px;color:#fff;background:linear-gradient(110deg,#0e2457,#1a568d);box-shadow:var(--shadow); }.feature-copy { max-width:560px; }.feature-copy h2 { font-size:2.1rem;line-height:1.35;font-weight:800;margin:.5rem 0 1rem; }.feature-copy p { color:rgba(255,255,255,.7);line-height:1.9;font-size:.85rem; }.feature-copy .btn { margin-top:1rem;color:var(--navy);font-weight:800; }.feature-list { display:grid;gap:1rem;min-width:280px; }.feature-list>div { display:flex;align-items:center;gap:.8rem; }.feature-list i { display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:var(--navy);background:#f3ca58; }.feature-list b,.feature-list small { display:block; }.feature-list b { font-size:.85rem; }.feature-list small { color:rgba(255,255,255,.55);font-size:.7rem;margin-top:.15rem; }.home-cta { display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.25rem 1.6rem;margin-bottom:1rem;border:1px solid var(--line);border-radius:20px;background:#fff; }.home-cta p { color:var(--muted);font-size:.78rem;margin:.4rem 0 0; }
.soft-card, .stat-card, .form-card, .table-card { background:var(--surface); border:1px solid rgba(226,232,243,.9); border-radius:20px; box-shadow:var(--shadow); }
.soft-card { padding:1.25rem; height:100%; }
.stat-card { padding:1.1rem; height:100%; }
.stat-icon { width:44px; height:44px; display:grid; place-items:center; border-radius:14px; background:#eaf2ff; color:var(--blue); font-size:1.2rem; }
.stat-number { font-size:1.7rem; line-height:1; font-weight:800; color:var(--navy); }
.stat-label { color:var(--muted); font-size:.76rem; }
.section-title { font-weight:800; color:var(--navy); }
.muted { color:var(--muted); }
.form-card { padding:1.45rem; }
.form-label { font-size:.82rem; font-weight:700; color:#3e4e70; }
.form-control, .form-select { border-radius:12px; border-color:#d8e1ef; padding:.7rem .85rem; }
.form-control:focus, .form-select:focus { border-color:var(--cyan); box-shadow:0 0 0 .23rem rgba(42,169,198,.14); }
.btn-primary { background:var(--navy-2); border-color:var(--navy-2); font-weight:700; border-radius:11px; }
.btn-primary:hover { background:var(--navy); border-color:var(--navy); }
.btn, .form-control, .form-select { transition: transform .16s ease-out, box-shadow .16s ease-out, background .16s ease-out; }
.btn:active { transform:scale(.97); }
.icon-box { width:40px; height:40px; display:grid; place-items:center; border-radius:12px; background:#eef6f7; color:var(--cyan); }
.step { display:flex; gap:.8rem; align-items:flex-start; }
.step-number { min-width:32px; height:32px; border-radius:10px; display:grid; place-items:center; background:var(--navy); color:#fff; font-weight:800; }
.table-card { overflow:hidden; }
.table > :not(caption) > * > * { padding:.86rem .75rem; vertical-align:middle; }
.table thead th { background:#f7f9fc; color:#687693; border-bottom:1px solid var(--line); font-size:.76rem; white-space:nowrap; }
.table tbody td { font-size:.82rem; border-color:#eef2f7; }
.badge-status { border-radius:999px; padding:.42rem .65rem; font-size:.69rem; font-weight:800; }
.status-pending { background:#fff4d7; color:#97700f; }
.status-accepted { background:#dff6e9; color:#14744f; }
.status-rejected { background:#ffe4e7; color:#a93443; }
.badge-type { background:#e8f1ff; color:#24518e; border-radius:999px; font-size:.7rem; padding:.37rem .58rem; }
.file-note { background:#f7f9fc; border-radius:12px; padding:.7rem .85rem; color:var(--muted); font-size:.75rem; }
.app-footer { background:var(--navy); color:#fff; }
.page-head { display:flex; align-items:end; justify-content:space-between; gap:1rem; margin-bottom:1.25rem; }
.filter-bar { background:#fff; border-radius:18px; border:1px solid var(--line); padding:1rem; box-shadow:0 8px 25px rgba(20,46,94,.05); }
.filter-bar .form-control, .filter-bar .form-select { font-size:.8rem; padding:.55rem .7rem; }
.empty-state { text-align:center; padding:3rem 1rem; color:var(--muted); }
.empty-state i { font-size:2.5rem; color:#adc0dc; }
.admin-shell { display:grid; grid-template-columns:285px minmax(0,1fr); gap:1.5rem; align-items:start; }
.admin-sidebar { background:linear-gradient(180deg,#102b62,#0e2457); color:#fff; border-radius:22px; padding:1.25rem .95rem; box-shadow:0 18px 42px rgba(14,36,87,.22); position:sticky; top:1rem; min-height:calc(100vh - 145px); }
.admin-sidebar-title { display:flex; align-items:center; gap:.55rem; font-weight:800; padding:.35rem .6rem .15rem; }
.admin-sidebar-title i { color:var(--gold); }
.admin-sidebar-caption { color:rgba(255,255,255,.55); font-size:.68rem; padding:.2rem .6rem .8rem; }
.admin-sidebar-nav { display:grid; gap:.2rem; }
.admin-sidebar-nav a { color:rgba(255,255,255,.72); display:flex; align-items:center; gap:.65rem; padding:.72rem .75rem; border-radius:12px; font-size:.82rem; transition:.16s ease; }
.admin-sidebar-nav a:hover, .admin-sidebar-nav a.active { color:#fff; background:rgba(255,255,255,.14); }
.admin-sidebar-nav a.active { box-shadow:inset -3px 0 var(--gold); }
.admin-sidebar-nav a i { width:1.1rem; text-align:center; color:#8bd7e5; }
.admin-sidebar-label { color:rgba(255,255,255,.42); font-size:.65rem; font-weight:800; padding:.8rem .65rem .22rem; }
.live-search-wrap { position:relative; }
.live-search-wrap i { position:absolute; inset-inline-start:.8rem; top:50%; transform:translateY(-50%); color:var(--muted); }
.live-search-wrap input { padding-inline-start:2.2rem; }
@media (max-width: 991.98px) { .admin-shell { grid-template-columns:1fr; } .admin-sidebar { position:static; } .admin-sidebar-nav { grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); } .admin-sidebar-label { grid-column:1/-1; } }
.auth-shell { min-height:calc(100vh - 90px); display:grid; place-items:center; }
.auth-card { width:min(560px,100%); }
.auth-side { background:linear-gradient(145deg,var(--navy),var(--blue)); color:#fff; border-radius:20px; padding:1.15rem; }
.kicker { font-size:.73rem; font-weight:800; color:var(--cyan); }
.small-ar { font-size:.78rem; }
@media (max-width: 767.98px) { .page-head { align-items:flex-start; flex-direction:column; } .hero { border-radius:20px; } .hero h1 { font-size:1.55rem; } .user-chip { display:none; } }
@media (max-width: 991.98px) { .home-hero { grid-template-columns:1fr; padding:2.5rem 2rem; }.hero-visual { display:none; }.home-stats { grid-template-columns:repeat(2,1fr); }.journey-grid { grid-template-columns:1fr;gap:1rem; }.journey-line { transform:rotate(-90deg);height:20px; }.journey-card.featured { transform:none; }.home-feature-band { align-items:flex-start;flex-direction:column;padding:2rem; }.feature-list { min-width:0;width:100%; }.section-intro { align-items:flex-start;flex-direction:column;gap:.5rem; } }
@media (max-width: 575.98px) { .home-hero { padding:2rem 1.25rem; }.home-hero h1 { font-size:2.1rem; }.home-hero-copy>p { font-size:.9rem; }.hero-trust { flex-direction:column;gap:.45rem; }.home-stats { gap:.65rem; }.home-stat { padding:.8rem; }.home-stat-icon { width:38px;height:38px;font-size:1rem; }.home-stat strong { font-size:1.3rem; }.home-stat span { font-size:.65rem; }.home-cta { align-items:flex-start;flex-direction:column;padding:1.4rem; }.section-intro h2,.home-cta h2 { font-size:1.4rem; }.feature-copy h2 { font-size:1.7rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition:none !important; animation:none !important; } }
@media print { .app-navbar, .app-footer, .print-toolbar, .d-print-none { display:none !important; } body { background:#fff; } .report-print { padding:0; } .report-print .table { font-size:11px; } .report-print h1 { color:#000; } }

.submission-notice{display:flex;align-items:center;gap:1rem;padding:.9rem 1.2rem;margin:-.15rem 0 1.7rem;border:1px solid #bde5d2;border-radius:16px;background:#f0fbf5;box-shadow:0 8px 22px rgba(20,46,94,.05)}.submission-notice.is-closed{border-color:#f0d2a5;background:#fffaf0}.submission-notice-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;color:#168a61;background:#d9f5e5;font-size:1.2rem}.is-closed .submission-notice-icon{color:#b47712;background:#ffedc5}.submission-notice-body{display:flex;flex-direction:column;min-width:190px}.submission-notice-body strong{color:#14744f;font-size:.84rem}.is-closed .submission-notice-body strong{color:#9a6c16}.submission-notice-body span{color:var(--muted);font-size:.7rem}.submission-dates{display:flex;align-items:center;gap:1rem;margin-inline-start:auto}.submission-dates div{display:flex;flex-direction:column;gap:.1rem}.submission-dates small{color:var(--muted);font-size:.65rem}.submission-dates b{color:var(--navy);font-size:.78rem}.submission-dates>i{color:var(--cyan)}
@media(max-width:575.98px){.submission-notice{align-items:flex-start;flex-wrap:wrap;padding:.8rem}.submission-dates{width:100%;margin-inline-start:3.2rem;justify-content:space-between}}
/* زر الاطلاع على النتائج داخل الـ Hero */
.home-hero .btn-outline-primary {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 2px solid #fff !important;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

.home-hero .btn-outline-primary:hover,
.home-hero .btn-outline-primary:focus {
    color: #0e2457 !important;
    background: #fff !important;
    border-color: #fff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}

.home-hero .btn-outline-primary i {
    color: inherit;
}