:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#163b46;background:#f3fbfc;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}.login-page{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 10% 15%,rgba(25,190,196,.13),transparent 30%),radial-gradient(circle at 90% 85%,rgba(49,151,255,.11),transparent 28%),#f5fcfd;position:relative;overflow:hidden}.login-decoration{position:absolute;border-radius:50%;background:#09a6ad14}.decoration-one{width:360px;height:360px;top:-160px;left:-100px}.decoration-two{width:300px;height:300px;right:-100px;bottom:-120px}.login-card{width:min(430px,100%);background:#fffffff0;border:1px solid #dceff1;border-radius:28px;padding:38px;box-shadow:0 24px 70px #1d6a7721;position:relative;z-index:1}.brand-mark,.brand-small{display:grid;place-items:center;font-weight:900;color:#fff;background:linear-gradient(135deg,#07a5ad,#36c8cb);box-shadow:0 10px 24px #08a6ad33}.brand-mark{width:64px;height:64px;border-radius:19px;font-size:20px;margin-bottom:22px}.eyebrow{margin:0 0 7px;color:#0799a1;font-size:11px;font-weight:800;letter-spacing:.12em}.login-card h1{margin:0;font-size:31px;color:#153944}.login-subtitle{color:#708b92;line-height:1.6;margin:10px 0 28px}label{display:block;margin:17px 0 8px;font-size:13px;font-weight:700;color:#315761}.input-wrap{height:50px;display:flex;align-items:center;gap:10px;border:1px solid #d6e9eb;border-radius:13px;padding:0 14px;background:#fbfeff}.input-wrap svg{color:#75a0a7}.input-wrap:focus-within{border-color:#20b6bc;box-shadow:0 0 0 4px #20b6bc17}.input-wrap input{width:100%;border:0;outline:0;background:transparent;color:#163b46}.primary-btn,.secondary-btn,.reset-btn,.logout-btn,.slot-actions button,.icon-btn{border:0;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary-btn{border-radius:12px;padding:12px 17px;background:linear-gradient(135deg,#08a6ad,#18bfc0);color:#fff;font-weight:800;box-shadow:0 9px 22px #08a6ad2e;transition:transform .15s ease,box-shadow .15s ease}.primary-btn:hover{transform:translateY(-1px);box-shadow:0 12px 26px #08a6ad3d}.login-btn{width:100%;margin-top:22px;height:50px}.error-box{margin-top:15px;padding:11px 13px;border-radius:10px;background:#fff1f1;color:#bd3d3d;border:1px solid #ffd4d4;font-size:13px}.secure-note{margin-top:24px;display:flex;justify-content:center;align-items:center;gap:7px;color:#6d8b91;font-size:12px}.admin-page{min-height:100vh;background:#f5fbfc}.topbar{height:76px;padding:0 5%;background:#fffffff0;border-bottom:1px solid #e0eef0;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:11px}.brand-small{width:42px;height:42px;border-radius:12px;font-size:13px}.brand strong,.brand span{display:block}.brand strong{font-size:14px}.brand span{color:#78939a;font-size:11px;margin-top:3px}.logout-btn{padding:10px 13px;border-radius:10px;background:#f0f8f9;color:#496970;font-weight:700}.admin-container{width:min(1180px,92%);margin:0 auto;padding:34px 0 60px}.success-notice{position:fixed;top:92px;right:28px;z-index:50;display:flex;align-items:center;gap:9px;background:#effcf7;color:#16825c;border:1px solid #c8f0df;padding:12px 16px;border-radius:12px;box-shadow:0 12px 30px #1b785a1f;font-size:13px;font-weight:700}.welcome{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:26px}.welcome h1{margin:0;color:#163b46;font-size:clamp(26px,4vw,37px)}.welcome p:not(.eyebrow){margin:8px 0 0;color:#78939a;line-height:1.6;max-width:670px}.overview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:20px}.overview-card,.schedule-card,.editor-card{background:#fff;border:1px solid #e0eef0;box-shadow:0 12px 36px #286b770f}.overview-card{border-radius:17px;padding:18px;display:flex;align-items:center;gap:13px}.overview-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:12px;background:#e9f9fa;color:#08a2a9;flex-shrink:0}.overview-icon svg{width:20px}.overview-card span,.overview-card strong{display:block}.overview-card span{color:#81999f;font-size:11px;font-weight:700}.overview-card strong{margin-top:4px;font-size:16px;color:#244b55}.schedule-card,.editor-card{border-radius:20px;padding:24px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.section-heading h2{margin:0;font-size:21px;color:#193e48}.icon-btn{width:37px;height:37px;border-radius:10px;background:#f1f8f9;color:#638088;flex-shrink:0}.reset-btn{background:transparent;color:#67858d;font-weight:700;font-size:12px}.day-tabs{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-top:23px}.day-tabs button{border:1px solid #deedef;background:#fbfeff;color:#507078;border-radius:12px;padding:12px 5px}.day-tabs button.active{background:#eafafb;border-color:#65cdd0;color:#078e96}.day-tabs span,.day-tabs small{display:block}.day-tabs span{font-weight:800;font-size:13px}.day-tabs small{margin-top:4px;font-size:10px}.selected-day-card{margin-top:16px;border-radius:16px;background:#f8fcfd;border:1px solid #e2eff1;padding:19px}.selected-day-title{display:flex;justify-content:space-between;gap:15px;align-items:center}.selected-day-title h3{margin:0;font-size:18px}.selected-day-title p{margin:5px 0 0;color:#80999f;font-size:12px}.status-pill{border-radius:999px;padding:6px 10px;font-size:10px;font-weight:900;white-space:nowrap}.status-pill.open{color:#13865f;background:#e8faf3}.status-pill.closed{color:#9c6767;background:#fff0f0}.current-slots,.slot-editor-grid{display:flex;flex-wrap:wrap;gap:8px}.current-slots{margin-top:17px}.current-slots span{padding:8px 10px;border-radius:9px;background:#fff;border:1px solid #dcecef;color:#436771;font-size:11px;font-weight:700}.slot-summary,.closed-message{color:#81999f;font-size:11px;margin:13px 0 0}.closed-message{padding:18px;text-align:center;background:snow;border-radius:10px}.editor-card{margin-top:20px}.editor-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:14px;margin-top:18px}.editor-grid label{margin-top:0}.editor-grid input,.editor-grid select,.editor-card select{width:100%;height:45px;border:1px solid #d6e8ea;border-radius:10px;background:#fbfeff;padding:0 11px;color:#365b64;outline:none}.editor-grid input:focus,.editor-grid select:focus{border-color:#32b8bd;box-shadow:0 0 0 3px #32b8bd14}.day-enable-row{margin-top:18px;padding:14px 15px;background:#f7fbfc;border:1px solid #e2eff1;border-radius:12px;display:flex;justify-content:space-between;align-items:center;gap:15px}.day-enable-row strong,.day-enable-row span{display:block}.day-enable-row strong{font-size:13px}.day-enable-row span{color:#81999f;font-size:11px;margin-top:3px}.switch{margin:0;flex-shrink:0}.switch input{display:none}.switch span{width:47px;height:27px;display:block;border-radius:30px;background:#d5e5e7;position:relative;cursor:pointer;margin:0}.switch span:after{content:"";position:absolute;top:4px;left:4px;width:19px;height:19px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 2px 6px #0000001f}.switch input:checked+span{background:#13b2b8}.switch input:checked+span:after{transform:translate(20px)}.slots-editor-header{margin-top:23px;display:flex;align-items:end;justify-content:space-between;gap:15px}.slots-editor-header h3{margin:0;font-size:15px}.slots-editor-header p{margin:4px 0 0;color:#879da2;font-size:11px}.slot-actions{display:flex;gap:7px}.slot-actions button{padding:8px 10px;border:1px solid #dcecee;background:#fff;border-radius:8px;color:#55747c;font-size:11px;font-weight:700}.slot-editor-grid{margin-top:15px}.slot-editor-btn{border:1px solid #d9e9eb;background:#fff;color:#66838a;border-radius:9px;padding:9px 11px;font-size:11px;font-weight:700;display:inline-flex;align-items:center;gap:5px}.slot-editor-btn.active{background:#e8fafb;border-color:#51c8cc;color:#058f97}.empty-slots{width:100%;padding:17px;text-align:center;color:#9a7b7b;background:snow;border-radius:10px;font-size:12px}.editor-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.secondary-btn{padding:11px 15px;border-radius:11px;background:#f1f7f8;color:#5d777e;font-weight:700}@media(max-width:900px){.overview-grid,.editor-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.topbar{padding:0 4%}.admin-container{width:94%;padding-top:24px}.welcome{align-items:stretch;flex-direction:column}.welcome .primary-btn{width:100%}.day-tabs{grid-template-columns:repeat(4,1fr)}.schedule-card,.editor-card{padding:17px}.slots-editor-header{align-items:stretch;flex-direction:column}.success-notice{right:3%;left:3%;top:86px}}@media(max-width:480px){.login-card{padding:27px 21px}.overview-grid,.editor-grid{grid-template-columns:1fr}.day-tabs{grid-template-columns:repeat(2,1fr)}.editor-footer{flex-direction:column-reverse}.editor-footer button{width:100%}.brand strong{font-size:12px}}.department-section{margin:24px 0;padding:24px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 8px 25px #0f172a0f}.department-header{margin-bottom:18px}.department-header .eyebrow{margin-bottom:5px}.department-header h2{margin:0;font-size:22px;font-weight:700;color:#111827}.department-header p{margin:6px 0 0;color:#6b7280;font-size:14px}.department-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.department-btn{width:100%;min-height:58px;padding:12px 14px;border:1px solid #e5e7eb;border-radius:12px;background:#f9fafb;color:#374151;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease}.department-btn:hover{border-color:#6366f1;background:#eef2ff;color:#4338ca;transform:translateY(-1px)}.department-btn.active{border-color:#4f46e5;background:#4f46e5;color:#fff;box-shadow:0 5px 14px #4f46e540}.department-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.selected-department{margin-top:18px;margin-bottom:15px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:12px;background:#eef2ff;border:1px solid #c7d2fe}.selected-department span{font-size:13px;color:#6b7280}.selected-department strong{color:#3730a3;font-size:14px}.department-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:120px;color:#6b7280;font-size:14px}@media(max-width:1100px){.department-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:768px){.department-section{padding:18px;border-radius:14px}.department-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.department-btn{min-height:52px;font-size:12px;padding:10px}}@media(max-width:480px){.department-grid{grid-template-columns:1fr}.department-btn{min-height:48px}.selected-department{align-items:flex-start;flex-direction:column;gap:4px}}.day-selector{width:100%;margin:20px auto;padding:24px;box-sizing:border-box;border:1px solid #ddd;border-radius:14px;background:#fff}.day-selector h2{margin:0 0 20px;font-size:22px;color:#222}.days-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.day-item{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #ddd;border-radius:8px;cursor:pointer;-webkit-user-select:none;user-select:none}.day-item:hover{background:#f7f7f7}.day-item input{width:18px;height:18px;cursor:pointer}.day-item span{font-size:15px}.day-actions{display:flex;gap:10px;margin-top:18px}.day-actions button{padding:9px 16px;border:1px solid #ddd;border-radius:7px;background:#f5f5f5;cursor:pointer}.day-actions button:hover{background:#e9e9e9}.status-section{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:22px;padding-top:18px;border-top:1px solid #ddd}.status-section label{font-size:15px;font-weight:600}.status-section select{min-width:130px;padding:9px 12px;border:1px solid #ccc;border-radius:7px;background:#fff;font-size:14px;cursor:pointer}.result{margin-top:18px;padding:14px;border-radius:8px;background:#f7f7f7;font-size:14px}.result p{margin:5px 0}@media(max-width:768px){.day-selector{padding:20px}.days-list{gap:8px}}@media(max-width:480px){.day-selector{padding:16px}.days-list{grid-template-columns:1fr}.day-actions{width:100%}.day-actions button{flex:1}.status-section{align-items:stretch;flex-direction:column}.status-section select{width:100%}}
