@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');
:root{--navy:#102b43;--teal:#176b68;--gold:#e6b85c;--bg:#f3f6fa;--muted:#718096;--line:#e5ebf1}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#172b42;font-family:"IBM Plex Sans Arabic",Tahoma,sans-serif}button,input{font:inherit}button{cursor:pointer;border:0}.hidden{display:none!important}.center{text-align:center}.muted{color:var(--muted)}.tiny{font-size:12px}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 10% 10%,#dceeea,transparent 34%),var(--bg)}.auth-card{width:min(100%,440px);background:#fff;padding:34px;border-radius:24px;box-shadow:0 20px 70px #16324b14}.brand-mark{margin:auto;width:58px;height:58px;display:grid;place-items:center;background:linear-gradient(135deg,#102b43,#176b68);border-radius:18px;color:#fff;font-size:32px}.brand-name{text-align:center;font-weight:700;letter-spacing:2px;font-size:24px;margin-top:12px;color:var(--navy)}.auth-card h1{text-align:center;font-size:23px;margin:28px 0 4px}.auth-card label{display:block;margin:14px 0;font-size:13px;font-weight:600}.auth-card input{display:block;width:100%;margin-top:7px;border:1px solid var(--line);border-radius:12px;padding:13px;background:#fbfcfd;outline:none}.auth-card input:focus{border-color:var(--teal)}.primary,.secondary{border-radius:12px;padding:13px 18px;font-weight:700}.primary{background:var(--teal);color:white}.secondary{background:#e5edf4;color:var(--navy)}.wide{width:100%;margin-top:10px}.text-button{display:block;margin:14px auto;background:none;color:var(--teal);font-weight:700}.topbar{background:var(--navy);color:white;padding:15px max(calc((100% - 1120px)/2),24px);display:flex;justify-content:space-between;align-items:center;gap:16px}.brand-inline{font-size:19px;letter-spacing:1px}.brand-inline span{color:var(--gold);margin-left:8px}.user-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px}.credit-pill{background:#ffffff18;color:#d8eeee;padding:7px 12px;border-radius:20px}.ghost{background:#ffffff15;color:inherit;padding:9px 13px;border-radius:10px}.container{max-width:1120px;margin:auto;padding:30px 22px}.hero{background:linear-gradient(115deg,#102b43,#176b68);border-radius:22px;padding:36px 40px;color:white;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.eyebrow{color:#e8c778;font-size:13px}.hero h1{font-size:32px;margin:8px 0}.hero h1 em{color:#e8c778;font-style:normal}.hero p{color:#d4e2e8;margin:0}.hero-symbol{font-size:45px;font-weight:700;position:relative;border:1px solid #ffffff45;padding:22px 30px;border-radius:20px;color:#fff}.hero-symbol span{font-size:20px;color:var(--gold);position:absolute;top:-10px;right:-8px}.section-title{display:flex;justify-content:space-between;align-items:center;margin:28px 0 14px}.section-title h2{margin:0;font-size:21px}.section-title p{margin:3px 0 0;color:var(--muted);font-size:13px}.tools-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.tool-card{background:white;padding:24px;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 30px #17334a08}.tool-icon{width:45px;height:45px;border-radius:14px;display:grid;place-items:center;font-size:24px}.teal{background:#e2f1ef;color:var(--teal)}.gold{background:#fbf2df;color:#9a6b14}.tool-card h3{margin:14px 0 6px}.tool-card>p{color:var(--muted);font-size:13px;line-height:1.8;min-height:46px}.dropzone{margin-top:18px;min-height:135px;border:1.5px dashed #b9cbd3;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;background:#f9fbfc;cursor:pointer}.dropzone:hover{border-color:var(--teal);background:#f2faf8}.dropzone input{display:none}.dropzone small{color:var(--muted);font-size:11px}.upload-icon{width:30px;height:30px;border-radius:50%;background:#e2f1ef;color:var(--teal);display:grid;place-items:center;font-size:21px}.progress{height:6px;background:#e9eef2;border-radius:8px;margin-top:14px;overflow:hidden}.progress span{display:block;width:40%;height:100%;background:var(--teal);animation:move 1s infinite alternate}@keyframes move{to{width:95%}}.status{font-size:12px;color:var(--teal);min-height:18px}.file-list{font-size:12px;color:#536577;margin-top:8px}.file-item{padding:7px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between}.file-item button{background:none;color:#b45353}.results-section{margin-top:28px}.results-empty{padding:28px;background:#fff;border:1px dashed #d4dee6;border-radius:16px;text-align:center;color:var(--muted);font-size:13px}.results-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.result-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px}.result-head{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px}.result-value{font-size:16px;font-weight:700;overflow-wrap:anywhere;margin:12px 0}.copy-btn{background:#e8f3f1;color:var(--teal);border-radius:8px;padding:6px 12px;font-size:12px}.warning{color:#a16207;background:#fff7df;border-radius:8px;padding:8px;font-size:11px}.profile-brand{background:linear-gradient(120deg,#102b43,#176b68);color:#fff;padding:20px;border-radius:14px;display:flex;flex-direction:column;gap:5px;margin:16px 0}.profile-brand small{color:#c9e2df}.profile-brand b{font-size:21px}.profile-brand span{font-size:13px;color:#c9e2df}.profile-row{display:flex;justify-content:space-between;padding:14px 4px;border-bottom:1px solid var(--line)}.modal{position:fixed;inset:0;background:#07182799;display:grid;place-items:center;padding:20px;z-index:5}.modal-card{background:#fff;width:min(100%,430px);border-radius:20px;padding:26px;position:relative}.close{position:absolute;left:18px;top:14px;background:none;font-size:26px;color:#718096}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#142b45;color:#fff;padding:12px 20px;border-radius:12px;transition:.2s;z-index:9;max-width:90%;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}footer{text-align:center;color:#91a0ae;font-size:12px;padding:32px}footer span{color:var(--gold)}@media(max-width:760px){.topbar{align-items:flex-start;flex-direction:column}.user-tools{width:100%}.container{padding:18px 14px}.hero{padding:26px 22px}.hero h1{font-size:25px}.hero-symbol{display:none}.tools-grid{grid-template-columns:1fr}.results-grid{grid-template-columns:1fr}.auth-card{padding:25px}}
