@font-face{font-family:Inter;font-style:normal;font-weight:300;font-display:swap;src:url(../fonts/Inter-Light.ttf) format("truetype")}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/Inter-Regular.ttf) format("truetype")}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/Inter-Regular.ttf) format("truetype")}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/Inter-SemiBold.ttf) format("truetype")}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/Inter-SemiBold.ttf) format("truetype")}@font-face{font-family:Fira Code;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/FiraCode-Light.ttf) format("truetype")}@font-face{font-family:Fira Code;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/FiraCode-Light.ttf) format("truetype")}:root{--bg-body: #050505;--bg-card: rgba(15, 15, 15, .95);--bg-input: #0f0f0f;--bg-hover: rgba(255, 255, 255, .05);--text-main: #ffffff;--text-muted: #9ca3af;--text-subtle: #6b7280;--border-color: #222;--border-light: #333;--accent: #ff0000;--accent-hover: #cc0000;--accent-glow: rgba(255, 0, 0, .3);--danger: #ef4444;--success: #22c55e;--shadow-card: 0 10px 40px -10px rgba(0, 0, 0, .5);--shadow-glow: 0 0 30px rgba(255, 0, 0, .15);--radius-sm: 4px;--radius-md: 8px;--radius-lg: 16px;--font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;--font-mono: "Fira Code", monospace}.light-mode{--bg-body: #f8f9fa;--bg-card: rgba(255, 255, 255, .95);--bg-input: #ffffff;--bg-hover: rgba(0, 0, 0, .05);--text-main: #111827;--text-muted: #4b5563;--text-subtle: #9ca3af;--border-color: #e5e7eb;--border-light: #d1d5db;--shadow-card: 0 10px 40px -10px rgba(0, 0, 0, .1)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{font-size:16px;-webkit-text-size-adjust:100%}body{font-family:var(--font-sans);background:var(--bg-body);color:var(--text-main);line-height:1.6;min-height:100vh;overflow-x:hidden;transition:background-color .3s ease,color .3s ease}#bg-canvas{position:fixed;top:0;left:0;width:100%;height:100%;z-index:-1;opacity:.4}#app{min-height:100vh;display:flex;flex-direction:column}.view{display:none;min-height:100vh}.view.active{display:flex;flex-direction:column}#login-view{justify-content:center;align-items:center;padding:1rem}.login-container{width:100%;max-width:420px;display:flex;flex-direction:column;align-items:center;gap:2rem}.login-logo{width:120px;height:auto;animation:pulse-glow 3s ease-in-out infinite}.login-logo svg{width:100%;height:auto;filter:drop-shadow(0 0 20px var(--accent-glow))}@keyframes pulse-glow{0%,to{filter:drop-shadow(0 0 20px var(--accent-glow))}50%{filter:drop-shadow(0 0 40px var(--accent-glow))}}.login-card{width:100%;background:var(--bg-card);border:1px solid var(--border-color);border-radius:var(--radius-lg);padding:2rem;box-shadow:var(--shadow-card);backdrop-filter:blur(10px)}.login-title{font-size:1.75rem;font-weight:700;text-align:center;margin-bottom:.5rem;letter-spacing:-.02em}.login-subtitle{color:var(--text-muted);text-align:center;font-size:.9rem;margin-bottom:1.5rem}.form-group{margin-bottom:1.25rem}.form-group label{display:block;font-size:.85rem;font-weight:500;color:var(--text-muted);margin-bottom:.5rem}.form-group input,.form-group textarea,.form-group select{width:100%;padding:.875rem 1rem;background:var(--bg-input);border:1px solid var(--border-color);border-radius:var(--radius-md);color:var(--text-main);font-size:.95rem;font-family:var(--font-sans);transition:border-color .2s,box-shadow .2s}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-glow)}.form-group input::placeholder,.form-group textarea::placeholder{color:var(--text-subtle)}.form-options{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;font-size:.85rem}.checkbox-container{display:flex;align-items:center;gap:.5rem;cursor:pointer;color:var(--text-muted)}.checkbox-container input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent);cursor:pointer}.forgot-link{color:var(--accent);text-decoration:none;transition:opacity .2s}.forgot-link:hover{opacity:.8}.btn-login{width:100%;padding:1rem;background:var(--accent);color:#fff;border:none;border-radius:var(--radius-md);font-size:1rem;font-weight:600;cursor:pointer;display:flex;justify-content:center;align-items:center;gap:.5rem;transition:background .2s,transform .1s}.btn-login:hover{background:var(--accent-hover)}.btn-login:active{transform:scale(.98)}.btn-login:disabled{opacity:.7;cursor:not-allowed}.btn-loader{display:flex;align-items:center}.btn-loader .spinner{width:20px;height:20px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.hidden{display:none!important}.error-message{margin-top:1rem;padding:.75rem 1rem;background:#ef44441a;border:1px solid var(--danger);border-radius:var(--radius-md);color:var(--danger);font-size:.9rem;text-align:center}.login-footer{color:var(--text-subtle);font-size:.85rem;text-align:center}.login-footer a{color:var(--accent);text-decoration:none}#dashboard-view{flex-direction:column}.dashboard-header{position:sticky;top:0;z-index:100;display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;background:var(--bg-card);border-bottom:1px solid var(--border-color);backdrop-filter:blur(10px)}.header-left{display:flex;align-items:center;gap:1rem}.header-logo{width:60px;height:auto}.header-logo svg{width:100%;height:auto}.header-right{display:flex;align-items:center;gap:2rem}.header-datetime{display:flex;flex-direction:column;align-items:flex-end;font-family:var(--font-mono);font-size:.8rem;color:var(--text-muted)}#current-time{font-size:1.1rem;color:var(--text-main);font-weight:500}.header-user{position:relative;display:flex;align-items:center;gap:.75rem;cursor:pointer;padding:.5rem;border-radius:var(--radius-md);transition:background .2s}.header-user:hover{background:var(--bg-hover)}#user-name{font-size:.9rem;font-weight:500}.user-avatar{width:36px;height:36px;background:var(--accent);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.9rem;font-weight:600}.user-menu{position:absolute;top:100%;right:0;margin-top:.5rem;background:var(--bg-card);border:1px solid var(--border-color);border-radius:var(--radius-md);padding:.5rem;min-width:180px;box-shadow:var(--shadow-card);opacity:0;visibility:hidden;transform:translateY(-10px);transition:opacity .2s,transform .2s,visibility .2s}.header-user:hover .user-menu,.user-menu:hover{opacity:1;visibility:visible;transform:translateY(0)}.menu-item{display:flex;align-items:center;gap:.75rem;width:100%;padding:.625rem .75rem;background:none;border:none;border-radius:var(--radius-sm);color:var(--text-main);font-size:.9rem;cursor:pointer;transition:background .2s}.menu-item:hover{background:var(--bg-hover)}.menu-item svg{width:18px;height:18px}.menu-item-danger{color:var(--danger)}.menu-item .icon-sun,.menu-item .icon-moon{width:18px;height:18px}.light-mode .menu-item .icon-sun{display:none}.light-mode .menu-item .icon-moon{display:block}.dashboard-main{flex:1;padding:2rem;max-width:1400px;margin:0 auto;width:100%}.dashboard-welcome{margin-bottom:2rem}.dashboard-welcome h1{font-size:2rem;font-weight:700;margin-bottom:.5rem;letter-spacing:-.02em}.dashboard-welcome h1 span{color:var(--accent)}.dashboard-welcome p{color:var(--text-muted)}.cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.service-card{position:relative;background:var(--bg-card);border:1px solid var(--border-color);border-radius:var(--radius-lg);padding:1.5rem;cursor:pointer;transition:transform .2s,border-color .2s,box-shadow .2s;text-decoration:none;color:inherit;display:flex;flex-direction:column;gap:1rem;overflow:hidden}.service-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--accent);opacity:0;transition:opacity .2s}.service-card:hover{transform:translateY(-4px);border-color:var(--accent);box-shadow:var(--shadow-glow)}.service-card:hover:before{opacity:1}.service-card.preview{border-style:dashed;opacity:.7}.service-card.preview:after{content:"PREVIEW";position:absolute;top:.5rem;right:.5rem;font-size:.65rem;font-family:var(--font-mono);background:var(--accent);color:#fff;padding:.2rem .5rem;border-radius:var(--radius-sm)}.card-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center}.card-icon svg{width:100%;height:100%}.card-content h3{font-size:1.1rem;font-weight:600;margin-bottom:.25rem}.card-content p{font-size:.85rem;color:var(--text-muted)}.card-edit-btn{position:absolute;top:.75rem;right:.75rem;width:32px;height:32px;background:var(--bg-input);border:1px solid var(--border-color);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .2s,background .2s}.service-card:hover .card-edit-btn{opacity:1}.card-edit-btn:hover{background:var(--accent);border-color:var(--accent)}.card-edit-btn svg{width:16px;height:16px}.admin-add-btn{position:fixed;bottom:2rem;right:2rem;width:56px;height:56px;background:var(--accent);border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 20px var(--accent-glow);transition:transform .2s,box-shadow .2s;z-index:50}.admin-add-btn:hover{transform:scale(1.1);box-shadow:0 6px 30px var(--accent-glow)}.admin-add-btn svg{width:24px;height:24px;color:#fff}.dashboard-footer{padding:1.5rem 2rem;text-align:center;font-size:.8rem;font-family:var(--font-mono);color:var(--text-subtle);border-top:1px solid var(--border-color)}.modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:1rem}.modal-backdrop{position:absolute;inset:0;background:#000000b3;backdrop-filter:blur(4px)}.modal-content{position:relative;width:100%;max-width:500px;background:var(--bg-card);border:1px solid var(--border-color);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);animation:modal-in .3s ease}@keyframes modal-in{0%{opacity:0;transform:scale(.95) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid var(--border-color)}.modal-header h2{font-size:1.25rem;font-weight:600}.modal-close{width:32px;height:32px;background:none;border:none;font-size:1.5rem;color:var(--text-muted);cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:var(--radius-sm);transition:background .2s,color .2s}.modal-close:hover{background:var(--bg-hover);color:var(--text-main)}.modal-body{padding:1.5rem}.form-actions{display:flex;gap:1rem;margin-top:1.5rem}.btn-primary,.btn-secondary{flex:1;padding:.875rem 1rem;border:none;border-radius:var(--radius-md);font-size:.95rem;font-weight:500;cursor:pointer;transition:background .2s,transform .1s}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{background:var(--accent-hover)}.btn-secondary{background:var(--bg-input);color:var(--text-main);border:1px solid var(--border-color)}.btn-secondary:hover{background:var(--bg-hover)}@media(max-width:768px){.dashboard-header{padding:1rem}.header-datetime,#user-name{display:none}.dashboard-main{padding:1.5rem 1rem}.dashboard-welcome h1{font-size:1.5rem}.cards-grid{grid-template-columns:1fr}.admin-add-btn{bottom:1rem;right:1rem}.form-options{flex-direction:column;gap:1rem;align-items:flex-start}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.login-info{text-align:center;color:var(--text-secondary);margin-bottom:1.5rem;font-size:.9rem}
