*{margin:0;padding:0;box-sizing:border-box;} body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;background:linear-gradient(135deg,#eef2f3 0%,#e6e9f0 100%);color:#334155;line-height:1.6;min-height:100vh;} .nav-header{display:flex;justify-content:space-between;align-items:center;padding:1.2rem 2.5rem;} .nav-title{font-size:1.5rem;font-weight:800;letter-spacing:1px;} .nav-user-wrap{display:flex;flex-direction:column;align-items:center;gap:6px;} .nav-user{font-size:0.9rem;color:#64748b;background:#f1f5f9;padding:0.4rem 1.2rem;border-radius:20px;border:1px solid #e2e8f0;} .nav-admin-info{font-size:0.78rem;color:rgba(0,0,0,0.75);text-align:center;letter-spacing:0.3px;} .nav-tabs{display:flex;padding:0 2.5rem;gap:0.5rem;} .nav-tab{padding:1rem 1.8rem;cursor:pointer;border:none;background:transparent;font-size:1rem;color:#64748b;border-bottom:3px solid transparent;transition:all 0.3s cubic-bezier(0.4,0,0.2,1);font-weight:600;position:relative;} .nav-tab:hover{color:#4f46e5;background:rgba(79,70,229,0.05);border-radius:8px 8px 0 0;} .nav-tab.active{color:#4f46e5;border-bottom-color:#4f46e5;} .content-container{padding:2rem 2.5rem;max-width:100%;overflow-x:hidden;} .page-section{display:none;animation:fadeIn 0.4s ease;} .page-section.active{display:block;} @keyframes fadeIn{from{opacity:0;transform:translateY(10px);} to{opacity:1;transform:translateY(0);} } .table-wrapper{background:#fff;border-radius:12px;padding:1rem;box-shadow:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -1px rgba(0,0,0,0.06);overflow-x:auto;} table{width:100%;border-collapse:collapse;min-width:1200px;} thead{background:#f8fafc;border-bottom:2px solid #e2e8f0;} th{padding:1rem;text-align:left;font-weight:600;color:#475569;white-space:nowrap;} td{padding:1rem;border-bottom:1px solid #f1f5f9;color:#334155;font-size:0.9rem;white-space:nowrap;} tbody tr:hover{background-color:#f8fafc;} .badge{display:inline-block;padding:0.25rem 0.6rem;border-radius:9999px;font-size:0.75rem;font-weight:600;} .badge-primary{background-color:#d0dbff;color:#3730a3;} .badge-info{background-color:#ffcf9f;color:#000000;} .badge-warning{background-color:#fdcccc;color:#991b1b;} .badge-sick{background-color:#dbbced;color:#000000;} .badge-success{background-color:#cefbde;color:#166534;} .badge-danger{background-color:#fee2e2;color:#991b1b;} .badge-secondary{background-color:#f1f5f9;color:#475569;} .empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border-radius:12px;padding:5rem 2rem;box-shadow:0 4px 6px -1px rgba(0,0,0,0.1);text-align:center;} .empty-state .icon{font-size:4rem;margin-bottom:1rem;} .empty-state h2{font-size:1.5rem;color:#334155;margin-bottom:0.5rem;} .empty-state p{color:#64748b;} .action-cell{white-space:nowrap;display:flex;gap:5px;justify-content:flex-start;} .salary-action-cell{white-space:nowrap;text-align:center;vertical-align:middle;} .btn-sm{padding:0.5rem 0.6rem;font-size:1.0rem;border-radius:4px;border:1px solid transparent;cursor:pointer;transition:all 0.2s;} .btn-outline-orange{background:#fff;border-color:#4f46e5;color:#4f46e5;} .btn-outline-orange:hover{background:#4f46e5;color:#fff;} .btn-outline-blue{background:#fff;border-color:#4f46e5;color:#4f46e5;} .btn-outline-blue:hover{background:#4f46e5;color:#fff;} .btn-outline-red{background:#fff;border-color:#ef4444;color:#ef4444;} .btn-outline-red:hover{background:#ef4444;color:#fff;} .btn-outline-green{background:#fff;border-color:#22c55e;color:#22c55e;} .btn-outline-green:hover{background:#22c55e;color:#fff;} .btn-outline-yellow{background:#fff;border-color:#eab308;color:#eab308;} .btn-outline-yellow:hover{background:#eab308;color:#fff;} .btn-signstat-entry{background:#fff;border-color:#FF6666;color:#FF6666;} .btn-signstat-entry:hover{background:#FF6666;color:#fff;} #salaryExtras{margin-left:10px;} #salaryExtrasToggle{margin-left:10px;padding:0.45rem 1rem;} .vis-action-btns{display:flex;gap:20px;align-items:center;} #modalRandomBtn{display:none;position:absolute;right:2.7rem;top:57%;transform:translateY(-50%);padding:5px 8px;font-size:0.75rem;background-color:#c4d5e6;color:#475569;border:1px solid #cbd5e1;border-radius:4px;cursor:pointer;transition:all 0.2s;} #modalRandomBtn:hover{background-color:#e2e8f0;color:#1e293b;border-color:#94a3b8;} .modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);display:flex;justify-content:center;align-items:center;z-index:4000;opacity:0;visibility:hidden;transition:all 0.3s ease;backdrop-filter:blur(3px);} .modal-overlay.active{opacity:1;visibility:visible;} .modal-box{position:relative;background:#fff;padding:2rem;border-radius:12px;width:100%;max-width:400px;box-shadow:0 20px 25px -5px rgba(0,0,0,0.1),0 10px 10px -5px rgba(0,0,0,0.04);transform:scale(0.9);transition:transform 0.3s cubic-bezier(0.34,1.56,0.64,1);text-align:center;} .modal-overlay.active .modal-box{transform:scale(1);} .modal-title{font-size:1.35rem;font-weight:700;color:#1e293b;margin-bottom:1rem;} .modal-message{font-size:1rem;color:#475569;margin-bottom:1.5rem;line-height:1.6;min-height:1.6em;} .modal-input{width:100%;padding:0.75rem 1rem;border:1px solid #cbd5e1;border-radius:8px;font-size:1rem;margin-bottom:1.5rem;transition:border-color 0.2s;outline:none;display:none;} .modal-input:focus{border-color:#4f46e5;box-shadow:0 0 0 3px rgba(79,70,229,0.1);} .modal-actions{display:flex;justify-content:center;gap:1rem;} .btn-modal-cancel,.btn-modal-confirm{padding:0.6rem 1.5rem;border-radius:6px;font-size:0.95rem;font-weight:600;cursor:pointer;border:none;transition:all 0.2s;} .btn-modal-cancel{background:#e8e886;color:#64748b;} .btn-modal-cancel:hover{background:#f4f4c8;color:#334155;} .btn-modal-confirm{background:#4f46e5;color:#fff;} .btn-modal-confirm:hover{background:#4338ca;} .btn-modal-confirm.danger{background:#ef4444;} .btn-modal-confirm.danger:hover{background:#dc2626;} .modal-form-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:1rem;} .modal-form-grid .form-group{display:flex;flex-direction:column;} .modal-form-grid .form-group.full-width{grid-column:span 4;} .modal-form-grid label{font-size:0.85rem;color:#64748b;margin-bottom:0.4rem;font-weight:600;} .modal-form-grid input,.modal-form-grid select,.modal-form-grid textarea{padding:0.6rem;border:1px solid #cbd5e1;border-radius:6px;font-size:0.95rem;outline:none;transition:border-color 0.2s;width:100%;} .modal-form-grid input:focus,.modal-form-grid textarea:focus{border-color:#4f46e5;box-shadow:0 0 0 2px rgba(79,70,229,0.1);} .modal-form-grid input[readonly]{background-color:#f1f5f9;color:#64748b;cursor:not-allowed;} .section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem;} .section-header h2{font-size:1.5rem;color:#1e293b;font-weight:600;margin:0;} .filter-bar{display:flex;align-items:center;gap:0.5rem;} .filter-input{box-sizing:border-box;padding:0.5rem 0.75rem;font-size:0.95rem;color:#334155;background-color:#ffffff;border:1px solid #cbd5e1;border-radius:8px;outline:none;cursor:pointer;transition:all 0.25s ease;box-shadow:inset 0 1px 2px rgba(0,0,0,0.04);} .filter-input:hover{border-color:#94a3b8;} .filter-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,0.15);} .filter-separator{color:#64748b;font-size:0.9rem;} .search-input-left{padding:0.45rem 0.8rem;border:1px solid #cbd5e1;border-radius:6px;font-size:0.9rem;color:#334155;outline:none;font-family:inherit;width:220px;margin-left:1.5rem;transition:border-color 0.2s,box-shadow 0.2s;} .search-input-left:focus{border-color:#4f46e5;box-shadow:0 0 0 3px rgba(79,70,229,0.1);} .btn-outline-secondary{background:#fff;border-color:#94a3b8;color:#64748b;} .btn-outline-secondary:hover{background:#dde7f0;color:#334155;border-color:#64748b;} .btn-sync-action{color:#fff;border:none;padding:8px 14px;border-radius:6px;cursor:pointer;font-size:1.0rem;margin-right:8px;transition:opacity 0.2s ease;} .btn-sync-sync{background:#3ab728;opacity:0.1;cursor:not-allowed;} .btn-sync-add{background:#21aeb1;margin-left:5px;} .btn-sync-auth{background:#21aeb1;} .filter-group{display:flex;gap:4px;margin-left:10px;padding:3px;background:#f1f5f9;border-radius:6px;border:1px solid #e2e8f0;} .btn-filter{padding:0.4rem 0.9rem;font-size:0.9rem;font-weight:500;border:1px solid transparent;background:transparent;color:#64748b;border-radius:4px;cursor:pointer;transition:all 0.2s ease;font-family:inherit;} .btn-filter:hover:not(.active){color:#4f46e5;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,0.05);} .btn-filter.active{background:#c2ccd8;color:#fff;cursor:not-allowed;box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);} #salaryModal{z-index:15;} .salary-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.6);display:flex;justify-content:center;align-items:center;z-index:10;opacity:0;visibility:hidden;transition:all 0.3s ease;backdrop-filter:blur(3px);} .salary-modal-overlay.active{opacity:1;visibility:visible;} .salary-modal-box{position:relative;background:#fff;padding:2rem;border-radius:12px;width:100%;max-width:1100px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px -5px rgba(0,0,0,0.1),0 10px 10px -5px rgba(0,0,0,0.04);transform:scale(0.9);transition:transform 0.3s cubic-bezier(0.34,1.56,0.64,1);} .salary-modal-overlay.active .salary-modal-box{transform:scale(1);} .salary-modal-title{font-size:1.5rem;font-weight:700;color:#1e293b;margin-bottom:1.5rem;border-bottom:2px solid #f1f5f9;padding-bottom:1rem;text-align:center;} .salary-modal-actions{display:flex;justify-content:center;gap:1rem;margin-top:1.5rem;border-top:2px solid #f1f5f9;padding-top:1.5rem;} .btn-salary-cancel,.btn-salary-confirm{padding:0.75rem 2rem;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;border:none;transition:all 0.2s;} .btn-salary-cancel{background:#f1f5f9;color:#64748b;} .btn-salary-cancel:hover{background:#e2e8f0;color:#334155;} .btn-salary-confirm{background:#4f46e5;color:#fff;} .btn-salary-confirm:hover{background:#4338ca;} .salary-modal-body .modal-form-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;} .salary-modal-body .form-group{display:flex;flex-direction:column;} .salary-modal-body .form-group.full-width{grid-column:span 4;} .salary-modal-body label{font-size:0.85rem;color:#64748b;margin-bottom:0.4rem;font-weight:600;} .salary-modal-body input,.salary-modal-body select,.salary-modal-body textarea{padding:0.6rem;border:1px solid #cbd5e1;border-radius:6px;font-size:0.95rem;outline:none;transition:border-color 0.2s;width:100%;} .salary-modal-body input:focus,.salary-modal-body textarea:focus{border-color:#4f46e5;box-shadow:0 0 0 2px rgba(79,70,229,0.1);} .salary-modal-body input[readonly]{background-color:#f1f5f9;color:#64748b;cursor:not-allowed;} #page-salary .table-wrapper{max-height:calc(100vh - 160px);overflow:auto;padding:0;} #salaryTable{border-collapse:separate;border-spacing:0;} #salaryTable thead th{position:sticky;top:0;z-index:10;} #salaryTable thead tr:first-child th{top:0;} #salaryTable thead tr:first-child th[colspan]{height:42px;padding-top:8px;padding-bottom:8px;line-height:1.2;} #salaryTable thead tr:nth-child(2)th{top:42px;z-index:12;box-shadow:0 2px 0 -1px rgba(0,0,0,0.35);} #salaryTable thead th.basic-group{background:linear-gradient(135deg,#e0e7ff 0%,#c7d2fe 100%);color:#3730a3;border-right:1px solid #e0e7ff;} #salaryTable thead th.payable-group{background:linear-gradient(135deg,#dcfce7 0%,#bbf7d0 100%);color:#166534;border-right:1px solid #bbf7d0;} #salaryTable thead th.leave-group{background:linear-gradient(135deg,#fef9c3 0%,#fef08a 100%);color:#854d0e;border-right:1px solid #fef08a;} #salaryTable thead th.deduction-group{background:linear-gradient(135deg,#fee2e2 0%,#fecaca 100%);color:#991b1b;border-right:1px solid #fecaca;} #salaryTable thead th.basic-group:last-of-type,#salaryTable thead th.payable-group:last-of-type,#salaryTable thead th.leave-group:last-of-type,#salaryTable thead th.deduction-group:last-of-type{border-right:3px solid #94a3b8;} #salaryTable thead th:hover{filter:brightness(1.05);cursor:default;} #salaryTable td,#salaryTable th{min-width:90px;text-align:right;font-variant-numeric:tabular-nums;} #salaryTable td:first-child,#salaryTable td:nth-child(2),#salaryTable td:nth-child(3),#salaryTable td:nth-child(4),#salaryTable td:nth-child(5){text-align:left;} #salaryTable td.action-cell{text-align:center;} #salaryTable tbody td{padding:0.55rem 0.75rem;border:1px solid #000000;} #page-accounts .table-wrapper{max-height:90vh;overflow:auto;padding:0;} #userTable{border-collapse:separate;border-spacing:0;} #userTable thead th{position:sticky;top:0;z-index:10;background:#f8fafc;border-bottom:2px solid #e2e8f0;box-shadow:0 2px 0 -1px #e2e8f0;} #userTable th:nth-child(-n+4),#userTable td:nth-child(-n+4){width:120px;min-width:120px;max-width:120px;} #userTable td:nth-child(1){position:sticky;left:0;z-index:6;background:#ffffff;} #userTable td:nth-child(2){position:sticky;left:120px;z-index:6;background:#ffffff;} #userTable td:nth-child(3){position:sticky;left:240px;z-index:6;background:#ffffff;} #userTable td:nth-child(4){position:sticky;left:360px;z-index:6;background:#ffffff;} #userTable tbody tr:hover td:nth-child(1),#userTable tbody tr:hover td:nth-child(2),#userTable tbody tr:hover td:nth-child(3),#userTable tbody tr:hover td:nth-child(4){background:#f8fafc;} #userTable td:nth-child(4),#userTable thead th:nth-child(4){border-right:2px solid #e2e8f0;} #userTable thead th:nth-child(1){left:0;z-index:20;} #userTable thead th:nth-child(2){left:120px;z-index:20;} #userTable thead th:nth-child(3){left:240px;z-index:20;} #userTable thead th:nth-child(4){left:360px;z-index:20;} .acc-pagination-bar{display:flex;justify-content:center;align-items:center;margin-top:1.5rem;gap:0.5rem;position:sticky;left:0;z-index:6;} .acc-page-btn{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:0.5rem 1.25rem;font-size:0.95rem;font-weight:500;color:#ffffff;background-color:#3b82f6;border:none;border-radius:8px;cursor:pointer;transition:all 0.25s ease;box-shadow:0 2px 4px rgba(59,130,246,0.2);white-space:nowrap;} .acc-page-btn.is-disabled,.acc-page-btn.is-disabled:hover,.acc-page-btn.is-disabled:active{background-color:#e2e8f0;color:#94a3b8;cursor:not-allowed;transform:none;box-shadow:none;opacity:0.7;filter:grayscale(1);} .acc-page-info{font-size:0.9rem;color:#64748b;margin:0 0.5rem;} .acc-pagination-bar button.acc-page-btn:not(.active):not(.is-disabled){background-color:#ffffff;color:#475569;border:1px solid #cbd5e1;box-shadow:none;} .acc-pagination-bar button.acc-page-btn:not(.active):not(.is-disabled):hover{background-color:#eff6ff;color:#2563eb;border-color:#3b82f6;transform:translateY(-1px);} .acc-pagination-bar button.acc-page-btn:not(.active):not(.is-disabled):active{transform:translateY(0);} .acc-page-btn.active,.acc-page-btn.active:hover,.acc-page-btn.active:active{background-color:#3b82f6;color:#ffffff;border:none;cursor:not-allowed;transform:none;box-shadow:0 2px 4px rgba(59,130,246,0.3);opacity:1;filter:none;} .lock-screen{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(15,23,42,0.9);backdrop-filter:blur(12px);z-index:99999;display:flex;justify-content:center;align-items:center;color:#fff;transition:opacity 0.5s ease,visibility 0.5s;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;} .lock-screen.unlocked{opacity:0;visibility:hidden;pointer-events:none;} .lock-box{background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.2);padding:40px 50px;border-radius:20px;text-align:center;box-shadow:0 25px 50px -12px rgba(0,0,0,0.5);max-width:360px;width:90%;} .lock-icon{width:70px;height:70px;margin:0 auto 25px;background:linear-gradient(135deg,#4f46e5,#818cf8);border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 25px rgba(79,70,229,0.4);transition:all 0.3s;} .lock-icon svg{width:36px;height:36px;stroke:white;} .lock-box h2{font-size:22px;margin:0 0 10px;font-weight:600;letter-spacing:1px;} .lock-box > p{font-size:13px;color:rgba(255,255,255,0.7);margin-bottom:30px;} .pin-display{display:flex;justify-content:center;gap:18px;margin-bottom:15px;height:20px;} .pin-display .dot{width:14px;height:14px;border-radius:50%;background:rgba(255,255,255,0.2);transition:all 0.2s cubic-bezier(0.175,0.885,0.32,1.275);} .pin-display .dot.filled{background:#fff;box-shadow:0 0 15px rgba(129,140,248,0.8);transform:scale(1.2);} .error-msg{color:#f87171;font-size:12px;height:25px;margin-bottom:10px;font-weight:500;transition:all 0.3s;} .virtual-keyboard{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:0px;} .virtual-keyboard button{background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.15);color:#fff;font-size:22px;padding:15px;border-radius:10px;cursor:pointer;transition:all 0.15s ease;backdrop-filter:blur(5px);} .virtual-keyboard button:hover{background:rgba(255,255,255,0.2);transform:translateY(-2px);} .virtual-keyboard button:active{transform:scale(0.95);background:rgba(255,255,255,0.05);} .virtual-keyboard .btn-clear,.virtual-keyboard .btn-delete{font-size:14px;background:rgba(239,68,68,0.15);border-color:rgba(239,68,68,0.2);} .virtual-keyboard .btn-clear:hover,.virtual-keyboard .btn-delete:hover{background:rgba(239,68,68,0.25);} .lock-box.locked-mode .lock-icon{background:linear-gradient(135deg,#ef4444,#b91c1c);box-shadow:0 10px 20px rgba(239,68,68,0.3);} .lock-box.locked-mode .virtual-keyboard button{pointer-events:none;opacity:0.4;filter:grayscale(100%);cursor:not-allowed;transform:none !important;} .lock-box.locked-mode .error-msg{color:#fca5a5;font-weight:bold;animation:flash 1.5s infinite;} @keyframes shake{0%,100%{transform:translateX(0);} 20%{transform:translateX(-8px);} 40%{transform:translateX(8px);} 60%{transform:translateX(-8px);} 80%{transform:translateX(8px);} } @keyframes flash{0%,100%{opacity:1;} 50%{opacity:0.6;} } .pin-display.shake{animation:shake 0.4s ease-in-out;} .neon-formula-wrapper{background-color:#2e325a;border:1px solid #2d2d44;border-radius:8px;padding:0px;margin-top:0px;box-shadow:0 0 15px rgba(0,0,0,0.5);position:relative;overflow:hidden;font-family:"Consolas","Monaco","Courier New",monospace;} .neon-formula-wrapper::before{content:'';position:absolute;top:0;left:0;width:100%;height:2px;background:linear-gradient(90deg,transparent,#00f2ff,#ff00de,#00f2ff,transparent);animation:scanline 3s linear infinite;} .neon-formula-item{display:block;font-size:15px;line-height:1.8;margin-bottom:8px;padding-left:10px;border-left:3px solid transparent;opacity:0.9;transition:all 0.3s ease;} .neon-formula-item:hover{opacity:1;transform:translateX(5px);} .neon-blue{color:#e0ffff;text-shadow:0 0 5px #00f2ff,0 0 10px #00f2ff,0 0 20px #004d52;border-left-color:#00f2ff;animation:pulse-blue 2s infinite alternate;} .neon-pink{color:#ffe0ff;text-shadow:0 0 5px #ff00de,0 0 10px #ff00de,0 0 20px #520044;border-left-color:#ff00de;animation:pulse-pink 2.5s infinite alternate;} .neon-green{color:#e0ffe0;text-shadow:0 0 5px #00ff41,0 0 10px #00ff41,0 0 20px #004d00;border-left-color:#00ff41;animation:pulse-green 3s infinite alternate;} .neon-yellow{color:#ffffe0;text-shadow:0 0 5px #fffb00,0 0 10px #fffb00,0 0 20px #525200;border-left-color:#fffb00;animation:pulse-yellow 2.2s infinite alternate;} @keyframes pulse-blue{from{text-shadow:0 0 2px #00f2ff,0 0 5px #00f2ff;} to{text-shadow:0 0 8px #00f2ff,0 0 15px #00f2ff,0 0 30px #00f2ff;} } @keyframes pulse-pink{from{text-shadow:0 0 2px #ff00de,0 0 5px #ff00de;} to{text-shadow:0 0 8px #ff00de,0 0 15px #ff00de,0 0 30px #ff00de;} } @keyframes pulse-green{from{text-shadow:0 0 2px #00ff41,0 0 5px #00ff41;} to{text-shadow:0 0 8px #00ff41,0 0 15px #00ff41,0 0 30px #00ff41;} } @keyframes pulse-yellow{from{text-shadow:0 0 2px #fffb00,0 0 5px #fffb00;} to{text-shadow:0 0 8px #fffb00,0 0 15px #fffb00,0 0 30px #fffb00;} } @keyframes scanline{0%{opacity:0.5;transform:translateX(-100%);} 50%{opacity:1;} 100%{opacity:0.5;transform:translateX(100%);} } .add-account-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(15,23,42,0.65);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:none;align-items:center;justify-content:center;z-index:20;opacity:0;transition:opacity 0.25s ease;} .add-account-modal-overlay.active{display:flex;opacity:1;} .add-account-modal-box{background:linear-gradient(145deg,#ffffff,#f8fafc);border-radius:16px;width:480px;max-width:92%;max-height:92vh;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,0.35);transform:translateY(24px)scale(0.98);transition:transform 0.3s cubic-bezier(0.34,1.56,0.64,1);} .add-account-modal-overlay.active .add-account-modal-box{transform:translateY(0)scale(1);} .add-account-modal-header{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;background:linear-gradient(135deg,#3b82f6,#6366f1);color:#fff;} .add-account-modal-header h3{margin:0;font-size:18px;font-weight:600;letter-spacing:0.5px;} .add-account-modal-close{background:transparent;border:none;color:#fff;font-size:26px;line-height:1;cursor:pointer;padding:0 4px;transition:transform 0.25s ease;} .add-account-modal-close:hover{transform:rotate(90deg);} .add-account-modal-body{padding:26px 24px 18px;} .add-account-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px;} .add-account-form-group label{display:block;font-size:13px;color:#475569;margin-bottom:7px;font-weight:500;} .add-account-form-group input{width:100%;padding:10px 13px;border:1.5px solid #e2e8f0;border-radius:8px;font-size:14px;color:#1e293b;transition:all 0.2s ease;box-sizing:border-box;background:#fff;} .add-account-form-group input::placeholder{color:#cbd5e1;} .add-account-form-group input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,0.15);} .add-account-modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:14px 24px 20px;background:#f8fafc;border-top:1px solid #e2e8f0;} .add-account-btn-cancel{padding:9px 22px;background:#fff;color:#475569;border:1.5px solid #cbd5e1;border-radius:8px;cursor:pointer;font-size:14px;transition:all 0.2s ease;} .add-account-btn-cancel:hover{background:#f1f5f9;border-color:#94a3b8;} .add-account-btn-confirm{padding:9px 24px;background:linear-gradient(135deg,#3b82f6,#6366f1);color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;transition:all 0.2s ease;} .add-account-btn-confirm:hover{transform:translateY(-1px);box-shadow:0 6px 14px rgba(59,130,246,0.4);} .add-account-btn-confirm:active{transform:translateY(0);} .overtime-upload-card{background:#fff;border-radius:12px;padding:1.5rem 2rem;box-shadow:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -1px rgba(0,0,0,0.06);margin-bottom:1.5rem;} .overtime-upload-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;} .overtime-upload-header h3{font-size:1.1rem;color:#1e293b;} .upload-zone{border:2px dashed #cbd5e1;border-radius:12px;padding:2.2rem 1.5rem;text-align:center;cursor:pointer;transition:all 0.25s ease;background:#fafbfc;} .upload-zone:hover{border-color:#94a3b8;background:#f8fafc;} .upload-zone.dragover{border-color:#4f46e5;background:rgba(79,70,229,0.04);transform:translateY(-2px);box-shadow:0 8px 20px rgba(79,70,229,0.12);} .upload-zone.has-file{border-color:#22c55e;background:rgba(34,197,94,0.05);} .upload-zone .upload-icon{font-size:2.6rem;margin-bottom:0.5rem;} .upload-zone .upload-main{font-size:1rem;color:#334155;margin-bottom:0.3rem;} .upload-zone .upload-main strong{color:#4f46e5;} .upload-zone .upload-sub{font-size:0.8rem;color:#94a3b8;} .upload-progress{display:flex;align-items:center;gap:10px;margin-top:1rem;} .upload-progress-bar{flex:1;height:10px;background:#f1f5f9;border-radius:999px;overflow:hidden;} .upload-progress-fill{height:100%;width:0%;background:linear-gradient(90deg,#4f46e5,#818cf8);border-radius:999px;transition:width 0.2s ease;} .upload-progress-text{font-size:0.85rem;color:#475569;min-width:40px;text-align:right;} .upload-actions{display:flex;justify-content:flex-end;margin-top:1rem;} .overtime-table-wrapper{max-height:70vh;overflow:auto;padding:0;border-radius:12px;} #overtimeTable thead th{position:sticky;top:0;z-index:10;background:#f8fafc;border-bottom:2px solid #e2e8f0;} #overtimeTable td{text-align:center;} #overtimeTable td:nth-child(2){font-weight:600;text-align:center;color:#1e293b;} .vis-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(15,23,42,0.65);backdrop-filter:blur(6px);display:none;justify-content:center;align-items:center;z-index:15;opacity:0;transition:opacity 0.25s ease;} .vis-modal-overlay.active{display:flex;opacity:1;} .vis-modal-box{background:#fff;border-radius:16px;width:1100px;max-width:92%;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 25px 50px -12px rgba(0,0,0,0.4);transform:scale(0.95);transition:transform 0.3s ease;} .vis-modal-overlay.active .vis-modal-box{transform:scale(1);} .vis-modal-header{padding:20px 24px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;display:flex;justify-content:space-between;align-items:center;} .vis-modal-header h3{font-size:1.25rem;font-weight:600;margin:0;} .vis-modal-close{background:transparent;border:none;color:#fff;font-size:1.8rem;cursor:pointer;line-height:1;transition:transform 0.2s;} .vis-modal-close:hover{transform:rotate(90deg);} .vis-modal-body{padding:24px;overflow-y:auto;} .vis-info-bar{display:flex;gap:1rem;align-items:flex-end;margin-bottom:1rem;background:#f8fafc;padding:1rem;border-radius:8px;border:1px solid #e2e8f0;} .vis-info-group{display:flex;flex-direction:column;} .vis-info-group label{font-size:0.8rem;color:#64748b;margin-bottom:6px;font-weight:500;} .vis-info-group input{padding:0.5rem 0.75rem;border:1px solid #cbd5e1;border-radius:6px;outline:none;font-size:0.9rem;width:100%;box-sizing:border-box;} .vis-col-toggle{margin-top:4px;padding:2px 12px;font-size:12px;font-weight:600;line-height:1.5;border:none;border-radius:999px;cursor:pointer;letter-spacing:2px;text-indent:2px;transition:all 0.2s ease;box-shadow:0 1px 2px rgba(0,0,0,0.08);} .vis-col-toggle.is-show{background:linear-gradient(135deg,#34d399 0%,#059669 100%);color:#fff;box-shadow:0 1px 3px rgba(5,150,105,0.4);} .vis-col-toggle.is-show:hover{background:linear-gradient(135deg,#10b981 0%,#047857 100%);box-shadow:0 2px 5px rgba(5,150,105,0.5);transform:translateY(-1px);} .vis-col-toggle.is-hide{background:linear-gradient(135deg,#f87171 0%,#dc2626 100%);color:#fff;box-shadow:0 1px 3px rgba(220,38,38,0.4);} .vis-col-toggle.is-hide:hover{background:linear-gradient(135deg,#ef4444 0%,#b91c1c 100%);box-shadow:0 2px 5px rgba(220,38,38,0.5);transform:translateY(-1px);} .vis-col-toggle:active{transform:translateY(0);box-shadow:0 1px 2px rgba(0,0,0,0.15);} .vis-hint{font-size:0.85rem;color:#64748b;background:#eff6ff;border-left:3px solid #3b82f6;padding:10px 12px;border-radius:4px;margin-bottom:1rem;line-height:1.5;} .vis-table-wrapper{max-height:55vh;overflow:auto;border:1px solid #e2e8f0;border-radius:8px;} .vis-table{width:100%;border-collapse:collapse;min-width:1000px;} .vis-table th,.vis-table td{padding:0.75rem;text-align:center;border:1px solid #f1f5f9;font-size:0.9rem;white-space:nowrap;} .vis-table thead th{background:#f8fafc;color:#475569;font-weight:600;position:sticky;top:0;z-index:5;} .vis-table thead th:first-child,.vis-table thead th:nth-child(2){z-index:10;} .vis-table th:first-child,.vis-table th:nth-child(2),.vis-table td:first-child,.vis-table td:nth-child(2){width:110px;min-width:110px;max-width:110px;} .vis-table td:first-child{position:sticky;left:0;z-index:6;background:#ffffff;border-right:2px solid #e2e8f0;} .vis-table td:nth-child(2){position:sticky;left:110px;z-index:6;background:#ffffff;border-right:2px solid #e2e8f0;} .vis-table tbody tr:hover td:first-child,.vis-table tbody tr:hover td:nth-child(2){background:#f8fafc;} .vis-table thead th:first-child{position:sticky;left:0;top:0;z-index:20;background:#f8fafc;border-right:2px solid #e2e8f0;} .vis-table thead th:nth-child(2){position:sticky;left:110px;top:0;z-index:20;background:#f8fafc;border-right:2px solid #e2e8f0;} .vis-switch{position:relative;display:inline-block;width:40px;height:22px;} .vis-switch input{opacity:0;width:0;height:0;} .vis-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#cbd5e1;transition:.3s;border-radius:22px;} .vis-slider:before{position:absolute;content:"";height:18px;width:18px;left:2px;bottom:2px;background-color:white;transition:.3s;border-radius:50%;} .vis-switch input:checked + .vis-slider{background-color:#ef4444;} .vis-switch input:checked + .vis-slider:before{transform:translateX(18px);} .vis-modal-footer{padding:18px 24px;background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;gap:10px;} .btn-outline-purple{background:#fff;border-color:#8b5cf6;color:#8b5cf6;} .btn-outline-purple:hover{background:#8b5cf6;color:#fff;} .btn-outline-teal{background:#fff;border-color:#0d9488;color:#0d9488;} .btn-outline-teal:hover{background:#0d9488;color:#fff;} .annual-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(15,23,42,0.65);backdrop-filter:blur(6px);display:none;justify-content:center;align-items:center;z-index:30;opacity:0;transition:opacity 0.25s ease;} .annual-modal-overlay.active{display:flex;opacity:1;} .annual-modal-box{background:linear-gradient(160deg,#ffffff 0%,#f1f5f9 100%);border-radius:16px;width:1200px;max-width:94%;height:92vh;display:flex;flex-direction:column;box-shadow:0 25px 60px -12px rgba(0,0,0,0.5);transform:scale(0.95);transition:transform 0.3s cubic-bezier(0.34,1.56,0.64,1);overflow:hidden;} .annual-modal-overlay.active .annual-modal-box{transform:scale(1);} .annual-modal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 26px;background:linear-gradient(135deg,#0f766e,#14b8a6);color:#fff;} .annual-modal-header h3{font-size:1.3rem;font-weight:700;margin:0;} .annual-year-picker{display:flex;align-items:center;gap:8px;margin-right:auto;margin-left:30px;} .annual-year-picker span{font-size:0.9rem;opacity:0.9;} .annual-year-picker input{width:90px;padding:6px 10px;border:none;border-radius:8px;font-size:1rem;font-weight:600;text-align:center;background:rgba(255,255,255,0.95);color:#0f172a;outline:none;} .annual-query-btn{padding:7px 18px;border:none;border-radius:8px;background:rgba(255,255,255,0.22);color:#fff;font-size:0.9rem;font-weight:600;cursor:pointer;transition:all 0.2s ease;} .annual-query-btn:hover{background:rgba(255,255,255,0.35);transform:translateY(-1px);} .annual-modal-close{background:transparent;border:none;color:#fff;font-size:1.9rem;cursor:pointer;line-height:1;transition:transform 0.2s;} .annual-modal-close:hover{transform:rotate(90deg);} .annual-metric-bar{display:flex;gap:10px;padding:16px 26px 4px;flex-wrap:wrap;} .annual-metric-btn{padding:8px 20px;border-radius:999px;border:1.5px solid #cbd5e1;background:#fff;color:#475569;font-size:0.92rem;font-weight:600;cursor:pointer;transition:all 0.22s cubic-bezier(0.4,0,0.2,1);position:relative;} .annual-metric-btn:hover{border-color:#14b8a6;color:#0d9488;transform:translateY(-2px);box-shadow:0 4px 12px rgba(20,184,166,0.2);} .annual-metric-btn.active{background:linear-gradient(135deg,#0f766e,#14b8a6);border-color:transparent;color:#fff;box-shadow:0 6px 16px rgba(15,118,110,0.35);} #annualChart{flex:1;min-height:320px;padding:8px 12px 0;} .annual-summary-bar{padding:14px 26px;background:rgba(15,23,42,0.03);border-top:1px solid #e2e8f0;display:flex;gap:26px;justify-content:center;font-size:0.92rem;color:#334155;flex-wrap:wrap;} .annual-summary-item strong{color:#0f766e;font-size:1.05rem;} .admin-switch{position:relative;display:inline-block;} .admin-switch-toggle{padding:8px 22px;border:1px solid #cbd5e1;border-radius:20px;background:#fff;cursor:pointer;font-size:0.9rem;color:#475569;display:inline-flex;align-items:center;gap:6px;transition:all 0.2s ease;} .admin-switch-toggle .arrow{transition:transform 0.2s ease;} .admin-switch.open .admin-switch-toggle .arrow{transform:rotate(180deg);} .admin-switch-menu{position:absolute;top:calc(100% + 6px);left:50%;transform:translateX(-50%);background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,0.12);min-width:140px;z-index:200;overflow:hidden;} .admin-switch-item{display:block;width:100%;padding:10px 16px;border:none;background:transparent;text-align:center;font-size:0.9rem;color:#475569;cursor:pointer;transition:background 0.15s ease;} .admin-switch-item:hover{background:#f1f5f9;} .admin-switch-item.active{color:#2563eb;font-weight:bold;background:#eff6ff;} #salaryFormula.neon-formula-wrapper{display:none;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:0.5rem;width:100%;box-sizing:border-box;} #salaryFormula .neon-formula-item{display:block;width:100%;box-sizing:border-box;white-space:normal;word-break:break-all;text-align:left;line-height:1.7;} .dept-stat-overlay{position:fixed;inset:0;background:rgba(15,23,42,0.55);display:none;justify-content:center;align-items:center;z-index:3000;} .dept-stat-overlay.active{display:flex;} .dept-stat-box{background:#fff;border-radius:14px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,0.25);} .dept-stat-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #e2e8f0;} .dept-stat-header h3{margin:0;font-size:1.1rem;color:#1e293b;} .dept-stat-close{background:none;border:none;font-size:1.4rem;cursor:pointer;color:#64748b;} .dept-stat-toolbar{display:flex;gap:12px;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #f1f5f9;flex-wrap:wrap;} .dept-stat-toolbar input[type="month"],.dept-stat-toolbar input[type="text"],.dept-stat-toolbar select{padding:0.45rem 0.75rem;border:1px solid #cbd5e1;border-radius:8px;font-size:0.9rem;} .dept-stat-btn{padding:0.45rem 1rem;border:none;border-radius:8px;background:#2563eb;color:#fff;cursor:pointer;font-size:0.9rem;} .dept-stat-btn:hover{background:#1d4ed8;} .dept-stat-body{overflow:auto;padding:0 1.5rem 1.5rem;} .dept-stat-table{width:100%;border-collapse:collapse;font-size:0.88rem;} .dept-stat-table th,.dept-stat-table td{border:1px solid #e2e8f0;padding:0.6rem 0.7rem;text-align:right;white-space:nowrap;} .dept-stat-table th{background:#f1f5f9;color:#334155;text-align:center;position:sticky;top:0;} .dept-stat-table td:first-child,.dept-stat-table th:first-child{text-align:center;font-weight:600;color:#1e293b;} .dept-stat-table .num{font-variant-numeric:tabular-nums;} .dept-stat-total td{background:#fef9c3;font-weight:bold;color:#854d0e;} .dept-stat-empty{text-align:center;color:#94a3b8;padding:2rem 0;} .ot-rate-overlay{position:fixed;inset:0;background:rgba(15,23,42,0.55);backdrop-filter:blur(2px);display:none;justify-content:center;align-items:center;z-index:3000;animation:otRateFadeIn 0.2s ease;} .ot-rate-overlay.active{display:flex;} .ot-rate-box{background:#ffffff;border-radius:14px;width:100%;max-width:1300px;max-height:94vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,0.28);animation:otRateSlideUp 0.25s ease;} .ot-rate-header{display:flex;justify-content:space-between;align-items:center;padding:1.05rem 1.5rem;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#f8fafc 0%,#eef2f7 100%);} .ot-rate-title{margin:0;font-size:1.1rem;font-weight:700;color:#1e293b;letter-spacing:0.5px;} .ot-rate-close{width:34px;height:34px;border:none;border-radius:8px;background:transparent;color:#64748b;font-size:1.15rem;cursor:pointer;transition:background 0.15s ease,color 0.15s ease;} .ot-rate-close:hover{background:#fee2e2;color:#dc2626;} .ot-rate-toolbar{display:flex;gap:10px;align-items:center;padding:0.9rem 1.5rem 0.6rem;flex-wrap:wrap;} .ot-rate-toolbar-label{font-size:0.9rem;color:#475569;font-weight:600;} .ot-rate-month-input{padding:0.45rem 0.75rem;border:1px solid #cbd5e1;border-radius:8px;font-size:0.9rem;color:#334155;background:#fff;transition:border-color 0.15s ease,box-shadow 0.15s ease;} .ot-rate-month-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,0.15);} .ot-rate-info{font-size:0.85rem;color:#64748b;} .ot-rate-body{overflow:auto;padding:0.4rem 1.5rem 1.2rem;flex:1;} .ot-rate-section-title{font-weight:700;color:#334155;margin:0.8rem 0 0.2rem;font-size:0.95rem;} .ot-rate-section-sub{font-size:0.78rem;color:#94a3b8;margin:0 0 0.8rem;} .ot-rate-section-title{display:flex;align-items:center;gap:6px;} .ot-rate-section-title svg{color:#4f8cff;} .ot-rate-batch{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:0.7rem 0.9rem;margin-bottom:10px;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:10px;} .ot-rate-batch-label{font-size:0.85rem;color:#64748b;font-weight:600;} .ot-rate-batch-input{width:80px;padding:0.38rem 0.5rem;border:1px solid #cbd5e1;border-radius:6px;font-size:0.85rem;text-align:center;color:#334155;background:#fff;transition:border-color 0.15s ease,box-shadow 0.15s ease;} .ot-rate-batch-input::placeholder{color:#b0bec5;font-size:0.78rem;} .ot-rate-batch-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,0.15);} .ot-rate-btn{padding:0.45rem 1rem;border:none;border-radius:8px;background:#2563eb;color:#ffffff;cursor:pointer;font-size:0.88rem;font-weight:600;transition:background 0.15s ease,transform 0.1s ease,box-shadow 0.15s ease;box-shadow:0 2px 6px rgba(37,99,235,0.25);} .ot-rate-btn:hover{background:#1d4ed8;transform:translateY(-1px);box-shadow:0 4px 10px rgba(37,99,235,0.32);} .ot-rate-btn:active{transform:translateY(0);} .ot-rate-btn-green{background:#10b981;box-shadow:0 2px 6px rgba(16,185,129,0.25);} .ot-rate-btn-green:hover{background:#059669;box-shadow:0 4px 10px rgba(16,185,129,0.32);} .ot-rate-btn-clear{background:#ef4444;box-shadow:0 2px 6px rgba(239,68,68,0.25);} .ot-rate-btn-clear:hover{background:#dc2626;box-shadow:0 4px 10px rgba(239,68,68,0.32);} .ot-rate-table-wrap{max-height:44vh;overflow:auto;border:1px solid #e2e8f0;border-radius:10px;} .ot-rate-table{width:100%;border-collapse:collapse;font-size:0.85rem;} .ot-rate-table th{position:sticky;top:0;background:#f1f5f9;color:#334155;font-weight:600;padding:0.55rem 0.5rem;border-bottom:1px solid #e2e8f0;text-align:center;white-space:nowrap;} .ot-rate-table td{border-bottom:1px solid #f1f5f9;padding:0.45rem 0.5rem;text-align:center;color:#334155;} .ot-rate-table tbody tr:nth-child(even){background:#fafcfe;} .ot-rate-table tbody tr:hover{background:#eff6ff;} .ot-rate-table tr.emp-has-rate td{background:#fffbeb;} .ot-rate-table tr.emp-has-rate:hover td{background:#fef3c7;} .ot-rate-table td:first-child{font-weight:600;white-space:nowrap;} .ot-rate-table input{width:90px;padding:0.32rem 0.45rem;border:1px solid #cbd5e1;border-radius:6px;font-size:0.84rem;text-align:right;color:#1e293b;background:#ffffff;transition:border-color 0.15s ease,box-shadow 0.15s ease;} .ot-rate-table input::placeholder{color:#b0bec5;} .ot-rate-table input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,0.15);} .ot-rate-empty{text-align:center;color:#94a3b8;padding:2.2rem 0;font-size:0.9rem;} .ot-rate-tip{font-size:0.78rem;color:#94a3b8;line-height:1.6;margin-top:10px;padding:0.6rem 0.9rem;background:#f8fafc;border-radius:8px;border-left:3px solid #cbd5e1;} .ot-rate-footer{display:flex;justify-content:center;padding:0.9rem 1.5rem;border-top:1px solid #f1f5f9;background:#fcfdfe;} .ot-rate-btn-save{padding:0.6rem 2.5rem;font-size:0.95rem;} @keyframes otRateFadeIn{from{opacity:0;} to{opacity:1;} } @keyframes otRateSlideUp{from{opacity:0;transform:translateY(16px)scale(0.98);} to{opacity:1;transform:translateY(0)scale(1);} } .month-picker-input{cursor:pointer;background:#fff;width:100px;} .signstat-month-input{width:118px;padding:0.5rem 0.9rem;font-size:0.95rem;font-weight:600;text-align:center;color:#334155;background:linear-gradient(145deg,#ffffff,#f1f5f9);border:1.5px solid #cbd5e1;border-radius:10px;cursor:pointer;letter-spacing:0.5px;box-shadow:0 1px 3px rgba(0,0,0,0.06);transition:all 0.22s ease;} .signstat-month-input:hover{border-color:#4f46e5;transform:translateY(-1px);box-shadow:0 3px 8px rgba(79,70,229,0.12);} .signstat-month-input:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px rgba(79,70,229,0.15);background:#fff;} .signstat-month-input.active{border-color:#4f46e5;box-shadow:0 0 0 3px rgba(79,70,229,0.15);background:#fff;} .month-picker-panel{position:absolute;z-index:3000;background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,0.15);padding:10px;width:250px;display:none;user-select:none;} .month-picker-panel.active{display:block;} .mp-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;} .mp-header button{border:none;background:#f1f5f9;border-radius:6px;padding:3px 10px;cursor:pointer;font-size:13px;} .mp-header span{font-weight:600;color:#334155;} .mp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;} .mp-cell{text-align:center;padding:8px 0;border-radius:6px;font-size:13px;cursor:pointer;color:#94a3b8;background:#f8fafc;pointer-events:none;} .mp-cell.has-data{background:#dcfce7;color:#166534;font-weight:600;cursor:pointer;pointer-events:auto;} .mp-cell.has-data:hover{background:#86efac;} .mp-cell.selected{outline:2px solid #3b82f6;outline-offset:-2px;} .mp-cell.no-data{background:#fff;color:#475569;cursor:pointer;pointer-events:auto;border:1px dashed #cbd5e1;} .mp-cell.no-data:hover{background:#f1f5f9;} .ot-month-picker{width:150px;text-align:center;} #page-overtime .section-header{justify-content:center;gap:1.5rem;} .js-doubt-option.selected.btn-outline-green{background:#22c55e;color:#fff;} .js-doubt-option.selected.btn-outline-red{background:#ef4444;color:#fff;} .js-doubt-option:disabled{opacity:0.5;cursor:not-allowed;} #doubtSubmitBtn.is-disabled{opacity:0.5;pointer-events:none;} .salary-layout-toggle{display:flex;justify-content:center;gap:10px;margin-bottom:1rem;} .btn-layout-toggle{padding:0.4rem 1.2rem;border-radius:6px;border:1px solid #cbd5e1;background:#fff;color:#64748b;font-size:0.9rem;font-weight:600;cursor:pointer;transition:all 0.2s;} .btn-layout-toggle:hover{border-color:#4f46e5;color:#4f46e5;} .btn-layout-toggle.active{background:#4f46e5;border-color:#4f46e5;color:#fff;box-shadow:0 2px 6px rgba(79,70,229,0.3);} .salary-modal-box.wide-mode{max-width:1500px;} .modal-form-grid.compact-grid{grid-template-columns:repeat(6,1fr);gap:8px 10px;} .modal-form-grid.compact-grid .form-group.full-width{grid-column:span 6;} .modal-form-grid.compact-grid label{font-size:0.78rem;margin-bottom:0.2rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;} .modal-form-grid.compact-grid input,.modal-form-grid.compact-grid textarea{padding:0.35rem 0.5rem;font-size:0.88rem;} .modal-form-grid.compact-grid input[readonly]{background-color:#f1f5f9;color:#64748b;} .signstat-overlay{position:fixed;inset:0;background:rgba(15,23,42,0.55);backdrop-filter:blur(4px);display:none;justify-content:center;align-items:center;z-index:3000;animation:signstatFadeIn 0.2s ease;} .signstat-overlay.active{display:flex;} @keyframes signstatFadeIn{from{opacity:0;} to{opacity:1;} } .signstat-box{background:#fff;border-radius:14px;width:620px;max-width:92%;max-height:90vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,0.28);animation:signstatSlideUp 0.25s ease;} @keyframes signstatSlideUp{from{opacity:0;transform:translateY(16px)scale(0.98);} to{opacity:1;transform:translateY(0)scale(1);} } .signstat-header{display:flex;align-items:center;gap:16px;padding:1.05rem 1.5rem;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#f8fafc 0%,#eef2f7 100%);} .signstat-header h3{margin:0;font-size:1.1rem;font-weight:700;color:#1e293b;letter-spacing:0.5px;margin-right:auto;} .signstat-month-wrap{display:flex;align-items:center;gap:8px;} .signstat-query-btn{padding:0.4rem 1rem;border:none;border-radius:8px;background:#2563eb;color:#fff;cursor:pointer;font-size:0.9rem;font-weight:600;transition:background 0.15s ease;} .signstat-query-btn:hover{background:#1d4ed8;} .signstat-close{width:34px;height:34px;border:none;border-radius:8px;background:transparent;color:#64748b;font-size:1.15rem;cursor:pointer;transition:background 0.15s ease,color 0.15s ease;} .signstat-close:hover{background:#fee2e2;color:#dc2626;} .signstat-body{padding:1.5rem;overflow:auto;} .signstat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;} .signstat-card{border-radius:10px;padding:14px 8px;text-align:center;border:1px solid #e2e8f0;background:#f8fafc;} .signstat-card .signstat-num{display:block;font-size:1.6rem;font-weight:800;font-variant-numeric:tabular-nums;margin-bottom:4px;} .signstat-card .signstat-label{font-size:0.8rem;color:#64748b;font-weight:600;} .signstat-card.is-total{background:#eff6ff;border-color:#bfdbfe;} .signstat-card.is-total .signstat-num{color:#2563eb;} .signstat-card.is-signed{background:#f0fdf4;border-color:#bbf7d0;} .signstat-card.is-signed .signstat-num{color:#16a34a;} .signstat-card.is-unsigned{background:#fff7ed;border-color:#fed7aa;} .signstat-card.is-unsigned .signstat-num{color:#ea580c;} .signstat-card.is-doubt{background:#fef9c3;border-color:#fde68a;} .signstat-card.is-doubt .signstat-num{color:#a16207;} .signstat-card.is-handled{background:#f5f3ff;border-color:#ddd6fe;} .signstat-card.is-handled .signstat-num{color:#7c3aed;} .signstat-rate-bar{margin-top:16px;height:8px;border-radius:999px;background:#f1f5f9;overflow:hidden;} .signstat-rate-fill{height:100%;width:0%;border-radius:999px;background:linear-gradient(90deg,#22c55e,#4ade80);transition:width 0.4s ease;} .signstat-rate-text{margin-top:6px;text-align:center;font-size:0.82rem;color:#64748b;} .signstat-empty{text-align:center;color:#94a3b8;padding:2.2rem 0;font-size:0.9rem;} .signstat-footer{display:flex;justify-content:center;padding:0.9rem 1.5rem;border-top:1px solid #f1f5f9;background:#fcfdfe;} .signstat-btn-close{padding:0.55rem 2rem;border:none;border-radius:8px;background:#f1f5f9;color:#64748b;font-size:0.95rem;font-weight:600;cursor:pointer;transition:all 0.2s;} .signstat-btn-close:hover{background:#e2e8f0;color:#334155;}::-webkit-scrollbar{width:10px;height:10px;}::-webkit-scrollbar-track{background:rgba(26,28,44,0.5);border-radius:10px;}::-webkit-scrollbar-thumb{background:linear-gradient(to bottom,#ff8fab,#a29bfe,#63d2bb);background-size:100% 200%;border-radius:10px;border:2px solid rgba(26,28,44,0.5);animation:scrollbarGradient 4s ease-in-out infinite;}::-webkit-scrollbar-thumb:hover{background:linear-gradient(to bottom,#a29bfe,#63d2bb,#ff8fab);}