*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:#172033}a{text-decoration:none;color:inherit}
.public-bg{min-height:100vh;background-color:#f8fafc;background-size:cover;background-position:center;background-attachment:fixed;background-repeat:no-repeat;display:flex;justify-content:center;padding:50px 18px}
.profile{width:min(620px,100%);text-align:center}.avatar{width:78px;height:78px;margin:auto;border-radius:24px;display:grid;place-items:center;font-size:35px;background:#fff;box-shadow:0 15px 45px #0f172a18}.profile h1{margin:18px 0 5px;font-size:32px}.profile>p{margin:0 0 28px;color:#64748b}.links{display:grid;gap:14px}.link-btn{position:relative;display:flex;align-items:center;justify-content:center;min-height:62px;padding:0 55px;border-radius:18px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 8px 25px #0f172a0d;font-weight:700;transition:.2s;overflow:hidden}.link-btn:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--accent)}.link-btn:hover{transform:translateY(-3px);box-shadow:0 14px 30px #0f172a18}.icon{position:absolute;left:18px;font-size:23px}.arrow{position:absolute;right:20px;color:#94a3b8}.empty{padding:25px;background:#fff;border-radius:18px;color:#64748b}footer{margin-top:35px;font-size:13px;color:#94a3b8}
.admin-bg{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 15% 10%,#dbeafe,transparent 30%),#f1f5f9}.auth-card{width:min(430px,100%);background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:34px;box-shadow:0 25px 70px #0f172a18}.brand{font-weight:900;font-size:20px;color:#1d4ed8;margin-bottom:18px}.auth-card h1{margin:0 0 7px}.hint{color:#64748b;font-size:14px;line-height:1.6}.center{text-align:center}label{display:block;font-size:14px;font-weight:700;margin:18px 0 8px}input{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:12px 13px;font:inherit;outline:none}input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb18}input[type=color]{height:46px;padding:4px}.btn{border:0;border-radius:12px;padding:12px 17px;font-weight:800;font:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.primary{background:#2563eb;color:white}.primary:hover{background:#1d4ed8}.ghost{background:#f1f5f9}.full{width:100%;margin-top:22px}.alert{padding:13px 15px;border-radius:12px;margin:15px 0;font-size:14px}.alert.error{background:#fee2e2;color:#991b1b}.alert.success{background:#dcfce7;color:#166534}
.dashboard-bg{min-height:100vh;background:#f8fafc}.topbar{height:68px;background:#fff;border-bottom:1px solid #e2e8f0;padding:0 5%;display:flex;align-items:center;justify-content:space-between}.topbar nav{display:flex;gap:20px;font-size:14px;font-weight:700}.dash{width:min(1180px,92%);margin:35px auto}.dash-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.dash-head h1{margin:0 0 5px}.dash-head p{margin:0;color:#64748b}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px}.stats>div{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:20px}.stats b{display:block;font-size:28px}.stats span{color:#64748b;font-size:13px}.panel,.form-card{background:#fff;border:1px solid #e2e8f0;border-radius:20px;overflow:hidden}.panel-title{padding:20px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between}.panel-title h2{margin:0;font-size:18px}.panel-title span{color:#94a3b8;font-size:13px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:800px}th,td{padding:15px 18px;text-align:left;border-bottom:1px solid #eef2f7;font-size:14px}th{color:#64748b;font-size:12px;text-transform:uppercase}.mini-icon{display:inline-grid;place-items:center;width:35px;height:35px;border-radius:10px;margin-right:9px;color:#fff}.url{max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#64748b}.badge{padding:5px 9px;border-radius:99px;font-size:12px;font-weight:800}.on{background:#dcfce7;color:#166534}.off{background:#f1f5f9;color:#64748b}.actions{display:flex;gap:10px}.actions a,.actions button{border:0;background:none;color:#2563eb;font-weight:700;cursor:pointer}.actions button{color:#dc2626}
.form-page{width:min(680px,92%);margin:45px auto}.form-card{padding:30px}.form-card h1{margin:0}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.check{display:flex;align-items:center;gap:9px}.check input{width:auto}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}@media(max-width:650px){.stats{grid-template-columns:1fr}.dash-head{align-items:flex-start;flex-direction:column}.two{grid-template-columns:1fr}.topbar{padding:0 4%}.topbar nav{gap:10px;font-size:12px}}
.avatar img{width:100%;height:100%;object-fit:contain;border-radius:24px}.logo-upload{display:flex;align-items:center;gap:18px;padding:15px;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:15px}.logo-upload img,.no-logo{width:110px;height:110px;object-fit:contain;border-radius:18px;background:#fff;border:1px solid #e2e8f0}.no-logo{display:grid;place-items:center;font-size:45px}
.theme-upload,.background-upload{display:flex;align-items:center;gap:18px;padding:16px;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:15px}.logo-preview,.no-logo{width:110px;height:110px;object-fit:contain;border-radius:18px;background:#fff;border:1px solid #e2e8f0}.no-logo{display:grid;place-items:center;font-size:45px}.background-preview{width:220px;height:120px;object-fit:cover;border-radius:14px;background:#fff;border:1px solid #e2e8f0}.no-background{width:220px;height:120px;border-radius:14px;background:#e2e8f0;display:grid;place-items:center;color:#64748b;text-align:center}.upload-info{flex:1}.upload-info p{font-size:12px;color:#64748b;margin:8px 0}.tip-box{margin-top:18px;padding:14px;border-radius:12px;background:#eff6ff;color:#1e40af;font-size:13px;line-height:1.6}.check{display:flex;align-items:center;gap:8px}.check input{width:auto}
@media(max-width:650px){.theme-upload,.background-upload{align-items:flex-start;flex-direction:column}.background-preview,.no-background{width:100%;height:150px}}
