*{box-sizing:border-box;margin:0;padding:0}body{font-family:Segoe UI,sans-serif;background:#f1f5f9;min-height:100vh}.login-wrapper{min-height:100vh;width:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0f172a,#1e293b);padding:20px}.login-card{width:100%;max-width:420px;background:#fff;padding:40px 30px;border-radius:16px;box-shadow:0 20px 40px #0003;text-align:center}.login-logo{width:180px;margin-bottom:20px}.login-title{margin-bottom:25px;font-weight:600;color:#1e293b}.login-card input{width:100%;padding:12px;margin-bottom:15px;border-radius:8px;border:1px solid #e2e8f0;font-size:14px;transition:.3s}.login-card input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.login-card button{width:100%;padding:12px;border-radius:8px;border:none;background:#2563eb;color:#fff;font-weight:600;cursor:pointer;transition:.3s}.login-card button:hover{background:#1d4ed8}.admin-container{display:flex;min-height:100vh;width:100%}.sidebar{width:240px;background:#0f172a;color:#fff;padding:20px 10px;transition:.3s ease;display:flex;flex-direction:column}.sidebar.collapsed{width:70px}.sidebar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.sidebar-header button{background:none;border:none;color:#fff;cursor:pointer}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 15px;border-radius:8px;text-decoration:none;color:#cbd5e1;margin-bottom:10px;transition:.2s ease}.nav-item:hover{background:#1e293b;color:#fff}.nav-item.active{background:#2563eb;color:#fff}.main-content{flex:1;display:flex;flex-direction:column;background:#f1f5f9}.topbar{height:60px;background:#fff;display:flex;justify-content:flex-end;align-items:center;padding:0 20px;box-shadow:0 2px 5px #0000000d}.logout-btn{background:#ef4444;border:none;padding:8px 15px;color:#fff;border-radius:6px;cursor:pointer}.logout-btn:hover{background:#dc2626}.page-content{padding:40px}@media(max-width:768px){.sidebar{position:fixed;height:100%;z-index:100}.page-content{padding:20px}}.department-wrapper{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(135deg,#0f2027,#203a43,#2c5364);color:#fff}.department-topbar{display:flex;justify-content:flex-end;padding:20px}.department-topbar button{background:#ff4d4d;border:none;padding:10px 20px;border-radius:6px;color:#fff;cursor:pointer;font-weight:600}.department-topbar button:hover{background:#e60000}.department-content{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center}.purchase-layout{display:flex;height:100vh;background:#0f2a33;color:#fff}.purchase-sidebar{width:240px;background:#12343b;padding:20px;display:flex;flex-direction:column;gap:20px}.purchase-title{font-size:22px;margin-bottom:10px;font-weight:700}.nav-item{text-decoration:none;color:#fff;padding:10px;border-radius:6px}.nav-item.active{background:#1f5662}.logout-btn{margin-top:auto;background:#ff6b6b;border:none;padding:10px;border-radius:6px;color:#fff;cursor:pointer}.purchase-main{padding:30px;flex-grow:1;overflow-y:auto}.purchase-main{padding:30px;color:#e8f1f2;font-family:Inter,sans-serif}h2{font-size:28px;margin-bottom:20px}h3{font-size:20px;margin-top:20px;margin-bottom:10px}.overview-section{margin-bottom:40px}.task-list{display:flex;flex-direction:column;gap:12px}.task-card{background:#12343b;padding:16px;border-radius:8px;border-left:4px solid #1f6f8b}.task-card h4{margin:0 0 6px;font-size:18px}.task-card p{margin:0;opacity:.75}.task-card.delayed{border-left-color:#ff6b6b;background:#402b2b}.upload-box{background:#12343b;padding:20px;border-radius:8px;margin-bottom:20px}.upload-box input[type=file]{padding:8px;border:1px solid #1f5662;border-radius:6px;background:#0f2a33;color:#cde0e4;cursor:pointer}.machines-container{margin-top:20px;display:flex;flex-direction:column;gap:20px}.machine-block{background:#12343b;padding:16px;border-radius:8px}.machine-block .header{display:flex;justify-content:space-between;font-size:20px;cursor:pointer}.machine-details{margin-top:16px;background:#0f2a33;padding:16px;border-radius:8px}.info-grid{display:flex;gap:30px;margin-bottom:20px}.category-box{margin-bottom:30px}.category-box table{width:100%;border-collapse:collapse;background:#12343b;border-radius:6px;overflow:hidden}.category-box th,.category-box td{padding:10px;text-align:left}.category-box th{background:#1f5662}.category-box tr:nth-child(2n){background:#0f2a33}.task-day{margin-bottom:40px}.task-cards{display:flex;flex-direction:column;gap:12px}.task-card.pending{border-left-color:#1f6f8b}.task-card.done{background:#0f332d;border-left-color:#4caf50}.task-card button{margin-top:10px;background:#1f6f8b;padding:8px 12px;border:none;border-radius:6px;color:#fff;cursor:pointer}.task-card button:hover{background:#15515d}.category-box table input{width:100%;padding:4px;background:#0f2a33;border:1px solid #1f5662;border-radius:4px;color:#cde0e4}.category-box table th,.category-box table td{padding:8px}.scroll-container{overflow-x:auto;width:100%}.freeze-table{border-collapse:collapse;width:max-content;min-width:100%;table-layout:auto}.freeze-table th:nth-child(1),.freeze-table td:nth-child(1){position:sticky;left:0;z-index:3;background:#0d2a33}.freeze-table th:nth-child(2),.freeze-table td:nth-child(2){position:sticky;left:120px;z-index:3;background:#0d2a33}.freeze-table th:nth-child(3),.freeze-table td:nth-child(3){position:sticky;left:320px;z-index:3;background:#0d2a33}.freeze-table th{background:#154854;padding:10px;white-space:nowrap}.freeze-table td{padding:10px;white-space:nowrap;background:#08242d}
