:root{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;color:#d7dbe8;background:#0b0f17}*{box-sizing:border-box}html,body,#root{margin:0;width:100%;min-height:100%}body{min-height:100vh}button,input,textarea{font:inherit}.loading-screen{min-height:100vh;display:grid;place-items:center;background:#0a0f18}.auth-page{position:relative;min-height:100vh;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 20% 20%,rgba(32,66,120,.18),transparent 40%),radial-gradient(circle at 80% 60%,rgba(17,44,90,.22),transparent 35%),#050b16}.grain{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:.34;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:28px 28px}.auth-box-wrap{position:relative;z-index:1;width:min(94vw,560px)}.brand{margin:0 0 22px;text-align:center;font-size:clamp(2.3rem,4vw,3.2rem);line-height:1;font-weight:800;color:#41dfcf;letter-spacing:.01em}.brand span{color:#4be7d5}.auth-card{padding:0;border-radius:16px;border:1px solid #2a3752;background:linear-gradient(180deg,#161d2d,#101827 60%,#0f1624);box-shadow:0 20px 80px #00000073;overflow:hidden}.auth-card-header{display:flex;gap:1.1rem;align-items:center;padding:1.4rem 1.5rem 1.2rem;border-bottom:1px solid #29344c}.auth-logo{width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(255,157,90,.32))}.auth-card-header h2{margin:0;font-size:clamp(1.6rem,2.2vw,2.1rem);letter-spacing:.03em}.auth-card-header p{margin:.25rem 0 0;color:#98a3bc;font-size:1.04rem}.auth-form{display:flex;flex-direction:column;gap:1.05rem;padding:1.5rem}.oauth-wrap{padding:1.5rem;display:flex;flex-direction:column;gap:.9rem}.oauth-note{margin:0;color:#aeb8cd}.auth-form label{display:flex;flex-direction:column;gap:.5rem;font-size:1rem;color:#ecf0f8}.input-shell{position:relative}.input-icon{position:absolute;top:50%;left:.85rem;width:20px;height:20px;transform:translateY(-50%);color:#7f8aa3;pointer-events:none}.input-icon svg{width:100%;height:100%;display:block}.auth-form input{width:100%;height:56px;border-radius:9px;border:1px solid #344364;background:#0a1222;color:#eef2ff;padding:0 1rem 0 2.55rem;font-size:1.12rem}.auth-form input:focus{outline:none;border-color:#47dbc9;box-shadow:0 0 0 2px #47dbc933}.auth-error{margin:0;padding:.72rem .9rem;border-radius:8px;border:1px solid #8f3241;background:#3d1822;font-size:.92rem}.btn-primary,.btn-secondary{height:56px;border-radius:9px;border:1px solid transparent;font-weight:700;cursor:pointer;font-size:1.02rem;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;transition:transform .18s ease,filter .18s ease,background-color .2s ease}.btn-primary:active,.btn-secondary:active{transform:translateY(1px)}.btn-icon,.icon-sm{width:20px;height:20px}.btn-icon svg,.icon-sm svg{width:100%;height:100%;display:block}.btn-primary{color:#fff;border-color:#4d5a79;background:linear-gradient(180deg,#2f3b59,#262f46)}.btn-primary:hover{filter:brightness(1.06)}.btn-secondary{margin:0 1.5rem 1.5rem;width:calc(100% - 3rem);color:#ff5d83;border-color:#b03454;background:transparent}.btn-secondary:hover{background:rgba(176,52,84,.08)}.discord-login-btn{height:52px;border-radius:10px;border:1px solid #5164a4;background:linear-gradient(180deg,#5865f2,#4752c4);color:#fff;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;cursor:pointer;transition:transform .18s ease,filter .18s ease}.discord-login-btn:hover{filter:brightness(1.06)}.discord-login-btn:active{transform:translateY(1px)}.acp-shell{min-height:100vh;background:linear-gradient(180deg,rgba(9,14,25,.9),rgba(9,14,25,.94)),#0b111d;color:#dbe1ee}.acp-topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:1rem;height:68px;padding:0 1rem;border-bottom:1px solid #283246;background:rgba(22,27,39,.92);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.acp-brand{font-size:2rem;font-weight:800;color:#36ddca;line-height:1}.acp-brand span{color:#49e8d5}.acp-top-nav{display:flex;align-items:center;gap:.45rem;margin:0 auto}.top-nav-btn{height:38px;padding:0 .95rem;border-radius:8px;border:1px solid transparent;background:transparent;color:#c8d2e8;cursor:pointer;transition:all .18s ease}.top-nav-btn:hover,.top-nav-btn.is-active{background:#1d2738;border-color:#35445f}.profile-menu-wrap{position:relative}.profile-btn{height:40px;border-radius:10px;border:1px solid #36435c;background:#192435;color:#e9edf8;display:inline-flex;align-items:center;gap:.55rem;padding:0 .7rem 0 .5rem;cursor:pointer}.profile-avatar{width:30px;height:30px;border-radius:999px;object-fit:cover;border:1px solid #4a5a78;background:#0f1626}.profile-dropdown{position:absolute;right:0;top:calc(100% + 8px);min-width:170px;border-radius:10px;border:1px solid #36435c;background:#141d2d;box-shadow:0 16px 36px #00000073;overflow:hidden;animation:fadeSlide .16s ease}.profile-dropdown button{width:100%;text-align:left;border:0;background:transparent;color:#dde4f6;padding:.72rem .85rem;cursor:pointer}.profile-dropdown button:hover{background:#1d283c}.acp-layout{display:grid;grid-template-columns:250px 1fr;gap:1rem;padding:1rem}.acp-sidebar{border:1px solid #2e3b55;border-radius:12px;background:#131b2a;padding:.95rem;height:calc(100vh - 86px);position:sticky;top:78px}.acp-sidebar h2{margin:0 0 .9rem;font-size:1.15rem}.side-btn{width:100%;height:44px;border-radius:8px;border:1px solid transparent;background:transparent;color:#d4dced;display:inline-flex;align-items:center;gap:.55rem;padding:0 .7rem;margin-bottom:.5rem;cursor:pointer;transition:all .18s ease}.side-btn:hover,.side-btn.is-active{border-color:#3a4b6a;background:#1e2b41}.side-icon{width:16px;height:16px;display:inline-flex}.side-icon svg{width:100%;height:100%}.acp-content{min-width:0}.acp-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:1rem;margin-bottom:1rem}.panel-card,.settings-card{border:1px solid #2e3b55;border-radius:12px;background:#131b2a;padding:1rem}.panel-card h3,.settings-card h3{margin:0 0 .65rem;font-size:1.04rem}.panel-card-lg{min-height:220px}.commands-panel,.admins-panel{animation:fadeSlide .2s ease}.commands-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.commands-header p{margin:.35rem 0 0;color:#9eabc5}.command-add-btn,.table-edit-btn{border:1px solid #3b4d6d;background:#23314a;color:#ebf1ff;height:38px;border-radius:8px;padding:0 .8rem;display:inline-flex;align-items:center;gap:.45rem;cursor:pointer;transition:all .18s ease}.command-add-btn:hover,.table-edit-btn:hover{filter:brightness(1.1)}.commands-table-wrap{border:1px solid #2e3b55;border-radius:10px;overflow:hidden}.commands-table{width:100%;border-collapse:collapse;background:#101828}.commands-table thead{background:#1a263b}.commands-table th,.commands-table td{text-align:left;padding:.72rem .8rem;border-bottom:1px solid #25334a}.commands-table th{color:#aeb9cf;font-weight:600}.commands-table td{color:#e9eefb}.commands-table tbody tr{transition:background-color .16s ease}.commands-table tbody tr:hover{background:#162238}.mono{font-family:Consolas,Courier New,monospace;white-space:nowrap}.admin-user-cell{display:inline-flex;align-items:center;gap:.55rem}.admin-list-avatar{width:28px;height:28px;border-radius:999px;object-fit:cover;border:1px solid #43597e;background:#0f1626}.role-badge{display:inline-flex;align-items:center;height:26px;padding:0 .65rem;border-radius:999px;border:1px solid #2e6a62;background:#173a36;color:#8cf1df;font-size:.85rem;text-transform:lowercase}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(4,7,13,.7);display:grid;place-items:center;z-index:60;animation:fadeIn .16s ease}.modal-card{width:min(92vw,560px);border:1px solid #2e3c57;border-radius:12px;background:#131b2b;box-shadow:0 20px 70px #0000008c;animation:popIn .2s ease}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:.9rem 1rem;border-bottom:1px solid #29344c}.modal-head h4{margin:0;font-size:1.05rem}.modal-close-btn{width:34px;height:34px;border-radius:8px;border:1px solid #344461;background:#1b283d;color:#d8e2f8;cursor:pointer}.modal-close-btn svg{width:16px;height:16px;margin:auto;display:block}.modal-form{padding:1rem;display:flex;flex-direction:column;gap:.8rem}.modal-form label{display:flex;flex-direction:column;gap:.35rem;color:#e4ebfa}.modal-form input,.modal-form textarea,.settings-form input{border-radius:8px;border:1px solid #3a4a69;background:#0e1626;color:#f0f4fe;padding:.65rem .75rem}.modal-form textarea{min-height:120px;resize:vertical}.modal-form input:focus,.modal-form textarea:focus,.settings-form input:focus{outline:none;border-color:#49dfcc;box-shadow:0 0 0 2px #49dfcc2e}.dashboard-placeholder{margin:0;color:#aab5cb}.settings-avatar-row{display:flex;align-items:center;gap:.85rem;margin-bottom:1rem}.settings-avatar{width:72px;height:72px;border-radius:999px;border:1px solid #44577a;object-fit:cover;background:#0f1626}.upload-btn,.save-btn{height:42px;border-radius:8px;border:1px solid #425473;background:#27334b;color:#f0f3fb;padding:0 .95rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.hidden-input{display:none}.settings-form{display:grid;grid-template-columns:1fr;gap:.8rem}.settings-form label{display:flex;flex-direction:column;gap:.38rem;color:#e5ebfa}.settings-form input{height:44px}.settings-success,.settings-error{margin:0;border-radius:8px;padding:.65rem .8rem}.settings-success{border:1px solid #2d7b67;background:#173b34;color:#90f0d5}.settings-error{border:1px solid #994057;background:#441d29;color:#ff9cb4}.save-btn{margin-top:.3rem;width:fit-content}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeSlide{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes popIn{0%{opacity:0;transform:scale(.98) translateY(4px)}to{opacity:1;transform:scale(1) translateY(0)}}@media (max-width: 1100px){.acp-layout{grid-template-columns:1fr}.acp-sidebar{position:static;height:auto}.acp-grid{grid-template-columns:1fr}}@media (max-width: 760px){.acp-topbar{flex-wrap:wrap;height:auto;padding:.7rem}.acp-top-nav{order:3;width:100%;overflow-x:auto;justify-content:flex-start;margin:0;padding-bottom:.2rem}.acp-brand{font-size:1.8rem}.commands-header{flex-direction:column;align-items:flex-start}.commands-table-wrap{overflow-x:auto}.auth-box-wrap{width:min(96vw,560px)}.brand{margin-bottom:18px;font-size:clamp(2rem,10vw,2.5rem)}.auth-card-header{padding:1.1rem 1rem .95rem}.auth-logo{width:56px;height:56px}.auth-card-header h2{font-size:1.1rem}.auth-card-header p{font-size:.9rem}.auth-form{padding:1rem}.auth-form input,.btn-primary,.btn-secondary{height:50px;font-size:1rem}.btn-secondary{margin:0 1rem 1rem;width:calc(100% - 2rem)}}
