@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Ethiopic:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');
:root{--navy:#101a3a;--navy2:#172654;--blue:#4169ff;--cyan:#35d6e8;--gold:#ffc857;--ink:#17213d;--muted:#69738d;--bg:#f5f7ff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:'Noto Sans Ethiopic','Outfit',sans-serif;overflow-x:hidden}.page-glow{position:absolute;z-index:-1;filter:blur(90px);border-radius:50%;opacity:.25}.glow-one{width:360px;height:360px;background:#667cff;top:60px;left:-160px}.glow-two{width:320px;height:320px;background:#4de0e7;top:350px;right:-160px}
.topbar{height:82px;max-width:1200px;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:inherit}.brand-mark{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#4169ff,#26c9e5);color:#fff;display:grid;place-items:center;font:900 18px Outfit;box-shadow:0 8px 22px #4169ff44}.brand strong{display:block;font:800 16px Outfit}.brand small{font:700 9px Outfit;letter-spacing:3px;color:#75809b}.topbar nav{display:flex;gap:32px}.topbar nav a{color:#56617d;text-decoration:none;font-size:13px;font-weight:700}.profile{border:1px solid #e0e5f2;background:#fff;border-radius:30px;padding:10px 16px;color:var(--ink);font:700 13px inherit}
.hero{max-width:1200px;margin:30px auto 55px;padding:45px 55px;min-height:440px;border-radius:30px;background:radial-gradient(circle at 80% 15%,#304b92 0,#1a2a5a 35%,#101a3a 75%);color:#fff;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;overflow:hidden;position:relative;box-shadow:0 25px 60px #14234b24}.hero:after{content:"";position:absolute;width:450px;height:450px;border:1px solid #ffffff16;border-radius:50%;right:-130px;top:-220px}.hero-copy{position:relative;z-index:2}.eyebrow{font:800 10px Outfit,sans-serif;letter-spacing:2px;color:#6a7fff;margin-bottom:17px}.hero .eyebrow{color:#76e9f1}.pulse{display:inline-block;width:7px;height:7px;background:#45e0ce;border-radius:50%;margin-right:8px;box-shadow:0 0 0 5px #45e0ce22}.hero h1{font-size:clamp(34px,4.5vw,55px);line-height:1.35;margin:0 0 14px;font-weight:900;letter-spacing:-1.5px}.hero h1 span,.section-heading h2 span,.certificate h2 span{color:#55dce9}.hero-copy>p{color:#c5cde3;line-height:1.9;font-size:14px;max-width:500px}.hero-actions{display:flex;gap:12px;margin-top:25px}.btn{padding:13px 19px;border-radius:12px;text-decoration:none;font-size:12px;font-weight:800;display:inline-flex;align-items:center;gap:15px}.btn-primary{background:linear-gradient(100deg,#5574ff,#27cfe2);color:white;box-shadow:0 9px 25px #4169ff55}.btn-ghost{color:#e1e7ff;border:1px solid #ffffff38}.hero-stats{display:flex;align-items:center;gap:20px;margin-top:35px}.hero-stats div{display:grid;gap:4px}.hero-stats b{font:800 17px Outfit;color:#fff}.hero-stats small{font-size:10px;color:#aeb9d7}.hero-stats i{height:30px;width:1px;background:#ffffff2c}
.hero-art{height:330px;position:relative;display:grid;place-items:center}.orbit{position:absolute;border:1px solid #6f8bff55;border-radius:50%;transform:rotate(-25deg)}.orbit-a{width:360px;height:210px}.orbit-b{width:280px;height:300px;transform:rotate(45deg)}.code-window{width:min(350px,90%);background:#0a122b;border:1px solid #8ba1ff55;border-radius:16px;overflow:hidden;box-shadow:0 24px 65px #0008;z-index:1;transform:rotate(-4deg)}.window-head{height:38px;background:#1c2a50;display:flex;align-items:center;gap:6px;padding:0 13px}.window-head span{width:7px;height:7px;border-radius:50%;background:#ff6e7d}.window-head span:nth-child(2){background:#ffce68}.window-head span:nth-child(3){background:#52d6a4}.window-head label{margin-left:auto;color:#a8b6e0;font:11px Outfit}.code-window pre{padding:17px 22px;margin:0;color:#c7d6ff;font:13px/2 Outfit,monospace}.code-window em{color:#b48bff;font-style:normal}.code-window q{color:#73e0bf}.code-green{color:#5de4d0}.float-card{position:absolute;z-index:3;background:#fff;color:#25345d;padding:12px 15px;border-radius:12px;box-shadow:0 12px 30px #0003;font-size:11px;display:flex;gap:8px;align-items:center}.float-top{top:20px;right:0}.float-bottom{bottom:18px;left:0}.hero-bubble{position:absolute;right:13px;bottom:5px;width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,#ffca64,#ff8c78);display:grid;place-items:center;color:#fff;font:900 18px Outfit;transform:rotate(12deg);box-shadow:0 12px 25px #0003}
.trust-strip{max-width:1100px;margin:-4px auto 85px;background:white;border:1px solid #edf0fa;border-radius:18px;padding:22px 25px;display:flex;justify-content:space-around;gap:20px;box-shadow:0 12px 40px #20315b0b}.trust-strip div{display:flex;align-items:center;gap:10px;font-size:12px;color:#4b5878}.trust-strip span{font-size:20px}
.section{max-width:1120px;margin:0 auto 85px;padding:0 20px}.section-heading{display:flex;align-items:end;justify-content:space-between}.section-heading h2{font-size:30px;margin:0 0 9px;font-weight:900}.section-heading h2 span{color:#4169ff}.section-heading p{font-size:13px;color:var(--muted);margin:0}.course-count{font:900 33px Outfit;color:#d4daf0;text-align:right}.course-count small{display:block;font-size:9px;letter-spacing:3px;color:#8993ae}.filters{display:flex;gap:9px;margin:28px 0 20px;flex-wrap:wrap}.filter{border:1px solid #e1e6f3;background:#fff;border-radius:30px;padding:9px 17px;color:#65708b;font:700 11px inherit;cursor:pointer}.filter.active{background:#172653;color:white;border-color:#172653}.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.course-card{background:#fff;border:1px solid #e9edf7;border-radius:19px;overflow:hidden;box-shadow:0 10px 30px #20315b0a;transition:.25s}.course-card:hover{transform:translateY(-5px);box-shadow:0 18px 35px #20315b16}.course-visual{height:155px;position:relative;overflow:hidden;padding:17px;color:white}.course-visual:after{content:"";position:absolute;width:180px;height:180px;border:1px solid #ffffff35;border-radius:50%;right:-35px;top:30px;box-shadow:0 0 0 22px #ffffff0b,0 0 0 45px #ffffff08}.visual-free{background:linear-gradient(125deg,#1e3b91,#4169ff 55%,#35c9e4)}.visual-design{background:linear-gradient(125deg,#6d2b9e,#d34a9d 60%,#ff9a73)}.visual-web{background:linear-gradient(125deg,#086d79,#0c9b9c 55%,#54d9ba)}.visual-python{background:linear-gradient(125deg,#173f72,#287fba 55%,#50c7e0)}.visual-canva{background:linear-gradient(125deg,#7135b6,#b74dbb 55%,#f17f9e)}.course-icon{font-size:29px;position:relative;z-index:1}.tag{position:absolute;right:15px;top:18px;border:1px solid #ffffff70;border-radius:30px;padding:5px 9px;font:800 8px Outfit;letter-spacing:1px;background:#ffffff1a}.free-tag{background:#fff;color:#2464d9;border:0}.visual-word{position:absolute;left:18px;bottom:13px;font:900 24px/1 Outfit;letter-spacing:1px;color:#ffffffd9}.course-body{padding:18px}.meta{display:flex;justify-content:space-between;color:#8993ac;font:800 8px Outfit;letter-spacing:.8px}.course-body h3{font-size:16px;margin:13px 0 7px;font-weight:800}.course-body p{color:#7b859e;font-size:11px;line-height:1.8;min-height:40px;margin:0}.card-bottom{border-top:1px solid #eef1f8;margin-top:16px;padding-top:14px;display:flex;justify-content:space-between;align-items:center}.price{font:900 18px Outfit;color:#172653}.free-price{color:#13a989}.enroll{border:0;background:#eef2ff;color:#3155d9;border-radius:9px;padding:10px 12px;font:800 10px inherit;cursor:pointer}.enroll:hover{background:#4169ff;color:#fff}.free-enroll{background:#e3faf3;color:#078b6d}
.certificate{max-width:1080px;margin:0 auto 85px;padding:32px 40px;border-radius:22px;background:linear-gradient(110deg,#14234d,#263f80);color:#fff;display:flex;align-items:center;gap:25px;position:relative;overflow:hidden}.cert-icon{font-size:45px;width:75px;height:75px;flex:none;display:grid;place-items:center;border-radius:20px;background:#ffffff14}.certificate .eyebrow{color:#78e2e8;margin-bottom:8px}.certificate h2{font-size:22px;margin:0 0 8px}.certificate h2 span{color:#ffd16a}.certificate p{color:#c5cfe8;font-size:11px;line-height:1.8;margin:0;max-width:650px}.cert-seal{margin-left:auto;flex:none;width:82px;height:82px;border:2px solid #ffd16a;border-radius:50%;display:grid;place-content:center;text-align:center;color:#ffd16a;font:800 8px Outfit;letter-spacing:1px;transform:rotate(12deg)}.cert-seal b{font-size:25px}
footer{background:#0e1733;color:#fff;padding:30px max(25px,calc((100% - 1120px)/2));display:flex;align-items:center;justify-content:space-between;gap:15px}footer p{color:#aeb9d4;font-size:11px}footer>small{color:#74809e;font-size:9px}.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#14234d;color:#fff;padding:14px 20px;border-radius:12px;font-size:12px;box-shadow:0 10px 30px #0003;transition:.25s;z-index:10;max-width:90%;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:850px){.hero{margin:15px 15px 45px;padding:35px 30px;grid-template-columns:1fr}.hero-art{height:270px;margin-top:15px}.trust-strip{margin:0 15px 65px;flex-wrap:wrap;justify-content:flex-start}.course-grid{grid-template-columns:repeat(2,1fr)}.certificate{margin:0 15px 65px}.topbar nav{gap:15px}}
@media(max-width:560px){.topbar{height:70px;padding:0 16px}.topbar nav{display:none}.brand strong{font-size:14px}.hero{padding:30px 22px;border-radius:22px}.hero h1{font-size:35px}.hero-stats{gap:12px}.hero-stats b{font-size:14px}.hero-art{height:235px}.code-window{width:270px}.float-top{right:-4px}.float-bottom{left:-5px}.trust-strip{padding:18px}.trust-strip div{width:100%}.section-heading h2{font-size:23px}.course-grid{grid-template-columns:1fr}.course-visual{height:165px}.certificate{padding:24px;gap:14px;align-items:flex-start}.cert-icon{width:52px;height:52px;font-size:29px}.certificate h2{font-size:17px}.cert-seal{display:none}footer{flex-wrap:wrap}footer p{width:100%;order:3}}
.panel-overlay{position:fixed;inset:0;z-index:20;display:none;align-items:center;justify-content:center;padding:20px;background:#0b1330cc;backdrop-filter:blur(4px)}.panel-overlay.open{display:flex}.panel{position:relative;width:100%;max-width:470px;max-height:82vh;overflow:auto;background:#fff;border-radius:22px;padding:28px 26px;box-shadow:0 30px 80px #0006}.panel-close{position:absolute;top:14px;right:16px;width:34px;height:34px;border:0;border-radius:50%;background:#f0f3fb;color:#55617f;font-size:20px;line-height:1;cursor:pointer}.panel-title{font-size:22px;font-weight:900;color:#172653;margin:0 0 18px}.panel-list{display:grid;gap:12px}.panel-empty{color:#8993ae;font-size:13px;line-height:1.8;margin:0}.enroll-item{display:grid;gap:11px;padding:15px 16px;border:1px solid #eaeef8;border-radius:15px;background:#fbfcff}.enroll-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.enroll-item h4{margin:0;font-size:14px;font-weight:800;color:#172653}.status-pill{flex:none;padding:4px 10px;border-radius:20px;font:800 9px Outfit;letter-spacing:.5px;text-transform:uppercase}.status-active{background:#e3faf3;color:#078b6d}.status-completed{background:#eef2ff;color:#3155d9}.status-pending_payment{background:#fff3df;color:#b6791d}.enroll-action{border:0;border-radius:9px;padding:9px 14px;background:#4169ff;color:#fff;font:800 10px inherit;cursor:pointer}.enroll-action:hover{background:#3155d9}.enroll-action:disabled{opacity:.6;cursor:default}.cert-serial{font:700 10px Outfit;letter-spacing:.5px;color:#0c9b9c}.cert-link{text-decoration:none}.cert-link:hover{text-decoration:underline}
.course-card{cursor:pointer}
.auth-tabs{display:flex;gap:8px;margin-bottom:18px;background:#f0f3fb;border-radius:12px;padding:5px}.auth-tab{flex:1;border:0;background:transparent;border-radius:9px;padding:10px;font:800 12px inherit;color:#65708b;cursor:pointer}.auth-tab.active{background:#fff;color:#172653;box-shadow:0 4px 12px #20315b14}
.auth-form{display:grid;gap:13px}.field{display:grid;gap:6px}.field>span{font:800 10px Outfit;letter-spacing:.6px;color:#75809b;text-transform:uppercase}.field>input{border:1px solid #dfe4f1;border-radius:11px;padding:12px 13px;font:600 13px inherit;color:#172653;background:#fbfcff;outline:none}.field>input:focus{border-color:#4169ff;background:#fff}.field>input[type=file]{padding:9px;font-size:11px}
[hidden]{display:none!important}
.auth-form[data-mode=signup][data-step="1"] [data-step-field="2"]{display:none}
.auth-form[data-mode=signup][data-step="2"] [data-step-field="1"]{display:none}
.steps{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.step{display:flex;align-items:center;gap:8px;font:800 11px inherit;color:#9aa3bb;white-space:nowrap}
.step>span{width:24px;height:24px;border-radius:50%;background:#eef1f8;color:#7b859e;display:grid;place-items:center;font:800 11px Outfit}
.step.active{color:#3155d9}.step.active>span{background:#4169ff;color:#fff}
.step.done>span{background:#078b6d;color:#fff}
.step-line{flex:1;height:2px;background:#eef1f8;border-radius:2px;min-width:16px}
.auth-btns{display:flex;align-items:center;gap:12px;margin-top:4px}
.auth-btns .auth-submit{margin-top:0;flex:1}
.auth-submit{justify-content:center;width:100%;border:0;cursor:pointer;font:800 12px inherit;padding:13px;margin-top:4px}
.auth-msg{margin:0;font-size:12px;line-height:1.7;color:#e0563f;min-height:0}.auth-msg:empty{display:none}.auth-msg.ok{color:#078b6d}
.link-btn{border:0;background:transparent;color:#65708b;font:800 11px inherit;cursor:pointer;text-decoration:underline}
.logout-btn{margin-top:18px;width:100%;border:1px solid #f0d3cf;background:#fff5f3;color:#cf4a30;border-radius:11px;padding:11px;font:800 12px inherit;cursor:pointer}.logout-btn:hover{background:#fdece9}
.pay-methods{display:flex;gap:9px;margin-bottom:14px}.pay-method{flex:1;border:1px solid #e1e6f3;background:#fff;border-radius:12px;padding:12px;font:800 12px inherit;color:#65708b;cursor:pointer}.pay-method.active{border-color:#4169ff;background:#eef2ff;color:#3155d9}
.pay-info{background:#f6f8ff;border:1px solid #e6ebf9;border-radius:13px;padding:14px 16px;display:grid;gap:9px;margin-bottom:16px}.pay-row{display:flex;justify-content:space-between;gap:14px;font-size:12px}.pay-row span{color:#75809b;font-weight:700}.pay-row b{color:#172653;font-weight:800;text-align:right;word-break:break-all}
.shot-preview:empty{display:none}.shot-preview img{margin-top:4px;max-width:100%;border-radius:12px;border:1px solid #e6ebf9}
.panel-wide{max-width:880px}
.panel-sub{color:#7b859e;font-size:12px;line-height:1.8;margin:-8px 0 18px}
.lesson-layout{display:grid;grid-template-columns:minmax(0,240px) 1fr;gap:16px}
.lesson-list{list-style:none;margin:0;padding:0;display:grid;gap:8px;align-content:start}
.lesson-item{display:flex;gap:10px;align-items:center;padding:11px 13px;border:1px solid #eaeef8;border-radius:12px;background:#fbfcff;cursor:pointer;font-size:12px;font-weight:700;color:#33406a}
.lesson-item:hover{border-color:#c9d4f5}
.lesson-item.active{background:#eef2ff;border-color:#4169ff;color:#3155d9}
.lesson-num{flex:none;width:22px;height:22px;border-radius:50%;background:#eef2ff;color:#3155d9;display:grid;place-items:center;font:800 10px Outfit}
.lesson-item.active .lesson-num{background:#4169ff;color:#fff}
.lesson-dur{margin-left:auto;color:#8993ae;font:700 9px Outfit}
.lesson-view{background:#fbfcff;border:1px solid #eaeef8;border-radius:14px;padding:20px;min-height:120px}
.lesson-view h3{margin:0 0 12px;font-size:17px;color:#172653}
.lesson-body{white-space:pre-wrap;line-height:2;font-size:13px;color:#4b5878}
.lesson-locked{display:grid;gap:14px;place-items:center;text-align:center;padding:22px}
.lock-icon{font-size:34px}
@media(max-width:700px){.lesson-layout{grid-template-columns:1fr}}
.board-overlay{position:fixed;inset:0;z-index:20;display:none;align-items:flex-start;justify-content:center;padding:24px 16px;background:#0b1330cc;backdrop-filter:blur(4px);overflow:auto}
.board-overlay.open{display:flex}
.board{position:relative;width:100%;max-width:880px;margin:auto;background:#fff;border-radius:22px;padding:24px 26px 30px;box-shadow:0 30px 80px #0006}
.board-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;border-bottom:1px solid #eef1f8;padding-bottom:18px}
.board-id{display:flex;align-items:center;gap:13px}
.board-avatar{width:50px;height:50px;border-radius:16px;background:linear-gradient(135deg,#4169ff,#26c9e5);color:#fff;display:grid;place-items:center;font:900 20px Outfit}
.board-id strong{display:block;font:800 17px inherit;color:#172653}
.board-id small{color:#8993ae;font-size:11px}
.board-actions{display:flex;align-items:center;gap:10px}
.board-actions .logout-btn{margin-top:0;width:auto;padding:9px 18px;border-radius:30px}
.board-close{width:36px;height:36px;border:0;border-radius:50%;background:#f0f3fb;color:#55617f;font-size:20px;line-height:1;cursor:pointer}
.board-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}
.board-stat{background:#f6f8ff;border:1px solid #e6ebf9;border-radius:15px;padding:15px 16px}
.board-stat b{display:block;font:900 24px Outfit;color:#172653}
.board-stat small{color:#75809b;font-size:11px;font-weight:700}
.board-tabs{display:flex;gap:8px;background:#f0f3fb;border-radius:12px;padding:5px;margin-bottom:20px}
.board-tab{flex:1;border:0;background:transparent;border-radius:9px;padding:11px 8px;font:800 12px inherit;color:#65708b;cursor:pointer}
.board-tab.active{background:#fff;color:#172653;box-shadow:0 4px 12px #20315b14}
.board-section{display:grid;gap:12px}
.board-empty{color:#8993ae;font-size:13px;line-height:1.8;text-align:center;padding:24px 0;margin:0}
.board-thumb{width:54px;height:54px;border-radius:11px;object-fit:cover;border:1px solid #e6ebf9;background:#f6f8ff;flex:none}
.cert-download{text-decoration:none;display:inline-flex;align-items:center}
.status-pending{background:#fff3df;color:#b6791d}.status-paid{background:#e3faf3;color:#078b6d}.status-rejected{background:#fdece9;color:#cf4a30}
@media(max-width:560px){.board{padding:20px 16px 24px}.board-stats{grid-template-columns:1fr}.board-tab{font-size:10px;padding:10px 4px}}
.field>textarea{border:1px solid #dfe4f1;border-radius:11px;padding:12px 13px;font:600 13px inherit;color:#172653;background:#fbfcff;outline:none;resize:vertical;font-family:inherit}
.field>textarea:focus{border-color:#4169ff;background:#fff}
/* ---- Admin dashboard ---- */
.admin-body{min-height:100vh}
.admin-login{min-height:100vh;display:grid;place-items:center;padding:24px}
.admin-card{background:#fff;border:1px solid #e9edf7;border-radius:18px;padding:22px 24px;box-shadow:0 12px 40px #20315b0d;margin-bottom:18px}
.admin-login-card{width:100%;max-width:400px;display:grid;gap:13px;text-align:left}
.admin-login-card .brand-mark{margin:0 auto 4px}
.admin-login-card h1{margin:0;font-size:22px;color:#172653;text-align:center}
.admin-sub{color:#7b859e;font-size:12px;line-height:1.7;margin:0 0 6px;text-align:center}
.admin-shell{max-width:1120px;margin:0 auto;padding:22px 20px 60px}
.admin-top{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:22px}
.admin-top-actions{display:flex;gap:10px}
.admin-top-actions .logout-btn{margin-top:0;width:auto;padding:10px 18px;border-radius:30px;text-decoration:none;display:inline-flex;align-items:center;border-color:#dfe4f1;background:#fff;color:#3155d9}
.admin-top-actions .logout-btn:hover{background:#eef2ff}
.admin-stats{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:22px}
.admin-tabs{display:flex;gap:8px;background:#f0f3fb;border-radius:12px;padding:5px;margin-bottom:20px;flex-wrap:wrap}
.admin-tab{flex:1;min-width:130px;border:0;background:transparent;border-radius:9px;padding:11px 10px;font:800 12px inherit;color:#65708b;cursor:pointer}
.admin-tab.active{background:#fff;color:#172653;box-shadow:0 4px 12px #20315b14}
.admin-section{display:block}
.admin-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.admin-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.admin-card-head h3{margin:0;font-size:16px;color:#172653}
.admin-subhead{margin:22px 0 12px;font-size:14px;color:#172653}
.admin-form{display:grid;gap:13px;margin-bottom:8px}
.admin-form-row{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;align-items:end}
.admin-checks{grid-template-columns:auto auto 1fr 1fr}
.check{display:flex;align-items:center;gap:8px;font:700 12px inherit;color:#4b5878;padding-bottom:10px}
.admin-select{border:1px solid #dfe4f1;border-radius:11px;padding:12px 13px;font:600 13px inherit;color:#172653;background:#fbfcff;outline:none;min-width:180px}
.admin-table-wrap{overflow-x:auto}
.admin-table{width:100%;border-collapse:collapse;font-size:12px}
.admin-table th{text-align:left;padding:10px 12px;background:#f6f8ff;color:#75809b;font:800 10px Outfit;letter-spacing:.5px;text-transform:uppercase;white-space:nowrap}
.admin-table td{padding:11px 12px;border-top:1px solid #eef1f8;color:#33406a;vertical-align:top}
.admin-table code{background:#f0f3fb;padding:2px 6px;border-radius:6px;font-size:11px}
.admin-preview{color:#8993ae;font-size:10px;margin-top:3px;font-weight:600}
.mini-btn{border:0;border-radius:8px;padding:7px 11px;font:800 10px inherit;cursor:pointer;background:#eef2ff;color:#3155d9;margin:2px 2px 2px 0}
.mini-btn.ok{background:#e3faf3;color:#078b6d}
.mini-btn.danger{background:#fdece9;color:#cf4a30}
@media(max-width:850px){.admin-stats{grid-template-columns:repeat(3,1fr)}.admin-grid-2{grid-template-columns:1fr}.admin-form-row{grid-template-columns:1fr}}
@media(max-width:560px){.admin-stats{grid-template-columns:repeat(2,1fr)}}
/* ---- 404 ---- */
.notfound-body{min-height:100vh}
.notfound{min-height:100vh;display:grid;place-content:center;justify-items:center;text-align:center;padding:30px;gap:6px}
.notfound-code{font:900 96px Outfit;line-height:1;background:linear-gradient(120deg,#4169ff,#26c9e5);-webkit-background-clip:text;background-clip:text;color:transparent}
.notfound h1{margin:6px 0 0;font-size:24px;color:#172653}
.notfound p{color:#7b859e;font-size:13px;margin:0 0 18px}
/* ---- Language switch ---- */
.topbar-actions{display:flex;align-items:center;gap:10px}
.lang-switch{display:flex;background:#eef2fb;border-radius:30px;padding:3px;gap:2px}
.lang-switch button{border:0;background:transparent;border-radius:24px;padding:7px 12px;font:800 12px Outfit;color:#65708b;cursor:pointer}
.lang-switch button.active{background:#fff;color:#3155d9;box-shadow:0 3px 10px #20315b18}
/* ---- Password show / hide ---- */
.pw-wrap{position:relative;display:flex;align-items:center}
.pw-wrap>input{width:100%;border:1px solid #dfe4f1;border-radius:11px;padding:12px 44px 12px 13px;font:600 13px inherit;color:#172653;background:#fbfcff;outline:none}
.pw-wrap>input:focus{border-color:#4169ff;background:#fff}
.pw-toggle{position:absolute;right:8px;border:0;background:transparent;cursor:pointer;font-size:15px;line-height:1;padding:6px;border-radius:8px;opacity:.7}
.pw-toggle:hover{opacity:1;background:#eef2ff}
.pw-toggle.active{opacity:1}
/* ---- Payment screenshot drop zone ---- */
.upload-field{display:grid;gap:8px}
.upload-label{font:800 10px Outfit;letter-spacing:.6px;color:#75809b;text-transform:uppercase}
.upload-drop{position:relative;display:grid;place-items:center;text-align:center;gap:4px;padding:26px 18px;border:2px dashed #c9d4f5;border-radius:16px;background:linear-gradient(180deg,#f7f9ff,#eef2ff);cursor:pointer;transition:.2s}
.upload-drop:hover{border-color:#4169ff;background:#eef2ff}
.upload-drop.dragover{border-color:#4169ff;background:#e6ecff;transform:scale(1.01);box-shadow:0 10px 30px #4169ff22}
.upload-drop.has-file{border-color:#078b6d;background:#f1fdf9}
.upload-inner{display:grid;gap:5px;place-items:center;pointer-events:none}
.upload-icon{font-size:30px;animation:floaty 2.4s ease-in-out infinite}
.upload-inner b{font:800 13px inherit;color:#172653}
.upload-inner small{color:#8993ae;font-size:11px}
.upload-badge{position:absolute;top:10px;right:10px;background:#078b6d;color:#fff;border-radius:30px;padding:4px 11px;font:800 10px inherit}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
/* ---- Admin board overlay ---- */
.board-admin{max-width:1120px}
.board-admin .board-tabs{flex-wrap:wrap}
.board-admin .admin-card{margin-bottom:16px}
/* ---- AI assistant ---- */
.ai-launcher{position:fixed;right:22px;bottom:22px;z-index:30;width:58px;height:58px;border:0;border-radius:50%;background:linear-gradient(135deg,#4169ff,#26c9e5);color:#fff;font-size:26px;cursor:pointer;box-shadow:0 12px 30px #4169ff66;transition:.2s}
.ai-launcher:hover{transform:translateY(-3px) scale(1.04)}
.ai-panel{position:fixed;right:22px;bottom:92px;z-index:30;width:min(360px,calc(100vw - 40px));height:min(520px,70vh);display:none;flex-direction:column;background:#fff;border-radius:20px;box-shadow:0 30px 70px #0005;overflow:hidden;border:1px solid #e6ebf9}
.ai-panel.open{display:flex}
.ai-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;background:linear-gradient(100deg,#172653,#4169ff);color:#fff}
.ai-title{font:800 14px inherit}
.ai-head .board-close{background:#ffffff2e;color:#fff}
.ai-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:#f7f9ff}
.ai-msg{max-width:82%;padding:10px 13px;border-radius:14px;font-size:12.5px;line-height:1.7;white-space:pre-wrap;word-break:break-word}
.ai-assistant{align-self:flex-start;background:#fff;border:1px solid #e6ebf9;color:#33406a;border-bottom-left-radius:4px}
.ai-user{align-self:flex-end;background:#4169ff;color:#fff;border-bottom-right-radius:4px}
.ai-error{color:#cf4a30;background:#fdece9;border-color:#f7d6d0}
.ai-form{display:flex;gap:8px;padding:12px;border-top:1px solid #eef1f8;background:#fff}
.ai-form input{flex:1;border:1px solid #dfe4f1;border-radius:11px;padding:11px 13px;font:600 13px inherit;color:#172653;background:#fbfcff;outline:none}
.ai-form input:focus{border-color:#4169ff;background:#fff}
.ai-form .btn-primary{border:0;cursor:pointer;padding:11px 16px}
.ai-form .btn-primary:disabled{opacity:.6;cursor:default}
@media(max-width:560px){.ai-panel{right:12px;left:12px;width:auto;bottom:86px}.ai-launcher{right:16px;bottom:16px}.board-admin .admin-grid-2{grid-template-columns:1fr}}
