@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap");

:root{font-family:"IBM Plex Sans Arabic","DM Sans",sans-serif;color:#17191e;background:#f6f7f9;font-synthesis:none;text-rendering:optimizeLegibility;--bg:#f6f7f9;--surface:#fff;--text:#17191e;--muted:#777e8a;--line:#e6e8ed;--red:#8b0000;--red-soft:#fff1f0;--shadow:0 18px 60px rgba(20,25,35,.08)}
*{box-sizing:border-box}
body{margin:0;min-width:320px;background:radial-gradient(ellipse at 50% 0,#fff 0,transparent 58%),var(--bg);color:var(--text)}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
.developer-topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,5vw,70px);border-bottom:1px solid #e8eaf0;background:#ffffffd9}
.developer-brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font:800 15px "DM Sans",sans-serif;letter-spacing:.5px}
.developer-brand img{width:34px;height:34px;object-fit:contain}
.developer-brand b{color:var(--red)}
.developer-back,.inline-action{color:var(--red);font-weight:700;text-decoration:none}
.developer-main{width:min(980px,calc(100% - 32px));margin:40px auto 70px}
.developer-card{background:var(--surface);border:1px solid #e8eaf0;border-radius:20px;padding:clamp(22px,4vw,40px);box-shadow:var(--shadow);margin-bottom:20px}
#auth-screen{width:min(590px,100%);margin:0 auto}
.developer-intro{text-align:center;margin-bottom:24px}
.developer-kicker{display:inline-block;color:var(--red);font-size:12px;font-weight:700;letter-spacing:.03em}
h1,h2,p{margin-top:0}
.developer-intro h1,.dashboard-heading h1{font-size:clamp(23px,4vw,32px);margin:8px 0}
.developer-intro p,.dashboard-section-heading p,.form-hint{color:var(--muted);font-size:13px;line-height:1.8}
.auth-switch,.developer-tabs{display:flex;gap:8px;padding:5px;border-radius:12px;background:#f1f2f5;margin:24px 0}
.auth-switch button,.developer-tabs button{flex:1;padding:11px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-weight:700}
.auth-switch button.active,.developer-tabs button.active{background:#fff;color:var(--text);box-shadow:0 2px 8px #1111}
.developer-form{display:grid;gap:14px}
.developer-form label,.developer-grid label{display:grid;gap:7px;font-size:13px;font-weight:600}
.developer-form input,.developer-grid input,.developer-grid select,.developer-grid textarea,.developer-form textarea,.developer-app-card input,.developer-app-card textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid #dfe2e8;border-radius:10px;background:#fff;color:var(--text);outline:none}
.developer-form input:focus,.developer-grid input:focus,.developer-grid select:focus,.developer-grid textarea:focus{border-color:var(--red);box-shadow:0 0 0 3px #8b000014}
.developer-primary,.developer-secondary{min-height:42px;padding:10px 16px;border:0;border-radius:10px;font-weight:700}
.developer-primary{background:var(--red);color:white}
.developer-secondary{background:#f0f1f4;color:#31343b}
button:disabled{opacity:.55;cursor:wait}
.form-hint{margin:0}
.inline-action{border:0;background:transparent;padding:0}
.developer-notice{margin:0 0 18px;padding:13px 15px;border-radius:11px;background:#eef8f1;color:#20663b;font-size:14px;line-height:1.7}
.developer-notice.error{background:var(--red-soft);color:#a12722}
.wizard-progress{height:7px;border-radius:9px;background:#eff0f3;overflow:hidden}
.wizard-progress span{display:block;width:33.33%;height:100%;border-radius:inherit;background:var(--red);transition:width .2s ease}
.wizard-label{display:flex;justify-content:space-between;align-items:center;margin:15px 0;color:var(--muted);font-size:12px}
.wizard-label strong{color:var(--text);font-size:14px}
fieldset{min-width:0;padding:0;border:0}
[data-signup-step]{display:grid;gap:14px}
.consent-row,.app-type-options label{display:flex!important;grid-template-columns:20px 1fr;align-items:start;gap:9px!important;line-height:1.7}
.consent-row input,.app-type-options input{width:18px!important;height:18px;min-height:18px!important;margin:2px 0 0}
.app-type-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px;border:1px solid var(--line);border-radius:12px}
.app-type-options legend{padding:0 7px;font-size:13px;font-weight:700}
.wizard-actions{display:flex;gap:9px;justify-content:flex-start;align-items:center}
.signup-login-link{justify-self:start}
.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.dashboard-heading h1{margin-bottom:0}
.developer-tabs{margin-top:0}
.developer-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px}
.developer-stats article{display:grid;gap:8px;padding:20px 22px;background:#fff;border:1px solid var(--line);border-radius:16px}
.developer-stats span{color:var(--muted);font-size:13px}
.developer-stats strong{font:800 28px "DM Sans",sans-serif}
.dashboard-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}
.dashboard-section-heading h2{margin:0 0 4px;font-size:20px}
.dashboard-section-heading p{margin:0}
.developer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.developer-grid .wide{grid-column:1/-1}
.settings-group{grid-column:1/-1;padding-top:8px;border-top:1px solid var(--line)}
.settings-group h3{margin:0;font-size:14px}
.developer-grid textarea{resize:vertical}
.developer-app-list{display:grid;gap:12px}
.developer-app-card{padding:17px;border:1px solid var(--line);border-radius:14px}
.developer-app-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.developer-app-card h3{margin:0 0 4px;font-size:17px}
.developer-app-card p{color:var(--muted);font-size:12px}
.developer-app-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.developer-app-actions button,.developer-app-actions a{padding:8px 11px;border:0;border-radius:8px;background:#f0f1f4;color:var(--text);text-decoration:none;font-size:12px;font-weight:700}
.developer-app-actions .danger{background:var(--red-soft);color:#a12722}
.developer-upload{display:grid;grid-template-columns:1fr 1fr 2fr auto;gap:9px;margin-top:13px;padding-top:13px;border-top:1px solid var(--line)}
.developer-upload input{min-width:0;padding:8px;border:1px solid var(--line);border-radius:8px;font-size:12px}
.developer-empty{padding:30px;text-align:center;border:1px dashed #dfe2e8;border-radius:14px;color:var(--muted);line-height:1.8}
.developer-footer{padding:22px;text-align:center;color:var(--muted);font-size:12px}
[hidden]{display:none!important}
@media(max-width:680px){.developer-main{margin:22px auto 50px}.developer-topbar{height:62px;padding:0 16px}.developer-brand{font-size:12px}.developer-brand img{width:29px;height:29px}.developer-card{padding:20px;border-radius:16px}.developer-grid{grid-template-columns:1fr}.developer-grid .wide{grid-column:auto}.dashboard-heading{align-items:flex-start}.developer-upload{grid-template-columns:1fr 1fr}.developer-upload input[type=file]{grid-column:1/-1}.app-type-options{grid-template-columns:1fr}.developer-app-card-heading{flex-direction:column}.developer-stats article{padding:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
