:root{--navy:#06233d;--navy-800:#0a2f52;--teal:#1495b4;--teal-400:#1fb4d4;--white:#fff;--paper:#fff;--ivory:#f4f8fb;--sand:#e8f2f6;--ink:#06233d;--muted:#5a6d7a;--line:#06233d1a;--buy:#1495b4;--sell:#06233d;--danger:#9b2c2c;--success:#147a63;--shadow:0 16px 40px #06233d14;--radius:20px;--font:"Cairo", "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%}html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}body{font-family:var(--font);color:var(--ink);background:var(--ivory);direction:rtl;margin:0;overflow-x:hidden}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input{font:inherit}.container{width:min(1100px,100% - 24px);margin:0 auto}.public-page{background:radial-gradient(circle at 10% 0,#1495b41f,#0000 28%),linear-gradient(#fff 0%,#f4f8fb 100%);flex-direction:column;min-height:100svh;display:flex}.site-header{z-index:30;background:linear-gradient(90deg, var(--teal), var(--navy));color:var(--white);border-bottom:0;position:sticky;top:0;box-shadow:0 8px 24px #06233d2e}.header-inner,.dashboard-header,.brand,.header-actions,.currency-identity,.table-currency,.admin-rate-title,.last-updated,.loading-state,.admin-fields{display:flex}.header-inner,.dashboard-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px}.header-inner{padding:12px 0}.brand,.table-currency,.currency-identity,.admin-rate-title{align-items:center;gap:12px;min-width:0}.brand-text{min-width:0}.brand-logo{object-fit:cover;background:var(--white);border:2px solid #ffffffe6;border-radius:50%;width:58px;height:58px}.brand-kicker,.hero-eyebrow,.login-kicker,.last-updated-label{color:var(--teal-400);letter-spacing:.08em;margin:0;font-size:.78rem}.brand-name,.hero h2,.login-card h1,.dashboard-header h1{margin:0;font-weight:800}.brand-name{font-size:1.25rem}.header-actions{gap:10px}.header-link,.whatsapp-button,.primary-button,.ghost-button{cursor:pointer;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;min-height:46px;padding:0 18px;transition:all .2s;display:inline-flex}.header-link{color:#fff;border-color:#ffffff2e}.whatsapp-button,.primary-button{background:var(--teal);color:var(--white);font-weight:700}.header-link:hover,.ghost-button:hover,.primary-button:hover,.whatsapp-button:hover{transform:translateY(-1px)}.trust-bar{background:var(--navy);color:#ffffffe6;border-bottom:3px solid var(--teal)}.trust-bar-inner{flex-wrap:wrap;justify-content:center;gap:8px 28px;padding:10px 0;display:flex}.trust-bar p{margin:0;font-size:.88rem;font-weight:600}.hero{text-align:center;padding:36px 0 12px}.hero h2{color:var(--navy);font-size:clamp(2rem,6vw,3.4rem)}.hero-desc,.login-desc,.empty-state p,.footer-note{color:var(--muted)}.hero-desc{margin:8px 0 18px;font-size:1.05rem}.last-updated{background:var(--paper);border:1px solid var(--line);width:fit-content;max-width:100%;box-shadow:var(--shadow);border-radius:999px;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:0 auto;padding:10px 14px}.live-dot{background:#22c55e;border-radius:50%;width:9px;height:9px;animation:1.8s ease-out infinite pulse;box-shadow:0 0 #22c55e99}@keyframes pulse{0%{box-shadow:0 0 #22c55e8c}70%{box-shadow:0 0 0 8px #22c55e00}to{box-shadow:0 0 #22c55e00}}.last-updated strong{color:var(--navy)}.rates-section{padding:20px 0 88px}.rates-table-wrap{background:var(--paper);box-shadow:var(--shadow);border:1px solid var(--line);border-radius:24px;display:none;overflow:hidden}.rates-table{border-collapse:collapse;width:100%}.rates-table th,.rates-table td{text-align:right;padding:18px 20px}.rates-table th{background:var(--navy);color:#fff;font-weight:700}.th-buy{background:var(--teal)}.th-sell{background:#08324f}.price-cell.buy{background:#1495b40f}.price-cell.sell{background:#06233d0a}.rates-table tbody tr{border-top:1px solid var(--line)}.rates-table tbody tr:hover{background:#f3f9fb}.table-currency span:last-child,.currency-identity p,.admin-rate-title p{color:var(--muted);font-size:.9rem;display:block}.currency-flag{object-fit:cover;border-radius:6px;flex-shrink:0;width:40px;height:28px;box-shadow:0 0 0 1px #06233d1f}.price-cell{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:800}.price-cell.buy,.price-box.buy strong{color:var(--buy)}.price-cell.sell,.price-box.sell strong{color:var(--sell)}.rates-cards{gap:14px;display:grid}.currency-card,.admin-rate-card,.login-card,.empty-state{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.currency-card,.admin-rate-card{padding:18px}.currency-card h3,.admin-rate-title h2,.empty-state h3,.empty-state h1{margin:0 0 2px}.currency-identity p,.admin-rate-title p{margin:0}.currency-prices,.admin-fields{grid-template-columns:1fr 1fr;gap:10px;margin-top:16px;display:grid}.price-box.buy{background:#1495b414;border-radius:16px;padding:12px}.price-box.sell{background:#06233d0f;border-radius:16px;padding:12px}.price-box span{color:var(--muted);margin-bottom:6px;font-size:.9rem;display:block}.price-box strong{font-variant-numeric:tabular-nums;word-break:break-word;font-size:clamp(1rem,4.2vw,1.25rem)}.price-box small{color:var(--muted);font-size:.8rem;font-weight:600}.rates-legend{border:1px solid var(--line);color:var(--muted);background:#ffffffe6;border-radius:16px;gap:6px;margin-top:18px;padding:16px 18px;display:grid}.rates-legend p{margin:0}.rates-legend strong{color:var(--navy)}.site-footer{background:linear-gradient(90deg, var(--navy), #08324f);color:#fff;border-top:3px solid var(--teal);margin-top:auto;padding:36px 0 18px}.footer-grid{align-items:start;gap:24px;display:grid}.footer-brand{justify-items:start;gap:12px;display:grid}.footer-logo{object-fit:cover;background:#fff;border:2px solid #ffffffd9;border-radius:50%;width:64px;height:64px}.footer-label{color:var(--teal-400);margin:0 0 8px;font-size:.92rem;font-weight:800}.footer-note,.footer-copy{color:#ffffffe0;margin:0 0 6px;font-size:.95rem;line-height:1.7}.footer-note a{color:#fff}.phone-ltr{direction:ltr;unicode-bidi:isolate;display:inline-block}.footer-copy-wrap{border-top:1px solid #ffffff1f;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:22px;padding-top:14px;display:flex}.whatsapp-float{left:max(16px, env(safe-area-inset-left));bottom:max(16px, env(safe-area-inset-bottom));z-index:40;color:#fff;background:#25d366;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;display:flex;position:fixed;box-shadow:0 10px 24px #25d36659}.whatsapp-float:hover{transform:translateY(-2px)}.admin-shell{background:radial-gradient(circle at top,#1495b429,#0000 30%),linear-gradient(#fff,#eef6f9);flex-direction:column;justify-content:center;align-items:center;min-height:100svh;padding:24px 16px;display:flex}.dashboard-shell{justify-content:flex-start;width:100%;max-width:860px;margin:0 auto;display:block}.login-card{text-align:center;flex-direction:column;align-items:stretch;width:100%;max-width:440px;padding:28px 22px;display:flex}.site-header .brand-kicker{color:#ffffffe0}.login-card img{border-radius:50%;margin:0 auto 10px}.login-kicker{margin-bottom:6px}.login-desc{margin:8px 0 22px}.admin-form,.dashboard-form{gap:12px;display:grid}.admin-form{text-align:right}.admin-form label,.admin-fields label{gap:6px;font-weight:700;display:grid}input{width:100%;min-height:48px;color:var(--ink);background:#fff;border:1px solid #c5d6de;border-radius:14px;outline:none;padding:0 14px;transition:all .2s}input:focus{border-color:var(--teal);box-shadow:0 0 0 4px #1495b42e}.primary-button{border:0;width:100%}.primary-button:disabled,.ghost-button:disabled{opacity:.65;cursor:not-allowed;transform:none}.ghost-button{background:var(--white);color:var(--navy);border-color:#b7cdd6}.dashboard-header{margin-bottom:22px}.dashboard-header .ghost-button{width:auto;min-width:140px}.alert{border-radius:14px;padding:12px 14px;font-weight:600}.alert-error{color:var(--danger);background:#fdecec}.alert-success{color:var(--success);background:#e8f6ee}.alert-info{color:var(--navy);background:#e8f4f8}.empty-state,.loading-state{text-align:center;padding:36px 20px}.empty-state{justify-items:center;gap:10px;display:grid}.loading-state{flex-direction:column;align-items:center;gap:12px}.spinner{border:3px solid #d4e6ec;border-top-color:var(--teal);border-radius:50%;width:34px;height:34px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=479px){.brand-logo{width:44px;height:44px}.brand-name{font-size:1.05rem}.hero{padding:24px 0 8px}.hero h2{font-size:1.7rem;line-height:1.25}.hero-desc{font-size:.95rem}.last-updated{border-radius:16px;font-size:.86rem}.currency-prices,.admin-fields{grid-template-columns:1fr}.footer-brand{text-align:center;justify-items:center}.trust-bar p{text-align:center;width:100%}}@media (width>=480px) and (width<=899px){.footer-grid{grid-template-columns:1fr 1fr}.hero h2{font-size:clamp(1.9rem,5vw,2.6rem)}}@media (width>=900px){.container{width:min(1100px,100% - 40px)}.header-inner{padding:16px 0}.footer-grid{grid-template-columns:.9fr 1fr 1fr 1.3fr}.rates-table-wrap{display:block}.rates-cards{display:none}.hero{padding-top:52px}.rates-section{padding-bottom:56px}}@media (width<=899px){.dashboard-header{align-items:stretch}.dashboard-header .ghost-button,.empty-state .primary-button{width:100%}.trust-bar-inner,.footer-copy-wrap,.footer-grid{text-align:center;justify-content:center}.admin-shell,.dashboard-shell{padding:16px 12px 88px}.login-card{padding:22px 16px}}@media (width>=1400px){.container{width:min(1180px,100% - 48px)}}
