:root{--ink:#14213d;--muted:#718096;--line:#e7ebf2;--blue:#2563eb;--blue-dark:#1748b8;--surface:#fff;--bg:#f5f7fb;--green:#0f9f6e;--red:#dc3545;--shadow:0 12px 35px rgba(22,40,75,.07)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'Cairo',Tahoma,Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:14px}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.container{width:min(1160px,calc(100% - 40px));margin:auto}.brand-mark{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#3177ff,#1942b5);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:23px;font-weight:900;box-shadow:0 7px 18px #2563eb33}.muted,small{color:var(--muted)}.eyebrow{display:inline-block;color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.5px}.btn{border:0;border-radius:10px;padding:11px 19px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800;transition:.2s}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--blue);color:#fff;box-shadow:0 6px 15px #2563eb2b}.btn.primary:hover{background:var(--blue-dark)}.btn.light{background:#eef2f8;color:#334155}.btn.white-btn{background:#fff;color:#1647ac}.btn.small{font-size:12px;padding:7px 11px}.btn.wide{width:100%;margin-top:10px}.pill{font-size:10px;font-weight:900;border-radius:20px;padding:5px 10px;display:inline-flex;align-items:center}.pill.free{color:#087d59;background:#e4f7ef}.pill.premium{color:#7941c8;background:#f1eaff}.alert{padding:12px 15px;border-radius:10px;margin:0 0 18px;font-weight:700}.alert.success{background:#e8f8f0;color:#087e54}.alert.error{background:#fff0f0;color:#b42332}.empty{padding:25px;text-align:center;color:#8290a4}.empty.large-empty{background:#fff;border:1px dashed #cbd5e1;border-radius:15px;margin-top:15px}
/* public website */
.public-body{background:#f7f9fc}.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.site-nav{height:78px;display:flex;align-items:center;gap:35px}.site-logo{display:flex;align-items:center;gap:11px;font-weight:900;font-size:16px}.site-logo small{display:block;font-size:10px;font-weight:500}.site-nav nav{display:flex;gap:25px;margin-right:auto;color:#53627a;font-weight:700}.site-nav nav a:hover{color:var(--blue)}.public-main{padding-top:27px;padding-bottom:65px}.hero-feature{background:linear-gradient(120deg,#142d62,#1d4f9c 64%,#2265c3);border-radius:24px;min-height:330px;display:grid;grid-template-columns:1.1fr .9fr;overflow:hidden;color:#fff;box-shadow:0 18px 45px #173e7925}.hero-text{padding:48px 52px;align-self:center}.hero-text .eyebrow{color:#a8caff}.hero-text h1{font-size:34px;line-height:1.45;margin:12px 0}.hero-text p{color:#d4e3fa;line-height:2;max-width:560px;font-size:15px}.hero-visual{padding:25px;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 50%,#4f8beb66,transparent 65%)}.hero-visual img{width:100%;height:270px;object-fit:cover;border-radius:17px;box-shadow:0 18px 38px #0d245c66}.hero-pattern{width:80%;height:245px;border:1px solid #ffffff33;border-radius:20px;background:linear-gradient(135deg,#ffffff12,#ffffff02);display:flex;align-items:center;justify-content:center;text-align:center;font-weight:900;font-size:42px;letter-spacing:4px;line-height:1.25;color:#ffffffad}.page-intro{padding:42px 5px 25px}.page-intro h1{font-size:37px;margin:8px 0}.page-intro p{color:var(--muted);font-size:16px;margin:0}.content-section{padding-top:48px;scroll-margin-top:95px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px}.section-heading h2{font-size:25px;margin:4px 0}.section-heading p{margin:0;color:var(--muted)}.section-note{color:#8492a6;font-size:12px}.search-bar{display:flex;gap:10px;background:#fff;padding:10px;border:1px solid var(--line);border-radius:13px;box-shadow:0 5px 15px #1b315009}.search-bar input,.search-bar select{border:0;background:#f6f8fb;border-radius:9px;padding:12px;outline:0}.search-bar input{flex:1;min-width:100px}.search-bar select{width:155px;color:#506078}.category-row{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 20px}.category-chip{background:#edf2f9;color:#52627b;padding:6px 12px;border-radius:25px;font-size:11px;font-weight:800}.category-chip small{margin-right:5px}.app-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.app-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:.2s}.app-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#c9d8f5}.app-card-image{height:150px;background:linear-gradient(135deg,#eaf1ff,#f7f9ff);display:flex;align-items:center;justify-content:center;overflow:hidden;color:#96a9ca;font-size:24px;font-weight:900}.app-card-image img{height:100%;width:100%;object-fit:cover}.app-card-body{padding:15px 16px}.card-top{display:flex;justify-content:space-between;align-items:center}.card-top small{font-size:10px}.app-card h3{font-size:17px;margin:12px 0 6px}.app-card p{color:#78869a;line-height:1.9;height:48px;overflow:hidden;margin:0 0 12px;font-size:12px}.card-footer{border-top:1px solid #edf0f5;padding-top:11px;display:flex;justify-content:space-between;align-items:center}.card-footer a,.read-more{font-size:12px;color:var(--blue);font-weight:900}.card-footer small{font-size:10px}.articles-section{padding-bottom:15px}.article-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.article-card{display:grid;grid-template-columns:135px 1fr;gap:15px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;transition:.2s}.article-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}.article-thumb{height:120px;border-radius:10px;background:#edf2fa;display:flex;align-items:center;justify-content:center;color:#8298bc;overflow:hidden}.article-thumb img{width:100%;height:100%;object-fit:cover}.article-card small{font-size:10px}.article-card h3{font-size:15px;margin:5px 0}.article-card p{font-size:11px;color:#77859a;line-height:1.8;margin:0 0 7px}.article-card b{color:var(--blue);font-size:11px}.site-footer{background:#12264a;color:#dbe5f6;padding:30px 0}.footer-inner{display:flex;justify-content:space-between;align-items:center}.footer-inner p{color:#a9bad5;margin:5px 0 0;font-size:12px}.footer-inner span{font-size:11px;color:#9eb0cd}.breadcrumb{color:#8491a4;font-size:12px;margin:5px 0 20px}.breadcrumb a{color:var(--blue)}.detail-hero{background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px;display:grid;grid-template-columns:220px 1fr;gap:28px;align-items:center}.detail-image{width:210px;height:190px;border-radius:18px;background:#eef3fc;display:flex;align-items:center;justify-content:center;color:#90a4c4;font-size:28px;font-weight:900;overflow:hidden}.detail-image img{width:100%;height:100%;object-fit:cover}.detail-badges{display:flex;gap:8px;align-items:center}.detail-copy h1{font-size:31px;margin:10px 0}.detail-copy .lead{font-size:15px;color:#68778e;line-height:1.9}.detail-meta{display:flex;gap:18px;color:#8a96a8;font-size:11px;margin:15px 0}.premium-btn{background:#f1eaff;color:#7941c8;cursor:default}.read-more{display:inline-block;margin-right:14px}.panel.public-description{margin-top:20px}.public-description h2{font-size:19px}.article-page{max-width:850px;margin:0 auto;background:#fff;padding:38px 48px;border:1px solid var(--line);border-radius:18px}.article-page header h1{font-size:34px;line-height:1.5;margin:10px 0}.article-meta{font-size:11px;color:#8b98aa}.article-cover{width:100%;max-height:420px;object-fit:cover;border-radius:13px;margin:18px 0}.article-lead{font-size:17px;color:#536681;background:#f4f7fc;padding:17px 20px;border-right:3px solid var(--blue);line-height:2}.article-content{white-space:pre-wrap;line-height:2.2;font-size:15px;color:#45556e;margin-top:20px}
/* admin */
.admin-body{background:#f3f6fb}.admin-shell{min-height:100vh;display:flex}.sidebar{width:245px;background:#12264a;color:#d9e4f8;position:fixed;right:0;top:0;bottom:0;padding:22px 15px;display:flex;flex-direction:column;z-index:5}.admin-brand{display:flex;align-items:center;gap:11px;padding:0 9px 27px;border-bottom:1px solid #ffffff1c}.admin-brand b{display:block;font-size:13px;letter-spacing:1px}.admin-brand small{display:block;color:#9eb1d0;font-size:10px}.sidebar nav{padding-top:20px;display:grid;gap:6px}.sidebar nav a{padding:11px 13px;border-radius:9px;color:#bac9e1;font-weight:700;font-size:12px;display:flex;align-items:center;gap:12px}.sidebar nav a i{font-style:normal;font-size:16px;width:18px;text-align:center}.sidebar nav a:hover,.sidebar nav a.active{background:#ffffff18;color:#fff}.sidebar nav a.active{box-shadow:inset -3px 0 #65a1ff}.sidebar-bottom{margin-top:auto;display:grid;gap:13px;padding:15px 10px 0;border-top:1px solid #ffffff1c;font-size:11px;color:#b5c4dc}.sidebar-bottom small{font-size:9px;color:#8096b9}.logout-link{border:0;background:none;color:#e0aab0;padding:0;font-weight:700}.admin-main{width:calc(100% - 245px);margin-right:245px;padding:28px 32px 60px;max-width:1600px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.topbar h1{font-size:25px;margin:2px 0}.admin-user{display:flex;align-items:center;gap:10px;color:#58677f;font-weight:700;font-size:12px}.avatar{width:35px;height:35px;border-radius:50%;background:#e1eaff;color:#275ac3;display:inline-flex;align-items:center;justify-content:center;font-weight:900}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:20px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px;box-shadow:0 4px 15px #1a315008}.stat-card span{display:block;color:#77859a;font-size:11px;font-weight:700}.stat-card strong{display:block;font-size:30px;margin:4px 0;color:#1b3768}.stat-card small{font-size:10px}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:21px;margin-bottom:19px;box-shadow:0 5px 20px #1a315007}.panel h2{font-size:17px;margin:0 0 5px}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.panel-head p{font-size:11px;color:#8390a3;margin:0}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:680px;text-align:right}th{background:#f7f9fc;color:#7a879b;font-size:10px;font-weight:800;padding:12px}td{padding:13px 12px;border-bottom:1px solid #edf0f5;font-size:11px;color:#506078}td b{color:#273b5d;font-size:12px}.sub-cell{display:block;font-size:9px;margin-top:3px}.actions{white-space:nowrap}.actions form{display:inline}.actions a{color:var(--blue);font-weight:800;margin-left:10px}.text-danger{color:#ce4050;background:none;border:0;font-weight:800;font-size:11px}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.quick-grid a{border:1px solid var(--line);border-radius:11px;padding:16px 12px;display:grid;gap:8px;color:#53627a;font-weight:700;font-size:11px}.quick-grid a:hover{border-color:#aec5f5;background:#f8faff}.quick-grid b{font-size:23px;color:var(--blue)}.editor-form label,.panel label{display:grid;gap:7px;font-size:11px;color:#52627a;font-weight:800}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin:10px 0 18px}.form-grid .full{grid-column:1/-1}.editor-form input:not([type=checkbox]),.editor-form select,.editor-form textarea,.panel input:not([type=checkbox]),.panel textarea{width:100%;border:1px solid #dfe5ef;border-radius:9px;padding:11px 12px;background:#fbfcfe;color:#2c3c58;outline:none;font-weight:500}.editor-form input:focus,.editor-form textarea:focus,.editor-form select:focus,.panel input:focus,.panel textarea:focus{border-color:#8cb0f4;box-shadow:0 0 0 3px #2563eb12}.editor-form small{font-size:10px;font-weight:500}.check-label{display:flex!important;align-items:center;gap:8px}.check-label input{width:auto!important}.split-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:18px}.split-layout .panel form{display:grid;gap:13px;margin-top:17px}.simple-list>div{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line)}.simple-list small{display:block;font-size:10px}.security-note{margin-top:22px;padding:14px;background:#f2f6ff;border-radius:10px;color:#50627f;font-size:11px;line-height:1.8}.install-body,.login-body{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(circle at 15% 10%,#dbe8ff,transparent 35%),#f4f7fc}.install-card,.login-card{width:min(710px,100%);background:#fff;border:1px solid var(--line);border-radius:20px;padding:32px;box-shadow:var(--shadow)}.login-card{width:min(430px,100%)}.install-card>.brand-mark,.login-card>.brand-mark{margin-bottom:12px}.install-card h1,.login-card h1{margin:0;font-size:24px}.install-card h3{font-size:14px;margin:25px 0 12px;border-bottom:1px solid var(--line);padding-bottom:8px}.install-card label,.login-card label{display:grid;gap:6px;font-size:11px;font-weight:800;color:#58677f}.install-card input,.login-card input{border:1px solid #dce3ee;border-radius:9px;padding:11px}.install-card form{margin-top:20px}.install-card small{display:block;margin-top:17px;font-size:10px}.login-card form{display:grid;gap:14px;margin:22px 0}.back-link{display:block;text-align:center;color:var(--blue);font-size:11px}
@media(max-width:1000px){.sidebar{width:210px}.admin-main{width:calc(100% - 210px);margin-right:210px;padding:23px 20px}.app-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.container{width:min(100% - 26px,1160px)}.site-nav{height:auto;min-height:70px;gap:12px;flex-wrap:wrap;padding:12px 0}.site-nav nav{order:3;width:100%;justify-content:center;gap:20px}.site-nav>.btn{margin-right:auto;font-size:11px;padding:9px 12px}.hero-feature{grid-template-columns:1fr}.hero-text{padding:30px}.hero-text h1{font-size:25px}.hero-visual{padding:0 25px 25px}.hero-visual img{height:180px}.app-grid{grid-template-columns:repeat(2,1fr);gap:11px}.app-card-image{height:115px}.app-card-body{padding:12px}.app-card h3{font-size:14px}.article-grid{grid-template-columns:1fr}.detail-hero{grid-template-columns:1fr;padding:20px}.detail-image{width:100%;height:180px}.article-page{padding:25px 20px}.article-page header h1{font-size:25px}.admin-shell{display:block}.sidebar{position:relative;width:100%;height:auto;padding:12px}.admin-brand{padding-bottom:10px}.sidebar nav{display:flex;overflow-x:auto;padding-top:10px}.sidebar nav a{white-space:nowrap;padding:8px 10px}.sidebar nav a i{display:none}.sidebar-bottom{display:none}.admin-main{width:100%;margin:0;padding:20px 13px 45px}.stat-grid{grid-template-columns:repeat(2,1fr);gap:10px}.stat-card{padding:13px}.stat-card strong{font-size:24px}.quick-grid{grid-template-columns:repeat(2,1fr)}.split-layout{grid-template-columns:1fr}.topbar h1{font-size:21px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.panel{padding:15px}.panel-head{align-items:flex-start;gap:10px}.panel-head .btn{white-space:nowrap;padding:9px 10px;font-size:10px}.footer-inner{display:block}.footer-inner span{display:block;margin-top:14px}}@media(max-width:430px){.app-grid{grid-template-columns:1fr}.app-card{display:grid;grid-template-columns:110px 1fr}.app-card-image{height:100%;min-height:150px}.search-bar{flex-wrap:wrap}.search-bar input{flex-basis:100%}.search-bar select{flex:1}.search-bar button{flex:1}.detail-copy h1{font-size:25px}}
