*{box-sizing:border-box;margin:0;padding:0;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.login-page{width:100%;height:100vh;display:flex;overflow:hidden}.login-left{color:#fff;background:linear-gradient(135deg,#1e3a8a,#2563eb,#3b82f6);flex:1;justify-content:center;align-items:center;padding:60px;display:flex}.overlay{max-width:500px}.overlay h1{margin-bottom:20px;font-size:46px;font-weight:700}.overlay p{opacity:.95;font-size:18px;line-height:1.8}.login-right{background:#f5f7fb;flex:1;justify-content:center;align-items:center;display:flex}.login-card{background:#fff;border-radius:15px;width:420px;padding:45px;box-shadow:0 15px 40px #0000001f}.login-card h2{text-align:center;color:#1f2937;margin-bottom:8px}.subtitle{text-align:center;color:#6b7280;margin-bottom:30px}.input-group{margin-bottom:22px}.input-group label{color:#374151;margin-bottom:8px;font-weight:600;display:block}.input-group input{border:1px solid #d1d5db;border-radius:8px;width:100%;padding:14px;font-size:15px;transition:all .3s}.input-group input:focus{border-color:#2563eb;outline:none;box-shadow:0 0 8px #2563eb33}.login-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;width:100%;padding:14px;font-size:16px;font-weight:600;transition:all .3s}.login-btn:hover{background:#1d4ed8}.login-btn:disabled{cursor:not-allowed;background:#94a3b8}@media (width<=900px){.login-left{display:none}.login-right{flex:1;width:100%}.login-card{width:90%;max-width:420px}}.dashboard{box-sizing:border-box;background:#f5f7fb;width:100%;min-height:calc(100vh - 70px);padding:24px}.dashboard-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.dashboard-header h1{color:#1f2937;margin:0 0 6px;font-size:28px;font-weight:700}.dashboard-header p{color:#6b7280;margin:0;font-size:14px}.dashboard-refresh-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;padding:10px 18px;font-size:14px;font-weight:600;transition:all .2s}.dashboard-refresh-btn:hover{background:#1d4ed8;transform:translateY(-1px)}.dashboard-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.dashboard-card{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:12px;align-items:center;gap:15px;min-height:100px;padding:20px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 2px 8px #0f172a0a}.dashboard-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0f172a14}.dashboard-card-icon{color:#2563eb;background:#eff6ff;border-radius:10px;justify-content:center;align-items:center;width:48px;min-width:48px;height:48px;font-size:21px;display:flex}.dashboard-card span{color:#6b7280;margin-bottom:5px;font-size:13px;display:block}.dashboard-card h2{color:#111827;margin:0;font-size:25px;font-weight:700}.dashboard-analytics{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px;display:grid}.dashboard-panel{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0f172a0a}.panel-header{border-bottom:1px solid #eef0f4;justify-content:space-between;align-items:center;padding:18px 20px;display:flex}.panel-header h3{color:#1f2937;align-items:center;gap:9px;margin:0 0 4px;font-size:16px;font-weight:700;display:flex}.panel-header h3 svg{color:#2563eb}.panel-header span{color:#6b7280;font-size:12px}.analytics-content{padding:18px 20px 20px}.chart-container{width:100%;min-height:260px}.analytics-summary{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:5px;display:grid}.analytics-summary>div{text-align:center;background:#f8fafc;border:1px solid #eef0f4;border-radius:8px;padding:11px}.analytics-summary span{color:#6b7280;margin-bottom:4px;font-size:12px;display:block}.analytics-summary strong{color:#111827;font-size:18px;display:block}.dashboard-bottom{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px;display:grid}.department-list{padding:8px 20px 16px}.department-item{border-bottom:1px solid #f0f1f3;justify-content:space-between;align-items:center;gap:15px;padding:13px 0;display:flex}.department-item:last-child{border-bottom:none}.department-item>div:first-child{flex-direction:column;gap:4px;display:flex}.department-item strong{color:#1f2937;font-size:14px}.department-item span{color:#6b7280;font-size:12px}.department-count{color:#2563eb;background:#eff6ff;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;font-size:13px;font-weight:700;display:flex}.recent-projects{padding:8px 20px 16px}.project-item{border-bottom:1px solid #f0f1f3;justify-content:space-between;align-items:center;gap:15px;padding:13px 0;display:flex}.project-item:last-child{border-bottom:none}.project-info{flex-direction:column;gap:4px;min-width:0;display:flex}.project-info strong{color:#1f2937;white-space:nowrap;text-overflow:ellipsis;font-size:14px;overflow:hidden}.project-info span{color:#6b7280;font-size:12px}.project-status{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:5px;display:flex}.project-status small{color:#6b7280;font-size:11px}.status-active,.status-inactive{border-radius:20px;justify-content:center;align-items:center;padding:4px 9px;font-size:11px;font-weight:600;display:inline-flex}.recent-activities-panel{margin-bottom:20px}.recent-activities{padding:8px 20px 16px}.activity-item{border-bottom:1px solid #f0f1f3;gap:13px;padding:15px 0;display:flex}.activity-item:last-child{border-bottom:none}.activity-icon{color:#2563eb;background:#eff6ff;border-radius:50%;justify-content:center;align-items:center;width:36px;min-width:36px;height:36px;font-size:14px;display:flex}.activity-content{flex:1;min-width:0}.activity-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.activity-title strong{color:#1f2937;font-size:14px}.activity-title span{color:#6b7280;background:#f3f4f6;border-radius:5px;padding:3px 7px;font-size:10px;font-weight:600}.activity-content p{color:#6b7280;margin:5px 0;font-size:13px;line-height:1.5}.activity-content small{color:#9ca3af;font-size:11px}.empty-state{text-align:center;color:#9ca3af;padding:35px 20px;font-size:13px}.dashboard-loading{color:#6b7280;flex-direction:column;justify-content:center;align-items:center;min-height:400px;display:flex}.dashboard-spinner{border:4px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;width:38px;height:38px;margin-bottom:12px;animation:.8s linear infinite dashboard-spin}.dashboard-loading p{margin:0;font-size:14px}@keyframes dashboard-spin{to{transform:rotate(360deg)}}.dashboard-error{text-align:center;background:#fff;border:1px solid #fecaca;border-radius:12px;margin:30px;padding:30px}.dashboard-error h3{color:#b91c1c;margin:0 0 8px}.dashboard-error p{color:#6b7280;margin:0 0 18px;font-size:14px}.dashboard-error button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:7px;padding:9px 18px;font-weight:600}.dashboard-error button:hover{background:#1d4ed8}@media (width<=1200px){.dashboard-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=900px){.dashboard{padding:18px}.dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-analytics,.dashboard-bottom{grid-template-columns:1fr}}@media (width<=600px){.dashboard{padding:14px}.dashboard-header{flex-direction:column;align-items:flex-start}.dashboard-header h1{font-size:23px}.dashboard-refresh-btn{width:100%}.dashboard-cards{grid-template-columns:1fr;gap:12px}.dashboard-card{padding:16px}.dashboard-card h2{font-size:22px}.dashboard-analytics,.dashboard-bottom{gap:14px}.analytics-content{padding:12px}.analytics-summary{grid-template-columns:1fr}.panel-header{padding:15px}.department-list,.recent-projects,.recent-activities{padding-left:15px;padding-right:15px}.project-item{align-items:flex-start}.project-status{align-items:flex-end}.activity-item{gap:10px}}.dashboard-loading{background:radial-gradient(circle at 50% 40%,#4f46e51f,#0000 45%);justify-content:center;align-items:center;min-height:75vh;padding:24px;display:flex}.loader-card{background:linear-gradient(145deg,#fffffff5,#eff6fff0);border:1px solid #818cf840;border-radius:28px;flex-direction:column;justify-content:center;align-items:center;width:min(100%,430px);min-height:390px;padding:45px 28px 32px;animation:.6s both loaderCardEnter;display:flex;position:relative;overflow:hidden;box-shadow:0 25px 70px #1e293b1a,0 0 40px #6366f114}.loader-icon{border:2px solid #6366f1;border-color:#6366f1 #06b6d4 #6366f126 #6366f126;border-radius:50%;place-items:center;width:116px;height:116px;margin-bottom:30px;animation:2s linear infinite loaderRotate;display:grid;position:relative;box-shadow:0 0 25px #6366f11a}.loader-icon-inner{color:#fff;background:linear-gradient(135deg,#4f46e5,#7c3aed,#0891b2);border-radius:24px;place-items:center;width:76px;height:76px;font-size:32px;animation:1.8s ease-in-out infinite loaderIconPulse;display:grid;box-shadow:0 8px 28px #4f46e54d}.loader-orbit{background:#06b6d4;border-radius:50%;width:13px;height:13px;position:absolute;box-shadow:0 0 16px #06b6d4a6}.orbit-one{animation:1.8s ease-in-out infinite loaderFloat;top:85px;right:105px}.orbit-two{background:#8b5cf6;width:9px;height:9px;animation:2.2s ease-in-out infinite reverse loaderFloat;bottom:160px;left:100px}.loader-progress{background:#e0e7ff;border-radius:20px;width:180px;height:5px;margin-bottom:24px;overflow:hidden}.loader-progress span{border-radius:inherit;background:linear-gradient(90deg,#4f46e5,#06b6d4,#8b5cf6);width:45%;height:100%;animation:1.5s ease-in-out infinite loaderProgress;display:block}.loader-card h2{color:#172554;letter-spacing:-.6px;text-align:center;margin:0 0 10px;font-size:clamp(19px,4vw,23px);font-weight:750}.loader-card>p{color:#64748b;text-align:center;margin:0;font-size:14px;line-height:1.7}.loader-dots{gap:7px;margin-top:19px;display:flex}.loader-dots span{background:#6366f1;border-radius:50%;width:7px;height:7px;animation:1s ease-in-out infinite loaderDot}.loader-dots span:nth-child(2){animation-delay:.15s}.loader-dots span:nth-child(3){animation-delay:.3s}.loader-status{color:#475569;background:#fffc;border:1px solid #e0e7ff;border-radius:30px;align-items:center;gap:8px;margin-top:24px;padding:9px 14px;font-size:11px;font-weight:600;display:flex}.status-pulse{background:#10b981;border-radius:50%;flex-shrink:0;width:7px;height:7px;animation:1.5s infinite loaderStatusPulse;box-shadow:0 0 0 4px #10b9811f}@keyframes loaderRotate{to{transform:rotate(360deg)}}@keyframes loaderIconPulse{0%,to{transform:scale(1)}50%{transform:scale(.94)}}@keyframes loaderFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-9px)}}@keyframes loaderProgress{0%{transform:translate(-110%)}to{transform:translate(350%)}}@keyframes loaderDot{0%,60%,to{opacity:.4;transform:translateY(0)}30%{opacity:1;transform:translateY(-6px)}}@keyframes loaderStatusPulse{0%,to{opacity:1}50%{opacity:.45}}@keyframes loaderCardEnter{0%{opacity:0;transform:translateY(14px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=480px){.dashboard-loading{min-height:65vh;padding:14px}.loader-card{border-radius:22px;min-height:350px;padding:32px 18px}.orbit-one{right:65px}.orbit-two{left:60px}}@media (prefers-reduced-motion:reduce){.loader-card,.loader-icon,.loader-icon-inner,.loader-orbit,.loader-progress span,.loader-dots span,.status-pulse{animation:none!important}}.messages-page{color:#172033;background:#f5f7fb;min-height:100%;padding:24px}.messages-header,.messages-header-actions,.message-list-header,.message-row-top,.message-detail-header,.message-compose-header,.message-compose-actions{justify-content:space-between;align-items:center;gap:14px;display:flex}.messages-header{margin-bottom:24px}.messages-header h1{margin:0 0 7px;font-size:28px}.messages-header p,.message-compose-header p{color:#748094;margin:0;font-size:14px}.messages-header-actions{justify-content:flex-end}.message-compose-btn,.message-refresh-btn,.message-cancel-btn,.message-close-detail,.message-compose-header>button{cursor:pointer;border:0;border-radius:9px;justify-content:center;align-items:center;gap:9px;transition:all .2s;display:inline-flex}.message-compose-btn{color:#fff;background:#2563eb;padding:12px 17px;font-weight:600}.message-compose-btn:hover{background:#1d4ed8}.message-compose-btn:disabled,.message-refresh-btn:disabled{opacity:.6;cursor:not-allowed}.message-refresh-btn{color:#475569;background:#fff;border:1px solid #e2e8f0;width:42px;height:42px}.message-refresh-btn:hover{background:#edf2f7}.message-spin{animation:1s linear infinite message-spin}@keyframes message-spin{to{transform:rotate(360deg)}}.message-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:22px;display:grid}.message-stat-card{background:#fff;border:1px solid #e7ebf2;border-radius:14px;align-items:center;gap:16px;padding:20px;display:flex}.message-stat-icon{color:#2563eb;background:#eaf1ff;border-radius:12px;place-items:center;width:48px;height:48px;font-size:20px;display:grid}.message-stat-icon.unread-icon{color:#d97706;background:#fff3dc}.message-stat-card span{color:#748094;font-size:13px;display:block}.message-stat-card h2{margin:5px 0 0;font-size:25px}.message-error{color:#b91c1c;overflow-wrap:anywhere;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding:13px 15px;display:flex}.message-error button{color:inherit;cursor:pointer;background:0 0;border:0}.message-workspace{grid-template-columns:210px minmax(0,1fr);align-items:start;gap:18px;display:grid}.message-sidebar,.message-content{background:#fff;border:1px solid #e7ebf2;border-radius:14px;overflow:hidden}.message-sidebar{padding:12px}.message-tab{color:#475569;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:11px;width:100%;margin-bottom:5px;padding:13px 12px;font-size:14px;display:flex}.message-tab:hover{background:#f4f7fc}.message-tab.active{color:#1d4ed8;background:#eaf1ff;font-weight:600}.message-tab-count{text-align:center;color:#fff;background:#2563eb;border-radius:20px;min-width:23px;margin-left:auto;padding:3px 6px;font-size:11px}.message-content{min-width:0}.message-list-header{border-bottom:1px solid #edf0f5;flex-wrap:wrap;padding:20px}.message-list-header h2{margin:0 0 5px;font-size:19px}.message-list-header>div:first-child>span{color:#8791a2;font-size:12px}.message-search{color:#94a3b8;border:1px solid #e2e8f0;border-radius:9px;align-items:center;gap:9px;width:min(280px,100%);height:40px;padding:0 12px;display:flex}.message-search input{color:#172033;background:0 0;border:0;outline:0;width:100%;min-width:0}.message-list{max-height:620px;overflow-y:auto}.message-row{text-align:left;cursor:pointer;width:100%;color:inherit;background:#fff;border:0;border-bottom:1px solid #f0f2f6;align-items:flex-start;gap:13px;padding:17px 20px;display:flex}.message-row:hover{background:#f8faff}.message-row.selected{background:#edf4ff}.message-row.unread{background:#fbfdff}.message-avatar{color:#1d4ed8;background:#e4edff;border-radius:50%;flex:0 0 42px;place-items:center;width:42px;height:42px;font-weight:700;display:grid}.message-row-main{flex:1;min-width:0}.message-row-top{align-items:flex-start}.message-row-top strong{overflow-wrap:anywhere;font-size:13px}.message-row-top time{color:#8791a2;flex-shrink:0;font-size:11px}.message-row-main h3{margin:7px 0 5px;font-size:14px;font-weight:600}.message-row-main p{color:#7a8597;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:1.5;display:-webkit-box;overflow:hidden}.message-unread-dot{background:#2563eb;border-radius:50%;flex:0 0 8px;width:8px;height:8px;margin-top:7px}.message-empty{color:#94a3b8;text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:230px;padding:30px;display:flex}.message-empty>svg{margin-bottom:12px;font-size:30px}.message-empty h3{color:#475569;margin:0 0 7px;font-size:16px}.message-empty p{margin:0;font-size:13px}.message-detail{background:#fbfcff;border-top:1px solid #e8edf4;padding:22px}.message-detail-header{align-items:flex-start}.message-detail-label{color:#8791a2;font-size:12px}.message-detail-header h2{overflow-wrap:anywhere;margin:5px 0 12px;font-size:17px}.message-close-detail{color:#475569;background:#eef2f7;width:34px;height:34px}.message-detail>h3{margin:8px 0;font-size:19px}.message-detail-date{color:#8791a2;font-size:12px}.message-detail-body{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:22px;line-height:1.8}.message-read-label{color:#15803d;align-items:center;gap:7px;margin-top:20px;font-size:12px;display:inline-flex}.message-modal-overlay{z-index:1000;background:#0f172a8c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.message-compose-modal{background:#fff;border-radius:16px;width:min(560px,100%);max-height:90vh;padding:24px;overflow-y:auto;box-shadow:0 20px 70px #0f172a33}.message-compose-header{align-items:flex-start;margin-bottom:24px}.message-compose-header h2{margin:0 0 7px;font-size:22px}.message-compose-header>button{color:#475569;background:#f1f5f9;width:34px;height:34px}.message-compose-modal form{flex-direction:column;gap:10px;display:flex}.message-compose-modal label{color:#334155;margin-top:8px;font-size:13px;font-weight:600}.message-compose-modal input,.message-compose-modal textarea{box-sizing:border-box;width:100%;font:inherit;color:#172033;background:#fff;border:1px solid #dbe2ec;border-radius:9px;outline:none;padding:12px 13px;font-size:14px}.message-compose-modal input:focus,.message-compose-modal textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.message-compose-modal textarea{resize:vertical}.message-compose-actions{justify-content:flex-end;margin-top:12px}.message-cancel-btn{color:#475569;background:#eef2f7;padding:12px 16px}@media (width<=850px){.message-workspace{grid-template-columns:1fr}.message-sidebar{gap:8px;display:flex}.message-tab{margin:0}}@media (width<=600px){.messages-page{padding:14px}.messages-header{flex-direction:column;align-items:flex-start}.messages-header-actions{width:100%}.message-stats{grid-template-columns:1fr;gap:10px}.message-list-header{flex-direction:column;align-items:stretch;padding:15px}.message-search{width:auto}.message-row{padding:14px}.message-row-top{flex-direction:column;gap:5px}.message-detail{padding:16px}.message-compose-modal{padding:18px}}.notification-page{color:#0f172a;background:#f8fafc;min-height:100%;padding:26px}.np-header,.np-heading,.np-header-actions,.np-toolbar,.np-filters,.np-search,.np-item,.np-title-row,.np-item-actions,.np-pagination{align-items:center;display:flex}.np-header{flex-wrap:wrap;justify-content:space-between;gap:18px;margin-bottom:24px}.np-heading{gap:14px}.np-heading-icon{color:#2563eb;background:#eff6ff;border-radius:13px;place-items:center;width:50px;height:50px;font-size:22px;display:grid}.np-heading h1{margin:0 0 5px;font-size:25px}.np-heading p{color:#64748b;margin:0;font-size:13px}.np-header-actions{flex-wrap:wrap;gap:9px}.np-btn{cursor:pointer;border:1px solid #e2e8f0;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:39px;padding:9px 13px;font-size:12px;font-weight:600;display:inline-flex}.np-btn:disabled,.np-item-actions button:disabled,.np-pagination button:disabled{opacity:.5;cursor:not-allowed}.np-btn-light{color:#334155;background:#fff}.np-btn-primary{color:#fff;background:#2563eb;border-color:#2563eb}.np-btn-primary:hover:not(:disabled){background:#1d4ed8}.np-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px;display:grid}.np-stat{background:#fff;border:1px solid #e2e8f0;border-radius:13px;padding:19px}.np-stat span{color:#64748b;margin-bottom:9px;font-size:12px;display:block}.np-stat strong{font-size:25px}.np-toolbar{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;gap:12px;margin-bottom:17px;padding:12px}.np-filters{flex-wrap:wrap;gap:5px}.np-filter{color:#64748b;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;padding:9px 12px;font-size:12px}.np-filter.active{color:#1d4ed8;background:#eff6ff;border-color:#dbeafe}.np-search{color:#94a3b8;border:1px solid #e2e8f0;border-radius:9px;flex:1;gap:9px;min-width:180px;max-width:350px;padding:0 11px}.np-search:focus-within{border-color:#93c5fd}.np-search input{color:#0f172a;background:0 0;border:none;outline:none;width:100%;height:38px;font-size:12px}.np-delete-read{color:#dc2626;background:#fff}.np-list{background:#fff;border:1px solid #e2e8f0;border-radius:13px;overflow:hidden}.np-item{border-bottom:1px solid #f1f5f9;align-items:flex-start;gap:14px;padding:19px}.np-item:last-child{border-bottom:none}.np-item.unread{background:#f8fbff}.np-item:hover{background:#f8fafc}.np-type-icon{border-radius:11px;flex-shrink:0;place-items:center;width:40px;height:40px;font-size:15px;display:grid}.np-type-icon.info,.np-type-badge.info{color:#1d4ed8;background:#eff6ff}.np-type-icon.success,.np-type-badge.success{color:#15803d;background:#f0fdf4}.np-type-icon.warning,.np-type-badge.warning{color:#c2410c;background:#fff7ed}.np-type-icon.error,.np-type-badge.error{color:#b91c1c;background:#fef2f2}.np-content{flex:1;min-width:0}.np-title-row{flex-wrap:wrap;gap:8px;margin-bottom:7px}.np-title-row h3{overflow-wrap:anywhere;margin:0;font-size:14px}.np-type-badge{text-transform:capitalize;border-radius:5px;padding:4px 7px;font-size:10px}.np-dot{background:#2563eb;border-radius:50%;width:8px;height:8px}.np-content p{color:#64748b;overflow-wrap:anywhere;white-space:pre-wrap;margin:0 0 10px;font-size:13px;line-height:1.65}.np-content small{color:#94a3b8;font-size:11px;display:block}.np-content .np-reference{color:#64748b;margin-top:6px}.np-item-actions{flex-shrink:0;gap:6px}.np-item-actions button{color:#64748b;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.np-item-actions button:hover{color:#1d4ed8;background:#eff6ff}.np-item-actions button:last-child:hover{color:#dc2626;background:#fef2f2}.np-empty{color:#64748b;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:220px;padding:25px;display:flex}.np-empty>svg{color:#94a3b8;font-size:25px}.np-empty h3,.np-empty p{margin:0}.np-empty h3{color:#334155;font-size:16px}.np-empty p{font-size:12px}.np-error{color:#b91c1c;overflow-wrap:anywhere;background:#fef2f2;border:1px solid #fecaca;border-radius:9px;justify-content:space-between;gap:12px;margin-bottom:15px;padding:12px;font-size:13px;display:flex}.np-error button{color:#991b1b;cursor:pointer;background:0 0;border:none;align-self:flex-start}.np-pagination{color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:16px;padding:14px 17px;font-size:12px}.np-pagination>div{gap:8px;display:flex}.np-pagination button{color:#334155;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:7px;padding:8px 12px}@media (width<=800px){.notification-page{padding:18px}.np-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.np-search{flex-basis:100%;order:3;max-width:none}}@media (width<=520px){.notification-page{padding:12px}.np-header-actions{width:100%}.np-header-actions .np-btn{flex:1}.np-stats{grid-template-columns:1fr;gap:9px}.np-toolbar{align-items:stretch}.np-filters{width:100%}.np-filter{flex:1}.np-search{order:initial}.np-delete-read{width:100%}.np-item{gap:9px;padding:13px 10px}.np-type-icon{width:33px;height:33px}.np-item-actions{flex-direction:column}.np-item-actions button{width:30px;height:30px}.np-pagination{flex-direction:column;align-items:flex-start}.np-pagination>div{width:100%}.np-pagination button{flex:1}}.user-page{box-sizing:border-box;width:100%;padding:24px}.user-list-header h1{color:#111827;margin:6px 0 4px;font-size:28px;font-weight:700}.user-list-header p{color:#6b7280;margin:0;font-size:14px}.user-breadcrumb{color:#6b7280;margin-bottom:5px;font-size:13px}.user-add-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#2563eb;border:none;border-radius:7px;padding:11px 18px;font-size:14px;font-weight:600;transition:all .2s}.user-add-btn:hover{background:#1d4ed8;transform:translateY(-1px)}.user-add-btn:active{transform:translateY(0)}.user-table-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;box-shadow:0 2px 10px #0000000a}.user-table-wrapper{width:100%;overflow-x:auto}.user-table{border-collapse:collapse;width:100%;min-width:800px;font-size:14px}.user-table thead{background:#f8fafc}.user-table th{text-align:left;color:#475569;text-transform:uppercase;letter-spacing:.4px;white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:15px 18px;font-size:12px;font-weight:700}.user-table td{color:#374151;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:15px 18px}.user-table tbody tr{transition:background .2s}.user-table tbody tr:last-child td{border-bottom:none}.user-status{white-space:nowrap;border-radius:20px;align-items:center;gap:7px;padding:6px 10px;font-size:12px;font-weight:600;display:inline-flex}.user-status-dot{background:currentColor;border-radius:50%;width:7px;height:7px;display:inline-block}.user-table-actions{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.user-view-btn{color:#fff;cursor:pointer;background:#0891b2;border:none;border-radius:5px;padding:7px 12px;font-size:13px;font-weight:600;transition:all .2s}.user-view-btn:hover{background:#0e7490;transform:translateY(-1px)}.user-edit-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:5px;padding:7px 12px;font-size:13px;font-weight:600;transition:all .2s}.user-edit-btn:hover{background:#1d4ed8;transform:translateY(-1px)}.user-delete-btn{color:#fff;cursor:pointer;background:#dc2626;border:none;border-radius:5px;padding:7px 12px;font-size:13px;font-weight:600;transition:all .2s}.user-delete-btn:hover{background:#b91c1c;transform:translateY(-1px)}.user-view-btn:active,.user-edit-btn:active,.user-delete-btn:active,.user-add-btn:active{transform:scale(.97)}.user-loading,.user-no-data{color:#64748b;justify-content:center;align-items:center;min-height:220px;font-size:15px;display:flex}.user-table-card .pagination-container{border-top:1px solid #e5e7eb}.user-details-actions{align-items:center;gap:10px;display:flex}.user-back-btn{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:7px;padding:10px 16px;font-size:14px;font-weight:600;transition:all .2s}.user-back-btn:hover{background:#f8fafc;border-color:#9ca3af}.user-details-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:28px;box-shadow:0 2px 10px #0000000a}.user-details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.user-detail-item{background:#f8fafc;border:1px solid #e5e7eb;border-radius:9px;flex-direction:column;justify-content:center;gap:8px;min-height:90px;padding:18px;display:flex}.user-detail-item strong{color:#111827;word-break:break-word;font-size:15px}.user-detail-label{color:#64748b;text-transform:uppercase;letter-spacing:.4px;font-size:12px;font-weight:700}.user-detail-item .user-status{width:fit-content}.user-form-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:25px;box-shadow:0 2px 10px #0000000a}.user-form-group{margin-bottom:20px}.user-form-input{box-sizing:border-box;border:1px solid #d1d5db;border-radius:7px;outline:none;width:100%;padding:11px 13px;font-size:14px;transition:border-color .2s,box-shadow .2s}.user-form-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}@media (width<=900px){.user-page{padding:18px}.user-list-header{align-items:flex-start}.user-details-grid{grid-template-columns:1fr}}@media (width<=640px){.user-page{padding:14px}.user-list-header{flex-direction:column;align-items:stretch;margin-bottom:18px}.user-list-header h1{font-size:23px}.user-list-header p{font-size:13px}.user-add-btn{text-align:center;width:100%}.user-table-card{border-radius:9px}.user-table{min-width:720px}.user-table th,.user-table td{padding:12px 14px}.user-table-actions{flex-wrap:nowrap}.user-details-actions{flex-direction:column;width:100%}.user-details-actions button{width:100%}.user-details-card{padding:16px}.user-details-grid{gap:12px}.user-detail-item{padding:15px}}@media (width<=400px){.user-page{padding:10px}.user-list-header h1{font-size:21px}.user-table{min-width:680px}}.user-form-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.user-form-header h1{color:#111827;letter-spacing:-.6px;margin:6px 0 8px;font-size:28px;font-weight:750}.user-form-header p{color:#64748b;margin:0;font-size:14px;line-height:1.6}.user-form-header .user-breadcrumb{color:#64748b;font-size:13px}.user-form-card{box-sizing:border-box;-moz-column-gap:24px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 24px;width:100%;max-width:900px;padding:32px;animation:.3s ease-out userFormEnter;display:grid;box-shadow:0 4px 6px -2px #0f172a08,0 12px 32px -12px #0f172a1f}@keyframes userFormEnter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.user-form-group{min-width:0;margin-bottom:20px}.user-form-group label{color:#334155;margin-bottom:9px;font-size:13px;font-weight:650;display:block}.user-form-group label span{color:#dc2626;margin-left:4px}.user-form-group input{box-sizing:border-box;color:#0f172a;background:#f8fafc;border:1px solid #dbe2ea;border-radius:9px;outline:none;width:100%;min-height:46px;padding:11px 14px;font-family:inherit;font-size:14px;transition:border-color .2s,box-shadow .2s,background .2s;display:block}.user-form-group input::placeholder{color:#94a3b8}.user-form-group input:hover:not(:disabled){background:#fff;border-color:#b8c5d6}.user-form-group input:focus{background:#fff;border-color:#3b82f6;box-shadow:0 0 0 4px #3b82f61f}.user-form-group input:disabled{cursor:not-allowed;opacity:.65}.user-checkbox-wrapper{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;grid-column:1/-1;align-items:center;gap:12px;margin:2px 0 26px;padding:16px 18px;transition:background .2s,border-color .2s;display:flex}.user-checkbox-wrapper:has(input:checked){background:#f0fdf4;border-color:#bbf7d0}.user-checkbox-wrapper input[type=checkbox]{accent-color:#16a34a;cursor:pointer;width:18px;height:18px;margin:0}.user-checkbox-wrapper input:disabled{cursor:not-allowed}.user-checkbox-wrapper label{color:#334155;cursor:pointer;font-size:14px;font-weight:600}.user-form-actions{border-top:1px solid #eef2f7;grid-column:1/-1;justify-content:flex-end;align-items:center;gap:12px;padding-top:22px;display:flex}.user-secondary-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #d1d9e4;border-radius:9px;min-height:43px;padding:10px 19px;font-family:inherit;font-size:14px;font-weight:600;transition:all .2s}.user-secondary-btn:hover:not(:disabled){color:#0f172a;background:#f1f5f9;border-color:#94a3b8}.user-secondary-btn:disabled{cursor:not-allowed;opacity:.6}.user-primary-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb,#1d4ed8);border:1px solid #2563eb;border-radius:9px;min-width:140px;min-height:43px;padding:10px 21px;font-family:inherit;font-size:14px;font-weight:650;transition:transform .2s,box-shadow .2s,opacity .2s;box-shadow:0 3px 8px #2563eb33}.user-primary-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 14px #2563eb45}.user-primary-btn:active:not(:disabled){transform:translateY(0)}.user-primary-btn:disabled{cursor:not-allowed;opacity:.65;box-shadow:none}.user-secondary-btn:focus-visible,.user-primary-btn:focus-visible{outline-offset:3px;outline:3px solid #3b82f64d}@media (width<=768px){.user-form-header{align-items:flex-start}.user-form-header h1{font-size:24px}.user-form-card{-moz-column-gap:18px;column-gap:18px;padding:24px}}@media (width<=560px){.user-page{padding:14px}.user-form-header{flex-direction:column;gap:16px;margin-bottom:18px}.user-form-header h1{font-size:23px}.user-form-header>button{align-self:flex-start}.user-form-card{border-radius:12px;grid-template-columns:minmax(0,1fr);gap:0;padding:20px 16px}.user-form-group{margin-bottom:18px}.user-checkbox-wrapper{margin-bottom:22px}.user-form-actions{flex-direction:column-reverse;align-items:stretch;gap:10px}.user-form-actions button{width:100%;min-height:46px}}@media (prefers-reduced-motion:reduce){.user-form-card{animation:none}.user-form-group input,.user-primary-btn,.user-secondary-btn{transition:none}}.user-page{box-sizing:border-box;width:100%;min-width:0;padding:24px}.user-page *{box-sizing:border-box}.user-list-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.user-heading h1{color:#111827;margin:8px 0;font-size:28px;font-weight:700}.user-heading p{color:#6b7280;margin:0;font-size:14px}.user-breadcrumb{color:#64748b;font-size:12px;font-weight:600}.user-add-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#2563eb;border:none;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:11px 18px;font-size:14px;font-weight:600;display:inline-flex}.user-add-btn:hover{background:#1d4ed8}.user-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.user-stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;align-items:center;gap:16px;min-width:0;padding:22px;display:flex;box-shadow:0 3px 12px #0f172a0a}.user-stat-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;font-size:24px;font-weight:700;display:flex}.total-icon{color:#2563eb;background:#eff6ff}.active-icon{color:#059669;background:#ecfdf5}.inactive-icon{color:#d97706;background:#fffbeb}.user-stat-card p{color:#64748b;margin:0 0 6px;font-size:13px}.user-stat-card h2{color:#111827;margin:0 0 5px;font-size:27px;font-weight:700}.user-stat-card span{color:#94a3b8;font-size:12px}.user-table-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;width:100%;min-width:0;overflow:hidden;box-shadow:0 3px 12px #0f172a0a}.user-table-heading{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:16px;padding:20px 22px;display:flex}.user-table-heading h2{color:#111827;margin:0 0 6px;font-size:17px}.user-table-heading p{color:#64748b;margin:0;font-size:12px}.user-refresh-btn{color:#334155;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #dbe2ea;border-radius:8px;padding:9px 13px}.user-refresh-btn:disabled{cursor:not-allowed;opacity:.6}.user-table-wrapper{-webkit-overflow-scrolling:touch;width:100%;min-width:0;overflow-x:auto}.user-table{border-collapse:collapse;text-align:left;width:100%;min-width:700px}.user-table th,.user-table td{white-space:nowrap;border-bottom:1px solid #eef2f7;padding:15px 18px}.user-table th{color:#64748b;text-transform:uppercase;background:#f8fafc;font-size:11px;font-weight:700}.user-table td{color:#334155;font-size:13px}.user-table tbody tr:hover{background:#f8fafc}.user-email{color:#64748b}.user-status{border-radius:20px;align-items:center;gap:7px;padding:6px 10px;font-size:11px;font-weight:600;display:inline-flex}.user-status.active{color:#047857;background:#ecfdf5}.user-status.inactive{color:#b91c1c;background:#fef2f2}.user-status-dot{background:currentColor;border-radius:50%;width:7px;height:7px}.user-table-actions{align-items:center;gap:7px;display:flex}.user-table-actions button{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:7px 10px;font-size:12px}.user-view-btn{color:#2563eb}.user-edit-btn{color:#475569}.user-delete-btn{color:#dc2626}.user-loading,.user-no-data{color:#64748b;text-align:center;padding:45px 20px}@media (width<=900px){.user-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.user-page{padding:18px}}@media (width<=600px){.user-list-header{flex-direction:column;align-items:flex-start}.user-stats-grid{grid-template-columns:minmax(0,1fr)}.user-table-heading{flex-direction:column;align-items:flex-start}.user-page{padding:12px}}.user-modal-overlay{z-index:2000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a94;justify-content:center;align-items:center;padding:20px;animation:.2s userOverlayIn;display:flex;position:fixed;inset:0;overflow-y:auto}.user-modal{background:#fff;border:1px solid #e5e7eb;border-radius:16px;width:100%;max-width:560px;max-height:calc(100vh - 40px);animation:.25s userModalIn;overflow-y:auto;box-shadow:0 24px 70px #0003}.user-modal-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:flex-start;gap:16px;padding:24px 26px 18px;display:flex}.user-modal-header h2{color:#111827;margin:8px 0;font-size:23px}.user-modal-header p{color:#64748b;margin:0;font-size:13px}.user-modal-close{color:#334155;cursor:pointer;background:#f1f5f9;border:none;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:27px;display:flex}.user-modal-close:hover{background:#e2e8f0}.user-modal .user-form-card{width:100%;box-shadow:none;background:#fff;border:none;border-radius:0;flex-direction:column;gap:18px;margin:0;padding:24px 26px 26px;display:flex}.user-modal .user-form-group{flex-direction:column;gap:8px;display:flex}.user-modal .user-form-group label{color:#334155;font-size:13px;font-weight:600}.user-modal .user-form-group label span{color:#dc2626}.user-modal .user-form-group input{box-sizing:border-box;border:1px solid #dbe2ea;border-radius:8px;outline:none;width:100%;min-height:43px;padding:11px 12px;font-size:14px}.user-modal .user-form-group input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.user-modal .user-checkbox-wrapper{align-items:center;gap:10px;display:flex}.user-modal .user-form-actions{border-top:1px solid #eef2f7;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:8px;padding-top:18px;display:flex}@keyframes userOverlayIn{0%{opacity:0}to{opacity:1}}@keyframes userModalIn{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=600px){.user-modal-overlay{align-items:center;padding:10px}.user-modal{max-height:calc(100vh - 20px)}.user-modal-header{padding:20px 18px 16px}.user-modal .user-form-card{padding:20px 18px}}.audit-page{color:#1f2937;min-width:0;padding:24px}.audit-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.audit-header h2{margin:0 0 7px;font-size:26px;font-weight:700}.audit-header p{color:#6b7280;margin:0}.audit-btn{cursor:pointer;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:9px 15px;font-size:13px;font-weight:600;text-decoration:none;transition:background .2s;display:inline-flex}.audit-btn:disabled{opacity:.55;cursor:not-allowed}.audit-btn-primary{color:#fff;background:#2563eb}.audit-btn-primary:hover:not(:disabled){background:#1d4ed8}.audit-btn-secondary{color:#374151;background:#fff;border-color:#d1d5db}.audit-btn-secondary:hover:not(:disabled){background:#f3f4f6}.audit-filter-card,.audit-table-card,.audit-detail-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 2px 8px #0f172a0a}.audit-filter-card{margin-bottom:24px;padding:20px}.audit-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.audit-field{flex-direction:column;gap:7px;min-width:0;display:flex}.audit-field label,.audit-detail-grid label{color:#6b7280;font-size:12px;font-weight:600}.audit-field input,.audit-field select{box-sizing:border-box;color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:7px;outline:none;width:100%;min-width:0;height:40px;padding:0 11px;font-size:13px}.audit-field input:focus,.audit-field select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.audit-filter-actions{flex-wrap:wrap;gap:10px;margin-top:20px;display:flex}.audit-table-card{overflow:hidden}.audit-table-heading{justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;display:flex}.audit-table-heading h3,.audit-detail-card h3{margin:0;font-size:17px;font-weight:700}.audit-table-heading span{color:#6b7280;font-size:12px}.audit-table-wrapper{width:100%;overflow-x:auto}.audit-table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:12px}.audit-table thead{background:#f8fafc}.audit-table th{text-align:left;color:#64748b;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;padding:13px 15px;font-weight:700}.audit-table td{color:#374151;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:14px 15px}.audit-table tbody tr:hover{background:#f8fafc}.audit-description{text-overflow:ellipsis;max-width:230px;overflow:hidden}.audit-empty{text-align:center;color:#6b7280!important;padding:35px!important}.audit-action{color:#374151;background:#f3f4f6;border-radius:20px;padding:5px 9px;font-size:11px;font-weight:700;display:inline-block}.audit-action-create{color:#166534;background:#dcfce7}.audit-action-update{color:#1d4ed8;background:#dbeafe}.audit-action-delete{color:#b91c1c;background:#fee2e2}.audit-action-login{color:#6d28d9;background:#ede9fe}.audit-action-logout{color:#92400e;background:#fef3c7}.audit-details-link{color:#2563eb;font-weight:700;text-decoration:none}.audit-details-link:hover{text-decoration:underline}.audit-pagination{color:#6b7280;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;padding:16px 20px;font-size:12px;display:flex}.audit-pagination>div{align-items:center;gap:10px;display:flex}.audit-page-number{white-space:nowrap}.audit-detail-card{min-width:0;margin-bottom:22px;padding:22px}.audit-detail-card h3{margin-bottom:22px}.audit-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;display:grid}.audit-detail-grid p{overflow-wrap:anywhere;margin:7px 0 0;font-size:13px}.audit-detail-full{grid-column:1/-1}.audit-json-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.audit-json{white-space:pre-wrap;overflow-wrap:anywhere;color:#334155;background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;min-height:100px;max-height:450px;margin:0;padding:16px;font-size:12px;line-height:1.65;overflow:auto}@media (width<=1000px){.audit-filter-grid,.audit-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-json-grid{grid-template-columns:1fr}}@media (width<=600px){.audit-page{padding:14px}.audit-header h2{font-size:22px}.audit-filter-grid,.audit-detail-grid{grid-template-columns:1fr}.audit-detail-full{grid-column:auto}.audit-pagination{flex-direction:column;align-items:flex-start}.audit-pagination>div{flex-wrap:wrap}}.project-page{box-sizing:border-box;color:#172033;width:100%;padding:32px 40px 50px}.project-total-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;min-width:130px;padding:10px 18px;display:flex}.project-total-label{color:#64748b;font-size:12px;font-weight:600}.project-total-count{color:#2563eb;margin-top:2px;font-size:22px;font-weight:700}.project-list-header,.project-form-header,.project-details-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px;display:flex}.project-list-header h1,.project-form-header h1,.project-details-header h1{color:#172033;margin:0 0 7px;font-size:30px;font-weight:700;line-height:1.2}.project-list-header p,.project-form-header p,.project-details-header p{color:#718096;margin:0;font-size:14px;line-height:1.6}.project-breadcrumb{color:#60708a;margin-bottom:8px;font-size:13px;font-weight:500}.project-primary-btn,.project-secondary-btn,.project-add-btn,.project-view-btn,.project-edit-btn,.project-delete-btn{cursor:pointer;border:none;font-family:inherit;transition:background-color .2s,color .2s,border-color .2s,transform .2s,box-shadow .2s}.project-primary-btn,.project-add-btn{color:#fff;background:#2864e8;border-radius:8px;font-weight:600}.project-primary-btn{min-height:42px;padding:0 20px}.project-add-btn{min-height:44px;padding:0 20px;font-size:14px}.project-primary-btn:hover,.project-add-btn:hover{background:#1f55d0;transform:translateY(-1px);box-shadow:0 5px 14px #2864e838}.project-secondary-btn{color:#26364d;background:#fff;border:1px solid #d7dee8;border-radius:8px;min-height:42px;padding:0 18px;font-weight:500}.project-secondary-btn:hover{background:#f7f9fc;border-color:#c4cedc}.project-header-actions{flex-shrink:0;align-items:center;gap:10px;display:flex}.project-table-card{background:#fff;border:1px solid #e4e9f0;border-radius:14px;width:100%;overflow:hidden;box-shadow:0 5px 20px #18274b0f}.project-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:850px}.project-table th{text-align:left;color:#68778d;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #e5eaf0;padding:17px 20px;font-size:12px;font-weight:700}.project-table td{color:#344054;vertical-align:middle;border-bottom:1px solid #edf0f4;padding:18px 20px;font-size:14px}.project-table tbody tr:last-child td{border-bottom:none}.project-table th:first-child,.project-table td:first-child{width:8%}.project-table th:nth-child(2),.project-table td:nth-child(2){width:20%}.project-table th:nth-child(3),.project-table td:nth-child(3){width:32%}.project-table th:nth-child(4),.project-table td:nth-child(4){width:15%}.project-table th:nth-child(5),.project-table td:nth-child(5){width:25%}.project-description-cell{white-space:nowrap;text-overflow:ellipsis;color:#667085;max-width:350px;overflow:hidden}.project-status{white-space:nowrap;border-radius:20px;align-items:center;gap:7px;min-height:30px;padding:5px 11px;font-size:12px;font-weight:600;display:inline-flex}.project-table-actions{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.project-view-btn,.project-edit-btn,.project-delete-btn{border-radius:6px;min-height:34px;padding:0 11px;font-size:12px;font-weight:600}.project-form-card{box-sizing:border-box;background:#fff;border:1px solid #e4e9f0;border-radius:14px;width:100%;max-width:900px;margin:0 auto;padding:30px;box-shadow:0 5px 20px #18274b0f}.project-form-group{margin-bottom:22px}.project-form-group label{color:#24324a;margin-bottom:8px;font-size:13px;font-weight:600;display:block}.project-form-group label span{color:#e5484d;margin-left:3px}.project-form-group input,.project-form-group textarea,.project-form-group select{box-sizing:border-box;color:#172033;background:#fff;border:1px solid #d7dee8;border-radius:8px;outline:none;width:100%;font-family:inherit;font-size:14px;transition:border-color .2s,box-shadow .2s}.project-form-group input,.project-form-group select{height:44px;padding:0 13px}.project-form-group textarea{resize:vertical;min-height:130px;padding:12px 13px;line-height:1.6}.project-form-group input::-moz-placeholder{color:#9aa6b6}.project-form-group textarea::-moz-placeholder{color:#9aa6b6}.project-form-group input::placeholder,.project-form-group textarea::placeholder{color:#9aa6b6}.project-form-group input:focus,.project-form-group textarea:focus,.project-form-group select:focus{border-color:#2864e8;box-shadow:0 0 0 3px #2864e81a}.project-checkbox-wrapper{align-items:center;gap:10px;margin:8px 0 25px;display:flex}.project-checkbox-wrapper input{accent-color:#2864e8;cursor:pointer;width:17px;height:17px}.project-checkbox-wrapper label{color:#344054;cursor:pointer;font-size:14px}.project-form-actions{border-top:1px solid #edf0f4;justify-content:flex-end;align-items:center;gap:10px;margin-top:10px;padding-top:22px;display:flex}.project-details-card{box-sizing:border-box;background:#fff;border:1px solid #e4e9f0;border-radius:14px;width:100%;max-width:940px;margin:0 auto;padding:30px;box-shadow:0 5px 20px #18274b0f}.project-title-section{align-items:center;gap:16px;margin-bottom:24px;display:flex}.project-title-icon{color:#fff;background:linear-gradient(135deg,#6d4aff,#8b5cf6);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:54px;height:54px;font-size:21px;font-weight:700;display:flex;box-shadow:0 7px 16px #7046df33}.project-title-content h2{color:#172033;margin:4px 0 0;font-size:24px;font-weight:700}.project-label{color:#718096;letter-spacing:.7px;font-size:11px;font-weight:700;display:block}.project-status-section{align-items:center;gap:14px;margin-bottom:22px;display:flex}.project-status-section .project-label{margin:0}.project-divider{background:#edf0f4;width:100%;height:1px;margin:0 0 26px}.project-info-grid{grid-template-columns:repeat(2,1fr);gap:20px;display:grid}.project-info-item{box-sizing:border-box;background:#f8fafc;border:1px solid #edf0f4;border-radius:9px;min-height:75px;padding:17px}.project-info-item strong{color:#172033;margin-top:9px;font-size:15px;font-weight:600;display:block}.project-text-active{color:#11834b!important}.project-text-inactive{color:#667085!important}.project-description-section{margin-top:28px}.project-description{box-sizing:border-box;background:#fafbfc;border:1px solid #edf0f4;border-radius:9px;min-height:110px;margin-top:10px;padding:18px}.project-description p{color:#344054;white-space:pre-wrap;margin:0;font-size:14px;line-height:1.8}.project-empty-description{font-style:italic;color:#98a2b3!important}.project-details-actions{border-top:1px solid #edf0f4;justify-content:flex-end;align-items:center;gap:10px;margin-top:28px;padding-top:20px;display:flex}.project-loading{color:#718096;flex-direction:column;justify-content:center;align-items:center;min-height:250px;font-size:14px;display:flex}.project-spinner{border:3px solid #e4e9f0;border-top-color:#2864e8;border-radius:50%;width:35px;height:35px;margin-bottom:12px;animation:.8s linear infinite project-spin}@keyframes project-spin{to{transform:rotate(360deg)}}.project-no-data{color:#8a96a8;justify-content:center;align-items:center;min-height:180px;padding:30px;font-size:14px;display:flex}.pagination-btn{color:#526174;cursor:pointer;background:#fff;border:1px solid #d9e0e8;border-radius:7px;min-width:36px;height:36px;padding:0 11px;font-family:inherit;font-size:13px;font-weight:500;transition:all .2s}.pagination-btn:hover:not(:disabled){color:#2864e8;background:#f5f8ff;border-color:#2864e8}@media (width<=1000px){.project-page{padding:25px}.project-list-header,.project-form-header,.project-details-header{flex-direction:column}.project-header-actions{width:100%}.project-info-grid{grid-template-columns:1fr}.project-table{min-width:800px}}@media (width<=650px){.project-page{padding:18px 14px 35px}.project-list-header h1,.project-form-header h1,.project-details-header h1{font-size:24px}.project-list-header,.project-form-header,.project-details-header{margin-bottom:20px}.project-add-btn{width:100%}.project-header-actions{flex-direction:column;align-items:stretch}.project-header-actions button{width:100%}.project-form-card,.project-details-card{border-radius:10px;padding:20px}.project-title-section{align-items:flex-start}.project-title-content h2{font-size:20px}.project-status-section{flex-direction:column;align-items:flex-start;gap:7px}.project-form-actions,.project-details-actions{flex-direction:column-reverse;align-items:stretch}.project-form-actions button,.project-details-actions button{width:100%}.pagination-container{flex-wrap:wrap;justify-content:center;padding:14px}.pagination-btn{min-width:34px;height:34px}.project-table-card{border-radius:10px}}.project-list-header{background:var(--card-bg,#fff);border:1px solid #e2e8f0;border-radius:16px;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px;padding:25px;display:flex;box-shadow:0 4px 18px #0f172a0a}.project-header-info{min-width:0}.project-breadcrumb{color:#64748b;letter-spacing:.7px;text-transform:uppercase;margin-bottom:8px;font-size:12px;font-weight:700}.project-list-header h1,.project-form-header h1{color:#172033;margin:0;font-size:28px;font-weight:750}.project-list-header p,.project-form-header p{color:#64748b;margin:8px 0 0;font-size:14px}.project-header-right{align-items:center;gap:14px;display:flex}.project-total-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;min-width:112px;padding:11px 16px;display:flex}.project-total-label{color:#64748b;font-size:12px}.project-total-count{color:#172033;margin-top:3px;font-size:24px}.project-add-btn,.project-primary-btn{color:#fff;cursor:pointer;background:#4f46e5;border:1px solid #4f46e5;border-radius:9px;justify-content:center;align-items:center;gap:9px;min-height:43px;padding:11px 18px;font-size:13px;font-weight:650;transition:background .2s,transform .2s;display:inline-flex}.project-add-btn:hover,.project-primary-btn:hover{background:#4338ca;transform:translateY(-1px)}.project-add-btn:disabled,.project-primary-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.project-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.project-stat-card{background:#fff;border:1px solid #e5eaf2;border-radius:14px;align-items:center;gap:15px;min-width:0;padding:21px;display:flex;box-shadow:0 3px 14px #0f172a09}.project-stat-card>div:last-child{flex-direction:column;min-width:0;display:flex}.project-stat-card span{color:#64748b;font-size:12px;font-weight:600}.project-stat-card strong{color:#172033;margin:5px 0;font-size:27px;line-height:1.2}.project-stat-card small{color:#94a3b8;font-size:11px}.project-stat-icon{border-radius:13px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:19px;display:flex}.project-stat-blue{color:#4f46e5;background:#eef2ff}.project-stat-green{color:#059669;background:#d1fae5}.project-stat-amber{color:#d97706;background:#fef3c7}.project-stat-purple{color:#9333ea;background:#f3e8ff}.project-table-card{background:#fff;border:1px solid #e5eaf2;border-radius:15px;overflow:hidden;box-shadow:0 4px 18px #0f172a09}.project-table-heading{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:center;gap:18px;padding:22px 24px;display:flex}.project-table-heading h2{color:#172033;margin:0;font-size:18px;font-weight:750}.project-table-heading p{color:#64748b;margin:6px 0 0;font-size:12px}.project-toolbar-actions{align-items:center;gap:10px;display:flex}.project-search-box{color:#94a3b8;background:#fff;border:1px solid #dbe2ea;border-radius:9px;align-items:center;gap:9px;min-width:230px;padding:0 12px;display:flex}.project-search-box:focus-within{border-color:#818cf8;box-shadow:0 0 0 3px #6366f11a}.project-search-box input{color:#172033;background:0 0;border:none;outline:none;width:100%;min-width:0;height:40px;font-size:12px}.project-search-clear{color:#64748b;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:5px;display:flex}.project-refresh-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #dbe2ea;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:9px 13px;font-size:12px;font-weight:600;display:inline-flex}.project-refresh-btn:hover{background:#f8fafc}.project-refresh-btn:disabled{opacity:.6;cursor:not-allowed}.project-table-wrapper{width:100%;overflow-x:auto}.project-table{border-collapse:collapse;width:100%;min-width:760px}.project-table thead{background:#f8fafc}.project-table th{color:#64748b;letter-spacing:.5px;text-align:left;text-transform:uppercase;white-space:nowrap;padding:14px 18px;font-size:11px;font-weight:750}.project-table td{color:#475569;vertical-align:middle;border-top:1px solid #edf0f5;padding:16px 18px;font-size:13px}.project-table tbody tr{transition:background .15s}.project-table tbody tr:hover{background:#fafbff}.project-id{color:#64748b;font-size:12px;font-weight:650}.project-name-cell{align-items:center;gap:11px;min-width:150px;display:flex}.project-name-cell strong{color:#1e293b;overflow-wrap:anywhere;font-weight:650}.project-row-icon{color:#4f46e5;background:#eef2ff;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.project-description-cell{color:#64748b;overflow-wrap:anywhere;-webkit-box-orient:vertical;max-width:270px;line-height:1.5;display:-webkit-box;overflow:hidden}.project-status{white-space:nowrap;border-radius:20px;align-items:center;gap:7px;padding:6px 10px;font-size:11px;font-weight:700;display:inline-flex}.project-status.active{color:#047857;background:#d1fae5}.project-status.inactive{color:#b45309;background:#fef3c7}.project-status-dot{background:currentColor;border-radius:50%;width:6px;height:6px}.project-table-actions{align-items:center;gap:7px;display:flex}.project-view-btn,.project-edit-btn,.project-delete-btn{cursor:pointer;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:6px;min-height:31px;padding:7px 9px;font-size:11px;font-weight:650;transition:background .2s;display:inline-flex}.project-view-btn{color:#1d4ed8;background:#eff6ff}.project-view-btn:hover{background:#dbeafe}.project-edit-btn{color:#6d28d9;background:#f5f3ff}.project-edit-btn:hover{background:#ede9fe}.project-delete-btn{color:#dc2626;background:#fef2f2}.project-delete-btn:hover{background:#fee2e2}.project-loading,.project-no-data,.project-form-loading{color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:220px;padding:30px;font-size:13px;display:flex}.project-no-data>svg{color:#a5b4fc;font-size:38px}.project-no-data h3{color:#1e293b;margin:0;font-size:17px}.project-no-data p{color:#64748b;margin:0 0 5px;font-size:13px}.project-spin{animation:1s linear infinite project-spin-animation}@keyframes project-spin-animation{to{transform:rotate(360deg)}}.project-pagination-footer{border-top:1px solid #edf0f5;justify-content:space-between;align-items:center;gap:15px;padding:15px 20px;display:flex}.project-pagination-footer>span{color:#64748b;font-size:12px}.project-form-header{background:#fff;border:1px solid #e2e8f0;border-radius:14px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;padding:22px;display:flex}.project-form-card{background:#fff;border:1px solid #e5eaf2;border-radius:14px;width:100%;padding:25px;box-shadow:0 4px 18px #0f172a09}.project-form-card-modal{box-shadow:none;border:none;border-radius:0;padding:0}.project-form-section-title{border-bottom:1px solid #edf0f5;margin-bottom:22px;padding-bottom:16px}.project-form-section-title h3{color:#172033;margin:0;font-size:16px}.project-form-section-title p{color:#64748b;margin:6px 0 0;font-size:12px}.project-form-group{flex-direction:column;gap:8px;margin-bottom:22px;display:flex}.project-form-group label{color:#334155;font-size:13px;font-weight:650}.project-form-group label span{color:#dc2626}.project-form-group input,.project-form-group textarea{color:#1e293b;width:100%;font:inherit;box-sizing:border-box;background:#fff;border:1px solid #dbe2ea;border-radius:9px;outline:none;padding:12px 13px;font-size:13px}.project-form-group input{min-height:44px}.project-form-group textarea{resize:vertical;min-height:110px}.project-form-group input:focus,.project-form-group textarea:focus{border-color:#818cf8;box-shadow:0 0 0 3px #6366f11a}.project-checkbox-wrapper{background:#f8fafc;border:1px solid #e5eaf2;border-radius:10px;align-items:flex-start;gap:11px;margin:4px 0 24px;padding:14px;display:flex}.project-checkbox-wrapper input{accent-color:#4f46e5;cursor:pointer;width:16px;height:16px;margin-top:2px}.project-checkbox-wrapper label{color:#334155;cursor:pointer;flex-direction:column;gap:5px;font-size:13px;display:flex}.project-checkbox-wrapper small{color:#64748b;font-size:11px;font-weight:400}.project-form-actions{border-top:1px solid #edf0f5;justify-content:flex-end;align-items:center;gap:10px;padding-top:18px;display:flex}.project-secondary-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #dbe2ea;border-radius:9px;justify-content:center;align-items:center;min-height:42px;padding:10px 17px;font-size:13px;font-weight:650;display:inline-flex}.project-secondary-btn:hover{background:#f8fafc}.project-secondary-btn:disabled{opacity:.6;cursor:not-allowed}.project-form-loading{min-height:180px}.project-form-spinner{border:3px solid #e0e7ff;border-top-color:#4f46e5;border-radius:50%;width:25px;height:25px;animation:.8s linear infinite project-spin-animation}.project-modal-backdrop{z-index:9999;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a94;justify-content:center;align-items:center;padding:20px;animation:.18s ease-out project-backdrop-in;display:flex;position:fixed;inset:0}.project-modal{background:#fff;border:1px solid #e2e8f0e6;border-radius:17px;flex-direction:column;width:100%;max-width:650px;max-height:calc(100vh - 40px);animation:.22s ease-out project-modal-in;display:flex;overflow:hidden;box-shadow:0 24px 80px #0f172a47}.project-modal-header{background:#fff;border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:flex-start;gap:18px;padding:23px 25px;display:flex}.project-modal-eyebrow{color:#6366f1;letter-spacing:1.2px;font-size:10px;font-weight:800}.project-modal-header h2{color:#172033;margin:7px 0 0;font-size:22px;font-weight:750}.project-modal-header p{color:#64748b;margin:7px 0 0;font-size:12px;line-height:1.5}.project-modal-close{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.project-modal-close:hover{color:#dc2626;background:#fef2f2}.project-modal-body{padding:23px 25px;overflow-y:auto}.project-modal-body .project-page{padding:0}@keyframes project-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes project-modal-in{0%{opacity:0;transform:translateY(12px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=1100px){.project-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-list-header{align-items:flex-start}.project-header-right{flex-wrap:wrap;justify-content:flex-end}}@media (width<=760px){.project-list-header{flex-direction:column;padding:19px}.project-header-right{justify-content:space-between;width:100%}.project-total-card{flex:1}.project-table-heading{flex-direction:column;align-items:stretch;padding:18px}.project-toolbar-actions{flex-direction:column;align-items:stretch}.project-search-box{min-width:0}.project-refresh-btn{align-self:flex-start}.project-pagination-footer{flex-direction:column;align-items:flex-start}.project-form-header{align-items:flex-start}.project-modal-backdrop{padding:10px}.project-modal{border-radius:13px;max-height:calc(100vh - 20px)}.project-modal-header,.project-modal-body{padding:18px}}@media (width<=480px){.project-stats-grid{grid-template-columns:1fr;gap:12px}.project-list-header h1,.project-form-header h1{font-size:23px}.project-header-right{flex-direction:column;align-items:stretch}.project-add-btn{width:100%}.project-stat-card{padding:16px}.project-form-card{padding:17px}.project-form-card-modal{padding:0}.project-modal-header h2{font-size:19px}.project-form-actions{flex-direction:column-reverse}.project-form-actions button{width:100%}}.task-page{background:#f8fafc;min-height:100%;padding:24px}.task-list-header,.task-form-header,.task-details-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.task-list-header h1,.task-form-header h1,.task-details-header h1{color:#111827;margin:0;font-size:28px;font-weight:700}.task-list-header p,.task-form-header p,.task-details-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.task-breadcrumb{color:#6b7280;margin-bottom:6px;font-size:13px}.task-primary-btn,.task-secondary-btn{cursor:pointer;border:none;border-radius:7px;padding:11px 18px;font-size:14px;font-weight:600;transition:all .2s}.task-primary-btn{color:#fff;background:#2563eb}.task-primary-btn:hover{background:#1d4ed8;transform:translateY(-1px)}.task-secondary-btn{color:#374151;background:#fff;border:1px solid #d1d5db}.task-header-actions{gap:10px;display:flex}.task-table th{text-align:left;color:#64748b;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:15px 16px;font-size:12px;font-weight:700}.task-table td{color:#374151;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:15px 16px;font-size:14px}.task-table tbody tr{transition:background .2s}.task-table td strong{color:#111827;font-weight:600}.task-description-cell{text-overflow:ellipsis;white-space:nowrap;color:#64748b;max-width:260px;overflow:hidden}.task-priority{color:#475569;background:#f1f5f9;border-radius:6px;align-items:center;padding:5px 10px;font-size:12px;font-weight:600;display:inline-flex}.status-dot{background:currentColor;border-radius:50%;width:7px;height:7px}.task-view-btn,.task-edit-btn,.task-delete-btn{cursor:pointer;white-space:nowrap;border:none;border-radius:6px;padding:7px 12px;font-size:12px;font-weight:600;transition:all .2s}.task-no-data{text-align:center;color:#6b7280;padding:50px 20px;font-size:14px}@keyframes taskSpin{to{transform:rotate(360deg)}}.task-form-card{background:#fff;border:1px solid #eef2f7;border-radius:12px;max-width:900px;padding:28px;box-shadow:0 2px 12px #0f172a0f}.task-form-group{margin-bottom:22px}.task-form-group label{color:#374151;margin-bottom:8px;font-size:14px;font-weight:600;display:block}.task-form-group label span{color:#dc2626;margin-left:4px}.task-form-group input,.task-form-group textarea,.task-form-group select{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:7px;outline:none;width:100%;padding:11px 13px;font-family:inherit;font-size:14px;transition:all .2s}.task-form-group textarea{resize:vertical}.task-checkbox-wrapper{align-items:center;gap:9px;margin:10px 0 25px;display:flex}.task-checkbox-wrapper input{cursor:pointer;accent-color:#2563eb;width:17px;height:17px}.task-checkbox-wrapper label{color:#374151;cursor:pointer;font-size:14px}.task-form-actions{border-top:1px solid #e5e7eb;justify-content:flex-end;gap:10px;padding-top:20px;display:flex}.task-details-card{background:#fff;border:1px solid #eef2f7;border-radius:14px;padding:30px;box-shadow:0 2px 14px #0f172a0f}.task-details-title-section{align-items:center;gap:18px;display:flex}.task-title-icon{color:#2563eb;background:#eff6ff;border-radius:12px;justify-content:center;align-items:center;width:52px;height:52px;font-size:22px;font-weight:700;display:flex}.task-title-content h2{color:#111827;margin:4px 0 0;font-size:24px}.task-label{letter-spacing:.7px;color:#9ca3af;font-size:11px;font-weight:700;display:block}.task-status-box{align-items:center;gap:14px;margin-top:26px;display:flex}.task-details-divider{background:#e5e7eb;height:1px;margin:26px 0}.task-info-grid{grid-template-columns:repeat(2,1fr);gap:24px;display:grid}.task-info-item{background:#f8fafc;border:1px solid #eef2f7;border-radius:9px;padding:16px}.task-info-item strong{color:#111827;margin-top:7px;font-size:15px;display:block}.text-success{color:#15803d!important}.text-warning{color:#b45309!important}.task-description-section{margin-top:28px}.task-description{background:#f8fafc;border:1px solid #eef2f7;border-radius:9px;min-height:80px;margin-top:10px;padding:18px}.task-description p{color:#374151;margin:0;font-size:14px;line-height:1.7}.empty-description{font-style:italic;color:#9ca3af!important}.task-details-actions{border-top:1px solid #e5e7eb;justify-content:flex-end;gap:10px;margin-top:28px;padding-top:22px;display:flex}.task-loading{color:#6b7280;flex-direction:column;justify-content:center;align-items:center;min-height:400px;display:flex}.task-spinner{border:4px solid #e5e7eb;border-top-color:#2563eb;border-radius:50%;width:36px;height:36px;margin-bottom:12px;animation:.8s linear infinite taskSpin}.task-error-card{text-align:center;background:#fff;border-radius:12px;padding:50px;box-shadow:0 2px 12px #0f172a0f}.task-error-icon{color:#dc2626;background:#fee2e2;border-radius:50%;justify-content:center;align-items:center;width:50px;height:50px;margin:0 auto 15px;font-size:25px;font-weight:700;display:flex}.task-error-card h2{color:#111827;margin:0 0 8px}.task-error-card p{color:#6b7280;margin-bottom:20px}@media (width<=768px){.task-page{padding:15px}.task-list-header,.task-form-header,.task-details-header{flex-direction:column;align-items:flex-start;gap:15px}.task-header-actions{width:100%}.task-info-grid{grid-template-columns:1fr}.task-form-card,.task-details-card{padding:20px}.task-form-actions,.task-details-actions{flex-direction:column}.task-form-actions button,.task-details-actions button{width:100%}}.task-list-header{background:#fff;border:1px solid #e2e8f0;border-radius:16px;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px;padding:25px;display:flex;box-shadow:0 4px 18px #0f172a0a}.task-header-info{min-width:0}.task-breadcrumb{color:#64748b;letter-spacing:.7px;text-transform:uppercase;margin-bottom:8px;font-size:12px;font-weight:700}.task-list-header h1,.task-form-header h1{color:#172033;margin:0;font-size:28px;font-weight:750}.task-list-header p,.task-form-header p{color:#64748b;margin:8px 0 0;font-size:14px}.task-header-right{align-items:center;gap:14px;display:flex}.task-total-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;min-width:110px;padding:11px 16px;display:flex}.task-total-card span{color:#64748b;font-size:12px}.task-total-card strong{color:#172033;margin-top:3px;font-size:24px}.task-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.task-stat-card{background:#fff;border:1px solid #e5eaf2;border-radius:14px;align-items:center;gap:15px;min-width:0;padding:21px;display:flex;box-shadow:0 3px 14px #0f172a09}.task-stat-card>div:last-child{flex-direction:column;min-width:0;display:flex}.task-stat-card span{color:#64748b;font-size:12px;font-weight:600}.task-stat-card strong{color:#172033;margin:5px 0;font-size:27px;line-height:1.2}.task-stat-card small{color:#94a3b8;font-size:11px}.task-stat-icon{border-radius:13px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:19px;display:flex}.task-stat-blue{color:#4f46e5;background:#eef2ff}.task-stat-green{color:#059669;background:#d1fae5}.task-stat-amber{color:#d97706;background:#fef3c7}.task-stat-purple{color:#9333ea;background:#f3e8ff}.task-table-card{background:#fff;border:1px solid #e5eaf2;border-radius:15px;overflow:hidden;box-shadow:0 4px 18px #0f172a09}.task-table-heading{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:center;gap:18px;padding:22px 24px;display:flex}.task-table-heading h2{color:#172033;margin:0;font-size:18px;font-weight:750}.task-table-heading p{color:#64748b;margin:6px 0 0;font-size:12px}.task-toolbar-actions{align-items:center;gap:10px;display:flex}.task-search-box{color:#94a3b8;background:#fff;border:1px solid #dbe2ea;border-radius:9px;align-items:center;gap:9px;min-width:230px;padding:0 12px;display:flex}.task-search-box:focus-within{border-color:#818cf8;box-shadow:0 0 0 3px #6366f11a}.task-search-box input{color:#172033;background:0 0;border:none;outline:none;width:100%;min-width:0;height:40px;font-size:12px}.task-search-clear{color:#64748b;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:5px;display:flex}.task-refresh-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #dbe2ea;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:9px 13px;font-size:12px;font-weight:600;display:inline-flex}.task-refresh-btn:hover{background:#f8fafc}.task-refresh-btn:disabled{opacity:.6;cursor:not-allowed}.task-table-wrapper{width:100%;overflow-x:auto}.task-table{border-collapse:collapse;width:100%;min-width:1120px}.task-table thead{background:#f8fafc}.task-table th{color:#64748b;letter-spacing:.4px;text-align:left;text-transform:uppercase;white-space:nowrap;padding:14px 16px;font-size:11px;font-weight:750}.task-table td{color:#475569;vertical-align:middle;border-top:1px solid #edf0f5;padding:16px;font-size:12px}.task-table tbody tr:hover{background:#fafbff}.task-id{color:#64748b;font-size:12px;font-weight:650}.task-code{color:#4f46e5;white-space:nowrap;font-size:12px}.task-title-cell{color:#1e293b;overflow-wrap:anywhere;min-width:100px;max-width:180px;display:inline-block}.task-description-cell{color:#64748b;overflow-wrap:anywhere;-webkit-box-orient:vertical;max-width:200px;line-height:1.5;display:-webkit-box;overflow:hidden}.task-priority{color:#92400e;text-transform:capitalize;white-space:nowrap;background:#fef3c7;border-radius:20px;align-items:center;padding:6px 10px;font-size:11px;font-weight:700;display:inline-flex}.task-priority-high{color:#b91c1c;background:#fee2e2}.task-priority-medium{color:#92400e;background:#fef3c7}.task-priority-low{color:#047857;background:#d1fae5}.task-status{white-space:nowrap;border-radius:20px;align-items:center;gap:7px;padding:6px 10px;font-size:11px;font-weight:700;display:inline-flex}.task-status.completed{color:#047857;background:#d1fae5}.task-status.pending{color:#b45309;background:#fef3c7}.task-status .status-dot{background:currentColor;border-radius:50%;width:6px;height:6px}.task-table-actions{align-items:center;gap:6px;display:flex}.task-view-btn,.task-edit-btn,.task-delete-btn{cursor:pointer;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-height:31px;padding:7px 9px;font-size:11px;font-weight:650;display:inline-flex}.task-view-btn{color:#1d4ed8;background:#eff6ff}.task-view-btn:hover{background:#dbeafe}.task-edit-btn{color:#6d28d9;background:#f5f3ff}.task-edit-btn:hover{background:#ede9fe}.task-delete-btn{color:#dc2626;background:#fef2f2}.task-delete-btn:hover{background:#fee2e2}.task-loading,.task-no-data,.task-form-loading{color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:220px;padding:30px;font-size:13px;display:flex}.task-no-data>svg{color:#a5b4fc;font-size:38px}.task-no-data h3{color:#1e293b;margin:0;font-size:17px}.task-no-data p{color:#64748b;margin:0 0 5px;font-size:13px}.task-spinner{border:3px solid #e0e7ff;border-top-color:#4f46e5;border-radius:50%;width:28px;height:28px;animation:.8s linear infinite task-spin-animation}.task-spin{animation:.8s linear infinite task-spin-animation}@keyframes task-spin-animation{to{transform:rotate(360deg)}}.task-pagination-footer{border-top:1px solid #edf0f5;justify-content:space-between;align-items:center;gap:15px;padding:15px 20px;display:flex}.task-pagination-footer>span{color:#64748b;font-size:12px}.task-form-header{background:#fff;border:1px solid #e2e8f0;border-radius:14px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;padding:22px;display:flex}.task-form-card{background:#fff;border:1px solid #e5eaf2;border-radius:14px;width:100%;padding:25px;box-shadow:0 4px 18px #0f172a09}.task-form-card-modal{box-shadow:none;border:none;border-radius:0;padding:0}.task-form-section-title{border-bottom:1px solid #edf0f5;margin-bottom:22px;padding-bottom:16px}.task-form-section-title h3{color:#172033;margin:0;font-size:16px}.task-form-section-title p{color:#64748b;margin:6px 0 0;font-size:12px}.task-form-group{flex-direction:column;gap:8px;margin-bottom:20px;display:flex}.task-form-group label{color:#334155;font-size:13px;font-weight:650}.task-form-group label span{color:#dc2626}.task-form-group input,.task-form-group textarea,.task-form-group select{color:#1e293b;width:100%;min-height:43px;font:inherit;box-sizing:border-box;background:#fff;border:1px solid #dbe2ea;border-radius:9px;outline:none;padding:11px 13px;font-size:13px}.task-form-group textarea{resize:vertical;min-height:95px}.task-form-group input:focus,.task-form-group textarea:focus,.task-form-group select:focus{border-color:#818cf8;box-shadow:0 0 0 3px #6366f11a}.task-form-group select:disabled{color:#94a3b8;cursor:not-allowed;background:#f8fafc}.task-form-hint{color:#64748b;font-size:11px}.task-checkbox-wrapper{background:#f8fafc;border:1px solid #e5eaf2;border-radius:10px;align-items:flex-start;gap:11px;margin:4px 0 24px;padding:14px;display:flex}.task-checkbox-wrapper input{accent-color:#4f46e5;cursor:pointer;width:16px;height:16px;margin-top:2px}.task-checkbox-wrapper label{color:#334155;cursor:pointer;flex-direction:column;gap:5px;font-size:13px;display:flex}.task-checkbox-wrapper small{color:#64748b;font-size:11px;font-weight:400}.task-form-actions{border-top:1px solid #edf0f5;justify-content:flex-end;align-items:center;gap:10px;padding-top:18px;display:flex}.task-secondary-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #dbe2ea;border-radius:9px;justify-content:center;align-items:center;min-height:42px;padding:10px 17px;font-size:13px;font-weight:650;display:inline-flex}.task-secondary-btn:hover{background:#f8fafc}.task-secondary-btn:disabled,.task-primary-btn:disabled{opacity:.6;cursor:not-allowed}.task-modal-backdrop{z-index:9999;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a94;justify-content:center;align-items:center;padding:20px;animation:.18s ease-out task-backdrop-in;display:flex;position:fixed;inset:0}.task-modal{background:#fff;border:1px solid #e2e8f0e6;border-radius:17px;flex-direction:column;width:100%;max-width:690px;max-height:calc(100vh - 40px);animation:.22s ease-out task-modal-in;display:flex;overflow:hidden;box-shadow:0 24px 80px #0f172a47}.task-modal-header{background:#fff;border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:flex-start;gap:18px;padding:23px 25px;display:flex}.task-modal-eyebrow{color:#6366f1;letter-spacing:1.2px;font-size:10px;font-weight:800}.task-modal-header h2{color:#172033;margin:7px 0 0;font-size:22px;font-weight:750}.task-modal-header p{color:#64748b;margin:7px 0 0;font-size:12px;line-height:1.5}.task-modal-close{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.task-modal-close:hover{color:#dc2626;background:#fef2f2}.task-modal-body{padding:23px 25px;overflow-y:auto}.task-modal-body .task-page{padding:0}@keyframes task-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes task-modal-in{0%{opacity:0;transform:translateY(12px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=1100px){.task-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.task-list-header{align-items:flex-start}}@media (width<=760px){.task-list-header{flex-direction:column;padding:19px}.task-header-right{justify-content:space-between;width:100%}.task-total-card{flex:1}.task-table-heading{flex-direction:column;align-items:stretch;padding:18px}.task-toolbar-actions{flex-direction:column;align-items:stretch}.task-search-box{min-width:0}.task-refresh-btn{align-self:flex-start}.task-pagination-footer{flex-direction:column;align-items:flex-start}.task-modal-backdrop{padding:10px}.task-modal{border-radius:13px;max-height:calc(100vh - 20px)}.task-modal-header,.task-modal-body{padding:18px}}@media (width<=480px){.task-stats-grid{grid-template-columns:1fr;gap:12px}.task-list-header h1,.task-form-header h1{font-size:23px}.task-header-right{flex-direction:column;align-items:stretch}.task-header-right .task-primary-btn{width:100%}.task-stat-card{padding:16px}.task-form-card{padding:17px}.task-form-card-modal{padding:0}.task-modal-header h2{font-size:19px}.task-form-actions{flex-direction:column-reverse}.task-form-actions button{width:100%}}.p-6{padding:24px}.mb-6{margin-bottom:24px}.mb-5{margin-bottom:20px}.mb-4{margin-bottom:16px}.mb-3{margin-bottom:12px}.mb-2{margin-bottom:8px}.p-6{color:#0f172a;box-sizing:border-box;background:#f8fafc;min-height:100%}.flex.justify-between.items-center.mb-6{justify-content:space-between;align-items:center;display:flex}.text-3xl.font-bold{color:#0f172a;letter-spacing:-.5px;margin:0;font-size:30px;font-weight:700;line-height:1.2}.bg-white.shadow-lg.rounded-lg.p-6.mb-6{background:#fff;border:1px solid #e2e8f0;border-radius:18px;margin-bottom:24px;padding:26px;animation:.45s ease-out roleCardEnter;box-shadow:0 4px 6px #0f172a0a,0 12px 30px #0f172a0f}.text-xl.font-semibold.mb-4{color:#0f172a;margin-top:0;margin-bottom:20px;font-size:20px;font-weight:700;line-height:1.3}.block.font-medium.mb-2,.block.font-medium.mb-3{color:#334155;font-size:14px;font-weight:600;display:block}.w-full.border.rounded-lg.p-2{box-sizing:border-box;color:#0f172a;background:#fff;border:1px solid #cbd5e1;border-radius:10px;outline:none;width:100%;height:44px;padding:0 14px;font-size:14px;transition:border-color .2s,box-shadow .2s,background .2s}.w-full.border.rounded-lg.p-2::placeholder{color:#94a3b8}.w-full.border.rounded-lg.p-2:hover{border-color:#94a3b8}.w-full.border.rounded-lg.p-2:focus{background:#fff;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.grid.grid-cols-2.md\:grid-cols-4.gap-3{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.flex.items-center.gap-2.border.rounded-lg.p-2.cursor-pointer{box-sizing:border-box;cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:10px;min-height:48px;padding:10px 13px;transition:transform .2s,border-color .2s,background .2s,box-shadow .2s;display:flex;position:relative}.flex.items-center.gap-2.border.rounded-lg.p-2.cursor-pointer:hover{background:#f1f5f9;border-color:#a5b4fc;transform:translateY(-2px);box-shadow:0 5px 12px #0f172a12}.flex.items-center.gap-2.border.rounded-lg.p-2.cursor-pointer input[type=checkbox]{accent-color:#4f46e5;cursor:pointer;flex-shrink:0;width:17px;height:17px;margin:0}.flex.items-center.gap-2.border.rounded-lg.p-2.cursor-pointer span{color:#334155;-webkit-user-select:none;user-select:none;font-size:13px;font-weight:500;line-height:1.4}.flex.items-center.gap-2.border.rounded-lg.p-2.cursor-pointer:has(input[type=checkbox]:checked){background:#eef2ff;border-color:#818cf8;box-shadow:0 3px 10px #4f46e514}.flex.items-center.gap-2.border.rounded-lg.p-2.cursor-pointer:has(input[type=checkbox]:checked) span{color:#4338ca;font-weight:600}.flex.gap-3{align-items:center;gap:12px;display:flex}.bg-blue-600.text-white.px-6.py-2.rounded-lg{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:10px;min-width:125px;height:44px;padding:0 20px;font-size:14px;font-weight:600;transition:background .2s,transform .2s,box-shadow .2s;box-shadow:0 4px 10px #4f46e533}.bg-blue-600.text-white.px-6.py-2.rounded-lg:hover{background:#4338ca;transform:translateY(-2px);box-shadow:0 7px 16px #4f46e547}.bg-blue-600.text-white.px-6.py-2.rounded-lg:active{transform:translateY(0)}.bg-gray-500.text-white.px-6.py-2.rounded-lg{color:#fff;cursor:pointer;background:#64748b;border:none;border-radius:10px;min-width:110px;height:44px;padding:0 20px;font-size:14px;font-weight:600;transition:background .2s,transform .2s,box-shadow .2s}.bg-gray-500.text-white.px-6.py-2.rounded-lg:hover{background:#475569;transform:translateY(-2px);box-shadow:0 6px 14px #47556938}.bg-gray-500.text-white.px-6.py-2.rounded-lg:active{transform:translateY(0)}@keyframes roleCardEnter{0%{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}@media (width<=1100px){.grid.grid-cols-2.md\:grid-cols-4.gap-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=800px){.p-6{padding:18px}.grid.grid-cols-2.md\:grid-cols-4.gap-3{grid-template-columns:repeat(2,minmax(0,1fr))}.text-3xl.font-bold{font-size:26px}}@media (width<=600px){.p-6{padding:14px}.text-3xl.font-bold{font-size:23px}.bg-white.shadow-lg.rounded-lg.p-6.mb-6{border-radius:14px;padding:18px}.grid.grid-cols-2.md\:grid-cols-4.gap-3{grid-template-columns:1fr}.flex.gap-3{flex-direction:column;align-items:stretch}.bg-blue-600.text-white.px-6.py-2.rounded-lg,.bg-gray-500.text-white.px-6.py-2.rounded-lg{width:100%}}.permission-page{width:100%;min-height:100%;padding:24px}.permission-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.permission-header h2{margin:0;font-size:26px;font-weight:700}.permission-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.permission-add-btn,.permission-save-btn,.permission-edit-btn{cursor:pointer;color:#fff;background:#2563eb;border:none;border-radius:6px;padding:10px 18px;font-size:14px;font-weight:600}.permission-add-btn:hover,.permission-save-btn:hover,.permission-edit-btn:hover{background:#1d4ed8}.permission-back-btn,.permission-cancel-btn{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:9px 16px;font-size:14px}.permission-back-btn:hover,.permission-cancel-btn:hover{background:#f3f4f6}.permission-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden}.permission-toolbar{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:18px;display:flex}.permission-search input{border:1px solid #d1d5db;border-radius:6px;outline:none;width:300px;padding:10px 12px;font-size:14px}.permission-search input:focus{border-color:#2563eb}.permission-count{color:#6b7280;font-size:14px}.permission-table{border-collapse:collapse;width:100%}.permission-table th{color:#374151;text-align:left;background:#f8fafc;border-bottom:1px solid #e5e7eb;padding:14px 16px;font-size:13px;font-weight:700}.permission-table td{color:#4b5563;border-bottom:1px solid #f1f5f9;padding:14px 16px;font-size:14px}.permission-name{color:#111827;font-weight:600}.permission-actions{gap:7px;display:flex}.permission-actions button{cursor:pointer;border:none;border-radius:5px;padding:6px 10px;font-size:12px;font-weight:600}.btn-view{color:#2563eb;background:#eff6ff}.btn-edit{color:#16a34a;background:#f0fdf4}.btn-delete{color:#dc2626;background:#fef2f2}.btn-view:hover{background:#dbeafe}.btn-edit:hover{background:#dcfce7}.btn-delete:hover{background:#fee2e2}.permission-form-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;max-width:800px;padding:28px}.permission-form-group{margin-bottom:22px}.permission-form-group label{color:#374151;margin-bottom:8px;font-size:14px;font-weight:600;display:block}.permission-form-group label span{color:#dc2626;margin-left:3px}.permission-form-group input,.permission-form-group textarea{box-sizing:border-box;border:1px solid #d1d5db;border-radius:6px;outline:none;width:100%;padding:11px 12px;font-family:inherit;font-size:14px}.permission-form-group input:focus,.permission-form-group textarea:focus{border-color:#2563eb}.permission-form-group textarea{resize:vertical}.input-error{border-color:#dc2626!important}.error-message{color:#dc2626;margin-top:5px;font-size:12px;display:block}.field-hint{color:#9ca3af;margin-top:6px;font-size:12px;display:block}.permission-form-actions{border-top:1px solid #e5e7eb;justify-content:flex-end;gap:10px;padding-top:10px;display:flex}.permission-details-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;max-width:900px;overflow:hidden}.permission-details-header{border-bottom:1px solid #e5e7eb;align-items:center;gap:16px;padding:25px;display:flex}.permission-details-icon{background:#eff6ff;border-radius:10px;justify-content:center;align-items:center;width:52px;height:52px;font-size:24px;display:flex}.permission-details-header h3{color:#111827;margin:0 0 7px;font-size:20px}.permission-badge{color:#2563eb;background:#eff6ff;border-radius:20px;padding:4px 9px;font-size:11px;font-weight:600;display:inline-block}.permission-details-grid{grid-template-columns:1fr 1fr;gap:0;display:grid}.permission-detail-item{border-bottom:1px solid #e5e7eb;padding:20px 25px}.permission-detail-item:nth-child(odd){border-right:1px solid #e5e7eb}.permission-detail-item label{color:#9ca3af;text-transform:uppercase;margin-bottom:7px;font-size:12px;font-weight:600;display:block}.permission-detail-item div{color:#111827;font-size:15px}.permission-detail-full{grid-column:1/-1;border-right:none!important}.permission-details-actions{justify-content:flex-end;gap:10px;padding:20px 25px;display:flex}.permission-loading{flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:300px;display:flex}@media (width<=768px){.permission-page{padding:15px}.permission-header{flex-direction:column;align-items:flex-start;gap:15px}.permission-toolbar{flex-direction:column;align-items:stretch;gap:15px}.permission-search input{box-sizing:border-box;width:100%}.permission-actions{flex-wrap:wrap}.permission-details-grid{grid-template-columns:1fr}.permission-detail-item:nth-child(odd){border-right:none}.permission-detail-full{grid-column:auto}.permission-form-actions,.permission-details-actions{flex-direction:column}.permission-form-actions button,.permission-details-actions button{width:100%}}.permission-page{color:#172033;min-width:0;padding:24px}.permission-header-box{background:#fff;border:1px solid #e2e8f0;border-radius:16px;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px;padding:22px 24px;display:flex;box-shadow:0 4px 18px #0f172a0a}.permission-header-box h2{color:#172033;margin:5px 0 6px;font-size:25px;font-weight:750}.permission-header-box p{color:#64748b;margin:0;font-size:14px}.permission-eyebrow{color:#6366f1;letter-spacing:1.5px;font-size:10px;font-weight:800}.permission-add-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#4f46e5,#6366f1);border:0;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;gap:8px;padding:12px 17px;font-size:14px;font-weight:650;transition:transform .2s,box-shadow .2s;display:inline-flex;box-shadow:0 5px 12px #4f46e533}.permission-add-btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px #4f46e547}.permission-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.permission-stat-card{background:#fff;border:1px solid #e5eaf2;border-radius:15px;align-items:center;gap:15px;min-width:0;padding:21px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 4px 16px #0f172a09}.permission-stat-card:hover{transform:translateY(-3px);box-shadow:0 9px 22px #0f172a14}.permission-stat-icon{border-radius:13px;flex-shrink:0;justify-content:center;align-items:center;width:49px;height:49px;font-size:24px;font-weight:700;display:flex}.permission-stat-card.total .permission-stat-icon{color:#4f46e5;background:#eef2ff}.permission-stat-card.view .permission-stat-icon{color:#0284c7;background:#e0f2fe}.permission-stat-card.create .permission-stat-icon{color:#059669;background:#d1fae5}.permission-stat-card.edit .permission-stat-icon{color:#d97706;background:#fef3c7}.permission-stat-card p{color:#64748b;margin:0 0 5px;font-size:12px;font-weight:600}.permission-stat-card h3{color:#172033;margin:0 0 4px;font-size:27px;font-weight:750}.permission-stat-card span{color:#94a3b8;font-size:11px}.permission-card{background:#fff;border:1px solid #e2e8f0;border-radius:15px;overflow:hidden;box-shadow:0 4px 18px #0f172a09}.permission-toolbar{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:center;gap:18px;padding:22px 24px;display:flex}.permission-toolbar h3{margin:0 0 5px;font-size:17px;font-weight:750}.permission-toolbar p{color:#94a3b8;margin:0;font-size:12px}.permission-toolbar-right{align-items:center;gap:10px;display:flex}.permission-search-input{border:1px solid #dbe2ea;border-radius:9px;outline:none;width:230px;max-width:100%;padding:10px 13px;font-size:13px;transition:border-color .2s,box-shadow .2s}.permission-search-input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.permission-total-pill{color:#4338ca;white-space:nowrap;background:#eef2ff;border-radius:8px;padding:9px 12px;font-size:12px;font-weight:700}.permission-refresh-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:9px;width:37px;height:37px;font-size:23px}.permission-refresh-btn:hover{color:#4f46e5;background:#f5f6ff}.permission-table-wrapper{width:100%;overflow-x:auto}.permission-table{border-collapse:collapse;text-align:left;width:100%}.permission-table thead{background:#f8fafc}.permission-table th{color:#64748b;letter-spacing:.6px;text-transform:uppercase;white-space:nowrap;padding:14px 20px;font-size:11px;font-weight:750}.permission-table td{color:#475569;vertical-align:middle;border-top:1px solid #f0f2f6;padding:16px 20px;font-size:13px}.permission-table tbody tr:hover{background:#fafbff}.permission-id{color:#64748b;font-weight:650}.permission-name{color:#4338ca;white-space:nowrap;background:#eef2ff;border:1px solid #e0e7ff;border-radius:7px;padding:6px 10px;font-weight:650;display:inline-block}.permission-actions{flex-wrap:wrap;gap:7px;display:flex}.permission-actions button{cursor:pointer;border:1px solid #0000;border-radius:7px;padding:7px 10px;font-size:11px;font-weight:700;transition:background .2s}.permission-actions .btn-view{color:#0369a1;background:#e0f2fe}.permission-actions .btn-edit{color:#6d28d9;background:#ede9fe}.permission-actions .btn-delete{color:#b91c1c;background:#fee2e2}.permission-actions .btn-view:hover{background:#bae6fd}.permission-actions .btn-edit:hover{background:#ddd6fe}.permission-actions .btn-delete:hover{background:#fecaca}.permission-empty{text-align:center;color:#94a3b8!important;padding:38px 20px!important}.permission-pagination{border-top:1px solid #edf0f5;justify-content:flex-end;padding:18px 24px;display:flex}.permission-modal-overlay{z-index:3000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a94;justify-content:center;align-items:center;padding:20px;animation:.18s ease-out permissionOverlayIn;display:flex;position:fixed;inset:0;overflow-y:auto}.permission-modal{background:#fff;border:1px solid #e2e8f0e6;border-radius:17px;width:100%;max-width:550px;max-height:calc(100vh - 40px);animation:.22s ease-out permissionModalIn;overflow-y:auto;box-shadow:0 24px 80px #0f172a40}.permission-modal-header{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:flex-start;gap:15px;padding:23px 25px;display:flex}.permission-modal-header h3{color:#172033;margin:7px 0 5px;font-size:21px;font-weight:750}.permission-modal-header p{color:#64748b;margin:0;font-size:13px}.permission-modal-close{color:#64748b;cursor:pointer;background:#f1f5f9;border:0;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:35px;height:35px;font-size:25px;line-height:1;display:flex}.permission-modal-close:hover{color:#b91c1c;background:#fee2e2}.permission-modal-body{flex-direction:column;gap:20px;padding:24px 25px;display:flex}.permission-form-group{flex-direction:column;gap:8px;display:flex}.permission-form-group label{color:#334155;font-size:13px;font-weight:700}.permission-form-group label span{color:#dc2626}.permission-form-group input,.permission-form-group textarea{box-sizing:border-box;color:#172033;width:100%;font:inherit;background:#fff;border:1px solid #dbe2ea;border-radius:9px;outline:none;padding:12px 13px;font-size:13px;transition:border-color .2s,box-shadow .2s}.permission-form-group input:focus,.permission-form-group textarea:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.permission-form-group textarea{resize:vertical;min-height:100px}.permission-form-group .input-error{border-color:#ef4444}.error-message{color:#dc2626;font-size:12px}.field-hint{color:#94a3b8;font-size:11px;line-height:1.5}.permission-form-actions{border-top:1px solid #edf0f5;justify-content:flex-end;gap:10px;padding:18px 25px 23px;display:flex}.permission-form-actions button{cursor:pointer;border:0;border-radius:9px;padding:11px 16px;font-size:13px;font-weight:700}.permission-cancel-btn{color:#475569;background:#f1f5f9}.permission-save-btn{color:#fff;background:#4f46e5}.permission-save-btn:hover{background:#4338ca}.permission-form-actions button:disabled{cursor:not-allowed;opacity:.65}.permission-view-body{padding:20px 25px}.permission-view-body p{color:#475569;overflow-wrap:anywhere;margin:0 0 15px;font-size:14px}.permission-loading{flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:35px;display:flex}.permission-loading p{color:#64748b;margin:0}@keyframes permissionOverlayIn{0%{opacity:0}to{opacity:1}}@keyframes permissionModalIn{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=1100px){.permission-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.permission-page{padding:14px}.permission-header-box{flex-direction:column;align-items:flex-start;padding:18px}.permission-header-box h2{font-size:21px}.permission-stats-grid{gap:12px}.permission-stat-card{flex-direction:column;align-items:flex-start;gap:10px;padding:14px}.permission-toolbar{flex-direction:column;align-items:stretch;padding:18px}.permission-toolbar-right{flex-wrap:wrap}.permission-search-input{flex:180px;width:100%}.permission-table th,.permission-table td{padding:12px}.permission-modal-overlay{align-items:flex-start;padding:12px}.permission-modal{max-height:calc(100vh - 24px);margin:auto 0}.permission-modal-header,.permission-modal-body{padding:18px}.permission-form-actions{padding:15px 18px 18px}}@media (width<=420px){.permission-stats-grid{grid-template-columns:1fr}}.employee-page{width:100%;min-height:100%}.employee-container{width:100%;max-width:1600px;margin:0 auto}.employee-header{background:linear-gradient(135deg,#fff 0%,#f8fafc 100%);border:1px solid #e2e8f0;border-radius:18px;margin-bottom:24px;padding:28px 30px;position:relative;overflow:hidden;box-shadow:0 4px 18px #0f172a0d}.employee-header:after{content:"";background:#6366f114;border-radius:50%;width:180px;height:180px;position:absolute;top:-80px;right:-70px}.employee-header h1{z-index:1;color:#0f172a;margin:0 0 7px;font-size:28px;font-weight:750;line-height:1.2;position:relative}.employee-header p{z-index:1;color:#64748b;margin:0;font-size:14px;position:relative}.employee-page{width:100%;min-width:0}.employee-container{width:100%;min-width:0;max-width:none;margin:0}.employee-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:20px;width:100%;min-width:0;display:grid}.employee-table-card{box-sizing:border-box;width:100%;min-width:0;overflow:hidden}.employee-table-wrapper{-webkit-overflow-scrolling:touch;width:100%;min-width:0;max-width:100%;display:block;overflow-x:auto}.employee-table{border-collapse:collapse;table-layout:auto;width:100%;min-width:1000px}.employee-table th,.employee-table td{white-space:nowrap;box-sizing:border-box;padding:12px 14px}.employee-table th{font-size:11px}.employee-table td{font-size:12px}@media (width<=768px){.employee-table-header{flex-wrap:wrap;padding:16px}.employee-table{min-width:1000px}}.employee-form-card,.employee-table-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 4px 18px #0f172a0a}.employee-form-card{padding:24px;position:sticky;top:90px}.employee-card-header{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.employee-card-header h2{color:#0f172a;margin:0;font-size:18px;font-weight:700}.employee-card-header p{color:#94a3b8;margin:5px 0 0;font-size:12px}.employee-form{flex-direction:column;gap:16px;display:flex}.employee-form-group{flex-direction:column;gap:7px;display:flex}.employee-form-group label{color:#334155;font-size:12px;font-weight:650}.employee-form input,.employee-form select{box-sizing:border-box;color:#0f172a;background:#fff;border:1px solid #dbe3ee;border-radius:10px;outline:none;width:100%;padding:11px 13px;font-family:inherit;font-size:13px;transition:border-color .2s,box-shadow .2s,background .2s}.employee-form input::placeholder{color:#a1acba}.employee-form input:hover{border-color:#cbd5e1}.employee-form input:focus,.employee-form select:focus{background:#fff;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.employee-input-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.employee-status{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.employee-status-text{flex-direction:column;gap:2px;display:flex}.employee-status-text strong{color:#334155;font-size:12px}.employee-status-text span{color:#94a3b8;font-size:11px}.employee-toggle{flex-shrink:0;width:42px;height:23px;position:relative}.employee-toggle input{opacity:0;width:0;height:0}.employee-toggle-slider{cursor:pointer;background:#cbd5e1;border-radius:30px;transition:background .2s;position:absolute;inset:0}.employee-toggle-slider:before{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #0003}.employee-toggle input:checked+.employee-toggle-slider{background:#10b981}.employee-toggle input:checked+.employee-toggle-slider:before{transform:translate(19px)}.employee-form-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:5px;display:grid}.employee-btn{cursor:pointer;border:0;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:11px 14px;font-family:inherit;font-size:12px;font-weight:650;transition:transform .15s,box-shadow .2s,background .2s;display:flex}.employee-btn:hover{transform:translateY(-1px)}.employee-btn-primary{color:#fff;background:#0f172a;box-shadow:0 4px 10px #0f172a26}.employee-btn-primary:hover{background:#1e293b}.employee-btn-secondary{color:#334155;background:#f1f5f9}.employee-btn-secondary:hover{background:#e2e8f0}.employee-table-card{min-width:0;overflow:hidden}.employee-table-header{border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:center;gap:15px;padding:22px 24px;display:flex}.employee-table-title h2{color:#0f172a;margin:0;font-size:18px;font-weight:700}.employee-table-title p{color:#94a3b8;margin:5px 0 0;font-size:12px}.employee-refresh-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:9px;align-items:center;gap:7px;padding:9px 13px;font-family:inherit;font-size:12px;font-weight:600;transition:background .2s,border-color .2s;display:flex}.employee-refresh-btn:hover{background:#f8fafc;border-color:#cbd5e1}.employee-table-wrapper{width:100%;overflow-x:auto}.employee-table{border-collapse:collapse;width:100%;min-width:900px}.employee-table thead{background:#f8fafc}.employee-table th{color:#64748b;text-align:left;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;border-bottom:1px solid #e2e8f0;padding:13px 15px;font-size:10px;font-weight:700}.employee-table td{color:#475569;white-space:nowrap;border-bottom:1px solid #f1f5f9;padding:14px 15px;font-size:12px}.employee-table tbody tr{transition:background .15s}.employee-table tbody tr:hover{background:#f8fafc}.employee-table tbody tr:last-child td{border-bottom:none}.employee-name{align-items:center;gap:10px;display:flex}.employee-avatar{color:#6366f1;background:#eef2ff;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;font-size:12px;font-weight:700;display:flex}.employee-name-info{flex-direction:column;gap:2px;display:flex}.employee-name-info strong{color:#0f172a;font-size:12px}.employee-name-info span{color:#94a3b8;font-size:10px}.employee-department{color:#475569;background:#f1f5f9;border-radius:6px;padding:5px 8px;font-size:10px;font-weight:600;display:inline-flex}.employee-status-badge{border-radius:20px;align-items:center;gap:5px;padding:5px 9px;font-size:10px;font-weight:700;display:inline-flex}.employee-status-badge:before{content:"";border-radius:50%;width:6px;height:6px}.employee-status-active{color:#15803d;background:#dcfce7}.employee-status-active:before{background:#22c55e}.employee-status-inactive{color:#b91c1c;background:#fee2e2}.employee-status-inactive:before{background:#ef4444}.employee-actions{align-items:center;gap:6px;display:flex}.employee-action-btn{cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;font-size:11px;transition:transform .15s,background .2s;display:flex}.employee-action-btn:hover{transform:translateY(-1px)}.employee-edit{color:#2563eb;background:#eff6ff}.employee-edit:hover{background:#dbeafe}.employee-delete{color:#dc2626;background:#fef2f2}.employee-delete:hover{background:#fee2e2}.employee-loading{color:#94a3b8;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:250px;font-size:13px;display:flex}.employee-loading-spinner{border:3px solid #e2e8f0;border-top-color:#6366f1;border-radius:50%;width:25px;height:25px;animation:.8s linear infinite employeeSpin}@keyframes employeeSpin{to{transform:rotate(360deg)}}.employee-empty{color:#94a3b8;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:250px;display:flex}.employee-empty-icon{color:#94a3b8;background:#f1f5f9;border-radius:14px;justify-content:center;align-items:center;width:48px;height:48px;margin-bottom:5px;display:flex}.employee-empty strong{color:#64748b;font-size:14px}.employee-empty span{color:#94a3b8;font-size:12px}.employee-message{border-radius:9px;padding:10px 12px;font-size:12px}.employee-message-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.employee-message-success{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0}@media (width<=1200px){.employee-layout{grid-template-columns:320px minmax(0,1fr);gap:18px}}@media (width<=950px){.employee-layout{grid-template-columns:1fr}.employee-form-card{position:static}}@media (width<=600px){.employee-header{border-radius:14px;padding:22px 20px}.employee-header h1{font-size:23px}.employee-header p{font-size:12px}.employee-form-card,.employee-table-card{border-radius:14px}.employee-form-card{padding:18px}.employee-table-header{flex-direction:column;align-items:flex-start;padding:17px}.employee-input-row,.employee-form-actions{grid-template-columns:1fr}.employee-refresh-btn{justify-content:center;width:100%}}.employee-header-row{justify-content:space-between;align-items:center;gap:20px;display:flex}.employee-add-btn{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;gap:8px;padding:12px 18px;font-family:inherit;font-size:13px;font-weight:650;transition:background .2s,transform .2s;display:inline-flex;box-shadow:0 4px 12px #4f46e533}.employee-add-btn:hover{background:#4338ca;transform:translateY(-1px)}.employee-add-btn span{font-size:20px;line-height:1}.employee-modal-overlay{z-index:10000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a94;justify-content:center;align-items:center;padding:20px;animation:.2s employeeOverlayIn;display:flex;position:fixed;inset:0;overflow-y:auto}.employee-modal{background:#fff;border:1px solid #e2e8f0;border-radius:18px;width:100%;max-width:680px;max-height:calc(100vh - 40px);padding:26px;animation:.25s employeeModalIn;overflow-y:auto;box-shadow:0 24px 70px #0f172a40}.employee-modal-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px;padding-bottom:18px;display:flex}.employee-modal-header h2{color:#0f172a;margin:0;font-size:21px;font-weight:750}.employee-modal-header p{color:#64748b;margin:6px 0 0;font-size:13px}.employee-modal-close{color:#475569;cursor:pointer;background:#f1f5f9;border:none;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:27px;line-height:1;transition:background .2s,color .2s;display:flex}.employee-modal-close:hover{color:#b91c1c;background:#fee2e2}.employee-modal .employee-form{flex-direction:column;gap:18px;display:flex}.employee-modal .employee-form-actions{margin-top:6px}.employee-modal .employee-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}@keyframes employeeOverlayIn{0%{opacity:0}to{opacity:1}}@keyframes employeeModalIn{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=600px){.employee-header-row{flex-direction:column;align-items:stretch}.employee-add-btn{width:100%}.employee-modal-overlay{align-items:flex-start;padding:12px}.employee-modal{border-radius:14px;max-height:calc(100vh - 24px);padding:18px}.employee-modal .employee-input-row{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.employee-modal-overlay,.employee-modal{animation:none}}.product-page{padding:10px;animation:.4s ease-in-out productFadeIn}@keyframes productFadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.product-page-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.product-page-title{color:#1f2937;margin:0;font-size:28px;font-weight:700}.product-page-subtitle{color:#6b7280;margin:5px 0 0;font-size:14px}.product-header-right{align-items:center;gap:15px;display:flex}.product-total-box{background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:12px;min-width:150px;padding:10px 16px;display:flex;box-shadow:0 2px 6px #0000000d}.product-total-icon{background:#f3f4f6;border-radius:8px;justify-content:center;align-items:center;width:38px;height:38px;font-size:18px;display:flex}.product-total-label{color:#6b7280;margin-bottom:2px;font-size:12px;display:block}.product-total-count{color:#111827;font-size:20px;line-height:1.2;display:block}.product-add-btn{border:none;border-radius:8px;padding:10px 18px;font-size:14px;font-weight:600;transition:all .25s}.product-add-btn:hover{transform:translateY(-2px);box-shadow:0 6px 15px #0000001f}.product-card{background:#fff;border:none;border-radius:14px;overflow:hidden;box-shadow:0 4px 18px #0f172a12}.product-card-body{padding:22px}.product-search-wrapper{max-width:380px;margin-bottom:20px;position:relative}.product-search-input{background:#f9fafb;border:1px solid #e5e7eb;border-radius:9px;outline:none;width:100%;height:42px;padding:0 15px 0 42px;font-size:14px;transition:all .25s}.product-search-input:focus{background:#fff;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.product-search-icon{color:#9ca3af;position:absolute;top:50%;left:15px;transform:translateY(-50%)}.product-table{border-collapse:separate;border-spacing:0;width:100%;margin-bottom:0}.product-table thead th{color:#64748b;text-transform:uppercase;letter-spacing:.4px;background:#f8fafc;border-bottom:1px solid #e5e7eb;padding:15px 14px;font-size:12px;font-weight:700}.product-table tbody td{color:#374151;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:16px 14px;font-size:14px}.product-table tbody tr{transition:all .2s}.product-table tbody tr:hover{background:#f8fafc}.product-name{color:#1f2937;font-weight:600}.product-name-wrapper{align-items:center;gap:12px;display:flex}.product-icon{color:#4f46e5;background:#eef2ff;border-radius:9px;justify-content:center;align-items:center;width:38px;height:38px;font-size:17px;display:flex}.product-price{color:#111827;font-weight:600}.product-stock{border-radius:20px;justify-content:center;align-items:center;min-width:55px;padding:5px 10px;font-size:12px;font-weight:700;display:inline-flex}.product-stock-normal{color:#15803d;background:#dcfce7}.product-stock-low{color:#dc2626;background:#fee2e2}.product-stock-medium{color:#b45309;background:#fef3c7}.product-category{color:#64748b;font-size:13px}.product-actions{align-items:center;gap:7px;display:flex}.product-action-btn{cursor:pointer;border:none;border-radius:7px;justify-content:center;align-items:center;width:34px;height:34px;font-size:13px;transition:all .2s;display:inline-flex}.product-view-btn{color:#2563eb;background:#eff6ff}.product-view-btn:hover{color:#fff;background:#2563eb}.product-edit-btn{color:#ea580c;background:#fff7ed}.product-edit-btn:hover{color:#fff;background:#ea580c}.product-delete-btn{color:#dc2626;background:#fef2f2}.product-delete-btn:hover{color:#fff;background:#dc2626}.product-form-card{background:#fff;border:none;border-radius:14px;max-width:900px;box-shadow:0 4px 18px #0f172a12}.product-form-body{padding:30px}.product-form-group{margin-bottom:20px}.product-form-label{color:#374151;margin-bottom:7px;font-size:13px;font-weight:600;display:block}.product-form-input,.product-form-select{color:#1f2937;background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;height:44px;padding:0 13px;font-size:14px;transition:all .2s}.product-form-input:focus,.product-form-select:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.product-form-actions{gap:10px;margin-top:10px;display:flex}.product-save-btn{border:none;border-radius:8px;padding:10px 20px;font-weight:600;transition:all .2s}.product-save-btn:hover{transform:translateY(-1px)}.product-cancel-btn{color:#4b5563;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:10px 20px;font-weight:600}.product-cancel-btn:hover{background:#f9fafb}.product-details-card{background:#fff;border:none;border-radius:14px;overflow:hidden;box-shadow:0 4px 18px #0f172a12}.product-details-header{border-bottom:1px solid #f1f5f9;padding:24px}.product-details-content{padding:28px}.product-detail-item{margin-bottom:25px}.product-detail-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.4px;margin-bottom:6px;font-size:12px;font-weight:600;display:block}.product-detail-value{color:#1f2937;margin:0;font-size:16px;font-weight:600}.product-empty-state{text-align:center;padding:55px 20px}.product-empty-icon{color:#94a3b8;background:#f1f5f9;border-radius:50%;justify-content:center;align-items:center;width:65px;height:65px;margin:0 auto 15px;font-size:25px;display:flex}.product-empty-title{color:#374151;margin-bottom:5px;font-size:17px;font-weight:600}.product-empty-text{color:#94a3b8;margin:0;font-size:13px}.product-loading{color:#64748b;flex-direction:column;justify-content:center;align-items:center;min-height:300px;display:flex}.product-loading-spinner{border:3px solid #e5e7eb;border-top-color:#6366f1;border-radius:50%;width:38px;height:38px;margin-bottom:12px;animation:.8s linear infinite productSpin}@keyframes productSpin{to{transform:rotate(360deg)}}.product-low-stock-alert{color:#c2410c;background:#fff7ed;border:1px solid #fed7aa;border-radius:9px;align-items:center;gap:10px;margin-bottom:20px;padding:12px 15px;font-size:13px;font-weight:500;display:flex}.pagination-container{justify-content:flex-end;align-items:center;gap:8px;padding:18px 0 4px;display:flex}.pagination-pages{align-items:center;gap:5px;display:flex}.pagination-btn,.pagination-page{color:#374151;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:7px;min-width:36px;height:36px;padding:0 12px;font-size:13px;font-weight:600;transition:all .2s}.pagination-btn:hover:not(:disabled),.pagination-page:hover{background:#f8fafc;border-color:#6366f1}.pagination-page-active{color:#fff;background:#6366f1;border-color:#6366f1}.pagination-page-active:hover{color:#fff;background:#4f46e5}@media (width<=576px){.pagination-container{flex-wrap:wrap;justify-content:center}.pagination-btn,.pagination-page{min-width:32px;height:32px;padding:0 8px;font-size:12px}}@media (width<=992px){.product-page-header{align-items:flex-start;gap:15px}.product-page-title{font-size:24px}.product-card-body{padding:16px}.product-table{min-width:800px}}@media (width<=768px){.product-page-header{flex-direction:column}.product-add-btn{width:100%}.product-search-wrapper{max-width:100%}.product-form-body{padding:20px}.product-form-actions{flex-direction:column}.product-save-btn,.product-cancel-btn{width:100%}}@media (width<=576px){.product-page{padding:5px}.product-page-title{font-size:21px}.product-page-subtitle{font-size:12px}.product-card-body{padding:12px}.product-actions{gap:4px}.product-action-btn{width:30px;height:30px}@media (width<=768px){.product-page-header{flex-direction:column;align-items:flex-start;gap:15px}.product-header-right{flex-wrap:wrap;width:100%}.product-total-box,.product-add-btn{flex:1}}}.product-header-bordered{background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:22px 24px;display:flex}.product-modal-overlay{z-index:2000;background:#0f172a8c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.product-modal{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;width:100%;max-width:650px;max-height:90vh;display:flex;overflow:hidden;box-shadow:0 20px 60px #0003}.product-modal-header{background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:15px;padding:18px 24px;display:flex}.product-modal-header h2{color:#1e293b;margin:0;font-size:21px;font-weight:700}.product-modal-close{color:#475569;cursor:pointer;background:#f1f5f9;border:none;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.product-modal-close:hover{background:#e2e8f0}.product-modal-body{padding:24px;overflow-y:auto}.product-modal-form .product-page-header{display:none}.product-modal-form .product-form-card{width:100%;max-width:none;box-shadow:none;border:none;margin:0}.product-modal-form .product-form-body{padding:0}@media (width<=576px){.product-header-bordered{align-items:stretch;padding:16px}.product-header-right{flex-wrap:wrap;gap:12px}.product-modal-overlay{padding:10px}.product-modal{max-height:95vh}.product-modal-body{padding:16px}}.department-page{background:#f5f7fb;min-height:100%;padding:24px}.department-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.department-header h1{color:#1f2937;align-items:center;gap:10px;margin:0;font-size:28px;display:flex}.department-header p{color:#6b7280;margin:6px 0 0}.department-add-btn,.department-edit-btn,.department-back-btn,.save-btn,.cancel-btn{cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:11px 18px;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex}.department-add-btn{color:#fff;background:#2563eb}.department-add-btn:hover{background:#1d4ed8}.department-back-btn{color:#374151;background:#e5e7eb}.department-back-btn:hover{background:#d1d5db}.department-edit-btn{color:#fff;background:#2563eb}.department-edit-btn:hover{background:#1d4ed8}.details-header-actions{gap:10px;display:flex}.department-toolbar{background:#fff;border:1px solid #e5e7eb;border-radius:10px;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;padding:16px;display:flex}.department-search{width:350px;position:relative}.department-search svg{color:#9ca3af;position:absolute;top:50%;left:13px;transform:translateY(-50%)}.department-search input{box-sizing:border-box;border:1px solid #d1d5db;border-radius:7px;outline:none;width:100%;padding:11px 12px 11px 38px;font-size:14px}.department-search input:focus{border-color:#2563eb}.department-count{color:#6b7280}.department-table-container{background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow-x:auto}.department-table{border-collapse:collapse;width:100%;min-width:850px}.department-table th{color:#4b5563;text-align:left;background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:14px 16px;font-size:13px}.department-table td{color:#374151;border-bottom:1px solid #f0f0f0;padding:15px 16px;font-size:14px}.department-name{align-items:center;gap:10px;display:flex}.department-icon{color:#2563eb;background:#eff6ff;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.employee-count{background:#f3f4f6;border-radius:15px;justify-content:center;align-items:center;min-width:30px;height:30px;padding:0 8px;font-weight:600;display:inline-flex}.status{border-radius:20px;align-items:center;padding:5px 10px;font-size:12px;font-weight:600;display:inline-flex}.department-actions{gap:7px;display:flex}.action-btn{cursor:pointer;border:none;border-radius:7px;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.action-btn:hover{opacity:.75}.department-loading{text-align:center;color:#6b7280;background:#fff;border-radius:10px;padding:50px}.department-error{color:#991b1b;background:#fee2e2;border-radius:8px;margin-bottom:18px;padding:13px 16px}.empty-departments svg{margin-bottom:8px;font-size:35px}.empty-departments a{color:#2563eb;font-weight:600;text-decoration:none}.department-form-card,.department-info-card,.department-details-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:20px;padding:24px}.form-section-title,.details-title{color:#1f2937;border-bottom:1px solid #e5e7eb;align-items:center;gap:9px;margin-bottom:22px;padding-bottom:18px;font-size:18px;font-weight:700;display:flex}.form-group input,.form-group textarea{box-sizing:border-box;border:1px solid #d1d5db;border-radius:7px;outline:none;width:100%;padding:11px 13px;font-family:inherit;font-size:14px}.form-group input:focus,.form-group textarea:focus{border-color:#2563eb}.switch-container{cursor:pointer;align-items:center;gap:10px;display:flex!important}.switch-container input{display:none}.switch{background:#d1d5db;border-radius:20px;width:44px;height:24px;transition:all .2s;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:all .2s;position:absolute;top:3px;left:3px}.department-details-card{align-items:center;gap:20px;display:flex}.department-profile-icon{color:#2563eb;background:#eff6ff;border-radius:12px;justify-content:center;align-items:center;width:70px;height:70px;font-size:30px;display:flex}.department-profile-content{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.department-profile-content h2{color:#1f2937;margin:0}.detail-item{flex-direction:column;gap:7px;display:flex}.detail-item.full-width{grid-column:1/-1}.employee-mini-table{overflow-x:auto}.employee-mini-table table{border-collapse:collapse;width:100%}.employee-mini-table th,.employee-mini-table td{text-align:left;border-bottom:1px solid #e5e7eb;padding:12px;font-size:14px}.employee-mini-table th{color:#6b7280;background:#f9fafb;font-size:13px}.no-employees{text-align:center;color:#9ca3af;padding:35px}.no-employees svg{font-size:30px}@media (width<=768px){.department-page{padding:15px}.department-header{flex-direction:column;align-items:flex-start}.department-header h1{font-size:23px}.department-toolbar{flex-direction:column;align-items:stretch}.department-search{width:100%}.form-grid,.details-grid{grid-template-columns:1fr}.form-group.full-width,.detail-item.full-width{grid-column:auto}.details-header-actions{width:100%}.department-details-card{align-items:flex-start}.form-actions{flex-direction:column-reverse}.form-actions button{width:100%}}.department-page{color:#172033;min-width:0;padding:24px}.department-header-box{background:#fff;border:1px solid #e2e8f0;border-radius:16px;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px;padding:22px 24px;display:flex;box-shadow:0 4px 18px #0f172a0a}.department-header-box h1{color:#172033;align-items:center;gap:10px;margin:7px 0 6px;font-size:25px;font-weight:750;display:flex}.department-header-box h1 svg{color:#4f46e5}.department-header-box p{color:#64748b;margin:0;font-size:14px}.department-eyebrow{color:#6366f1;letter-spacing:1.5px;font-size:10px;font-weight:800}.department-add-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#4f46e5,#6366f1);border:none;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;gap:9px;padding:12px 17px;font-size:13px;font-weight:700;text-decoration:none;transition:transform .2s,box-shadow .2s;display:inline-flex;box-shadow:0 5px 12px #4f46e533}.department-add-btn:hover{color:#fff;transform:translateY(-2px);box-shadow:0 8px 18px #4f46e547}.department-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.department-stat-card{background:#fff;border:1px solid #e5eaf2;border-radius:15px;align-items:center;gap:15px;min-width:0;padding:20px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 4px 16px #0f172a09}.department-stat-card:hover{transform:translateY(-3px);box-shadow:0 9px 22px #0f172a14}.department-stat-icon{border-radius:13px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:20px;display:flex}.department-stat-card.total .department-stat-icon{color:#4f46e5;background:#eef2ff}.department-stat-card.active .department-stat-icon{color:#059669;background:#d1fae5}.department-stat-card.inactive .department-stat-icon{color:#dc2626;background:#fee2e2}.department-stat-card.employees .department-stat-icon{color:#0284c7;background:#e0f2fe}.department-stat-card p{color:#64748b;margin:0 0 5px;font-size:12px;font-weight:600}.department-stat-card h3{color:#172033;margin:0 0 4px;font-size:27px;font-weight:750}.department-stat-card span{color:#94a3b8;font-size:11px}.department-table-card{background:#fff;border:1px solid #e2e8f0;border-radius:15px;overflow:hidden;box-shadow:0 4px 18px #0f172a09}.department-toolbar{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:center;gap:18px;padding:21px 24px;display:flex}.department-toolbar h3{color:#172033;margin:0 0 5px;font-size:17px;font-weight:750}.department-toolbar p{color:#94a3b8;margin:0;font-size:12px}.department-toolbar-right{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.department-search{color:#94a3b8;background:#fff;border:1px solid #dbe2ea;border-radius:9px;align-items:center;gap:10px;width:245px;padding:0 12px;display:flex}.department-search:focus-within{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.department-search input{color:#172033;background:0 0;border:none;outline:none;width:100%;min-width:0;padding:10px 0;font-size:13px}.department-total-pill{color:#4338ca;white-space:nowrap;background:#eef2ff;border-radius:8px;padding:9px 12px;font-size:12px;font-weight:700}.department-refresh-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:9px;justify-content:center;align-items:center;width:37px;height:37px;display:flex}.department-refresh-btn:hover{color:#4f46e5;background:#f5f6ff}.department-table-container{width:100%;overflow-x:auto}.department-table{border-collapse:collapse;text-align:left;width:100%}.department-table thead{background:#f8fafc}.department-table th{color:#64748b;letter-spacing:.5px;text-transform:uppercase;white-space:nowrap;padding:14px 18px;font-size:11px;font-weight:750}.department-table td{color:#475569;vertical-align:middle;border-top:1px solid #f0f2f6;padding:15px 18px;font-size:13px}.department-table tbody tr:hover{background:#fafbff}.department-id{color:#64748b;font-weight:650}.department-name{align-items:center;gap:10px;min-width:160px;display:flex}.department-name strong{color:#172033;font-weight:650}.department-icon{color:#4f46e5;background:#eef2ff;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:35px;height:35px;display:flex}.employee-count{color:#0369a1;background:#e0f2fe;border-radius:7px;justify-content:center;align-items:center;min-width:30px;padding:5px 9px;font-weight:700;display:inline-flex}.department-status{border-radius:20px;align-items:center;padding:6px 10px;font-size:11px;font-weight:700;display:inline-flex}.department-status.active{color:#047857;background:#d1fae5}.department-status.inactive{color:#b91c1c;background:#fee2e2}.department-actions{align-items:center;gap:7px;display:flex}.department-actions .action-btn{cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;transition:background .2s;display:flex}.department-actions .action-btn.view{color:#0369a1;background:#e0f2fe}.department-actions .action-btn.edit{color:#6d28d9;background:#ede9fe}.department-actions .action-btn.delete{color:#b91c1c;background:#fee2e2}.department-actions .action-btn.view:hover{background:#bae6fd}.department-actions .action-btn.edit:hover{background:#ddd6fe}.department-actions .action-btn.delete:hover{background:#fecaca}.empty-departments{text-align:center;color:#94a3b8!important;padding:40px 20px!important}.empty-departments>svg{color:#a5b4fc;font-size:25px}.empty-departments p{margin:10px 0}.empty-departments button{color:#4338ca;cursor:pointer;background:#eef2ff;border:none;border-radius:8px;padding:8px 12px;font-weight:650}.department-pagination{border-top:1px solid #edf0f5;justify-content:flex-end;padding:18px 24px;display:flex}.department-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding:13px 16px;font-size:13px;display:flex}.department-error button{color:#b91c1c;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:7px;padding:7px 11px}.department-loading,.department-modal-loading{color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:35px;display:flex}.department-loading p,.department-modal-loading p{margin:0}.department-spinner{border:3px solid #e0e7ff;border-top-color:#4f46e5;border-radius:50%;width:30px;height:30px;animation:.75s linear infinite departmentSpin}@keyframes departmentSpin{to{transform:rotate(360deg)}}.department-modal-overlay{z-index:3000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a94;justify-content:center;align-items:center;padding:20px;animation:.18s ease-out departmentOverlayIn;display:flex;position:fixed;inset:0;overflow-y:auto}.department-modal{background:#fff;border:1px solid #e2e8f0;border-radius:17px;width:100%;max-width:560px;max-height:calc(100vh - 40px);animation:.22s ease-out departmentModalIn;overflow-y:auto;box-shadow:0 24px 80px #0f172a40}.department-modal-header{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:flex-start;gap:15px;padding:23px 25px;display:flex}.department-modal-header h3{color:#172033;margin:7px 0 5px;font-size:21px;font-weight:750}.department-modal-header p{color:#64748b;margin:0;font-size:13px}.department-modal-close{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:35px;height:35px;font-size:25px;line-height:1;display:flex}.department-modal-close:hover{color:#b91c1c;background:#fee2e2}.department-modal-body{flex-direction:column;gap:20px;padding:24px 25px;display:flex}.department-modal-section-title{color:#334155;border-bottom:1px solid #edf0f5;align-items:center;gap:9px;padding-bottom:13px;font-size:14px;font-weight:750;display:flex}.department-modal-section-title svg{color:#6366f1}.department-modal-form-group{flex-direction:column;gap:8px;display:flex}.department-modal-form-group label{color:#334155;font-size:13px;font-weight:700}.department-modal-form-group label span{color:#dc2626}.department-modal-form-group input,.department-modal-form-group textarea{box-sizing:border-box;color:#172033;width:100%;font:inherit;background:#fff;border:1px solid #dbe2ea;border-radius:9px;outline:none;padding:12px 13px;font-size:13px;transition:border-color .2s,box-shadow .2s}.department-modal-form-group input:focus,.department-modal-form-group textarea:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.department-modal-form-group textarea{resize:vertical;min-height:100px}.department-modal-status{background:#f8fafc;border:1px solid #e5eaf2;border-radius:11px;justify-content:space-between;align-items:center;gap:15px;padding:15px;display:flex}.department-modal-status strong{color:#334155;font-size:13px}.department-modal-status p{color:#64748b;margin:5px 0 0;font-size:12px}.department-switch{cursor:pointer;flex-shrink:0;width:46px;height:26px;display:inline-flex;position:relative}.department-switch input{opacity:0;width:1px;height:1px;position:absolute}.department-switch-track{background:#cbd5e1;border-radius:20px;transition:background .2s;position:absolute;inset:0}.department-switch-track:before{content:"";background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #0f172a33}.department-switch input:checked+.department-switch-track{background:#4f46e5}.department-switch input:checked+.department-switch-track:before{transform:translate(20px)}.department-switch input:focus-visible+.department-switch-track{outline-offset:3px;outline:3px solid #6366f140}.department-modal-actions{border-top:1px solid #edf0f5;justify-content:flex-end;gap:10px;padding:18px 25px 23px;display:flex}.department-modal-actions button{cursor:pointer;border:none;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:11px 16px;font-size:13px;font-weight:700;display:inline-flex}.department-cancel-btn{color:#475569;background:#f1f5f9}.department-save-btn{color:#fff;background:#4f46e5}.department-save-btn:hover{background:#4338ca}.department-modal-actions button:disabled{cursor:not-allowed;opacity:.65}.department-view-body{padding:22px 25px}.department-view-body p{color:#475569;overflow-wrap:anywhere;margin:0 0 16px;font-size:14px}.department-view-body p:last-child{margin-bottom:0}@keyframes departmentOverlayIn{0%{opacity:0}to{opacity:1}}@keyframes departmentModalIn{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=1100px){.department-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.department-page{padding:14px}.department-header-box{flex-direction:column;align-items:flex-start;padding:18px}.department-header-box h1{font-size:21px}.department-stats-grid{gap:12px}.department-stat-card{flex-direction:column;align-items:flex-start;gap:10px;padding:14px}.department-toolbar{flex-direction:column;align-items:stretch;padding:18px}.department-toolbar-right{align-items:stretch}.department-search{flex:180px;width:auto}.department-table th,.department-table td{padding:12px}.department-modal-overlay{align-items:flex-start;padding:12px}.department-modal{max-height:calc(100vh - 24px);margin:auto 0}.department-modal-header,.department-modal-body{padding:18px}.department-modal-actions{padding:15px 18px 18px}}@media (width<=420px){.department-stats-grid{grid-template-columns:1fr}.department-modal-actions{flex-direction:column-reverse}.department-modal-actions button{width:100%}}.leave-page{background:#f7f8fa;min-height:100%;padding:24px}.leave-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.leave-header h2{margin:0;font-size:26px;font-weight:700}.leave-header p{color:#777;margin:5px 0 0}.leave-primary-btn,.leave-secondary-btn,.approve-btn,.reject-btn,.cancel-btn{cursor:pointer;border:none;border-radius:6px;padding:9px 15px;font-size:14px;font-weight:600}.leave-primary-btn{color:#fff;background:#2563eb}.leave-primary-btn:hover{background:#1d4ed8}.leave-secondary-btn{color:#374151;background:#e5e7eb}.leave-secondary-btn:hover{background:#d1d5db}.leave-toolbar{background:#fff;border-radius:8px;gap:12px;margin-bottom:18px;padding:16px;display:flex}.leave-toolbar input,.leave-toolbar select{border:1px solid #d1d5db;border-radius:6px;outline:none;height:40px;padding:0 12px}.leave-toolbar input{width:320px}.leave-toolbar input:focus,.leave-toolbar select:focus{border-color:#2563eb}.leave-table-card{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 4px #0000000f}.leave-table{border-collapse:collapse;width:100%}.leave-table th{text-align:left;color:#374151;white-space:nowrap;background:#f3f4f6;padding:13px;font-size:13px}.leave-table td{vertical-align:middle;border-top:1px solid #e5e7eb;padding:13px;font-size:14px}.leave-table tbody tr:hover{background:#f9fafb}.reason-cell{max-width:180px}.status-badge{border-radius:20px;padding:5px 10px;font-size:12px;font-weight:600;display:inline-block}.status-approved{color:#166534;background:#dcfce7}.status-rejected{color:#991b1b;background:#fee2e2}.action-buttons{gap:5px;display:flex}.approve-btn{color:#fff;background:#16a34a}.approve-btn:hover{background:#15803d}.reject-btn{color:#fff;background:#dc2626}.reject-btn:hover{background:#b91c1c}.no-action{color:#9ca3af}.leave-form-card{background:#fff;border-radius:8px;max-width:900px;padding:25px;box-shadow:0 1px 4px #0000000f}.leave-form-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.leave-days-box{background:#eff6ff;border:1px solid #bfdbfe;border-radius:7px;justify-content:space-between;align-items:center;margin-bottom:20px;padding:14px 18px;display:flex}.leave-days-box span{color:#374151;font-weight:600}.leave-days-box strong{color:#2563eb;font-size:20px}.leave-form-actions{justify-content:flex-end;gap:10px;display:flex}.leave-loading,.leave-empty{text-align:center;color:#6b7280;padding:50px}@media (width<=768px){.leave-page{padding:15px}.leave-header{align-items:flex-start;gap:15px}.leave-toolbar{flex-direction:column}.leave-toolbar input{width:100%}.leave-form-grid{grid-template-columns:1fr}.action-buttons{flex-direction:column}}.leave-header-box{background:#fff;border:1px solid #e5e7eb;border-left:4px solid #2563eb;border-radius:10px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;padding:22px 24px;display:flex}.leave-header-box h2{color:#111827;margin:0 0 6px;font-size:24px}.leave-header-box p{color:#6b7280;margin:0}.leave-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.leave-stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;align-items:center;gap:14px;padding:20px;display:flex;box-shadow:0 2px 8px #0f172a0a}.leave-stat-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:20px;font-weight:700;display:flex}.leave-stat-icon.total{color:#1d4ed8;background:#dbeafe}.leave-stat-icon.pending{color:#b45309;background:#fef3c7}.leave-stat-icon.approved{color:#047857;background:#d1fae5}.leave-stat-icon.rejected{color:#b91c1c;background:#fee2e2}.leave-stat-card p{color:#6b7280;margin:0 0 7px;font-size:14px}.leave-stat-card h3{color:#111827;margin:0;font-size:25px}.leave-modal-overlay{z-index:10000;background:#0f172aa6;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.leave-modal{background:#fff;border-radius:12px;width:min(850px,100%);max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #00000040}.leave-modal-header{z-index:5;background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:16px;padding:18px 24px;display:flex;position:sticky;top:0}.leave-modal-header h2{color:#111827;margin:0;font-size:21px}.leave-modal-close{color:#374151;cursor:pointer;background:#f1f5f9;border:none;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;font-size:26px;display:flex}.leave-modal-close:hover{background:#e2e8f0}.leave-modal .leave-page{padding:20px 24px}.leave-modal .leave-header{display:none}.leave-modal .leave-form-card{box-shadow:none;background:#fff;border:none;margin:0;padding:0}@media (width<=900px){.leave-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.leave-header-box{flex-direction:column;align-items:flex-start;padding:18px}.leave-header-box h2{font-size:21px}.leave-stats-grid{grid-template-columns:1fr;gap:12px}.leave-modal-overlay{padding:10px}.leave-modal{max-height:95vh}.leave-modal-header{padding:14px 16px}.leave-modal .leave-page{padding:16px}}.attendance-page{background:#f7f8fa;min-height:100%;padding:24px}.attendance-header{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.attendance-header h2{margin:0;font-size:26px;font-weight:700}.attendance-header p{color:#777;margin:5px 0 0}.attendance-primary-btn,.attendance-secondary-btn,.attendance-edit-btn,.attendance-delete-btn{cursor:pointer;border:none;border-radius:6px;padding:9px 15px;font-size:14px;font-weight:600}.attendance-primary-btn{color:#fff;background:#2563eb}.attendance-primary-btn:hover{background:#1d4ed8}.attendance-secondary-btn{color:#374151;background:#e5e7eb}.attendance-secondary-btn:hover{background:#d1d5db}.attendance-edit-btn{color:#fff;background:#2563eb}.attendance-delete-btn{color:#fff;background:#dc2626}.attendance-toolbar{background:#fff;border-radius:8px;gap:12px;margin-bottom:18px;padding:16px;display:flex}.attendance-toolbar input,.attendance-toolbar select{border:1px solid #d1d5db;border-radius:6px;outline:none;height:40px;padding:0 12px}.attendance-toolbar input[type=text]{width:300px}.attendance-table-card{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 4px #0000000f}.table-responsive{width:100%;overflow-x:auto}.attendance-table{border-collapse:collapse;width:100%}.attendance-table th{text-align:left;color:#374151;white-space:nowrap;background:#f3f4f6;padding:13px;font-size:13px}.attendance-table td{vertical-align:middle;border-top:1px solid #e5e7eb;padding:13px;font-size:14px}.attendance-table tbody tr:hover{background:#f9fafb}.attendance-status{border-radius:20px;padding:5px 10px;font-size:12px;font-weight:600;display:inline-block}.attendance-present{color:#166534;background:#dcfce7}.attendance-absent{color:#991b1b;background:#fee2e2}.attendance-late{color:#92400e;background:#fef3c7}.attendance-halfday{color:#1e40af;background:#dbeafe}.attendance-leave{color:#6d28d9;background:#ede9fe}.attendance-actions{gap:6px;display:flex}.attendance-form-card{background:#fff;border-radius:8px;max-width:900px;padding:25px;box-shadow:0 1px 4px #0000000f}.attendance-form-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.form-group{flex-direction:column;margin-bottom:20px;display:flex}.form-group label{margin-bottom:7px;font-size:14px;font-weight:600}.form-group input,.form-group select,.form-group textarea{border:1px solid #d1d5db;border-radius:6px;outline:none;padding:10px 12px;font-size:14px}.attendance-form-actions{justify-content:flex-end;gap:10px;display:flex}.attendance-loading,.attendance-empty{text-align:center;color:#6b7280;padding:50px}@media (width<=768px){.attendance-page{padding:15px}.attendance-header{align-items:flex-start;gap:15px}.attendance-toolbar{flex-direction:column}.attendance-toolbar input[type=text]{width:100%}.attendance-form-grid{grid-template-columns:1fr}.attendance-actions{flex-direction:column}}.attendance-details-header{justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px;display:flex}.attendance-details-title-box{background:#fff;border:1px solid #dbe3ef;border-left:4px solid #2563eb;border-radius:8px;padding:16px 20px}.attendance-details-title-box h2{color:#111827;margin:0;font-size:24px;font-weight:700}.attendance-details-title-box p{color:#6b7280;margin:6px 0 0;font-size:14px}.attendance-details-header-actions{align-items:center;gap:10px;display:flex}.attendance-details-summary{background:#fff;border:1px solid #e5e7eb;border-radius:12px;align-items:center;gap:18px;margin-bottom:22px;padding:24px;display:flex;box-shadow:0 2px 8px #0000000a}.attendance-employee-avatar{color:#1d4ed8;background:#dbeafe;border-radius:50%;justify-content:center;align-items:center;width:64px;min-width:64px;height:64px;font-size:26px;font-weight:700;display:flex}.attendance-employee-info{flex:1;min-width:0}.attendance-employee-info h3{color:#111827;margin:0 0 8px;font-size:20px;font-weight:700}.attendance-employee-info p{color:#6b7280;margin:4px 0;font-size:14px}.attendance-details-status{margin-left:auto}.attendance-details-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0000000a}.attendance-details-card-header{background:#f9fafb;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:12px;padding:18px 24px;display:flex}.attendance-details-card-header h3{color:#111827;margin:0;font-size:17px;font-weight:700}.attendance-details-card-header span{color:#6b7280;font-size:13px}.attendance-details-grid{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.attendance-detail-item{border-bottom:1px solid #edf0f4;min-width:0;padding:22px 24px}.attendance-detail-item:nth-child(odd){border-right:1px solid #edf0f4}.attendance-detail-label{color:#6b7280;margin-bottom:10px;font-size:13px;font-weight:500;display:block}.attendance-detail-item>strong{color:#111827;overflow-wrap:anywhere;font-size:15px;font-weight:600}.attendance-detail-full{grid-column:1/-1;border-right:none!important}.attendance-detail-remarks{color:#374151;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.7}.attendance-details-footer{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}@media (width<=768px){.attendance-details-header{flex-direction:column;align-items:stretch}.attendance-details-header-actions{justify-content:flex-end}.attendance-details-summary{flex-wrap:wrap;align-items:flex-start;padding:18px}.attendance-details-status{width:100%;margin-left:82px}.attendance-details-grid{grid-template-columns:1fr}.attendance-detail-item:nth-child(odd){border-right:none}.attendance-detail-full{grid-column:auto}.attendance-details-card-header{flex-direction:column;align-items:flex-start;padding:16px}.attendance-detail-item{padding:17px 16px}}@media (width<=480px){.attendance-details-title-box h2{font-size:21px}.attendance-details-header-actions{flex-wrap:wrap}.attendance-details-footer{flex-direction:column-reverse}.attendance-details-footer button,.attendance-details-header-actions button{flex:1}}.attendance-header-box{background:#fff;border:1px solid #dbe3ef;border-left:4px solid #2563eb;border-radius:10px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;padding:18px 22px;display:flex}.attendance-header-box h2{color:#111827;margin:0;font-size:24px}.attendance-header-box p{color:#6b7280;margin:6px 0 0}.attendance-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px;display:grid}.attendance-stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:14px;min-width:0;padding:20px;display:flex;box-shadow:0 2px 8px #0000000a}.attendance-stat-card p{color:#6b7280;margin:0 0 7px;font-size:13px}.attendance-stat-card h3{color:#111827;margin:0;font-size:26px}.attendance-stat-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:19px;font-weight:700;display:flex}.attendance-stat-icon.total{color:#1d4ed8;background:#dbeafe}.attendance-stat-icon.present{color:#166534;background:#dcfce7}.attendance-stat-icon.absent{color:#991b1b;background:#fee2e2}.attendance-stat-icon.late{color:#92400e;background:#fef3c7}.attendance-view-btn{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:8px 12px;font-weight:600}.attendance-view-btn:hover{background:#f3f4f6}.attendance-modal-header{z-index:2;background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:15px;padding:18px 24px;display:flex;position:sticky;top:0}.attendance-modal-header h2{color:#111827;margin:0;font-size:21px}.attendance-modal-close{color:#374151;cursor:pointer;background:#f3f4f6;border:none;border-radius:8px;width:36px;height:36px;font-size:26px}.attendance-modal .attendance-page{background:0 0;min-height:auto;padding:20px}.attendance-modal .attendance-form-card{max-width:none;box-shadow:none;border:1px solid #e5e7eb;padding:22px}@media (width<=900px){.attendance-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.attendance-header-box{flex-direction:column;align-items:stretch}.attendance-stats-grid{grid-template-columns:1fr}.attendance-modal-overlay{align-items:flex-start;padding:8px}.attendance-modal{max-height:96vh}.attendance-modal-header{padding:14px 16px}.attendance-modal .attendance-form-card{padding:15px}}.attendance-modal{background:#fff;border-radius:12px;width:100%;max-width:850px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #00000040}@media (width<=600px){.attendance-modal-overlay{padding:10px}.attendance-modal{max-height:95vh}.attendance-modal-header,.attendance-modal .attendance-page{padding:14px}}.attendance-modal-overlay{z-index:10000;background:#0f172aa6;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.attendance-modal{background:#fff;border-radius:12px;width:min(850px,100%);max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #00000040}.attendance-modal-header{z-index:2;background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:18px 24px;display:flex;position:sticky;top:0}.attendance-modal-header h2{margin:0;font-size:21px}.attendance-modal-close{cursor:pointer;background:#f1f5f9;border:0;border-radius:8px;width:36px;height:36px;font-size:26px}.attendance-modal .attendance-page{padding:20px}.attendance-modal .attendance-header{display:none}.attendance-modal .attendance-form-card{box-shadow:none;border:0;margin:0;padding:0}@media (width<=600px){.attendance-modal-overlay{padding:10px}.attendance-modal{max-height:95vh}.attendance-modal .attendance-page{padding:14px}}.category-page{background:#f5f7fb;min-height:calc(100vh - 70px);padding:30px}.category-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.category-header h1{color:#1f2937;align-items:center;gap:10px;margin:0;font-size:28px;font-weight:700;display:flex}.category-header h1 svg{font-size:25px}.category-header p{color:#6b7280;margin:7px 0 0;font-size:14px}.category-add-btn,.category-back-btn,.category-edit-btn,.category-delete-btn,.category-cancel-btn{cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;font-weight:600;text-decoration:none;transition:all .2s;display:inline-flex}.category-add-btn{color:#fff;background:#2563eb;padding:12px 18px}.category-add-btn:hover{background:#1d4ed8;transform:translateY(-1px)}.category-back-btn{color:#374151;background:#fff;border:1px solid #d1d5db;padding:11px 17px}.category-back-btn:hover{background:#f3f4f6}.category-edit-btn{color:#fff;background:#2563eb;padding:11px 18px}.category-edit-btn:hover{background:#1d4ed8}.category-delete-btn{color:#fff;background:#dc2626;padding:11px 18px}.category-delete-btn:hover{background:#b91c1c}.category-cancel-btn{color:#374151;background:#f3f4f6;padding:11px 18px}.category-error{color:#b91c1c;background:#fee2e2;border:1px solid #fecaca;border-radius:8px;margin-bottom:20px;padding:14px 16px;font-size:14px;font-weight:500}.category-toolbar{background:#fff;border:1px solid #e5e7eb;border-radius:12px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;padding:18px;display:flex}.category-search{width:350px;position:relative}.category-search svg{color:#9ca3af;font-size:14px;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.category-search input{box-sizing:border-box;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;height:42px;padding:0 15px 0 40px;font-size:14px}.category-search input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.category-count{color:#6b7280;font-size:14px}.category-count strong{color:#111827}.category-table-container{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow-x:auto}.category-table{border-collapse:collapse;width:100%;min-width:800px}.category-table thead{background:#f8fafc}.category-table th{text-align:left;color:#4b5563;white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:15px 18px;font-size:13px;font-weight:700}.category-table td{color:#4b5563;border-bottom:1px solid #f1f5f9;padding:15px 18px;font-size:14px}.category-table tbody tr{transition:background .2s}.category-table tbody tr:hover{background:#f8fafc}.category-table tbody tr:last-child td{border-bottom:none}.category-id{color:#4b5563;background:#f3f4f6;border-radius:6px;justify-content:center;align-items:center;min-width:38px;padding:5px 8px;font-size:12px;font-weight:600;display:inline-flex}.category-name{color:#111827;align-items:center;gap:10px;display:flex}.category-icon{color:#2563eb;background:#eff6ff;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.status{border-radius:20px;justify-content:center;align-items:center;padding:5px 10px;font-size:12px;font-weight:600;display:inline-flex}.status.active{color:#15803d;background:#dcfce7}.status.inactive{color:#b91c1c;background:#fee2e2}.category-actions{align-items:center;gap:7px;display:flex}.action-btn{cursor:pointer;border:none;border-radius:7px;justify-content:center;align-items:center;width:34px;height:34px;transition:all .2s;display:inline-flex}.action-btn.view{color:#2563eb;background:#eff6ff}.action-btn.view:hover{background:#dbeafe}.action-btn.edit{color:#d97706;background:#fef3c7}.action-btn.edit:hover{background:#fde68a}.action-btn.delete{color:#dc2626;background:#fee2e2}.action-btn.delete:hover{background:#fecaca}.empty-categories{text-align:center!important;color:#9ca3af!important;padding:60px 20px!important}.empty-categories>svg{margin-bottom:12px;font-size:40px}.empty-categories p{color:#6b7280;margin:0 0 8px}.empty-categories a{color:#2563eb;font-weight:600;text-decoration:none}.empty-categories a:hover{text-decoration:underline}.category-loading{color:#6b7280;justify-content:center;align-items:center;min-height:400px;font-size:16px;font-weight:500;display:flex}.category-form-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;max-width:1000px;margin:0 auto;padding:28px;box-shadow:0 4px 15px #0f172a0a}.form-section-title{color:#1f2937;border-bottom:1px solid #e5e7eb;align-items:center;gap:10px;margin-bottom:25px;padding-bottom:18px;font-size:17px;font-weight:700;display:flex}.form-section-title svg{color:#2563eb}.form-group label span{color:#dc2626;margin-left:3px}.form-group input,.form-group textarea{color:#111827;box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;padding:11px 13px;font-family:inherit;font-size:14px;transition:all .2s}.form-group input{height:44px}.form-group textarea{resize:vertical;min-height:120px}.form-group input:focus,.form-group textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.status-form-group{justify-content:flex-start}.switch-container{cursor:pointer;align-items:center;gap:10px;font-weight:500!important;display:flex!important}.switch-container input{opacity:0;position:absolute;width:0!important;height:0!important}.switch{background:#d1d5db;border-radius:20px;width:44px;height:24px;transition:all .2s;display:inline-block;position:relative}.switch:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:all .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.switch-container input:checked+.switch{background:#2563eb}.switch-container input:checked+.switch:after{transform:translate(20px)}.form-actions{border-top:1px solid #e5e7eb;justify-content:flex-end;align-items:center;gap:12px;margin-top:25px;padding-top:25px;display:flex}.cancel-btn,.save-btn{cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-width:120px;height:42px;padding:0 17px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.cancel-btn{color:#374151;background:#f3f4f6}.save-btn:hover:not(:disabled){background:#1d4ed8}.category-details-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;max-width:1000px;margin:0 auto;overflow:hidden;box-shadow:0 4px 15px #0f172a0a}.category-details-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:20px;padding:28px;display:flex}.category-details-title{align-items:center;gap:15px;display:flex}.category-details-icon{color:#2563eb;background:#eff6ff;border-radius:12px;justify-content:center;align-items:center;width:58px;height:58px;font-size:24px;display:flex}.category-details-title h2{color:#111827;margin:0;font-size:22px}.category-details-title span{color:#6b7280;margin-top:5px;font-size:13px;display:block}.category-detail-status{border-radius:20px;align-items:center;gap:6px;padding:7px 12px;font-size:13px;font-weight:600;display:inline-flex}.category-detail-status.active{color:#15803d;background:#dcfce7}.category-detail-status.inactive{color:#b91c1c;background:#fee2e2}.category-details-body{grid-template-columns:1fr 1fr;gap:20px;padding:28px;display:grid}.category-detail-item{background:#fafafa;border:1px solid #e5e7eb;border-radius:10px;padding:18px}.category-detail-item.full-width{grid-column:1/-1}.detail-label{color:#6b7280;text-transform:uppercase;letter-spacing:.4px;margin-bottom:8px;font-size:12px;font-weight:600;display:block}.category-detail-item strong{color:#111827;font-size:15px}.category-detail-item p{color:#4b5563;margin:0;font-size:14px;line-height:1.7}.category-details-footer{background:#fafafa;border-top:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:15px;padding:20px 28px;display:flex}.category-detail-actions{gap:10px;display:flex}.category-empty{text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:15px;min-height:400px;display:flex}.category-empty>svg{color:#9ca3af;font-size:45px}.category-empty h3{color:#374151;margin:0}.pagination-container{background:#fff;border-top:1px solid #e5e7eb;justify-content:flex-end;align-items:center;gap:6px;padding:18px;display:flex}.pagination-btn{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:7px;min-width:36px;height:36px;padding:0 10px;font-size:13px;font-weight:600}.pagination-btn:hover:not(:disabled){background:#f3f4f6}.pagination-btn.active{color:#fff;background:#2563eb;border-color:#2563eb}.pagination-btn:disabled{opacity:.5;cursor:not-allowed}@media (width<=768px){.category-page{padding:20px 15px}.category-header{flex-direction:column;align-items:flex-start}.category-header h1{font-size:24px}.category-add-btn,.category-back-btn{width:100%}.category-toolbar{flex-direction:column;align-items:stretch}.category-search{width:100%}.category-count{text-align:right}.category-form-card{padding:20px}.form-grid{grid-template-columns:1fr}.form-group.full-width{grid-column:auto}.form-actions{flex-direction:column-reverse}.cancel-btn,.save-btn{width:100%}.category-details-header{flex-direction:column;align-items:flex-start;padding:20px}.category-details-body{grid-template-columns:1fr;padding:20px}.category-detail-item.full-width{grid-column:auto}.category-details-footer{flex-direction:column;align-items:stretch;padding:20px}.category-detail-actions{flex-direction:column}.category-edit-btn,.category-delete-btn,.category-cancel-btn{width:100%}}@media (width<=480px){.category-page{padding:15px 10px}.category-header h1{font-size:21px}.category-form-card{padding:15px}.category-details-title h2{font-size:18px}.category-details-icon{width:48px;height:48px;font-size:20px}}.category-page{color:#1e293b;background:#f5f7fb;min-height:100%;padding:24px}.category-header-box{background:#fff;border:1px solid #dce3ed;border-radius:14px;justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px;padding:22px 24px;display:flex;box-shadow:0 3px 12px #0f172a0a}.category-header-title{align-items:center;gap:15px;display:flex}.category-header-icon,.category-modal-icon{color:#3659c9;background:#eaf0ff;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;font-size:23px;display:flex}.category-header-title h1{color:#172033;margin:0 0 6px;font-size:25px;font-weight:750}.category-header-title p{color:#64748b;margin:0;font-size:14px}.category-add-btn{color:#fff;cursor:pointer;background:#3659c9;border:1px solid #3155c6;border-radius:9px;justify-content:center;align-items:center;gap:9px;padding:11px 17px;font-size:14px;font-weight:650;text-decoration:none;transition:background .2s,transform .2s;display:inline-flex}.category-add-btn:hover{color:#fff;background:#2746a8;transform:translateY(-1px)}.category-add-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.category-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.category-stat-card{background:#fff;border:1px solid #dce3ed;border-radius:13px;align-items:center;gap:15px;min-width:0;padding:21px 18px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 3px 12px #0f172a09}.category-stat-card:hover{transform:translateY(-2px);box-shadow:0 7px 18px #0f172a12}.category-stat-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:20px;display:flex}.category-stat-icon.total{color:#3659c9;background:#eaf0ff}.category-stat-icon.active{color:#16804a;background:#e5f8ed}.category-stat-icon.inactive{color:#c24141;background:#fff0f0}.category-stat-icon.results{color:#a16207;background:#fff5d9}.category-stat-card p{color:#64748b;margin:0 0 7px;font-size:13px}.category-stat-card h3{color:#172033;margin:0 0 5px;font-size:27px;font-weight:750}.category-stat-card span{color:#94a3b8;font-size:11px}.category-content-card{background:#fff;border:1px solid #dce3ed;border-radius:14px;overflow:hidden;box-shadow:0 3px 12px #0f172a09}.category-toolbar-box{border-bottom:1px solid #e6ebf2;justify-content:space-between;align-items:center;gap:18px;padding:21px 23px;display:flex}.category-toolbar-box h2{color:#172033;margin:0 0 5px;font-size:18px;font-weight:700}.category-toolbar-box p{color:#64748b;margin:0;font-size:13px}.category-search{color:#64748b;background:#fff;border:1px solid #d8e0eb;border-radius:9px;align-items:center;gap:10px;width:300px;max-width:100%;padding:0 13px;display:flex}.category-search:focus-within{border-color:#3659c9;box-shadow:0 0 0 3px #3659c91a}.category-search input{color:#172033;background:0 0;border:none;outline:none;width:100%;min-width:0;padding:12px 0;font-size:13px}.category-search input::placeholder{color:#94a3b8}.category-modal-overlay{z-index:10000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a94;justify-content:center;align-items:center;padding:20px;animation:.18s ease-out categoryFadeIn;display:flex;position:fixed;inset:0;overflow-y:auto}.category-modal{background:#fff;border:1px solid #e2e8f0;border-radius:17px;width:100%;max-width:570px;max-height:calc(100vh - 40px);animation:.22s ease-out categoryModalIn;overflow-y:auto;box-shadow:0 24px 80px #0000003d}.category-modal-header{border-bottom:1px solid #e8edf4;justify-content:space-between;align-items:center;gap:15px;padding:23px 25px;display:flex}.category-modal-heading{align-items:center;gap:14px;display:flex}.category-modal-heading h2{color:#172033;margin:0 0 5px;font-size:21px;font-weight:750}.category-modal-heading p{color:#64748b;margin:0;font-size:13px}.category-modal-close{color:#64748b;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.category-modal-close:hover{color:#c24141;background:#fff0f0}.category-modal-body{flex-direction:column;gap:21px;padding:24px 25px;display:flex}.category-modal-body .form-group{flex-direction:column;gap:9px;display:flex}.category-modal-body .form-group>label{color:#334155;font-size:13px;font-weight:650}.category-modal-body .form-group>label span{color:#dc2626}.category-modal-body input[type=text],.category-modal-body textarea{box-sizing:border-box;color:#172033;background:#fff;border:1px solid #d7dfeb;border-radius:9px;outline:none;width:100%;padding:12px 13px;font-family:inherit;font-size:14px;transition:border-color .2s,box-shadow .2s}.category-modal-body input[type=text]:focus,.category-modal-body textarea:focus{border-color:#3659c9;box-shadow:0 0 0 3px #3659c91a}.category-modal-body textarea{resize:vertical;min-height:100px}.category-status-field{background:#f8fafc;border:1px solid #e2e8f0;border-radius:11px;justify-content:space-between;align-items:center;gap:15px;padding:16px;display:flex}.category-status-field strong{color:#334155;margin-bottom:5px;font-size:13px;display:block}.category-status-field p{color:#64748b;margin:0;font-size:12px}.category-status-field .switch-container{cursor:pointer;flex-shrink:0;align-items:center;gap:9px;font-size:12px;font-weight:650;display:flex}.category-status-field .switch-container input{opacity:0;width:1px;height:1px;position:absolute}.category-status-field .switch{background:#cbd5e1;border-radius:20px;flex-shrink:0;width:39px;height:22px;transition:background .2s;position:relative}.category-status-field .switch:after{content:"";background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .2s;position:absolute;top:3px;left:3px}.category-status-field input:checked+.switch{background:#16a34a}.category-status-field input:checked+.switch:after{transform:translate(17px)}.category-status-field input:focus-visible+.switch{outline-offset:2px;outline:3px solid #3659c940}.category-modal-footer{background:#fbfcfe;border-top:1px solid #e8edf4;justify-content:flex-end;gap:12px;padding:18px 25px;display:flex}.category-cancel-btn{color:#475569;cursor:pointer;background:#fff;border:1px solid #d8e0eb;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:11px 17px;font-size:13px;font-weight:650;display:inline-flex}.category-cancel-btn:hover{background:#f1f5f9}.category-cancel-btn:disabled,.category-modal-close:disabled{opacity:.6;cursor:not-allowed}.category-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:9px;margin:0 0 18px;padding:12px 15px;font-size:13px}.category-loading{text-align:center;color:#64748b;padding:35px 20px}@keyframes categoryFadeIn{0%{opacity:0}to{opacity:1}}@keyframes categoryModalIn{0%{opacity:0;transform:translateY(12px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=1100px){.category-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=650px){.category-page{padding:13px}.category-header-box{flex-direction:column;align-items:flex-start;padding:17px}.category-header-box>.category-add-btn{width:100%}.category-header-title h1{font-size:21px}.category-stats-grid{grid-template-columns:1fr;gap:12px}.category-stat-card{padding:16px}.category-toolbar-box{flex-direction:column;align-items:stretch;padding:17px}.category-search{width:auto}.category-modal-overlay{padding:10px}.category-modal{border-radius:13px;max-height:calc(100vh - 20px)}.category-modal-header{padding:18px}.category-modal-heading h2{font-size:18px}.category-modal-body{padding:19px 18px}.category-status-field{flex-direction:column;align-items:flex-start}.category-modal-footer{padding:15px 18px}.category-modal-footer>button{flex:1}}.inventory-container{color:#1e293b;box-sizing:border-box;width:100%;min-width:0;padding:24px}.inventory-container *,.inventory-container :before,.inventory-container :after{box-sizing:border-box}.inventory-page-heading{background:#fff;border:1px solid #dbe3ef;border-radius:14px;align-items:center;gap:16px;margin-bottom:24px;padding:22px 24px;display:flex;box-shadow:0 3px 12px #0f172a0a}.inventory-heading-icon{color:#fff;background:linear-gradient(135deg,#4f46e5,#7c3aed);border-radius:13px;flex-shrink:0;justify-content:center;align-items:center;width:56px;height:56px;font-size:24px;display:flex}.inventory-heading-content{flex:1;min-width:0}.inventory-heading-content h2{color:#172033;letter-spacing:-.5px;margin:0 0 6px;font-size:25px;font-weight:750}.inventory-heading-content p{color:#64748b;margin:0;font-size:14px}.inventory-heading-count{color:#4338ca;white-space:nowrap;background:#eef2ff;border:1px solid #e0e7ff;border-radius:9px;align-items:center;gap:8px;padding:10px 14px;font-size:13px;font-weight:650;display:flex}.inventory-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.inventory-summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:13px;align-items:center;gap:15px;min-width:0;padding:21px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 3px 10px #0f172a09}.inventory-summary-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0f172a12}.inventory-summary-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:49px;height:49px;font-size:21px;display:flex}.summary-purple{color:#6d28d9;background:#f3e8ff}.summary-green{color:#047857;background:#d1fae5}.summary-orange{color:#c2410c;background:#ffedd5}.inventory-summary-card>div:last-child{flex-direction:column;min-width:0;display:flex}.inventory-summary-card span{color:#64748b;margin-bottom:5px;font-size:13px}.inventory-summary-card strong{color:#172033;overflow-wrap:anywhere;font-size:27px;line-height:1.2}.inventory-summary-card small{color:#94a3b8;margin-top:5px;font-size:12px}.inventory-actions-panel{background:#fff;border:1px solid #dbe3ef;border-radius:14px;margin-bottom:24px;padding:22px;box-shadow:0 3px 12px #0f172a09}.inventory-actions-heading{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding-bottom:18px;display:flex}.inventory-actions-heading h3,.inventory-table-title h3{color:#172033;margin:0 0 5px;font-size:17px;font-weight:750}.inventory-actions-heading p,.inventory-table-title p{color:#64748b;margin:0;font-size:13px}.inventory-actions-heading-icon{color:#818cf8;font-size:23px}.inventory-header-actions{flex-wrap:wrap;align-items:stretch;gap:13px;display:flex}.inventory-action-button{cursor:pointer;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:11px;min-height:47px;padding:12px 18px;font-size:13px;font-weight:700;transition:transform .2s,box-shadow .2s;display:inline-flex}.inventory-action-button:hover{transform:translateY(-2px);box-shadow:0 5px 12px #0f172a1f}.inventory-action-end-icon{opacity:.8;margin-left:5px;font-size:11px}.btn-stock-in{color:#fff;background:#059669;border-color:#059669}.btn-stock-in:hover{background:#047857}.btn-stock-out{color:#fff;background:#e11d48;border-color:#e11d48}.btn-stock-out:hover{background:#be123c}.btn-adjustment{color:#fff;background:#4f46e5;border-color:#4f46e5}.btn-adjustment:hover{background:#4338ca}.inventory-card{background:#fff;border:1px solid #dbe3ef;border-radius:14px;min-width:0;overflow:hidden;box-shadow:0 3px 12px #0f172a09}.inventory-table-heading{border-bottom:1px solid #e9edf4;justify-content:space-between;align-items:center;gap:18px;padding:22px;display:flex}.inventory-table-title{align-items:center;gap:13px;min-width:0;display:flex}.inventory-table-title-icon{color:#4f46e5;background:#eef2ff;border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;width:43px;height:43px;font-size:19px;display:flex}.inventory-search{color:#94a3b8;background:#fff;border:1px solid #dbe3ef;border-radius:8px;align-items:center;gap:10px;width:min(300px,100%);min-height:42px;padding:0 13px;display:flex}.inventory-search:focus-within{border-color:#818cf8;box-shadow:0 0 0 3px #6366f11a}.inventory-search input{color:#1e293b;background:0 0;border:none;outline:none;width:100%;min-width:0;padding:10px 0;font-size:13px}.inventory-table-wrapper{width:100%;overflow-x:auto}.inventory-table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%}.inventory-table thead{background:#f8fafc}.inventory-table th{color:#64748b;letter-spacing:.5px;text-transform:uppercase;border-bottom:1px solid #e2e8f0;padding:15px 17px;font-size:11px;font-weight:750}.inventory-table td{color:#475569;vertical-align:middle;border-bottom:1px solid #edf0f5;padding:15px 17px;font-size:13px}.inventory-table tbody tr{transition:background .15s}.inventory-table tbody tr:hover{background:#fafbff}.inventory-table tbody tr:last-child td{border-bottom:none}.inventory-id{color:#64748b;font-weight:700}.inventory-product-cell{align-items:center;gap:10px;display:flex}.inventory-product-cell strong{color:#273449;font-size:13px;font-weight:650}.inventory-product-icon{color:#6366f1;background:#eef2ff;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.stock-available,.stock-zero{border-radius:7px;justify-content:center;align-items:center;min-width:42px;padding:5px 10px;font-size:12px;font-weight:750;display:inline-flex}.stock-available{color:#047857;background:#d1fae5}.stock-zero{color:#b91c1c;background:#fee2e2}.transaction-badge{text-transform:capitalize;border-radius:6px;align-items:center;padding:5px 10px;font-size:11px;font-weight:750;display:inline-flex}.transaction-stockin,.transaction-stock-in,.transaction-in{color:#047857;background:#d1fae5}.transaction-stockout,.transaction-stock-out,.transaction-out{color:#be123c;background:#ffe4e6}.transaction-adjustment,.transaction-stockadjustment,.transaction-stock-adjustment{color:#4338ca;background:#e0e7ff}.inventory-remarks{text-overflow:ellipsis;max-width:210px;overflow:hidden}.inventory-date{color:#64748b;align-items:center;gap:8px;font-size:12px;display:inline-flex}.inventory-date svg{color:#94a3b8}.inventory-row-actions{align-items:center;gap:6px;display:flex}.table-action-btn{cursor:pointer;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:5px;min-width:34px;min-height:32px;padding:6px 9px;font-size:11px;font-weight:700;transition:background .2s;display:inline-flex}.stock-in-action{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.stock-in-action:hover{background:#d1fae5}.stock-out-action{color:#be123c;background:#fff1f2;border-color:#fecdd3}.stock-out-action:hover{background:#ffe4e6}.table-action-btn.delete{color:#dc2626;background:#fff;border-color:#fecaca}.table-action-btn.delete:hover{background:#fee2e2}.inventory-empty{text-align:center;flex-direction:column;align-items:center;padding:55px 20px;display:flex}.inventory-empty-icon{color:#818cf8;background:#eef2ff;border-radius:50%;justify-content:center;align-items:center;width:65px;height:65px;margin-bottom:16px;font-size:27px;display:flex}.inventory-empty h3{color:#1e293b;margin:0 0 8px;font-size:17px}.inventory-empty p{color:#64748b;margin:0;font-size:13px}.inventory-loading{color:#64748b;justify-content:center;align-items:center;gap:12px;min-height:200px;font-size:14px;display:flex}.inventory-spin{animation:.9s linear infinite inventory-spin}@keyframes inventory-spin{to{transform:rotate(360deg)}}.inventory-modal-overlay{z-index:9999;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a9e;justify-content:center;align-items:center;padding:20px;animation:.18s inventory-overlay-in;display:flex;position:fixed;inset:0;overflow-y:auto}.inventory-modal{background:#fff;border:1px solid #dbe3ef;border-radius:16px;width:100%;max-width:540px;max-height:calc(100vh - 40px);animation:.22s inventory-modal-in;overflow-y:auto;box-shadow:0 24px 80px #0f172a40}.inventory-modal-header{border-bottom:1px solid #e2e8f0;align-items:center;gap:14px;padding:22px 24px;display:flex;position:relative}.inventory-modal-header:before{content:"";background:#4f46e5;height:4px;position:absolute;top:0;left:0;right:0}.stock-in-theme .inventory-modal-header:before{background:#059669}.stock-out-theme .inventory-modal-header:before{background:#e11d48}.adjustment-theme .inventory-modal-header:before{background:#4f46e5}.inventory-modal-heading-icon{color:#4338ca;background:#eef2ff;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:49px;height:49px;font-size:21px;display:flex}.stock-in-theme .inventory-modal-heading-icon{color:#047857;background:#d1fae5}.stock-out-theme .inventory-modal-heading-icon{color:#be123c;background:#ffe4e6}.adjustment-theme .inventory-modal-heading-icon{color:#4338ca;background:#e0e7ff}.inventory-modal-heading-text{flex:1;min-width:0}.inventory-modal-heading-text h2{color:#172033;margin:0 0 5px;font-size:20px;font-weight:750}.inventory-modal-heading-text p{color:#64748b;margin:0;font-size:13px}.inventory-modal-close{color:#64748b;cursor:pointer;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;transition:color .2s,background .2s;display:flex}.inventory-modal-close:hover:not(:disabled){color:#dc2626;background:#fee2e2}.inventory-modal-close:disabled{opacity:.5;cursor:not-allowed}.inventory-modal-form{padding:24px}.inventory-modal-info{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;align-items:flex-start;gap:10px;margin-bottom:23px;padding:12px 14px;font-size:12px;line-height:1.6;display:flex}.inventory-modal-info svg{color:#6366f1;flex-shrink:0;margin-top:2px;font-size:15px}.inventory-form-group{flex-direction:column;gap:8px;margin-bottom:20px;display:flex}.inventory-form-group label{color:#334155;align-items:center;gap:5px;font-size:13px;font-weight:700;display:flex}.inventory-form-group label>span:first-child{color:#dc2626}.inventory-form-group label .inventory-optional{color:#94a3b8;margin-left:auto;font-size:11px;font-weight:500}.inventory-form-group input,.inventory-form-group select,.inventory-form-group textarea{color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;min-height:45px;padding:11px 13px;font-family:inherit;font-size:13px;transition:border-color .2s,box-shadow .2s}.inventory-form-group select{cursor:pointer}.inventory-form-group textarea{resize:vertical;min-height:90px;line-height:1.5}.inventory-form-group input::-moz-placeholder{color:#94a3b8}.inventory-form-group textarea::-moz-placeholder{color:#94a3b8}.inventory-form-group input::placeholder,.inventory-form-group textarea::placeholder{color:#94a3b8}.inventory-form-group input:focus,.inventory-form-group select:focus,.inventory-form-group textarea:focus{border-color:#818cf8;box-shadow:0 0 0 3px #6366f11a}.inventory-form-group input:disabled,.inventory-form-group select:disabled,.inventory-form-group textarea:disabled{color:#94a3b8;cursor:not-allowed;background:#f8fafc}.inventory-input-with-icon{position:relative}.inventory-input-with-icon>svg{color:#94a3b8;pointer-events:none;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.inventory-input-with-icon input{padding-left:42px}.inventory-field-hint{color:#94a3b8;font-size:11px;line-height:1.5}.inventory-modal-footer{border-top:1px solid #e9edf4;justify-content:flex-end;gap:11px;margin-top:5px;padding-top:19px;display:flex}.inventory-modal-cancel,.inventory-modal-submit{cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:9px;min-height:43px;padding:11px 17px;font-size:12px;font-weight:750;transition:background .2s,transform .2s;display:inline-flex}.inventory-modal-cancel{color:#475569;background:#fff;border-color:#cbd5e1}.inventory-modal-cancel:hover:not(:disabled){background:#f1f5f9}.inventory-modal-submit:hover:not(:disabled){transform:translateY(-1px)}.inventory-modal-cancel:disabled,.inventory-modal-submit:disabled{opacity:.65;cursor:not-allowed}@keyframes inventory-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes inventory-modal-in{0%{opacity:0;transform:translateY(12px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=1000px){.inventory-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-summary-card:last-child{grid-column:1/-1}}@media (width<=700px){.inventory-container{padding:14px}.inventory-page-heading{flex-wrap:wrap;align-items:flex-start;padding:17px}.inventory-heading-icon{width:46px;height:46px;font-size:20px}.inventory-heading-content h2{font-size:20px}.inventory-heading-content p{font-size:12px;line-height:1.5}.inventory-heading-count{margin-left:62px}.inventory-summary-grid{grid-template-columns:1fr;gap:12px}.inventory-summary-card:last-child{grid-column:auto}.inventory-summary-card,.inventory-actions-panel{padding:16px}.inventory-header-actions{flex-direction:column}.inventory-action-button{justify-content:flex-start;width:100%}.inventory-action-end-icon{margin-left:auto}.inventory-table-heading{flex-direction:column;align-items:stretch;padding:17px}.inventory-search{width:100%}.inventory-modal-overlay{align-items:flex-start;padding:12px}.inventory-modal{border-radius:12px;max-height:calc(100vh - 24px);margin:auto 0}.inventory-modal-header{gap:11px;padding:19px 16px}.inventory-modal-heading-icon{width:42px;height:42px;font-size:18px}.inventory-modal-heading-text h2{font-size:17px}.inventory-modal-heading-text p{font-size:11px}.inventory-modal-form{padding:18px 16px}.inventory-modal-footer{flex-direction:column-reverse}.inventory-modal-cancel,.inventory-modal-submit{width:100%}}@media (prefers-reduced-motion:reduce){.inventory-container *,.inventory-container :before,.inventory-container :after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.warehouse-page{background:#f8f9fa;width:100%;min-height:100%;padding:24px}.warehouse-header{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.warehouse-header h2{color:#212529;margin:0;font-size:24px;font-weight:600}.warehouse-header p{color:#6c757d;margin:5px 0 0;font-size:14px}.warehouse-header-actions{gap:10px;display:flex}.warehouse-header .btn{justify-content:center;align-items:center;gap:7px;min-height:40px;display:inline-flex}.warehouse-add-btn{align-items:center;gap:8px;display:inline-flex}.warehouse-card,.warehouse-form-card,.warehouse-detail-card{background:#fff;border:1px solid #e3e6ea;border-radius:8px}.warehouse-form-card{max-width:1200px;padding:28px}.warehouse-section{border-bottom:1px solid #e9ecef;margin-bottom:28px;padding-bottom:25px}.warehouse-section:last-of-type{border-bottom:none;margin-bottom:0}.warehouse-section h4{color:#343a40;margin:0 0 20px;font-size:16px;font-weight:600}.warehouse-form-grid{-moz-column-gap:24px;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;display:grid}.warehouse-form-group{flex-direction:column;display:flex}.warehouse-form-group.full-width{grid-column:1/-1}.warehouse-form-card label{color:#343a40;margin-bottom:7px;font-size:13px;font-weight:500;display:block}.required{color:#dc3545;margin-left:3px}.warehouse-form-card input.form-control,.warehouse-form-card select.form-control,.warehouse-form-card textarea.form-control{color:#212529;width:100%;min-height:42px;box-shadow:none;background:#fff;border:1px solid #ced4da;border-radius:6px;padding:9px 12px;font-size:14px;line-height:1.5;transition:border-color .2s,box-shadow .2s}.warehouse-form-card textarea.form-control{resize:vertical;min-height:100px}.warehouse-form-card input.form-control:focus,.warehouse-form-card select.form-control:focus,.warehouse-form-card textarea.form-control:focus{border-color:#86b7fe;outline:none;box-shadow:0 0 0 3px #0d6efd1a}.warehouse-form-card input::-moz-placeholder{color:#adb5bd;font-size:13px}.warehouse-form-card textarea::-moz-placeholder{color:#adb5bd;font-size:13px}.warehouse-form-card input::placeholder,.warehouse-form-card textarea::placeholder{color:#adb5bd;font-size:13px}.warehouse-address-grid{grid-template-columns:2fr 1fr 1fr;gap:18px;display:grid}.warehouse-postal{max-width:250px}.warehouse-status-box{background:#f8f9fa;border:1px solid #e9ecef;border-radius:7px;align-items:center;gap:12px;padding:14px 16px;display:flex}.warehouse-status-box label{cursor:pointer;margin:0}.warehouse-status-box .form-check-input{cursor:pointer;width:38px;height:20px;margin:0}.warehouse-form-actions{border-top:1px solid #e9ecef;justify-content:flex-end;align-items:center;gap:10px;margin-top:5px;padding-top:22px;display:flex}.warehouse-form-actions .btn{justify-content:center;align-items:center;gap:7px;min-width:120px;min-height:40px;display:inline-flex}.warehouse-loading{color:#6c757d;justify-content:center;align-items:center;min-height:300px;font-size:15px;display:flex}.warehouse-card{overflow:hidden}.warehouse-table{vertical-align:middle;margin-bottom:0}.warehouse-table tbody td{vertical-align:middle;padding:13px 15px;font-size:14px}.warehouse-action{cursor:pointer;border:none;border-radius:5px;justify-content:center;align-items:center;width:32px;height:32px;padding:0;transition:all .2s;display:flex}.warehouse-action:hover{transform:translateY(-1px)}.warehouse-pagination{border-top:1px solid #e5e7eb;justify-content:flex-end;padding:15px;display:flex}.warehouse-details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.warehouse-detail-card{padding:22px}.warehouse-detail-title{border-bottom:1px solid #e9ecef;align-items:center;gap:10px;margin-bottom:5px;padding-bottom:15px;display:flex}.warehouse-detail-title svg{color:#0d6efd;font-size:18px}.warehouse-detail-title h4{margin:0;font-size:16px;font-weight:600}.warehouse-detail-row{border-bottom:1px solid #f1f3f5;justify-content:space-between;align-items:flex-start;gap:20px;padding:12px 0;display:flex}.warehouse-detail-row:last-child{border-bottom:none}.warehouse-detail-row>span:first-child{color:#6c757d;font-size:14px}.warehouse-detail-row strong{text-align:right;word-break:break-word;max-width:65%;font-size:14px;font-weight:500}@media (width<=992px){.warehouse-form-grid{grid-template-columns:1fr}.warehouse-form-group.full-width{grid-column:auto}.warehouse-address-grid{grid-template-columns:1fr 1fr}.warehouse-details-grid{grid-template-columns:1fr}}@media (width<=768px){.warehouse-page{padding:15px}.warehouse-header{flex-direction:column;align-items:flex-start}.warehouse-header-actions{width:100%}.warehouse-header-actions .btn{flex:1}.warehouse-form-card{padding:20px}.warehouse-address-grid{grid-template-columns:1fr}.warehouse-form-actions{flex-direction:column-reverse}.warehouse-form-actions .btn{width:100%}.warehouse-pagination{justify-content:center}}@media (width<=576px){.warehouse-page{padding:12px}.warehouse-form-card{padding:15px}.warehouse-detail-row{flex-direction:column;gap:5px}.warehouse-detail-row strong{text-align:left;max-width:100%}}.warehouse-products-card{background:#fff;border:1px solid #e3e6ea;border-radius:8px;margin-top:20px;padding:24px}.warehouse-products-section{width:100%}.warehouse-products-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;display:flex}.warehouse-products-header h4{color:#343a40;margin:0;font-size:17px;font-weight:600}.warehouse-products-header p{color:#6c757d;margin:5px 0 0;font-size:13px}.warehouse-products-header .btn{white-space:nowrap;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:8px 15px;display:inline-flex}.warehouse-product-form{background:#f8f9fa;border:1px solid #e1e5e9;border-radius:8px;margin-bottom:22px;padding:22px}.warehouse-product-form .row{align-items:flex-end;margin-left:0;margin-right:0}.warehouse-product-form .row>[class*=col-]{padding-left:8px;padding-right:8px}.warehouse-product-form .row>[class*=col-]:first-child{padding-left:0}.warehouse-product-form .row>[class*=col-]:last-child{padding-right:0}.warehouse-product-form label{color:#343a40;margin-bottom:7px;font-size:13px;font-weight:500;display:block}.warehouse-product-form .form-control{color:#212529;width:100%;height:42px;min-height:42px;box-shadow:none;background:#fff;border:1px solid #ced4da;border-radius:6px;padding:8px 12px;font-size:14px;line-height:1.5;transition:border-color .2s,box-shadow .2s}.warehouse-product-form select.form-control{cursor:pointer}.warehouse-product-form .form-control:focus{border-color:#86b7fe;outline:none;box-shadow:0 0 0 3px #0d6efd1a}.warehouse-product-form .btn-success{border-radius:6px;justify-content:center;align-items:center;width:100%;height:42px;min-height:42px;font-size:13px;font-weight:500;display:inline-flex}.warehouse-products-table{vertical-align:middle;margin-bottom:0}.warehouse-products-table thead th{color:#495057;white-space:nowrap;background:#f8f9fa;border-bottom:1px solid #dee2e6;padding:13px 14px;font-size:13px;font-weight:600}.warehouse-products-table tbody td{vertical-align:middle;padding:13px 14px;font-size:14px}.warehouse-products-table tbody tr:hover{background:#fafbfc}.warehouse-stock-badge{border-radius:20px;align-items:center;padding:5px 10px;font-size:12px;font-weight:600;display:inline-flex}.warehouse-stock-badge.normal{color:#146c43;background:#d1e7dd}.warehouse-stock-badge.low{color:#b02a37;background:#f8d7da}.warehouse-product-actions{align-items:center;gap:7px;display:flex}.warehouse-product-actions .warehouse-action{cursor:pointer;border:none;border-radius:5px;justify-content:center;align-items:center;width:32px;height:32px;padding:0;transition:all .2s;display:flex}.warehouse-product-actions .warehouse-action.edit{color:#997404;background:#fff3cd}.warehouse-product-actions .warehouse-action.delete{color:#b02a37;background:#f8d7da}.warehouse-product-actions .warehouse-action:hover{transform:translateY(-1px)}@media (width<=992px){.warehouse-product-form .row{row-gap:15px}.warehouse-product-form .row>[class*=col-]{padding-left:0;padding-right:0}}@media (width<=768px){.warehouse-products-card{padding:18px}.warehouse-products-header{flex-direction:column;align-items:flex-start}.warehouse-products-header .btn{width:100%}.warehouse-product-form{padding:16px}.warehouse-product-form .row{row-gap:14px}.warehouse-product-form .btn-success{width:100%}}.warehouse-header-bordered{background:#fff;border:1px solid #e2e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;padding:22px 24px;display:flex;box-shadow:0 2px 8px #0f172a08}.warehouse-heading h2{color:#172033;margin:0 0 7px;font-size:24px;font-weight:700}.warehouse-heading p{color:#64748b;margin:0;font-size:14px}.warehouse-add-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#2563eb;border:0;border-radius:8px;justify-content:center;align-items:center;gap:9px;padding:11px 17px;font-weight:600;transition:background .2s;display:inline-flex}.warehouse-add-btn:hover{background:#1d4ed8}.warehouse-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:22px;display:grid}.warehouse-summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:16px;min-width:0;padding:22px;display:flex;box-shadow:0 2px 8px #0f172a08}.warehouse-summary-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:52px;height:52px;font-size:21px;display:flex}.warehouse-summary-icon.total{color:#2563eb;background:#dbeafe}.warehouse-summary-icon.active{color:#15803d;background:#dcfce7}.warehouse-summary-icon.inactive{color:#dc2626;background:#fee2e2}.warehouse-summary-info{flex-direction:column;gap:6px;min-width:0;display:flex}.warehouse-summary-info span{color:#64748b;font-size:13px}.warehouse-summary-info strong{color:#172033;font-size:27px;line-height:1.2}.warehouse-border-box{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0f172a08}.warehouse-table-toolbar{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:18px;padding:22px 22px 18px;display:flex}.warehouse-table-toolbar h3{color:#172033;margin:0 0 5px;font-size:17px;font-weight:700}.warehouse-table-toolbar p{color:#64748b;margin:0;font-size:13px}.warehouse-filters{align-items:center;gap:12px;display:flex}.warehouse-search{color:#64748b;border:1px solid #dbe2ea;border-radius:8px;align-items:center;gap:9px;min-width:230px;padding:10px 12px;display:flex}.warehouse-search input{color:#172033;background:0 0;border:none;outline:none;width:100%;min-width:0;font-size:13px}.warehouse-status-filter{color:#334155;background:#fff;border:1px solid #dbe2ea;border-radius:8px;outline:none;min-width:125px;padding:10px}.warehouse-table{vertical-align:middle;width:100%;margin-bottom:0}.warehouse-table thead th{color:#475569;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:15px 16px;font-size:12px;font-weight:700}.warehouse-table tbody td{color:#475569;border-bottom:1px solid #edf1f5;padding:15px 16px;font-size:13px}.warehouse-table tbody tr:last-child td{border-bottom:none}.warehouse-table tbody tr:hover{background:#f8fafc}.warehouse-name-cell{color:#172033;white-space:nowrap;align-items:center;gap:11px;display:flex}.warehouse-row-icon{color:#2563eb;background:#eff6ff;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.warehouse-location-cell{align-items:center;gap:7px;min-width:100px;display:flex}.warehouse-location-cell svg{color:#94a3b8;flex-shrink:0}.warehouse-status{border-radius:20px;align-items:center;padding:5px 10px;font-size:12px;font-weight:600;display:inline-flex}.warehouse-status.active{color:#15803d;background:#dcfce7}.warehouse-status.inactive{color:#b91c1c;background:#fee2e2}.warehouse-actions{align-items:center;gap:7px;display:flex}.warehouse-action{cursor:pointer;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .2s;display:inline-flex}.warehouse-action.view{color:#2563eb;background:#eff6ff}.warehouse-action.edit{color:#b45309;background:#fffbeb}.warehouse-action.delete{color:#dc2626;background:#fef2f2}.warehouse-action:hover{filter:brightness(.96)}.warehouse-action:disabled{opacity:.5;cursor:not-allowed}.warehouse-empty{text-align:center;color:#64748b!important;padding:45px 20px!important}.warehouse-empty svg{color:#94a3b8;font-size:30px}.warehouse-empty p{margin:10px 0 0}.warehouse-pagination{border-top:1px solid #e2e8f0;padding:15px 20px}.warehouse-modal{background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;width:100%;max-width:760px;max-height:calc(100vh - 40px);display:flex;overflow:hidden;box-shadow:0 24px 70px #0f172a40}.warehouse-modal-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:flex-start;gap:15px;padding:20px 24px;display:flex}.warehouse-modal-header h3 svg{color:#2563eb}.warehouse-modal-body{padding:22px 24px;overflow-y:auto}.warehouse-form-section:last-of-type{margin-bottom:16px}.warehouse-field input,.warehouse-field textarea{color:#172033;box-sizing:border-box;background:#fff;border:1px solid #dbe2ea;border-radius:8px;outline:none;width:100%;padding:10px 12px;font-size:13px}.warehouse-field input:focus,.warehouse-field textarea:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #2563eb1a}.warehouse-field textarea{resize:vertical}.warehouse-modal-status{padding-top:4px}.warehouse-modal-status label{color:#334155;cursor:pointer;align-items:center;gap:9px;font-size:13px;font-weight:600;display:inline-flex}.warehouse-modal-status input{accent-color:#2563eb;width:16px;height:16px}.warehouse-modal-footer{background:#fff;border-top:1px solid #e2e8f0;justify-content:flex-end;align-items:center;gap:10px;padding:16px 24px;display:flex}.warehouse-cancel-btn,.warehouse-save-btn{cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-size:13px;font-weight:600;display:inline-flex}.warehouse-cancel-btn{color:#475569;background:#fff;border:1px solid #dbe2ea}.warehouse-save-btn{color:#fff;background:#2563eb;border:1px solid #2563eb}@media (width<=900px){.warehouse-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.warehouse-table-toolbar{flex-direction:column;align-items:flex-start}.warehouse-filters{width:100%}.warehouse-search{flex:1}}@media (width<=600px){.warehouse-header-bordered{flex-direction:column;align-items:flex-start;padding:18px}.warehouse-add-btn{width:100%}.warehouse-summary-grid{grid-template-columns:1fr;gap:12px}.warehouse-summary-card{padding:17px}.warehouse-filters{flex-direction:column;align-items:stretch}.warehouse-search{min-width:0}.warehouse-status-filter{width:100%}.warehouse-modal-overlay{align-items:flex-start;padding:10px}.warehouse-modal{max-height:calc(100vh - 20px)}.warehouse-modal-header,.warehouse-modal-body{padding:17px}.warehouse-modal-grid{grid-template-columns:1fr}.warehouse-field.full{grid-column:auto}.warehouse-modal-footer{padding:14px 17px}}.warehouse-modal-overlay{z-index:9999;background:#0f172a99;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.warehouse-modal{background:#fff;border-radius:12px;flex-direction:column;width:100%;max-width:760px;min-height:0;max-height:calc(100vh - 40px);display:flex;overflow:hidden;box-shadow:0 20px 60px #0003}.warehouse-modal-header{background:#fff;border-bottom:1px solid #e5e7eb;flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;display:flex}.warehouse-modal-header h3{color:#111827;align-items:center;gap:10px;margin:0;font-size:20px;font-weight:600;display:flex}.warehouse-modal-header p{color:#6b7280;margin:6px 0 0;font-size:13px}.warehouse-modal-close{color:#374151;cursor:pointer;background:#f3f4f6;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.warehouse-modal-close:hover{background:#e5e7eb}.warehouse-modal form{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.warehouse-modal-body{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9ca3af #f3f4f6;flex:1;min-height:0;padding:20px 24px;overflow:hidden auto}.warehouse-modal-body::-webkit-scrollbar{width:8px}.warehouse-modal-body::-webkit-scrollbar-track{background:#f3f4f6;border-radius:8px}.warehouse-modal-body::-webkit-scrollbar-thumb{background:#9ca3af;border-radius:8px}.warehouse-modal-body::-webkit-scrollbar-thumb:hover{background:#6b7280}.warehouse-form-section{margin-bottom:24px}.warehouse-form-section h4{color:#1f2937;border-bottom:1px solid #e5e7eb;margin:0 0 16px;padding-bottom:10px;font-size:15px;font-weight:600}.warehouse-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.warehouse-field{flex-direction:column;gap:7px;min-width:0;display:flex}.warehouse-field.full{grid-column:1/-1}.warehouse-field label{color:#374151;font-size:13px;font-weight:600}.warehouse-field input,.warehouse-field textarea,.warehouse-field select{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:7px;outline:none;width:100%;min-width:0;padding:10px 12px;font-size:14px;display:block}.warehouse-field input{min-height:42px}.warehouse-field textarea{resize:vertical;min-height:75px}.warehouse-field input:focus,.warehouse-field textarea:focus,.warehouse-field select:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.warehouse-modal-status{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;margin-top:4px;padding:14px}.warehouse-modal-status label{color:#374151;cursor:pointer;align-items:center;gap:10px;margin:0;font-size:14px;font-weight:500;display:flex}.warehouse-modal-status input[type=checkbox]{cursor:pointer;width:17px;height:17px;margin:0}.warehouse-modal-footer{background:#fff;border-top:1px solid #e5e7eb;flex-shrink:0;justify-content:flex-end;align-items:center;gap:12px;padding:16px 24px;display:flex}.warehouse-cancel-btn,.warehouse-save-btn{cursor:pointer;border:none;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:10px 18px;font-size:14px;font-weight:600;display:inline-flex}.warehouse-cancel-btn{color:#374151;background:#f3f4f6}.warehouse-save-btn{color:#fff;background:#2563eb}.warehouse-save-btn:hover{background:#1d4ed8}.warehouse-cancel-btn:disabled,.warehouse-save-btn:disabled{opacity:.6;cursor:not-allowed}@media (width<=600px){.warehouse-modal-overlay{align-items:flex-start;padding:10px}.warehouse-modal{max-width:100%;max-height:calc(100vh - 20px)}.warehouse-modal-header,.warehouse-modal-body{padding:16px}.warehouse-modal-grid{grid-template-columns:minmax(0,1fr)}.warehouse-field.full{grid-column:auto}.warehouse-modal-footer{padding:12px 16px}}.timesheet-page{box-sizing:border-box;width:100%;padding:24px}.timesheet-header,.timesheet-form-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.timesheet-header h2,.timesheet-form-header h2{color:#1f2937;align-items:center;gap:10px;margin:0;font-size:25px;font-weight:700;display:flex}.timesheet-header p,.timesheet-form-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.timesheet-add-btn,.save-btn,.edit-details-btn{cursor:pointer;border:none;border-radius:7px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-weight:600;display:inline-flex}.timesheet-add-btn:hover{background:#1d4ed8}.save-btn{color:#fff;background:#2563eb}.save-btn:hover{background:#1d4ed8}.save-btn:disabled{opacity:.6;cursor:not-allowed}.edit-details-btn{color:#fff;background:#2563eb}.edit-details-btn:hover{background:#1d4ed8}.back-btn{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:7px;align-items:center;gap:7px;padding:9px 14px;display:inline-flex}.back-btn:hover{background:#f3f4f6}.timesheet-toolbar{background:#fff;border:1px solid #e5e7eb;border-radius:9px 9px 0 0;justify-content:space-between;align-items:center;gap:15px;padding:15px;display:flex}.timesheet-search{border:1px solid #d1d5db;border-radius:6px;outline:none;width:350px;max-width:100%;padding:10px 13px;font-size:14px}.timesheet-search:focus{border-color:#2563eb}.timesheet-table-wrapper{background:#fff;border:1px solid #e5e7eb;border-top:none;width:100%;overflow-x:auto}.timesheet-table{border-collapse:collapse;width:100%;min-width:950px}.timesheet-table th{color:#374151;text-align:left;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e5e7eb;padding:13px 14px;font-size:13px;font-weight:700}.timesheet-table td{color:#4b5563;vertical-align:middle;border-bottom:1px solid #f1f5f9;padding:13px 14px;font-size:14px}.timesheet-task{flex-direction:column;gap:4px;display:flex}.timesheet-task strong{color:#1f2937}.hours-badge{color:#2563eb;background:#eff6ff;border-radius:5px;padding:5px 9px;font-size:13px;font-weight:600;display:inline-block}.billable{border-radius:20px;padding:5px 9px;font-size:12px;font-weight:600;display:inline-block}.description-cell{white-space:nowrap;text-overflow:ellipsis;max-width:220px;display:block;overflow:hidden}.timesheet-actions button{cursor:pointer;border:none;border-radius:5px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.timesheet-loading,.timesheet-empty{text-align:center;color:#6b7280;background:#fff;padding:60px 20px}.timesheet-form{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:25px}.form-group label span{color:#dc2626}.form-group input,.form-group select,.form-group textarea{box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:6px;outline:none;width:100%;padding:11px 12px;font-family:inherit;font-size:14px}.checkbox-group{justify-content:center}.checkbox-label{cursor:pointer;flex-direction:row;align-items:center;gap:10px;display:flex!important}.checkbox-label input{cursor:pointer;width:18px;height:18px}.form-actions{border-top:1px solid #e5e7eb;justify-content:flex-end;gap:10px;margin-top:25px;padding-top:20px;display:flex}.cancel-btn{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:10px 18px;font-weight:600}.cancel-btn:hover{background:#f3f4f6}.timesheet-details-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:28px}.details-top{justify-content:space-between;align-items:center;gap:20px;display:flex}.details-task h3{color:#1f2937;margin:7px 0;font-size:22px}.details-label{color:#6b7280;letter-spacing:1px;font-size:11px;font-weight:700}.task-code{color:#4b5563;background:#f3f4f6;border-radius:4px;padding:4px 8px;font-size:12px;display:inline-block}.details-hours{color:#2563eb;align-items:center;gap:8px;display:flex}.details-hours svg{font-size:22px}.details-hours strong{font-size:30px}.details-hours span{color:#6b7280;font-size:14px}.details-divider{background:#e5e7eb;height:1px;margin:25px 0}.details-grid{grid-template-columns:repeat(2,1fr);gap:20px;display:grid}.detail-item{background:#f8fafc;border-radius:8px;align-items:center;gap:13px;padding:15px;display:flex}.detail-icon{color:#2563eb;background:#eff6ff;border-radius:7px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.detail-item div:last-child{flex-direction:column;gap:4px;display:flex}.detail-item span{color:#6b7280;font-size:12px}.detail-item strong{color:#1f2937;font-size:14px}.billable-text{color:#15803d!important}.nonbillable-text{color:#6b7280!important}.details-description{background:#f8fafc;border-radius:8px;margin-top:25px;padding:20px}.details-description h4{color:#374151;margin:0 0 10px;font-size:14px}.details-description p{color:#4b5563;margin:0;font-size:14px;line-height:1.6}.details-created{color:#9ca3af;margin-top:20px;font-size:12px}@media (width<=768px){.timesheet-page{padding:15px}.timesheet-header,.timesheet-form-header{flex-direction:column;align-items:flex-start}.timesheet-add-btn{width:100%}.timesheet-toolbar{flex-direction:column;align-items:stretch}.timesheet-search{width:100%}.form-grid{grid-template-columns:1fr}.form-group.full-width{grid-column:auto}.details-top{flex-direction:column;align-items:flex-start}.details-grid{grid-template-columns:1fr}.timesheet-details-card{padding:18px}.form-actions{flex-direction:column-reverse}.form-actions button{width:100%}}.timesheet-header{background:var(--card-bg,#fff);border:1px solid #dbe3ee;border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;padding:20px 22px;display:flex;box-shadow:0 3px 12px #0f172a0a}.timesheet-heading{align-items:center;gap:14px;display:flex}.timesheet-heading-icon,.timesheet-modal-icon{color:#2563eb;background:#eff6ff;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:21px;display:flex}.timesheet-heading h2,.timesheet-modal-title h2{color:#172033;margin:0;font-size:22px;font-weight:700}.timesheet-heading p,.timesheet-modal-title p{color:#64748b;margin:5px 0 0;font-size:13px}.timesheet-header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.timesheet-add-btn,.timesheet-refresh-btn{cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 16px;font-size:13px;font-weight:600;transition:background .2s,transform .2s;display:inline-flex}.timesheet-add-btn{color:#fff;background:#2563eb}.timesheet-add-btn:hover{background:#1d4ed8;transform:translateY(-1px)}.timesheet-refresh-btn{color:#334155;background:#fff;border-color:#cbd5e1}.timesheet-refresh-btn:hover{background:#f8fafc}.timesheet-refresh-btn:disabled{opacity:.6;cursor:not-allowed}.timesheet-spin{animation:.8s linear infinite timesheet-spin}@keyframes timesheet-spin{to{transform:rotate(360deg)}}.timesheet-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px;display:grid}.timesheet-stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:14px;min-width:0;padding:20px;display:flex;box-shadow:0 3px 12px #0f172a09}.timesheet-stat-icon{border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;width:46px;height:46px;font-size:19px;display:flex}.timesheet-stat-icon.stat-blue{color:#2563eb;background:#eff6ff}.timesheet-stat-icon.stat-green{color:#15803d;background:#f0fdf4}.timesheet-stat-icon.stat-purple{color:#7c3aed;background:#f5f3ff}.timesheet-stat-icon.stat-amber{color:#b45309;background:#fffbeb}.timesheet-stat-card p{color:#64748b;margin:0 0 6px;font-size:12px;font-weight:500}.timesheet-stat-card h3{color:#172033;margin:0;font-size:25px;font-weight:700;line-height:1.2}.timesheet-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;display:flex}.timesheet-search-wrap{color:#64748b;background:#fff;border:1px solid #cbd5e1;border-radius:9px;align-items:center;gap:10px;width:min(100%,440px);min-height:44px;padding:0 13px;display:flex}.timesheet-search-wrap:focus-within{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.timesheet-search{color:#1e293b;background:0 0;border:none;outline:none;width:100%;min-width:0;padding:10px 0;font-size:13px}.timesheet-search:focus{box-shadow:none;outline:none}.timesheet-clear-search{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:5px;justify-content:center;align-items:center;padding:5px;display:inline-flex}.timesheet-clear-search:hover{color:#0f172a;background:#f1f5f9}.timesheet-total{color:#64748b;font-size:13px}.timesheet-total strong{color:#172033}.timesheet-table-wrapper{background:#fff;border:1px solid #dbe3ee;border-radius:12px;width:100%;overflow-x:auto}.timesheet-table{border-collapse:collapse;text-align:left;width:100%}.timesheet-table thead th{color:#475569;text-transform:uppercase;letter-spacing:.45px;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #dbe3ee;padding:15px 14px;font-size:11px;font-weight:700}.timesheet-table tbody td{color:#334155;vertical-align:middle;border-bottom:1px solid #edf2f7;padding:14px;font-size:13px}.timesheet-table tbody tr:last-child td{border-bottom:none}.timesheet-table tbody tr:hover{background:#f8fbff}.timesheet-task{flex-direction:column;gap:4px;min-width:140px;display:flex}.timesheet-task strong{color:#1e293b;font-size:13px;font-weight:600}.timesheet-task small{color:#64748b;font-size:11px}.hours-badge{color:#1d4ed8;white-space:nowrap;background:#eff6ff;border-radius:6px;align-items:center;padding:5px 9px;font-size:12px;font-weight:700;display:inline-flex}.billable{border-radius:20px;justify-content:center;align-items:center;min-width:42px;padding:5px 9px;font-size:11px;font-weight:700;display:inline-flex}.billable.yes{color:#15803d;background:#dcfce7}.billable.no{color:#64748b;background:#f1f5f9}.description-cell{text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;max-width:220px;display:inline-block;overflow:hidden}.timesheet-actions{align-items:center;gap:7px;display:flex}.timesheet-actions button{cursor:pointer;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;width:32px;height:32px;transition:background .2s;display:inline-flex}.action-view:hover{background:#dbeafe}.action-edit:hover{background:#fef3c7}.action-delete:hover{background:#fee2e2}.timesheet-loading,.timesheet-empty,.timesheet-form-loading{color:#64748b;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:220px;padding:30px;display:flex}.timesheet-empty>svg{color:#94a3b8;font-size:34px}.timesheet-empty h3{color:#1e293b;margin:0;font-size:18px}.timesheet-empty p{margin:0 0 8px;font-size:13px}.timesheet-spinner{border:3px solid #dbeafe;border-top-color:#2563eb;border-radius:50%;width:30px;height:30px;animation:.8s linear infinite timesheet-spin}.timesheet-modal-backdrop{z-index:9999;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a94;justify-content:center;align-items:center;padding:22px;display:flex;position:fixed;inset:0;overflow-y:auto}.timesheet-modal{background:#fff;border:1px solid #dbe3ee;border-radius:16px;flex-direction:column;width:min(100%,820px);max-height:calc(100vh - 44px);animation:.18s ease-out timesheet-modal-enter;display:flex;overflow:hidden;box-shadow:0 25px 70px #0f172a40}@keyframes timesheet-modal-enter{0%{opacity:0;transform:translateY(10px)scale(.99)}to{opacity:1;transform:translateY(0)scale(1)}}.timesheet-modal-header{background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:15px;padding:19px 23px;display:flex}.timesheet-modal-title{align-items:center;gap:13px;display:flex}.timesheet-modal-title h2{font-size:19px}.timesheet-modal-title p{font-size:12px}.timesheet-modal-close{color:#64748b;cursor:pointer;background:#f1f5f9;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.timesheet-modal-close:hover{color:#dc2626;background:#fef2f2}.timesheet-modal-body{padding:22px;overflow-y:auto}.timesheet-form-modal-mode{box-shadow:none;background:0 0;border:none;margin:0;padding:0}.timesheet-form-modal-mode .timesheet-form{box-shadow:none;border:none;margin:0;padding:0}.timesheet-form-modal-mode .form-grid{gap:18px}.timesheet-field-hint{color:#b45309;margin-top:6px;font-size:11px;display:block}.timesheet-character-count{color:#94a3b8;text-align:right;margin-top:5px;font-size:11px;display:block}.timesheet-form-modal-mode .form-actions{background:#fff;border-top:1px solid #e2e8f0;margin-top:18px;padding:16px 0 0;position:sticky;bottom:-22px}@media (width<=1000px){.timesheet-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.timesheet-header{align-items:stretch;padding:16px}.timesheet-heading h2{font-size:19px}.timesheet-header-actions{width:100%}.timesheet-header-actions button{flex:1}.timesheet-stats-grid{grid-template-columns:1fr 1fr;gap:10px}.timesheet-stat-card{gap:10px;padding:13px}.timesheet-stat-icon{width:36px;height:36px;font-size:15px}.timesheet-stat-card h3{font-size:21px}.timesheet-stat-card p{font-size:11px}.timesheet-search-wrap{width:100%}.timesheet-toolbar{align-items:stretch}.timesheet-modal-backdrop{align-items:flex-start;padding:10px}.timesheet-modal{border-radius:12px;max-height:calc(100vh - 20px)}.timesheet-modal-header{padding:15px}.timesheet-modal-body{padding:16px}.timesheet-modal-title h2{font-size:16px}.timesheet-modal-icon{width:40px;height:40px}.timesheet-form-modal-mode .form-grid{grid-template-columns:1fr}.timesheet-form-modal-mode .form-group.full-width{grid-column:auto}}.customer-page{color:#1e293b;box-sizing:border-box;width:100%;min-width:0;padding:24px}.customer-page *,.customer-page :before,.customer-page :after{box-sizing:border-box}.customer-page-header{background:#fff;border:1px solid #dbe3ef;border-radius:14px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:22px 24px;display:flex;box-shadow:0 3px 12px #0f172a0a}.customer-heading-main{align-items:center;gap:15px;min-width:0;display:flex}.customer-heading-icon{color:#fff;background:linear-gradient(135deg,#4f46e5,#7c3aed);border-radius:13px;flex-shrink:0;justify-content:center;align-items:center;width:55px;height:55px;font-size:24px;display:flex}.customer-page-title{color:#172033;letter-spacing:-.5px;margin:0 0 6px;font-size:24px;font-weight:750}.customer-page-subtitle{color:#64748b;margin:0;font-size:13px;line-height:1.5}.customer-header-actions{flex-shrink:0;align-items:center;gap:10px;display:flex}.customer-add-btn,.customer-refresh-btn,.customer-reset-btn{cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:9px;min-height:42px;padding:11px 16px;font-size:12px;font-weight:700;text-decoration:none;transition:all .2s;display:inline-flex}.customer-add-btn{color:#fff;background:#4f46e5;border-color:#4f46e5}.customer-add-btn:hover{color:#fff;background:#4338ca;border-color:#4338ca;transform:translateY(-1px)}.customer-refresh-btn{color:#475569;background:#fff;border-color:#cbd5e1}.customer-refresh-btn:hover:not(:disabled){color:#4338ca;background:#eef2ff;border-color:#c7d2fe}.customer-refresh-btn:disabled{opacity:.6;cursor:not-allowed}.customer-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.customer-summary-card{background:#fff;border:1px solid #e2e8f0;border-radius:13px;align-items:center;gap:15px;min-width:0;padding:21px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 3px 10px #0f172a09}.customer-summary-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0f172a12}.customer-summary-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:49px;height:49px;font-size:21px;display:flex}.customer-purple{color:#6d28d9;background:#f3e8ff}.customer-green{color:#047857;background:#d1fae5}.customer-orange{color:#c2410c;background:#ffedd5}.customer-summary-card>div:last-child{flex-direction:column;min-width:0;display:flex}.customer-summary-card span{color:#64748b;margin-bottom:5px;font-size:13px}.customer-summary-card strong{color:#172033;font-size:27px;line-height:1.2}.customer-summary-card small{color:#94a3b8;margin-top:5px;font-size:11px}.customer-card{background:#fff;overflow:hidden;box-shadow:0 3px 12px #0f172a09;border:1px solid #dbe3ef!important;border-radius:14px!important}.customer-card-heading{border-bottom:1px solid #e9edf4;justify-content:space-between;align-items:center;gap:20px;padding:22px;display:flex}.customer-table-heading{align-items:center;gap:12px;min-width:0;display:flex}.customer-table-heading-icon{color:#4f46e5;background:#eef2ff;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:43px;height:43px;font-size:19px;display:flex}.customer-table-heading h3{color:#172033;margin:0 0 5px;font-size:17px;font-weight:750}.customer-table-heading p{color:#64748b;margin:0;font-size:12px}.customer-toolbar{justify-content:flex-end;align-items:center;gap:10px;min-width:0;display:flex}.customer-search{color:#94a3b8;background:#fff;border:1px solid #dbe3ef;border-radius:8px;align-items:center;gap:9px;width:260px;min-height:42px;padding:0 12px;display:flex}.customer-search:focus-within{border-color:#818cf8;box-shadow:0 0 0 3px #6366f11a}.customer-search input{color:#1e293b;background:0 0;border:none;outline:none;width:100%;min-width:0;padding:10px 0;font-size:12px}.customer-search input::placeholder{color:#94a3b8}.customer-status-filter{color:#475569;cursor:pointer;background:#fff;border:1px solid #dbe3ef;border-radius:8px;outline:none;max-width:145px;min-height:42px;padding:9px 11px;font-size:12px}.customer-status-filter:focus{border-color:#818cf8;box-shadow:0 0 0 3px #6366f11a}.customer-results-bar{color:#64748b;background:#fbfcfe;border-bottom:1px solid #edf0f5;align-items:center;gap:8px;min-height:44px;padding:10px 22px;font-size:12px;display:flex}.customer-results-bar>span{align-items:center;gap:7px;display:flex}.customer-results-bar svg{color:#818cf8}.customer-results-bar strong{color:#334155}.customer-table{border-collapse:collapse;vertical-align:middle;width:100%}.customer-table thead th{color:#64748b;letter-spacing:.45px;text-transform:uppercase;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:15px 16px;font-size:10px;font-weight:750}.customer-table tbody td{color:#475569;vertical-align:middle;border-bottom:1px solid #edf0f5;padding:15px 16px;font-size:12px}.customer-table tbody tr{transition:background .15s}.customer-table tbody tr:hover{background:#fafbff}.customer-table tbody tr:last-child td{border-bottom:none}.customer-row-number{color:#64748b;font-weight:700}.customer-name-wrapper{align-items:center;gap:11px;min-width:155px;display:flex}.customer-avatar{color:#4338ca;background:#eef2ff;border:1px solid #e0e7ff;border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;width:39px;height:39px;font-size:15px;font-weight:750;display:flex}.customer-name-details{flex-direction:column;gap:4px;min-width:0;display:flex}.customer-name{color:#273449;text-overflow:ellipsis;max-width:190px;font-size:12px;font-weight:750;text-decoration:none;overflow:hidden}.customer-name:hover{color:#4f46e5}.customer-name-details small{color:#94a3b8;font-size:10px}.customer-contact-cell{align-items:center;gap:8px;min-width:0;display:flex}.customer-contact-cell>svg{color:#94a3b8;flex-shrink:0;font-size:12px}.customer-contact-cell span{overflow-wrap:anywhere}.customer-address-cell{max-width:190px}.customer-status-badge{white-space:nowrap;border-radius:6px;align-items:center;gap:6px;padding:6px 9px;font-size:10px;font-weight:750;display:inline-flex}.customer-status-badge.active{color:#047857;background:#d1fae5}.customer-status-badge.inactive{color:#b91c1c;background:#fee2e2}.customer-status-badge.unknown{color:#64748b;background:#f1f5f9}.customer-row-actions{justify-content:flex-end;align-items:center;gap:6px;display:inline-flex}.customer-icon-btn{cursor:pointer;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;width:33px;height:33px;padding:0;font-size:12px;text-decoration:none;transition:background .2s,transform .2s;display:inline-flex}.customer-icon-btn:hover{transform:translateY(-1px)}.customer-icon-btn.view{color:#0369a1;background:#f0f9ff;border-color:#bae6fd}.customer-icon-btn.view:hover{background:#e0f2fe}.customer-icon-btn.edit{color:#4338ca;background:#eef2ff;border-color:#c7d2fe}.customer-icon-btn.edit:hover{background:#e0e7ff}.customer-icon-btn.delete{color:#dc2626;background:#fff1f2;border-color:#fecdd3}.customer-icon-btn.delete:hover{background:#ffe4e6}.customer-loading{color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:13px;min-height:220px;display:flex}.customer-loading>svg{color:#4f46e5;font-size:25px}.customer-loading p{margin:0;font-size:13px}.customer-empty{text-align:center;flex-direction:column;align-items:center;padding:55px 20px;display:flex}.customer-empty-icon{color:#818cf8;background:#eef2ff;border-radius:50%;justify-content:center;align-items:center;width:65px;height:65px;margin-bottom:16px;font-size:27px;display:flex}.customer-empty h3{color:#1e293b;margin:0 0 8px;font-size:17px;font-weight:750}.customer-empty p{color:#64748b;margin:0 0 18px;font-size:12px}.customer-reset-btn{color:#4338ca;background:#eef2ff;border-color:#c7d2fe}.customer-reset-btn:hover{background:#e0e7ff}.customer-spin{animation:.9s linear infinite customer-spin-animation}@keyframes customer-spin-animation{to{transform:rotate(360deg)}}@media (width<=1100px){.customer-page-header{flex-direction:column;align-items:flex-start}.customer-header-actions{justify-content:flex-end;width:100%}.customer-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-summary-card:last-child{grid-column:1/-1}.customer-card-heading{flex-direction:column;align-items:stretch}.customer-toolbar{justify-content:flex-start}.customer-search{flex:1;width:auto}}@media (width<=650px){.customer-page{padding:14px}.customer-page-header{padding:17px}.customer-heading-icon{width:45px;height:45px;font-size:20px}.customer-page-title{font-size:19px}.customer-page-subtitle{font-size:12px}.customer-header-actions{flex-direction:column;align-items:stretch}.customer-header-actions>*{width:100%}.customer-summary-grid{grid-template-columns:1fr;gap:12px}.customer-summary-card:last-child{grid-column:auto}.customer-summary-card,.customer-card-heading{padding:16px}.customer-toolbar{flex-direction:column;align-items:stretch}.customer-search{flex:auto;width:100%}.customer-status-filter{width:100%;max-width:none}.customer-results-bar{padding:10px 16px}}@media (prefers-reduced-motion:reduce){.customer-page *,.customer-page :before,.customer-page :after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.customer-modal-backdrop{z-index:9999;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a94;justify-content:center;align-items:center;padding:20px;animation:.18s customerBackdropIn;display:flex;position:fixed;inset:0;overflow-y:auto}.customer-modal{background:#fff;border:1px solid #e2e8f0;border-radius:16px;width:100%;max-width:760px;max-height:calc(100vh - 40px);animation:.22s customerModalIn;overflow-y:auto;box-shadow:0 24px 70px #0f172a3d}.customer-form-modal-content{padding:25px}.customer-form-heading{border-bottom:1px solid #e8edf5;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;padding-bottom:20px;display:flex}.customer-form-heading-main{align-items:center;gap:14px;min-width:0;display:flex}.customer-form-heading-icon{color:#4f46e5;background:#eef2ff;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:21px;display:flex}.customer-modal-close{color:#64748b;cursor:pointer;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;transition:all .2s;display:flex}.customer-modal-close:hover:not(:disabled){color:#dc2626;background:#fee2e2;border-color:#fecaca}.customer-modal-close:disabled{opacity:.5;cursor:not-allowed}.customer-form-section-title{color:#334155;align-items:center;gap:10px;margin-bottom:20px;font-size:14px;font-weight:750;display:flex}.customer-form-section-title svg{color:#6366f1}.customer-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.customer-form-field{min-width:0}.customer-form-field label{color:#334155;margin-bottom:8px;font-size:12px;font-weight:700;display:block}.customer-form-field label span{color:#dc2626}.customer-input-wrapper{color:#94a3b8;background:#fff;border:1px solid #dbe3ef;border-radius:8px;align-items:center;gap:10px;min-height:45px;padding:0 12px;transition:border-color .2s,box-shadow .2s;display:flex}.customer-input-wrapper:focus-within{border-color:#818cf8;box-shadow:0 0 0 3px #6366f11a}.customer-input-wrapper>svg{flex-shrink:0;font-size:13px}.customer-input-wrapper input{color:#1e293b;background:0 0;border:0;outline:none;width:100%;min-width:0;padding:11px 0;font-size:13px}.customer-input-wrapper input::placeholder{color:#94a3b8}.customer-active-toggle{cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:12px;margin-top:24px;padding:15px;display:flex}.customer-active-toggle>input{accent-color:#4f46e5;cursor:pointer;width:17px;height:17px}.customer-toggle-icon{color:#059669;justify-content:center;align-items:center;font-size:20px;display:flex}.customer-active-toggle>span:last-child{flex-direction:column;gap:4px;display:flex}.customer-active-toggle strong{color:#334155;font-size:12px}.customer-active-toggle small{color:#64748b;font-size:11px}.customer-form-actions{border-top:1px solid #e8edf5;justify-content:flex-end;gap:10px;margin-top:25px;padding-top:20px;display:flex}.customer-form-cancel,.customer-form-submit,.customer-detail-back{cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:41px;padding:10px 16px;font-size:12px;font-weight:700;text-decoration:none;transition:all .2s;display:inline-flex}.customer-form-cancel,.customer-detail-back{color:#475569;background:#fff;border:1px solid #cbd5e1}.customer-form-cancel:hover:not(:disabled),.customer-detail-back:hover{color:#334155;background:#f1f5f9}.customer-form-submit{color:#fff;background:#4f46e5;border:1px solid #4f46e5}.customer-form-submit:hover:not(:disabled){background:#4338ca;border-color:#4338ca}.customer-form-submit:disabled,.customer-form-cancel:disabled{opacity:.65;cursor:not-allowed}.customer-form-loading,.customer-loading-page{color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:220px;padding:30px;display:flex}.customer-form-loading p,.customer-loading-page p{margin:0;font-size:13px}.customer-detail-layout{grid-template-columns:minmax(240px,.75fr) minmax(0,1.7fr);align-items:start;gap:22px;display:grid}.customer-detail-profile,.customer-detail-information{background:#fff;border:1px solid #dbe3ef;border-radius:14px;min-width:0;box-shadow:0 3px 12px #0f172a09}.customer-detail-profile{text-align:center;flex-direction:column;align-items:center;padding:30px 20px;display:flex}.customer-detail-avatar{color:#4338ca;background:#eef2ff;border:1px solid #c7d2fe;border-radius:22px;justify-content:center;align-items:center;width:85px;height:85px;font-size:34px;font-weight:800;display:flex}.customer-detail-profile h3{color:#172033;overflow-wrap:anywhere;margin:18px 0 6px;font-size:19px;font-weight:750}.customer-detail-profile p{color:#64748b;margin:0 0 15px;font-size:12px}.customer-detail-card-heading{border-bottom:1px solid #e8edf5;align-items:center;gap:13px;padding:22px;display:flex}.customer-detail-card-heading>svg{color:#4f46e5;font-size:23px}.customer-detail-card-heading h3{color:#172033;margin:0 0 5px;font-size:16px;font-weight:750}.customer-detail-card-heading p{color:#64748b;margin:0;font-size:12px}.customer-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:8px 22px;display:grid}.customer-detail-item{border-bottom:1px solid #edf0f5;align-items:flex-start;gap:12px;min-width:0;padding:18px 10px 18px 0;display:flex}.customer-detail-item:nth-last-child(-n+2){border-bottom:none}.customer-detail-icon{color:#4f46e5;background:#eef2ff;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:37px;height:37px;display:flex}.customer-detail-item>div{flex-direction:column;gap:6px;min-width:0;display:flex}.customer-detail-item small{color:#64748b;font-size:11px}.customer-detail-item strong{color:#273449;overflow-wrap:anywhere;font-size:13px;font-weight:650}@keyframes customerBackdropIn{0%{opacity:0}to{opacity:1}}@keyframes customerModalIn{0%{opacity:0;transform:translateY(12px)scale(.99)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=700px){.customer-modal-backdrop{align-items:flex-start;padding:10px}.customer-modal{border-radius:12px;max-height:calc(100vh - 20px)}.customer-form-modal-content{padding:18px}.customer-form-grid,.customer-detail-layout,.customer-detail-grid{grid-template-columns:1fr}.customer-detail-item:nth-last-child(-n+2){border-bottom:1px solid #edf0f5}.customer-detail-item:last-child{border-bottom:none}.customer-form-actions{flex-direction:column-reverse}.customer-form-actions button{width:100%}.customer-header-actions{flex-wrap:wrap}}@media (prefers-reduced-motion:reduce){.customer-modal-backdrop,.customer-modal{animation:none}}:root{--so-primary:#4f46e5;--so-primary-dark:#3730a3;--so-primary-light:#eef2ff;--so-blue:#2563eb;--so-green:#059669;--so-green-light:#ecfdf5;--so-orange:#d97706;--so-orange-light:#fffbeb;--so-red:#dc2626;--so-red-light:#fef2f2;--so-text:#172033;--so-muted:#64748b;--so-border:#e2e8f0;--so-surface:#fff;--so-page-bg:#f5f7fb;--so-radius:14px;--so-shadow:0 4px 18px #0f172a0e;--so-transition:all .2s ease}.sales-order-page{width:100%;max-width:1600px;color:var(--so-text);background:var(--so-page-bg);box-sizing:border-box;border-radius:16px;margin:0 auto;padding:26px;font-family:Inter,Segoe UI,Arial,sans-serif}.sales-order-page *,.sales-order-modal-overlay *{box-sizing:border-box}.sales-order-page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.sales-order-heading-left{align-items:center;gap:15px;display:flex}.sales-order-header-icon{color:#fff;background:linear-gradient(135deg,#4f46e5,#2563eb);border-radius:15px;flex-shrink:0;justify-content:center;align-items:center;width:54px;height:54px;font-size:23px;display:flex;box-shadow:0 7px 18px #4f46e53b}.sales-order-page-title{color:var(--so-text);letter-spacing:-.6px;margin:0;font-size:27px;font-weight:750}.sales-order-page-subtitle{color:var(--so-muted);margin:7px 0 0;font-size:14px;line-height:1.5}.sales-order-back-btn{color:#334155;border:1px solid var(--so-border);transition:var(--so-transition);background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:9px;padding:10px 16px;font-size:13px;font-weight:650;text-decoration:none;display:inline-flex}.sales-order-back-btn:hover{color:var(--so-primary);background:var(--so-primary-light);border-color:#c7d2fe}.sales-order-add-btn{color:#fff;transition:var(--so-transition);background:linear-gradient(135deg,#4f46e5,#2563eb);border:0;border-radius:11px;justify-content:center;align-items:center;gap:8px;padding:12px 19px;font-size:14px;font-weight:700;text-decoration:none;display:inline-flex;box-shadow:0 5px 13px #4f46e533}.sales-order-add-btn:hover,.sales-order-add-btn:focus{color:#fff;background:linear-gradient(135deg,#4338ca,#1d4ed8);transform:translateY(-2px);box-shadow:0 8px 19px #4f46e54d}.sales-order-toolbar{justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px;display:flex}.sales-order-search{width:100%;max-width:520px;position:relative}.sales-order-search .form-control{width:100%;min-height:46px;color:var(--so-text);border:1px solid var(--so-border);box-shadow:none;transition:var(--so-transition);background:#fff;border-radius:11px;padding:12px 15px 12px 43px;font-size:13px}.sales-order-search .form-control::placeholder{color:#94a3b8}.sales-order-search .form-control:focus{border-color:#818cf8;outline:none;box-shadow:0 0 0 4px #6366f11a}.sales-order-search-icon{z-index:1;color:#94a3b8;pointer-events:none;font-size:15px;position:absolute;top:50%;left:16px;transform:translateY(-50%)}.so-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:25px;display:grid}.so-summary-card{border-radius:var(--so-radius);min-width:0;box-shadow:var(--so-shadow);transition:var(--so-transition);background:#fff;border:1px solid #e8edf5;align-items:center;gap:16px;padding:22px;display:flex}.so-summary-card:hover{border-color:#c7d2fe;transform:translateY(-3px);box-shadow:0 10px 26px #0f172a17}.so-summary-icon{border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:51px;height:51px;font-size:21px;display:flex}.so-summary-icon.subtotal{color:#2563eb;background:#eff6ff}.so-summary-icon.total{color:#059669;background:#ecfdf5}.so-summary-icon.discount{color:#d97706;background:#fffbeb}.so-summary-icon.tax{color:#7c3aed;background:#f5f3ff}.so-summary-card p{color:var(--so-muted);margin:0 0 7px;font-size:12px;font-weight:600}.so-summary-card h3{color:var(--so-text);overflow-wrap:anywhere;margin:0;font-size:23px;font-weight:750;line-height:1.25}.sales-order-card,.sales-order-details-card,.sales-order-summary-card,.sales-order-items-card{border-radius:var(--so-radius);box-shadow:var(--so-shadow);background:#fff;border:1px solid #e7edf5;margin-bottom:23px;overflow:hidden}.sales-order-card .card-body{padding:0}.sales-order-card-header,.sales-order-items-card>.card-header,.sales-order-details-card>.card-header{background:#fff;border-bottom:1px solid #edf1f7;justify-content:space-between;align-items:center;gap:15px;padding:21px 24px;display:flex}.sales-order-card-header h3,.sales-order-details-card .card-header h5,.sales-order-items-card .card-header h5{color:var(--so-text);margin:0;font-size:16px;font-weight:750}.sales-order-section-heading{align-items:center;gap:13px;min-width:0;display:flex}.sales-order-section-heading h3{color:var(--so-text);margin:0;font-size:16px;font-weight:750}.sales-order-section-heading p{color:var(--so-muted);margin:5px 0 0;font-size:12px;line-height:1.5}.sales-order-section-icon{width:43px;height:43px;color:var(--so-primary);background:var(--so-primary-light);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;font-size:18px;display:flex}.sales-order-table,.sales-order-items-table{border-collapse:separate;border-spacing:0;vertical-align:middle;width:100%;margin:0}.sales-order-table thead th,.sales-order-items-table thead th{color:#64748b;letter-spacing:.55px;text-transform:uppercase;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:15px 17px;font-size:11px;font-weight:750}.sales-order-table tbody td,.sales-order-items-table tbody td{color:#475569;vertical-align:middle;border-bottom:1px solid #eef2f7;padding:16px 17px;font-size:13px}.sales-order-table tbody tr,.sales-order-items-table tbody tr{transition:background .18s}.sales-order-table tbody tr:hover,.sales-order-items-table tbody tr:hover{background:#f8faff}.sales-order-table tbody tr:last-child td,.sales-order-items-table tbody tr:last-child td{border-bottom:0}.sales-order-number{color:#4338ca;white-space:nowrap;font-size:13px;font-weight:750;text-decoration:none;display:inline-block}.sales-order-number:hover{color:#2563eb;text-decoration:underline}.sales-order-customer{color:#334155;align-items:center;gap:10px;min-width:130px;font-weight:600;display:flex}.sales-order-avatar{color:#4338ca;background:#eef2ff;border:1px solid #e0e7ff;border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;width:35px;height:35px;font-size:13px;font-weight:800;display:flex}.sales-order-amount{color:#0f766e;white-space:nowrap;font-weight:750}.sales-order-table td .btn{min-height:32px;transition:var(--so-transition);border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:5px;padding:7px 11px;font-size:12px;font-weight:750;line-height:1.2;text-decoration:none;display:inline-flex}.sales-order-table td .btn-outline-secondary{color:#1d4ed8;background:#eff6ff;border-color:#dbeafe}.sales-order-table td .btn-outline-secondary:hover{color:#fff;background:#2563eb;border-color:#2563eb;transform:translateY(-1px);box-shadow:0 4px 10px #2563eb33}.sales-order-table td .btn-outline-primary{color:#b45309;background:#fffbeb;border-color:#fde68a}.sales-order-table td .btn-outline-primary:hover{color:#fff;background:#d97706;border-color:#d97706;transform:translateY(-1px);box-shadow:0 4px 10px #d9770633}.sales-order-table td .btn-outline-danger{color:#dc2626;background:#fef2f2;border-color:#fecaca}.sales-order-table td .btn-outline-danger:hover{color:#fff;background:#dc2626;border-color:#dc2626;transform:translateY(-1px);box-shadow:0 4px 10px #dc262633}.sales-order-page-header .btn-outline-secondary{color:#475569;transition:var(--so-transition);background:#fff;border:1px solid #cbd5e1;border-radius:9px;font-size:13px;font-weight:700}.sales-order-page-header .btn-outline-secondary:hover{color:#334155;background:#f1f5f9;border-color:#94a3b8}.sales-order-page-header .btn-primary{color:#fff;transition:var(--so-transition);background:linear-gradient(135deg,#4f46e5,#2563eb);border:0;border-radius:9px;font-size:13px;font-weight:750;box-shadow:0 4px 10px #4f46e533}.sales-order-page-header .btn-primary:hover{color:#fff;background:linear-gradient(135deg,#4338ca,#1d4ed8);transform:translateY(-1px)}.sales-order-status{text-transform:capitalize;white-space:nowrap;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;min-width:78px;padding:6px 11px;font-size:11px;font-weight:800;line-height:1.3;display:inline-flex}.sales-order-status.pending{color:#a16207;background:#fef9c3;border-color:#fde68a}.sales-order-status.confirmed{color:#1d4ed8;background:#dbeafe;border-color:#bfdbfe}.sales-order-status.processing{color:#6d28d9;background:#ede9fe;border-color:#ddd6fe}.sales-order-status.completed{color:#047857;background:#d1fae5;border-color:#a7f3d0}.sales-order-status.cancelled{color:#b91c1c;background:#fee2e2;border-color:#fecaca}.sales-order-loading,.sales-order-loading-page{min-height:230px;color:var(--so-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:35px 20px;display:flex}.sales-order-loading .spinner-border,.sales-order-loading-page .spinner-border{border-width:3px;width:38px;height:38px}.sales-order-loading p,.sales-order-loading-page p{color:#64748b;margin:15px 0 0;font-size:13px}.sales-order-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:310px;padding:40px 20px;display:flex}.sales-order-empty-icon{color:#6366f1;background:#eef2ff;border-radius:22px;justify-content:center;align-items:center;width:70px;height:70px;margin-bottom:18px;font-size:28px;display:flex}.sales-order-empty h5{color:var(--so-text);margin:0 0 9px;font-size:17px;font-weight:750}.sales-order-empty p{color:var(--so-muted);margin:0 0 20px;font-size:13px;line-height:1.6}.sales-order-empty .btn-primary{color:#fff;background:var(--so-primary);border:0;border-radius:9px;padding:10px 16px;font-size:13px;font-weight:700}.sales-order-empty .btn-primary:hover{background:var(--so-primary-dark)}.sales-order-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding:24px;display:grid}.sales-order-form-group{flex-direction:column;min-width:0;display:flex}.sales-order-full-width{grid-column:1/-1}.sales-order-form-group>label{color:#334155;flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:9px;font-size:12px;font-weight:750;display:flex}.sales-order-form-group>label svg{color:#6366f1;font-size:13px}.sales-order-form-group>label span{color:#dc2626}.sales-order-form-group input,.sales-order-form-group select,.sales-order-form-group textarea{color:#1e293b;width:100%;min-height:43px;transition:var(--so-transition);background:#fff;border:1px solid #dbe2ea;border-radius:9px;outline:none;padding:11px 13px;font-family:inherit;font-size:13px}.sales-order-form-group textarea{resize:vertical;min-height:92px}.sales-order-form-group input:focus,.sales-order-form-group select:focus,.sales-order-form-group textarea:focus{background:#fff;border-color:#818cf8;box-shadow:0 0 0 4px #6366f11a}.sales-order-form-group input::-moz-placeholder{color:#94a3b8}.sales-order-form-group textarea::-moz-placeholder{color:#94a3b8}.sales-order-form-group input::placeholder,.sales-order-form-group textarea::placeholder{color:#94a3b8}.sales-order-form-group small{color:#94a3b8;margin-top:7px;font-size:11px;line-height:1.5}.sales-order-form-group input:disabled,.sales-order-form-group select:disabled,.sales-order-form-group textarea:disabled{cursor:not-allowed;background:#f1f5f9}.sales-order-add-item-btn{color:#4338ca;transition:var(--so-transition);background:#eef2ff;border:1px solid #c7d2fe;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:10px 15px;font-size:12px;font-weight:750;display:inline-flex}.sales-order-add-item-btn:hover{color:#fff;background:#4f46e5;border-color:#4f46e5;transform:translateY(-1px);box-shadow:0 4px 10px #4f46e52e}.sales-order-items-heading{flex-wrap:wrap}.sales-order-empty-items{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:35px 20px;display:flex}.sales-order-empty-items .sales-order-empty-icon{width:58px;height:58px;margin-bottom:14px;font-size:23px}.sales-order-empty-items h4{color:#334155;margin:0 0 7px;font-size:15px;font-weight:750}.sales-order-empty-items p{color:var(--so-muted);margin:0 0 17px;font-size:12px;line-height:1.6}.sales-order-product-cell{color:#334155;align-items:center;gap:10px;min-width:120px;font-weight:650;display:flex}.sales-order-product-icon{color:#4f46e5;background:#eef2ff;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:33px;height:33px;display:inline-flex}.sales-order-icon-btn{cursor:pointer;width:33px;height:33px;transition:var(--so-transition);border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;margin-left:4px;display:inline-flex}.sales-order-icon-btn.edit{color:#b45309;background:#fffbeb;border-color:#fde68a}.sales-order-icon-btn.edit:hover{color:#fff;background:#d97706;border-color:#d97706;transform:translateY(-1px)}.sales-order-icon-btn.delete{color:#dc2626;background:#fef2f2;border-color:#fecaca}.sales-order-icon-btn.delete:hover{color:#fff;background:#dc2626;border-color:#dc2626;transform:translateY(-1px)}.sales-order-total-card{border-radius:var(--so-radius);box-shadow:var(--so-shadow);background:#fff;border:1px solid #e2e8f0;margin-bottom:22px;padding:23px 25px}.sales-order-total-title{color:#334155;align-items:center;gap:10px;margin-bottom:18px;font-size:15px;font-weight:800;display:flex}.sales-order-total-title svg{color:#4f46e5;font-size:17px}.sales-order-total-row{color:#64748b;justify-content:space-between;align-items:center;gap:16px;padding:9px 0;font-size:13px;display:flex}.sales-order-total-row strong{color:#334155;text-align:right;font-weight:750}.sales-order-total-divider{background:#e2e8f0;height:1px;margin:12px 0}.sales-order-total-row.sales-order-grand-total{color:#0f172a;font-size:15px;font-weight:800}.sales-order-grand-total strong{color:#047857;align-items:center;gap:6px;font-size:22px;font-weight:850;display:inline-flex}.sales-order-form-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;margin-top:20px;display:flex}.sales-order-cancel-btn,.sales-order-save-btn{cursor:pointer;min-height:43px;transition:var(--so-transition);border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:11px 19px;font-size:13px;font-weight:750;text-decoration:none;display:inline-flex}.sales-order-cancel-btn{color:#475569;background:#fff;border:1px solid #cbd5e1}.sales-order-cancel-btn:hover{color:#1e293b;background:#f1f5f9;border-color:#94a3b8}.sales-order-save-btn{color:#fff;background:linear-gradient(135deg,#4f46e5,#2563eb);border:0;box-shadow:0 5px 12px #4f46e533}.sales-order-save-btn:hover:not(:disabled){color:#fff;background:linear-gradient(135deg,#4338ca,#1d4ed8);transform:translateY(-1px);box-shadow:0 7px 16px #4f46e547}.sales-order-save-btn:disabled{opacity:.65;cursor:not-allowed}.sales-order-modal-overlay{z-index:12000;-webkit-backdrop-filter:blur(5px);background:#0f172aa8;justify-content:center;align-items:center;padding:24px;animation:.18s ease-out soOverlayFadeIn;display:flex;position:fixed;inset:0;overflow-y:auto}.sales-order-modal-dialog{background:#f5f7fb;border:1px solid #ffffffb3;border-radius:18px;flex-direction:column;width:min(1120px,100%);max-height:calc(100vh - 48px);animation:.22s ease-out soModalSlideIn;display:flex;overflow:hidden;box-shadow:0 28px 90px #0000004d}.sales-order-modal-topbar{z-index:2;background:#fff;border-bottom:1px solid #e2e8f0;flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;padding:21px 27px;display:flex;position:relative}.sales-order-modal-topbar h4{color:#172033;letter-spacing:-.3px;margin:0;font-size:21px;font-weight:800}.sales-order-modal-topbar p{color:#64748b;margin:6px 0 0;font-size:12px;line-height:1.5}.sales-order-modal-close{color:#475569;cursor:pointer;width:39px;height:39px;transition:var(--so-transition);background:#f1f5f9;border:1px solid #e2e8f0;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.sales-order-modal-close:hover{color:#b91c1c;background:#fee2e2;border-color:#fecaca;transform:rotate(3deg)}.sales-order-modal-content{overscroll-behavior:contain;min-height:0;padding:23px;overflow-y:auto}.sales-order-modal-content>.sales-order-page{background:0 0;border-radius:0;width:100%;max-width:none;margin:0;padding:0}.sales-order-modal-content .sales-order-page-header{display:none}.sales-order-modal-content .sales-order-card{border-radius:12px;margin-bottom:19px}.sales-order-modal-content .sales-order-form-grid{gap:19px;padding:21px}.sales-order-modal-content .sales-order-total-card{margin-bottom:18px}.sales-order-modal-content .sales-order-form-actions{padding-bottom:2px}.sales-order-page{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.sales-order-modal-overlay{background:#0f172aad;z-index:999999!important;box-sizing:border-box!important;justify-content:center!important;align-items:center!important;width:100vw!important;height:100vh!important;padding:20px!important;display:flex!important;position:fixed!important;inset:0!important;overflow:hidden auto!important}.sales-order-modal-dialog{background:#f5f7fb;border-radius:16px;box-sizing:border-box!important;flex-direction:column!important;flex:0 1100px!important;width:calc(100vw - 40px)!important;min-width:0!important;max-width:1100px!important;max-height:calc(100vh - 40px)!important;margin:auto!important;display:flex!important;position:relative!important;overflow:hidden!important}.sales-order-modal-topbar{z-index:2;box-sizing:border-box;width:100%;min-width:0;position:relative;flex:none!important}.sales-order-modal-content{overscroll-behavior:contain;scrollbar-width:auto;scrollbar-color:#64748b #e2e8f0;box-sizing:border-box!important;flex:auto!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:0!important;max-height:calc(100vh - 120px)!important;padding:20px!important;display:block!important;overflow:auto!important}.sales-order-modal-content>.sales-order-page{box-sizing:border-box!important;background:0 0!important;border-radius:0!important;width:1200px!important;min-width:1200px!important;max-width:none!important;margin:0!important;padding:0!important}.sales-order-modal-content .sales-order-form-grid{gap:20px;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))!important;display:grid!important}.sales-order-modal-content .sales-order-form-group{min-width:0}.sales-order-modal-content input,.sales-order-modal-content select,.sales-order-modal-content textarea{max-width:100%}.sales-order-modal-content .table-responsive{width:100%;max-width:100%;overflow-x:auto!important}.sales-order-modal-content .sales-order-total-card,.sales-order-modal-content .sales-order-form-actions{width:100%;min-width:0}.sales-order-modal-content::-webkit-scrollbar{width:10px;height:12px}.sales-order-modal-content::-webkit-scrollbar-track{background:#e2e8f0;border-radius:8px}.sales-order-modal-content::-webkit-scrollbar-thumb{background:#64748b;border:2px solid #e2e8f0;border-radius:8px}.sales-order-modal-content::-webkit-scrollbar-thumb:hover{background:#475569}.sales-order-item-modal{position:relative;box-sizing:border-box!important;width:min(650px,100vw - 40px)!important;min-width:0!important;max-width:100%!important;max-height:calc(100vh - 40px)!important;overflow:hidden auto!important}.sales-order-modal-overlay:has(.sales-order-item-modal){z-index:1000000!important}@media (width<=768px){.sales-order-modal-overlay{padding:10px!important}.sales-order-modal-dialog{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;max-height:calc(100vh - 20px)!important}.sales-order-modal-topbar{padding:15px!important}.sales-order-modal-content{max-height:calc(100vh - 90px)!important;padding:12px!important}.sales-order-modal-content>.sales-order-page{width:1000px!important;min-width:1000px!important}.sales-order-modal-content .sales-order-form-grid{gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:16px!important}.sales-order-modal-topbar h4{font-size:18px}}@media (width<=480px){.sales-order-modal-content>.sales-order-page{width:900px!important;min-width:900px!important}.sales-order-modal-topbar p{font-size:11px}}.sales-order-modal-overlay{z-index:2147483647!important;box-sizing:border-box!important;justify-content:center!important;align-items:center!important;width:100vw!important;height:100dvh!important;padding:16px!important;display:flex!important;position:fixed!important;inset:0!important;overflow:auto!important}.sales-order-modal-dialog{box-sizing:border-box!important;flex-direction:column!important;width:min(1100px,100vw - 32px)!important;min-width:0!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 32px)!important;margin:auto!important;display:flex!important;overflow:hidden!important}.sales-order-modal-content{flex:auto!important;min-width:0!important;min-height:0!important;overflow:auto!important}.sales-order-page:has(.sales-order-summary-card){color:#172033;background:#f5f7fb;border-radius:18px;max-width:1500px;margin:0 auto;padding:28px}.sales-order-page:has(.sales-order-summary-card) .sales-order-page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;margin-bottom:26px;display:flex}.sales-order-page:has(.sales-order-summary-card) .sales-order-page-title{color:#172033;letter-spacing:-.6px;margin:0;font-size:clamp(23px,2.2vw,30px);font-weight:800}.sales-order-page:has(.sales-order-summary-card) .sales-order-page-subtitle{color:#64748b;margin:7px 0 0;font-size:14px}.sales-order-page:has(.sales-order-summary-card) .sales-order-page-header>div:last-child{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.sales-order-page:has(.sales-order-summary-card) .sales-order-page-header .btn{border-radius:10px;justify-content:center;align-items:center;min-height:40px;padding:9px 16px;font-size:13px;font-weight:700;text-decoration:none;transition:all .2s;display:inline-flex}.sales-order-page:has(.sales-order-summary-card) .row{--bs-gutter-x:1.25rem}:is(.sales-order-page:has(.sales-order-summary-card) .sales-order-summary-card,.sales-order-page:has(.sales-order-summary-card) .sales-order-details-card,.sales-order-page:has(.sales-order-summary-card) .sales-order-items-card){background:#fff;border:1px solid #e5eaf2;border-radius:16px;height:auto;overflow:hidden;box-shadow:0 8px 26px #0f172a0e}.sales-order-page:has(.sales-order-summary-card) .sales-order-summary-card{height:100%}.sales-order-page:has(.sales-order-summary-card) .sales-order-summary-card .card-body{padding:26px}.sales-order-page:has(.sales-order-summary-card) .sales-order-detail-icon{background:linear-gradient(135deg,#eef2ff,#e0e7ff);border:1px solid #dfe5ff;border-radius:16px;justify-content:center;align-items:center;width:58px;height:58px;margin-bottom:20px;font-size:27px;display:flex}.sales-order-page:has(.sales-order-summary-card) .sales-order-detail-number{color:#3730a3;overflow-wrap:anywhere;margin:0 0 8px;font-size:clamp(19px,2vw,25px);font-weight:800;line-height:1.3}.sales-order-page:has(.sales-order-summary-card) .sales-order-detail-customer{color:#64748b;overflow-wrap:anywhere;margin:0 0 16px;font-size:14px}.sales-order-page:has(.sales-order-summary-card) .sales-order-summary-divider{background:#e8edf5;height:1px;margin:22px 0 14px}.sales-order-page:has(.sales-order-summary-card) .sales-order-summary-row{border-bottom:1px solid #f0f3f8;justify-content:space-between;align-items:flex-start;gap:14px;padding:13px 0;font-size:13px;display:flex}.sales-order-page:has(.sales-order-summary-card) .sales-order-summary-row:last-child{border-bottom:0}.sales-order-page:has(.sales-order-summary-card) .sales-order-summary-row>span{color:#64748b;flex:1}.sales-order-page:has(.sales-order-summary-card) .sales-order-summary-row>strong{color:#263247;text-align:right;overflow-wrap:anywhere;font-weight:750}.sales-order-page:has(.sales-order-summary-card) .sales-order-summary-row .sales-order-total{color:#047857;font-size:16px}:is(.sales-order-page:has(.sales-order-summary-card) .sales-order-details-card,.sales-order-page:has(.sales-order-summary-card) .sales-order-items-card){margin-bottom:22px}:is(.sales-order-page:has(.sales-order-summary-card) .sales-order-details-card>.card-header,.sales-order-page:has(.sales-order-summary-card) .sales-order-items-card>.card-header){background:#fff;border-bottom:1px solid #edf1f7;padding:19px 24px}:is(.sales-order-page:has(.sales-order-summary-card) .sales-order-details-card .card-header h5,.sales-order-page:has(.sales-order-summary-card) .sales-order-items-card .card-header h5){color:#172033;margin:0;font-size:16px;font-weight:800}.sales-order-page:has(.sales-order-summary-card) .sales-order-details-card .card-body{padding:25px 24px 10px}.sales-order-page:has(.sales-order-summary-card) .sales-order-detail-label{color:#64748b;letter-spacing:.55px;text-transform:uppercase;margin-bottom:8px;font-size:11px;font-weight:800}.sales-order-page:has(.sales-order-summary-card) .sales-order-detail-value{color:#263247;overflow-wrap:anywhere;white-space:pre-wrap;background:#f8fafc;border:1px solid #edf1f6;border-radius:9px;min-height:42px;padding:11px 13px;font-size:13px;line-height:1.55}.sales-order-page:has(.sales-order-summary-card) .sales-order-items-card .table-responsive{width:100%;overflow-x:auto}.sales-order-page:has(.sales-order-summary-card) .sales-order-items-table{border-collapse:separate;border-spacing:0;width:100%;min-width:560px;margin:0}.sales-order-page:has(.sales-order-summary-card) .sales-order-items-table thead th{color:#64748b;letter-spacing:.5px;text-transform:uppercase;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:14px 18px;font-size:11px;font-weight:800}.sales-order-page:has(.sales-order-summary-card) .sales-order-items-table tbody td{color:#475569;vertical-align:middle;border-bottom:1px solid #eef2f7;padding:15px 18px;font-size:13px}.sales-order-page:has(.sales-order-summary-card) .sales-order-items-table tbody tr:last-child td{border-bottom:0}.sales-order-page:has(.sales-order-summary-card) .sales-order-items-table tbody tr:hover{background:#f8faff}:is(.sales-order-page:has(.sales-order-summary-card) .sales-order-loading-page,.sales-order-page:has(.sales-order-summary-card) .sales-order-empty){color:#64748b;text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:300px;padding:42px 24px;display:flex}.sales-order-page:has(.sales-order-summary-card) .sales-order-loading-page p{margin-top:14px}@media (width<=991.98px){.sales-order-page:has(.sales-order-summary-card){padding:20px}.sales-order-page:has(.sales-order-summary-card) .sales-order-summary-card .card-body{padding:22px}}@media (width<=767.98px){.sales-order-page:has(.sales-order-summary-card){border-radius:12px;padding:14px}.sales-order-page:has(.sales-order-summary-card) .sales-order-page-header{align-items:flex-start;margin-bottom:18px}.sales-order-page:has(.sales-order-summary-card) .sales-order-page-header>div:last-child{width:100%}.sales-order-page:has(.sales-order-summary-card) .sales-order-page-header .btn{flex:1}:is(.sales-order-page:has(.sales-order-summary-card) .sales-order-details-card .card-header,.sales-order-page:has(.sales-order-summary-card) .sales-order-items-card .card-header){padding:16px}.sales-order-page:has(.sales-order-summary-card) .sales-order-details-card .card-body{padding:18px 16px 5px}.sales-order-page:has(.sales-order-summary-card) .sales-order-detail-value{min-height:38px}.sales-order-page:has(.sales-order-summary-card) .sales-order-summary-card .card-body{padding:20px}}@media (width<=480px){.sales-order-page:has(.sales-order-summary-card){padding:10px}.sales-order-page:has(.sales-order-summary-card) .sales-order-page-title{font-size:22px}.sales-order-page:has(.sales-order-summary-card) .sales-order-page-subtitle{font-size:12px}.sales-order-page:has(.sales-order-summary-card) .sales-order-page-header .btn{padding:8px 10px;font-size:12px}}.invoice-page{background:#f5f7fb;min-height:100vh;padding:24px}.invoice-header{justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}.invoice-header h2{color:#1f2937;margin:0;font-size:26px;font-weight:700}.invoice-header p{color:#6b7280;margin:6px 0 0}.invoice-add-btn,.save-invoice-btn{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:7px;padding:11px 18px;font-weight:600;text-decoration:none}.invoice-add-btn:hover,.save-invoice-btn:hover{background:#1d4ed8}.invoice-card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 12px #0000000f}.invoice-toolbar{border-bottom:1px solid #e5e7eb;padding:18px}.invoice-search{border:1px solid #d1d5db;border-radius:7px;outline:none;width:100%;max-width:400px;padding:11px 13px}.invoice-search:focus{border-color:#2563eb}.invoice-table-wrapper{overflow-x:auto}.invoice-table{border-collapse:collapse;width:100%}.invoice-table th{text-align:left;color:#475569;white-space:nowrap;background:#f8fafc;padding:14px;font-size:13px}.invoice-table td{color:#374151;border-top:1px solid #eef0f3;padding:14px}.invoice-number{font-weight:700;color:#2563eb!important}.invoice-amount{font-weight:700}.invoice-status{border-radius:20px;padding:5px 10px;font-size:12px;font-weight:600;display:inline-block}.invoice-actions{gap:7px;display:flex}.invoice-actions a,.invoice-actions button{cursor:pointer;border:none;border-radius:5px;padding:6px 9px;font-size:12px;text-decoration:none}.action-view{color:#0369a1;background:#e0f2fe}.action-edit{color:#92400e;background:#fef3c7}.action-delete{color:#b91c1c;background:#fee2e2}.invoice-loading,.invoice-empty{text-align:center;color:#6b7280;padding:50px}.invoice-form-card{background:#fff;border-radius:10px;padding:25px;box-shadow:0 2px 12px #0000000f}.invoice-form-grid{grid-template-columns:repeat(3,1fr);gap:18px;display:grid}.form-group label,.invoice-notes label{color:#374151;font-size:13px;font-weight:600}.form-group input,.form-group select,.invoice-notes textarea{background:#fff;border:1px solid #d1d5db;border-radius:6px;outline:none;width:100%;padding:10px 12px}.form-group input:focus,.form-group select:focus,.invoice-notes textarea:focus{border-color:#2563eb}.invoice-items-section{margin-top:30px}.invoice-items-header{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.invoice-items-header h3{color:#1f2937;margin:0}.add-item-btn{color:#fff;cursor:pointer;background:#16a34a;border:none;border-radius:6px;padding:9px 14px;font-weight:600}.invoice-items-wrapper{overflow-x:auto}.invoice-items-table{border-collapse:collapse;width:100%;min-width:850px}.invoice-items-table th{text-align:left;background:#f8fafc;padding:11px;font-size:12px}.invoice-items-table td{border-top:1px solid #e5e7eb;padding:9px}.invoice-items-table input,.invoice-items-table select{border:1px solid #d1d5db;border-radius:5px;width:100%;min-width:80px;padding:8px}.item-total{white-space:nowrap;font-weight:700}.remove-item-btn{color:#dc2626;cursor:pointer;background:#fee2e2;border:none;border-radius:5px;width:30px;height:30px;font-size:20px}.invoice-bottom{justify-content:space-between;gap:40px;margin-top:30px;display:flex}.invoice-notes{flex:1}.invoice-notes textarea{resize:vertical}.invoice-summary{width:350px}.invoice-summary>div{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;padding:9px 0;display:flex}.invoice-summary input{border:1px solid #d1d5db;border-radius:5px;width:130px;padding:8px}.grand-total{margin-top:10px;font-size:18px;border-bottom:none!important}.grand-total strong{color:#2563eb}.invoice-form-actions{border-top:1px solid #e5e7eb;justify-content:flex-end;gap:12px;margin-top:30px;padding-top:20px;display:flex}.cancel-btn{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:7px;padding:11px 18px}.invoice-details-page{background:#f5f7fb;min-height:100vh;padding:24px}.invoice-detail-actions{justify-content:flex-end;gap:10px;margin-bottom:20px;display:flex}.back-btn,.edit-invoice-btn,.print-invoice-btn{cursor:pointer;border:none;border-radius:6px;padding:9px 15px;text-decoration:none}.back-btn{color:#374151;background:#e5e7eb}.edit-invoice-btn{color:#92400e;background:#fef3c7}.print-invoice-btn{color:#fff;background:#2563eb}.printable-invoice{background:#fff;max-width:1000px;margin:auto;padding:45px;box-shadow:0 2px 15px #00000014}.invoice-print-header{border-bottom:2px solid #2563eb;justify-content:space-between;padding-bottom:25px;display:flex}.invoice-print-header h1{color:#2563eb;margin:0;font-size:34px}.invoice-print-header h2{margin:0 0 5px}.invoice-print-header p{color:#6b7280;margin:3px 0}.invoice-info-grid{grid-template-columns:1fr 1fr;margin:30px 0;display:grid}.invoice-info-grid h4{color:#6b7280;margin-top:0}.invoice-info-grid p{margin:6px 0}.invoice-detail-table{border-collapse:collapse;width:100%}.invoice-detail-table th{text-align:left;background:#f1f5f9;padding:12px}.invoice-detail-table td{border-bottom:1px solid #e5e7eb;padding:12px}.invoice-total-section{justify-content:flex-end;margin-top:25px;display:flex}.invoice-total-box{width:350px}.invoice-total-box>div{justify-content:space-between;padding:8px 0;display:flex}.invoice-final-total{border-top:2px solid #111827;margin-top:8px;font-size:20px;padding-top:14px!important}.invoice-final-total strong{color:#2563eb}.invoice-notes-display{border-top:1px solid #e5e7eb;margin-top:35px;padding-top:20px}.invoice-notes-display h4{margin-bottom:7px}.invoice-footer{text-align:center;color:#6b7280;border-top:1px solid #e5e7eb;margin-top:50px;padding-top:20px}@media (width<=900px){.invoice-form-grid{grid-template-columns:1fr 1fr}.invoice-bottom{flex-direction:column}.invoice-summary{width:100%}}@media (width<=600px){.invoice-page,.invoice-details-page{padding:12px}.invoice-header{flex-direction:column;align-items:flex-start;gap:15px}.invoice-form-grid{grid-template-columns:1fr}.printable-invoice{padding:20px}.invoice-info-grid{grid-template-columns:1fr;gap:20px}}@media print{body *{visibility:hidden}.printable-invoice,.printable-invoice *{visibility:visible}.printable-invoice{width:100%;max-width:none;box-shadow:none;margin:0;position:absolute;top:0;left:0}.invoice-detail-actions{display:none!important}@page{margin:15mm}}.invoice-page{color:#172033}.invoice-page-heading{background:linear-gradient(135deg,#fff 0%,#f7f9ff 100%);border:1px solid #dce4f0;border-radius:18px;align-items:center;gap:18px;margin-bottom:22px;padding:22px 24px;display:flex;box-shadow:0 7px 24px #1b2f590f}.invoice-heading-icon{color:#fff;background:linear-gradient(135deg,#4f46e5,#7c3aed);border-radius:16px;flex:0 0 58px;place-items:center;width:58px;height:58px;font-size:28px;font-weight:700;display:grid;box-shadow:0 8px 18px #4f46e538}.invoice-heading-copy{flex:1;min-width:0}.invoice-eyebrow{color:#6366f1;letter-spacing:1.5px;margin:0 0 5px;font-size:10px;font-weight:800}.invoice-heading-copy h2{color:#172033;letter-spacing:-.6px;margin:0;font-size:clamp(22px,2.2vw,29px);font-weight:800}.invoice-heading-copy>p:last-child{color:#68758b;margin:6px 0 0;font-size:13px}.invoice-add-btn{color:#fff;min-height:44px;font:inherit;white-space:nowrap;cursor:pointer;background:linear-gradient(135deg,#4f46e5,#6d28d9);border:0;border-radius:11px;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-size:13px;font-weight:750;text-decoration:none;transition:transform .18s,box-shadow .18s;display:inline-flex;box-shadow:0 7px 16px #4f46e533}.invoice-add-btn:hover{color:#fff;transform:translateY(-1px);box-shadow:0 10px 22px #4f46e547}.invoice-btn-plus{font-size:21px;line-height:1}.invoice-stats-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:22px;display:grid}.invoice-stat-card{background:#fff;border:1px solid #e4e9f2;border-radius:15px;min-width:0;padding:17px 18px 16px;transition:transform .18s,box-shadow .18s;box-shadow:0 5px 18px #1b2f590b}.invoice-stat-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px #1b2f5914}.invoice-stat-top{align-items:center;gap:9px;min-width:0;display:flex}.invoice-stat-icon{color:#4f46e5;background:#eef2ff;border-radius:10px;flex:0 0 34px;place-items:center;width:34px;height:34px;font-size:17px;font-weight:800;display:grid}.invoice-stat-caption{color:#68758b;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;overflow:hidden}.invoice-stat-number{color:#172033;letter-spacing:-.6px;margin-top:13px;font-size:clamp(23px,2vw,30px);font-weight:800;line-height:1.15;display:block}.invoice-stat-currency{overflow-wrap:anywhere;font-size:clamp(18px,1.6vw,24px)}.invoice-stat-foot{color:#8a95a8;margin-top:7px;font-size:11px;line-height:1.4;display:block}.invoice-stat-paid .invoice-stat-icon{color:#15803d;background:#dcfce7}.invoice-stat-pending .invoice-stat-icon{color:#b45309;background:#fef3c7}.invoice-stat-overdue .invoice-stat-icon{color:#dc2626;background:#fee2e2}.invoice-stat-value .invoice-stat-icon{color:#0369a1;background:#e0f2fe}.invoice-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;box-shadow:0 7px 24px #1b2f590d}.invoice-list-toolbar{border-bottom:1px solid #edf0f6;justify-content:space-between;align-items:center;gap:18px;padding:21px 22px;display:flex}.invoice-list-toolbar h3{color:#172033;margin:0;font-size:17px;font-weight:800}.invoice-list-toolbar p{color:#8791a3;margin:5px 0 0;font-size:12px}.invoice-search-wrap{color:#7a8599;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:9px;width:min(100%,340px);min-height:42px;padding:0 12px;display:flex}.invoice-search-wrap>span{font-size:22px;line-height:1}.invoice-search-wrap .invoice-search{color:#253047;width:100%;min-width:0;font:inherit;box-shadow:none;background:0 0;border:0;outline:none;padding:0;font-size:12px}.invoice-search-wrap:focus-within{background:#fff;border-color:#818cf8;box-shadow:0 0 0 3px #6366f11a}.invoice-table-wrapper{width:100%;overflow-x:auto}.invoice-table{border-collapse:separate;border-spacing:0;width:100%;min-width:900px}.invoice-table thead th{color:#6b7890;letter-spacing:.65px;text-align:left;text-transform:uppercase;white-space:nowrap;background:#f8fafc;border-bottom:1px solid #e7ebf2;padding:14px 16px;font-size:10px;font-weight:800}.invoice-table tbody td{color:#566176;vertical-align:middle;border-bottom:1px solid #edf0f5;padding:15px 16px;font-size:12px}.invoice-table tbody tr:last-child td{border-bottom:0}.invoice-table tbody tr:hover{background:#fafbff}.invoice-number{color:#4338ca;letter-spacing:.1px;font-weight:800;display:inline-block}.invoice-customer-name{color:#293449;font-weight:650}.invoice-amount{white-space:nowrap;font-weight:800;color:#172033!important}.invoice-status{text-transform:capitalize;white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:5px 9px;font-size:10px;font-weight:800;line-height:1.2;display:inline-flex}.status-paid{color:#15803d;background:#dcfce7}.status-pending{color:#a16207;background:#fef3c7}.status-overdue{color:#b91c1c;background:#fee2e2}.status-cancelled{color:#64748b;background:#e2e8f0}.status-default{color:#475569;background:#f1f5f9}.invoice-actions{white-space:nowrap;align-items:center;gap:6px;display:flex}.invoice-actions .action-view,.invoice-actions .action-edit,.invoice-actions .action-delete{min-height:30px;font:inherit;cursor:pointer;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;padding:0 9px;font-size:11px;font-weight:750;text-decoration:none;transition:background .15s,border-color .15s;display:inline-flex}.invoice-actions .action-view{color:#4338ca;background:#eef2ff;border-color:#e0e7ff}.invoice-actions .action-view:hover{background:#e0e7ff}.invoice-actions .action-edit{color:#0369a1;background:#e0f2fe;border-color:#bae6fd}.invoice-actions .action-edit:hover{background:#bae6fd}.invoice-actions .action-delete{color:#b91c1c;background:#fff1f2;border-color:#ffe4e6}.invoice-actions .action-delete:hover{background:#ffe4e6}.invoice-empty{height:175px;text-align:center!important;color:#8a95a8!important}.invoice-empty>*{margin:5px auto;display:block}.invoice-empty strong{color:#374151;font-size:14px}.invoice-empty span:last-child{font-size:12px}.invoice-empty-icon{color:#a5b4fc;font-size:30px}.invoice-loading{color:#64748b;justify-content:center;align-items:center;gap:10px;min-height:180px;font-size:13px;display:flex}.invoice-loading-spinner{border:2px solid #e0e7ff;border-top-color:#4f46e5;border-radius:50%;width:17px;height:17px;animation:.7s linear infinite invoice-spin}@keyframes invoice-spin{to{transform:rotate(360deg)}}.invoice-modal-backdrop{z-index:1200;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0f172a9e;justify-content:center;align-items:center;padding:22px;animation:.18s ease-out invoice-fade-in;display:flex;position:fixed;inset:0}.invoice-modal{background:#f8fafc;border:1px solid #ffffff73;border-radius:18px;width:min(1120px,100%);max-height:calc(100vh - 44px);animation:.2s ease-out invoice-modal-up;position:relative;overflow:auto;box-shadow:0 24px 80px #0206174d}.invoice-modal-close{z-index:5;float:right;color:#475569;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:10px;place-items:center;width:36px;height:36px;margin:12px 12px -48px 0;font-size:27px;line-height:1;display:grid;position:sticky;top:12px;box-shadow:0 3px 10px #0f172a14}.invoice-modal-close:hover{color:#b91c1c;background:#fff1f2}.invoice-form-modal-content{background:0 0;width:100%;max-width:none;margin:0;padding:25px}.invoice-form-modal-content>.invoice-header{box-shadow:none;background:0 0;border:0;margin-bottom:16px;padding:0 48px 17px 0}.invoice-form-modal-content .invoice-form-card{box-shadow:none;margin:0}.invoice-form-modal-content .invoice-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@keyframes invoice-fade-in{0%{opacity:0}to{opacity:1}}@keyframes invoice-modal-up{0%{opacity:0;transform:translateY(12px)scale(.99)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=1200px){.invoice-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=760px){.invoice-page-heading{flex-wrap:wrap;align-items:flex-start;padding:18px}.invoice-heading-icon{border-radius:13px;flex-basis:46px;width:46px;height:46px}.invoice-heading-copy{flex:calc(100% - 70px)}.invoice-page-heading .invoice-add-btn{width:100%}.invoice-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.invoice-stat-card{padding:13px}.invoice-stat-top{align-items:flex-start}.invoice-stat-icon{flex-basis:30px;width:30px;height:30px}.invoice-stat-caption{white-space:normal}.invoice-list-toolbar{flex-direction:column;align-items:stretch;padding:17px}.invoice-search-wrap{box-sizing:border-box;width:100%}.invoice-modal-backdrop{align-items:flex-start;padding:8px}.invoice-modal{border-radius:13px;max-height:calc(100vh - 16px)}.invoice-form-modal-content{padding:18px 12px}.invoice-form-modal-content .invoice-form-grid{grid-template-columns:1fr}.invoice-modal-close{margin:6px 6px -42px 0;top:6px}}@media (width<=420px){.invoice-stats-grid{grid-template-columns:1fr}.invoice-stat-card{padding:14px 16px}}.invoice-details-page{--invoice-primary:#4f46e5;--invoice-primary-dark:#3730a3;--invoice-ink:#172033;--invoice-muted:#64748b;--invoice-border:#e2e8f0;--invoice-surface:#fff;--invoice-soft:#f8fafc;width:100%;max-width:1440px;color:var(--invoice-ink);box-sizing:border-box;margin:0 auto;padding:28px;animation:.35s both invoiceDetailsFadeIn}.invoice-details-page *,.invoice-details-page :before,.invoice-details-page :after{box-sizing:border-box}@keyframes invoiceDetailsFadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.invoice-details-page .invoice-detail-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;max-width:1120px;margin:0 auto 22px;display:flex}.invoice-details-page .invoice-detail-actions a,.invoice-details-page .invoice-detail-actions button{min-height:42px;font:inherit;cursor:pointer;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px 17px;font-size:14px;font-weight:700;text-decoration:none;transition:transform .18s,box-shadow .18s,background .18s;display:inline-flex}.invoice-details-page .invoice-detail-actions a:hover,.invoice-details-page .invoice-detail-actions button:hover{transform:translateY(-2px)}.invoice-details-page .back-btn{color:#334155;background:#fff;margin-right:auto;border-color:var(--invoice-border)!important}.invoice-details-page .back-btn:hover{background:#f1f5f9;box-shadow:0 5px 14px #0f172a12}.invoice-details-page .edit-invoice-btn{color:#fff;background:var(--invoice-primary);box-shadow:0 5px 12px #4f46e52e}.invoice-details-page .edit-invoice-btn:hover{background:var(--invoice-primary-dark);box-shadow:0 8px 18px #4f46e53d}.invoice-details-page .print-invoice-btn{color:#fff;background:#0f766e;box-shadow:0 5px 12px #0f766e29}.invoice-details-page .print-invoice-btn:hover{background:#115e59}.invoice-details-page .printable-invoice{background:var(--invoice-surface);border:1px solid #e5eaf2;border-radius:20px;width:100%;max-width:1120px;margin:0 auto;padding:42px 46px;overflow:hidden;box-shadow:0 18px 50px #0f172a14}.invoice-details-page .invoice-print-header{border-bottom:2px solid var(--invoice-ink);justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:30px;display:flex}.invoice-details-page .invoice-print-header h1{color:var(--invoice-primary);letter-spacing:2px;margin:0 0 10px;font-size:clamp(30px,4vw,42px);font-weight:850;line-height:1.1}.invoice-details-page .invoice-print-header>div:first-child p{color:#4338ca;letter-spacing:.4px;background:#eef2ff;border:1px solid #c7d2fe;border-radius:7px;align-items:center;min-height:30px;margin:0;padding:5px 11px;font-size:13px;font-weight:800;display:inline-flex}.invoice-details-page .invoice-company{text-align:right;min-width:190px}.invoice-details-page .invoice-company h2{color:var(--invoice-ink);margin:0 0 8px;font-size:20px;font-weight:800}.invoice-details-page .invoice-company p{color:var(--invoice-muted);margin:4px 0;font-size:13px;line-height:1.6}.invoice-details-page .invoice-info-grid{border-bottom:1px solid var(--invoice-border);grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:28px;padding:28px 0;display:grid}.invoice-details-page .invoice-info-grid>div{min-width:0}.invoice-details-page .invoice-info-grid>div:first-child{background:linear-gradient(135deg,#f8faff,#f1f5ff);border:1px solid #e0e7ff;border-radius:13px;padding:19px 21px}.invoice-details-page .invoice-info-grid h4{color:var(--invoice-muted);letter-spacing:1.4px;text-transform:uppercase;margin:0 0 12px;font-size:11px;font-weight:800}.invoice-details-page .invoice-info-grid>div:first-child strong{color:var(--invoice-ink);overflow-wrap:anywhere;font-size:18px;font-weight:800;display:block}.invoice-details-page .invoice-info-grid>div:nth-child(2){flex-direction:column;justify-content:center;gap:12px;padding:8px 2px;display:flex}.invoice-details-page .invoice-info-grid>div:nth-child(2) p{color:var(--invoice-muted);border-bottom:1px dashed #dbe3ed;justify-content:space-between;gap:14px;margin:0;padding-bottom:10px;font-size:13px;display:flex}.invoice-details-page .invoice-info-grid>div:nth-child(2) p:last-child{border-bottom:0;padding-bottom:0}.invoice-details-page .invoice-info-grid>div:nth-child(2) p strong{color:#334155;font-weight:750}.invoice-details-page .invoice-detail-table{border-collapse:separate;border-spacing:0;width:100%;margin:28px 0 0;font-size:13px}.invoice-details-page .invoice-detail-table thead th{color:#fff;text-align:left;white-space:nowrap;letter-spacing:.65px;text-transform:uppercase;background:#202b43;border:0;padding:15px 13px;font-size:11px;font-weight:800}.invoice-details-page .invoice-detail-table thead th:first-child{border-radius:9px 0 0}.invoice-details-page .invoice-detail-table thead th:last-child{text-align:right;border-radius:0 9px 0 0}.invoice-details-page .invoice-detail-table tbody td{color:#475569;vertical-align:middle;background:#fff;border-bottom:1px solid #e9eef5;padding:16px 13px}.invoice-details-page .invoice-detail-table tbody tr:nth-child(2n) td{background:#f8fafc}.invoice-details-page .invoice-detail-table tbody tr:hover td{background:#f1f5f9}.invoice-details-page .invoice-detail-table tbody td:first-child{color:#94a3b8;font-weight:700}.invoice-details-page .invoice-detail-table tbody td:nth-child(2){color:#1e293b;overflow-wrap:anywhere;font-weight:700}.invoice-details-page .invoice-detail-table tbody td:last-child{color:#172033;text-align:right;white-space:nowrap;font-weight:800}.invoice-details-page .invoice-total-section{justify-content:flex-end;padding:24px 0 0;display:flex}.invoice-details-page .invoice-total-box{border:1px solid var(--invoice-border);background:#f8fafc;border-radius:14px;width:100%;max-width:390px;padding:20px 22px}.invoice-details-page .invoice-total-box>div{color:var(--invoice-muted);border-bottom:1px solid #e7edf4;justify-content:space-between;align-items:center;gap:18px;padding:11px 0;font-size:14px;display:flex}.invoice-details-page .invoice-total-box>div strong{color:#334155;text-align:right;white-space:nowrap;font-size:14px;font-weight:750}.invoice-details-page .invoice-total-box .invoice-final-total{color:#fff;background:linear-gradient(135deg,#4f46e5,#3730a3);border:0;border-radius:10px;margin-top:7px;padding:17px 15px}.invoice-details-page .invoice-total-box .invoice-final-total span,.invoice-details-page .invoice-total-box .invoice-final-total strong{color:#fff}.invoice-details-page .invoice-total-box .invoice-final-total span{font-size:14px;font-weight:750}.invoice-details-page .invoice-total-box .invoice-final-total strong{font-size:21px;font-weight:850}.invoice-details-page .invoice-notes-display{background:#fffbeb;border:1px solid #fde68a;border-left:4px solid #f59e0b;border-radius:10px;margin-top:28px;padding:18px 20px}.invoice-details-page .invoice-notes-display h4{color:#92400e;margin:0 0 8px;font-size:13px;font-weight:800}.invoice-details-page .invoice-notes-display p{color:#78350f;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.7}.invoice-details-page .invoice-footer{border-top:1px solid var(--invoice-border);text-align:center;margin-top:32px;padding-top:20px}.invoice-details-page .invoice-footer p{color:#64748b;margin:0;font-size:13px;font-style:italic}:is(.invoice-details-page:has(.invoice-loading),.invoice-details-page:has(.invoice-empty)){min-height:280px}.invoice-details-page .invoice-loading,.invoice-details-page .invoice-empty{color:#64748b;text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:16px;justify-content:center;align-items:center;min-height:220px;padding:28px;font-size:15px;font-weight:700;display:flex}@media (width<=900px){.invoice-details-page{padding:20px}.invoice-details-page .printable-invoice{padding:30px 26px}.invoice-details-page .invoice-info-grid{gap:18px}.invoice-details-page .invoice-detail-table{min-width:700px}.invoice-details-page .printable-invoice{overflow-x:auto}}@media (width<=600px){.invoice-details-page{padding:12px}.invoice-details-page .invoice-detail-actions{justify-content:stretch;gap:8px;margin-bottom:14px}.invoice-details-page .invoice-detail-actions a,.invoice-details-page .invoice-detail-actions button{flex:auto;min-height:40px;padding:9px 11px;font-size:12px}.invoice-details-page .invoice-detail-actions .back-btn{margin-right:0}.invoice-details-page .printable-invoice{border-radius:14px;padding:22px 16px}.invoice-details-page .invoice-print-header{flex-direction:column;gap:20px;padding-bottom:22px}.invoice-details-page .invoice-print-header h1{font-size:32px}.invoice-details-page .invoice-company{text-align:left}.invoice-details-page .invoice-info-grid{grid-template-columns:1fr;gap:16px;padding:20px 0}.invoice-details-page .invoice-info-grid>div:nth-child(2){padding:4px 0}.invoice-details-page .invoice-detail-table{margin-top:20px}.invoice-details-page .invoice-total-section{padding-top:18px}.invoice-details-page .invoice-total-box{max-width:none;padding:16px}.invoice-details-page .invoice-total-box .invoice-final-total strong{font-size:18px}}@media print{@page{size:A4;margin:12mm}body *{visibility:hidden!important}#printableInvoice,#printableInvoice *{visibility:visible!important}.invoice-details-page{background:#fff!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;position:absolute!important;inset:0 auto auto 0!important}.invoice-details-page .invoice-detail-actions{display:none!important}.invoice-details-page .printable-invoice{width:100%!important;max-width:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;position:static!important;overflow:visible!important}.invoice-details-page .invoice-print-header,.invoice-details-page .invoice-info-grid,.invoice-details-page .invoice-total-section,.invoice-details-page .invoice-notes-display,.invoice-details-page .invoice-footer,.invoice-details-page .invoice-detail-table{-moz-column-break-inside:avoid;break-inside:avoid}.invoice-details-page .invoice-detail-table thead th{-webkit-print-color-adjust:exact;print-color-adjust:exact;color:#fff!important;background:#202b43!important}.invoice-details-page .invoice-total-box .invoice-final-total{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#3730a3!important}.invoice-details-page .invoice-detail-table tbody tr:hover td{background:inherit!important}}.invoice-modal-backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:99999!important;box-sizing:border-box!important;background:#0f172a9e!important;justify-content:center!important;align-items:center!important;padding:24px!important;display:flex!important;position:fixed!important;inset:0!important;overflow:hidden auto!important}.invoice-modal{animation:.22s ease-out both invoiceModalCenteredIn;box-sizing:border-box!important;background:#fff!important;border:1px solid #e2e8f0f2!important;border-radius:18px!important;flex:0 1120px!important;width:min(1120px,100vw - 48px)!important;min-width:0!important;max-width:calc(100vw - 48px)!important;max-height:calc(100vh - 48px)!important;margin:auto!important;padding:0!important;display:block!important;position:relative!important;overflow:hidden auto!important;box-shadow:0 28px 90px #02061752!important}@keyframes invoiceModalCenteredIn{0%{opacity:0;transform:translateY(10px)scale(.99)}to{opacity:1;transform:translateY(0)scale(1)}}.invoice-modal .invoice-form-modal-content{box-sizing:border-box!important;background:#fff!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0 auto!important;padding:28px!important;display:block!important;overflow:visible!important}.invoice-modal .invoice-form-modal-content>.invoice-header{box-sizing:border-box!important;border-bottom:1px solid #e2e8f0!important;width:100%!important;min-width:0!important;margin:0 0 20px!important;padding:0 48px 18px 0!important}.invoice-modal .invoice-form-modal-content .invoice-form-card{box-sizing:border-box!important;border:1px solid #e2e8f0!important;border-radius:14px!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:24px!important;overflow:visible!important;box-shadow:0 5px 20px #0f172a0b!important}.invoice-modal .invoice-form-modal-content .invoice-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;width:100%!important;min-width:0!important;display:grid!important}.invoice-modal .invoice-form-modal-content .form-group{width:100%!important;min-width:0!important}.invoice-modal .invoice-form-modal-content input,.invoice-modal .invoice-form-modal-content select,.invoice-modal .invoice-form-modal-content textarea{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important}.invoice-modal .invoice-items-section{width:100%!important;min-width:0!important;max-width:100%!important}.invoice-modal .invoice-items-header{flex-wrap:wrap!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;display:flex!important}.invoice-modal .invoice-items-wrapper{overscroll-behavior-x:contain;scrollbar-width:auto;scrollbar-color:#64748b #e2e8f0;border:1px solid #e2e8f0;border-radius:10px;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;display:block!important;overflow:auto hidden!important}.invoice-modal .invoice-items-wrapper::-webkit-scrollbar{height:12px}.invoice-modal .invoice-items-wrapper::-webkit-scrollbar-track{background:#e2e8f0;border-radius:8px}.invoice-modal .invoice-items-wrapper::-webkit-scrollbar-thumb{background:#64748b;border:2px solid #e2e8f0;border-radius:8px}.invoice-modal .invoice-items-table{border-collapse:collapse;width:100%!important;min-width:850px!important}.invoice-modal .invoice-bottom{grid-template-columns:minmax(0,1fr) minmax(280px,350px)!important;align-items:start!important;gap:28px!important;width:100%!important;min-width:0!important;display:grid!important}.invoice-modal .invoice-notes,.invoice-modal .invoice-summary{width:100%!important;min-width:0!important;max-width:100%!important}.invoice-modal .invoice-summary input{max-width:130px!important}.invoice-modal .invoice-form-actions{flex-wrap:wrap!important;justify-content:flex-end!important;gap:12px!important;display:flex!important}.invoice-modal .invoice-modal-close{cursor:pointer;float:right!important;z-index:10!important;color:#334155!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:10px!important;justify-content:center!important;align-items:center!important;width:38px!important;height:38px!important;margin:10px 10px -48px 0!important;font-size:26px!important;line-height:1!important;display:flex!important;position:sticky!important;top:10px!important}@media (width<=900px){.invoice-modal-backdrop{padding:16px!important}.invoice-modal{flex-basis:100%!important;width:calc(100vw - 32px)!important;max-width:calc(100vw - 32px)!important;max-height:calc(100vh - 32px)!important}.invoice-modal .invoice-form-modal-content{padding:22px!important}.invoice-modal .invoice-form-modal-content .invoice-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (width<=600px){.invoice-modal-backdrop{align-items:flex-start!important;padding:8px!important}.invoice-modal{border-radius:13px!important;width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100vh - 16px)!important}.invoice-modal .invoice-form-modal-content{padding:18px 12px!important}.invoice-modal .invoice-form-modal-content>.invoice-header{padding:0 42px 14px 0!important}.invoice-modal .invoice-form-modal-content .invoice-form-card{padding:16px 12px!important}.invoice-modal .invoice-form-modal-content .invoice-form-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}.invoice-modal .invoice-bottom{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}.invoice-modal .invoice-summary{width:100%!important}.invoice-modal .invoice-modal-close{width:34px!important;height:34px!important;margin:8px 8px -42px 0!important}}body:has(.invoice-modal-backdrop){overflow:hidden}.invoice-modal-backdrop{z-index:2147483647!important;box-sizing:border-box!important;background:#0f172aad!important;justify-content:center!important;align-items:center!important;width:100%!important;height:100%!important;padding:20px!important;display:flex!important;position:fixed!important;inset:0!important;overflow:auto!important}.invoice-modal-backdrop,.invoice-modal-backdrop *{box-sizing:border-box}.invoice-modal{transform:none;background:#fff!important;border-radius:16px!important;flex:0 1120px!important;width:100%!important;min-width:0!important;max-width:1120px!important;max-height:calc(100% - 1px)!important;margin:auto!important;padding:0!important;position:relative!important;overflow:hidden auto!important;box-shadow:0 24px 80px #00000059!important}.invoice-modal .invoice-form-modal-content{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:26px!important}.invoice-modal .invoice-form-card{width:100%!important;min-width:0!important;max-width:100%!important}.invoice-modal .invoice-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;display:grid!important}.invoice-modal .invoice-items-wrapper{width:100%!important;max-width:100%!important;overflow:auto hidden!important}.invoice-modal .invoice-items-table{width:100%!important;min-width:850px!important}.invoice-modal .invoice-modal-close{z-index:10!important;float:right!important;margin:8px 8px -46px 0!important;position:sticky!important;top:8px!important}@media (width<=900px){.invoice-modal .invoice-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (width<=600px){.invoice-modal-backdrop{align-items:flex-start!important;padding:8px!important}.invoice-modal{flex-basis:100%!important;max-width:100%!important;max-height:calc(100vh - 16px)!important}.invoice-modal .invoice-form-modal-content{padding:16px 12px!important}.invoice-modal .invoice-form-grid,.invoice-modal .invoice-bottom{grid-template-columns:minmax(0,1fr)!important}}.payment-page{background:#f5f7fb;min-height:100vh;padding:24px}.payment-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;display:flex}.payment-header h2{color:#1f2937;margin:0;font-size:26px;font-weight:700}.payment-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.payment-header-actions{align-items:center;gap:10px;display:flex}.payment-add-btn,.payment-save-btn,.payment-edit-btn,.payment-back-btn,.payment-cancel-btn{cursor:pointer;border:none;border-radius:6px;justify-content:center;align-items:center;padding:10px 18px;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex}.payment-add-btn{color:#fff;background:#2563eb}.payment-add-btn:hover{color:#fff;background:#1d4ed8}.payment-save-btn{color:#fff;background:#2563eb}.payment-save-btn:hover{background:#1d4ed8}.payment-save-btn:disabled{opacity:.6;cursor:not-allowed}.payment-cancel-btn{color:#374151;background:#e5e7eb}.payment-cancel-btn:hover{background:#d1d5db}.payment-back-btn{color:#374151;background:#e5e7eb}.payment-back-btn:hover{color:#111827;background:#d1d5db}.payment-edit-btn{color:#fff;background:#2563eb}.payment-edit-btn:hover{color:#fff;background:#1d4ed8}.payment-filter-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;gap:14px;margin-bottom:18px;padding:16px;display:flex}.payment-search-box{flex:1}.payment-search-box input,.payment-status-filter select{background:#fff;border:1px solid #d1d5db;border-radius:6px;outline:none;width:100%;height:42px;padding:0 12px;font-size:14px}.payment-search-box input:focus,.payment-status-filter select:focus{border-color:#2563eb}.payment-status-filter{width:180px}.payment-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.payment-table-wrapper{width:100%;overflow-x:auto}.payment-table{border-collapse:collapse;width:100%;min-width:1100px}.payment-table th{color:#4b5563;text-align:left;white-space:nowrap;background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:13px 14px;font-size:13px;font-weight:700}.payment-table td{color:#374151;vertical-align:middle;border-bottom:1px solid #f0f0f0;padding:13px 14px;font-size:14px}.payment-table tbody tr:hover{background:#f9fafb}.payment-table tbody tr:last-child td{border-bottom:none}.payment-amount{white-space:nowrap;font-weight:700;color:#111827!important}.payment-link{color:#2563eb;font-weight:600;text-decoration:none}.payment-link:hover{text-decoration:underline}.payment-status{white-space:nowrap;color:#374151;background:#f3f4f6;border-radius:20px;justify-content:center;align-items:center;padding:5px 10px;font-size:12px;font-weight:600;display:inline-flex}.payment-status.completed{color:#166534;background:#dcfce7}.payment-status.pending{color:#92400e;background:#fef3c7}.payment-status.failed{color:#991b1b;background:#fee2e2}.payment-status.refunded{color:#3730a3;background:#e0e7ff}.payment-status.cancelled{color:#374151;background:#e5e7eb}.payment-actions{align-items:center;gap:6px;display:flex}.payment-action{cursor:pointer;border:none;border-radius:5px;padding:6px 9px;font-size:12px;font-weight:600;text-decoration:none}.payment-action.view{color:#0369a1;background:#e0f2fe}.payment-action.edit{color:#92400e;background:#fef3c7}.payment-action.delete{color:#b91c1c;background:#fee2e2}.payment-action:hover{opacity:.8}.payment-loading{text-align:center;color:#6b7280;padding:60px 20px;font-size:15px}.payment-empty{text-align:center;padding:60px 20px}.payment-empty h4{color:#374151;margin:0 0 8px;font-size:18px}.payment-empty p{color:#6b7280;margin:0 0 20px}.payment-pagination{justify-content:flex-end;align-items:center;gap:6px;margin-top:18px;display:flex}.payment-pagination button{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:5px;min-width:36px;height:36px;padding:0 10px;font-size:13px}.payment-pagination button:hover:not(:disabled){background:#f3f4f6}.payment-pagination button.active{color:#fff;background:#2563eb;border-color:#2563eb}.payment-pagination button:disabled{opacity:.5;cursor:not-allowed}.payment-form-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:25px}.payment-section-title{color:#1f2937;border-bottom:1px solid #e5e7eb;margin-bottom:18px;padding-bottom:10px;font-size:17px;font-weight:700}.payment-section-title:not(:first-child){margin-top:28px}.payment-form-grid{grid-template-columns:repeat(2,1fr);gap:18px 22px;display:grid}.payment-form-group{flex-direction:column;display:flex}.payment-form-group.full-width{margin-top:18px}.payment-form-group label{color:#374151;margin-bottom:7px;font-size:13px;font-weight:600}.payment-form-group label span{color:#dc2626;margin-left:3px}.payment-form-group input,.payment-form-group select,.payment-form-group textarea{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:6px;outline:none;width:100%;padding:10px 12px;font-size:14px}.payment-form-group input,.payment-form-group select{height:42px}.payment-form-group textarea{resize:vertical;min-height:90px}.payment-form-group input:focus,.payment-form-group select:focus,.payment-form-group textarea:focus{border-color:#2563eb}.payment-invoice-summary{background:#f8fafc;border:1px solid #e5e7eb;border-radius:7px;gap:50px;margin-top:20px;padding:16px;display:flex}.payment-invoice-summary div{flex-direction:column;gap:5px;display:flex}.payment-invoice-summary span{color:#6b7280;font-size:12px}.payment-invoice-summary strong{color:#111827;font-size:16px}.payment-form-actions{border-top:1px solid #e5e7eb;justify-content:flex-end;gap:10px;margin-top:30px;padding-top:20px;display:flex}.payment-details-grid{grid-template-columns:repeat(2,1fr);gap:20px;display:grid}.payment-detail-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.payment-full-card{margin-top:20px}.payment-detail-card-header{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:15px;padding:16px 18px;display:flex}.payment-detail-card-header h3{color:#1f2937;margin:0;font-size:16px}.payment-detail-body{padding:5px 18px}.payment-detail-row{border-bottom:1px solid #f0f0f0;justify-content:space-between;align-items:center;gap:20px;min-height:48px;padding:10px 0;display:flex}.payment-detail-row:last-child{border-bottom:none}.payment-detail-row span{color:#6b7280;font-size:13px}.payment-detail-row strong{color:#1f2937;text-align:right;word-break:break-word;font-size:14px}.payment-detail-row.highlight{background:#f8fafc;margin:0 -18px;padding-left:18px;padding-right:18px}.payment-detail-row.highlight strong{font-size:16px}.payment-gateway-response,.payment-notes{color:#374151;white-space:pre-wrap;word-break:break-word;padding:18px;font-size:14px;line-height:1.7}.payment-gateway-response{background:#f9fafb;font-family:monospace;font-size:13px}@media (width<=900px){.payment-details-grid,.payment-form-grid{grid-template-columns:1fr}.payment-header{flex-direction:column;align-items:flex-start}.payment-filter-card{flex-direction:column}.payment-status-filter{width:100%}}@media (width<=600px){.payment-page{padding:15px}.payment-form-card{padding:18px}.payment-invoice-summary{flex-direction:column;gap:15px}.payment-header-actions{width:100%}.payment-header-actions a{flex:1}.payment-form-actions{flex-direction:column-reverse}.payment-form-actions button{width:100%}.payment-detail-row{flex-direction:column;align-items:flex-start;gap:5px}.payment-detail-row strong{text-align:left}}.payment-result-page{background:#f5f7fb;justify-content:center;align-items:center;min-height:calc(100vh - 70px);padding:40px 20px;display:flex}.payment-result-card{text-align:center;background:#fff;border:1px solid #e8ebf0;border-radius:18px;width:100%;max-width:520px;padding:45px 40px;box-shadow:0 12px 35px #0f172a1a}.payment-result-icon{color:#16a34a;background:#dcfce7;border:6px solid #f0fdf4;border-radius:50%;justify-content:center;align-items:center;width:82px;height:82px;margin:0 auto 25px;font-size:42px;font-weight:700;display:flex}.payment-result-card h2{color:#111827;margin:0 0 12px;font-size:28px;font-weight:700}.payment-result-card>p{color:#6b7280;max-width:400px;margin:0 auto 25px;font-size:15px;line-height:1.6}.payment-result-card .payment-session{color:#64748b;word-break:break-all;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;margin:20px 0 30px;padding:14px 18px;font-size:13px;line-height:1.7}.payment-session:first-line{color:#374151;font-weight:600}.payment-result-actions{justify-content:center;align-items:center;gap:12px;margin-top:10px;display:flex}.payment-result-actions .btn{border-radius:9px;justify-content:center;align-items:center;min-width:145px;padding:12px 20px;font-size:14px;font-weight:600;text-decoration:none;transition:transform .2s,box-shadow .2s,background .2s;display:inline-flex}.payment-result-actions .btn-primary{color:#fff;background:#2563eb;border:1px solid #2563eb}.payment-result-actions .btn-primary:hover{background:#1d4ed8;border-color:#1d4ed8;transform:translateY(-2px);box-shadow:0 6px 15px #2563eb40}.payment-result-actions .btn-secondary{color:#374151;background:#fff;border:1px solid #d1d5db}.payment-result-actions .btn-secondary:hover{background:#f9fafb;border-color:#9ca3af;transform:translateY(-2px);box-shadow:0 5px 12px #0f172a14}.payment-result-actions .btn:focus-visible{outline-offset:2px;outline:3px solid #2563eb40}@media (width<=600px){.payment-result-page{min-height:calc(100vh - 60px);padding:25px 15px}.payment-result-card{border-radius:15px;padding:35px 22px}.payment-result-icon{width:70px;height:70px;font-size:35px}.payment-result-card h2{font-size:24px}.payment-result-actions{flex-direction:column;width:100%}.payment-result-actions .btn{width:100%}}.supplier-page,.supplier-form-page{background:#f5f7fb;min-height:calc(100vh - 70px);padding:30px}.supplier-header,.supplier-form-header{justify-content:space-between;align-items:center;margin-bottom:25px;display:flex}.supplier-header h2,.supplier-form-header h2{color:#111827;margin:0;font-size:28px}.supplier-header p,.supplier-form-header p{color:#6b7280;margin:6px 0 0}.supplier-add-btn{color:#fff;background:#2563eb;border-radius:8px;padding:11px 18px;font-weight:600;text-decoration:none}.supplier-add-btn:hover{background:#1d4ed8}.supplier-toolbar{background:#fff;border-radius:12px;margin-bottom:20px;padding:18px}.supplier-toolbar input{border:1px solid #d1d5db;border-radius:8px;outline:none;width:320px;max-width:100%;padding:11px 14px}.supplier-toolbar input:focus{border-color:#2563eb}.supplier-table-wrapper{background:#fff;border-radius:12px;overflow-x:auto;box-shadow:0 3px 15px #0f172a0f}.supplier-table{border-collapse:collapse;width:100%}.supplier-table th,.supplier-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #eef0f4;padding:15px 16px}.supplier-table th{color:#475569;background:#f8fafc;font-size:13px}.supplier-table td{color:#374151;font-size:14px}.status-active,.status-inactive{border-radius:20px;padding:5px 10px;font-size:12px;font-weight:600;display:inline-block}.status-active{color:#15803d;background:#dcfce7}.status-inactive{color:#b91c1c;background:#fee2e2}.supplier-actions a,.supplier-actions button{cursor:pointer;background:0 0;border:none;font-size:13px;text-decoration:none}.supplier-actions a{color:#2563eb}.supplier-actions button{color:#dc2626}.empty-row{text-align:center!important;color:#9ca3af!important;padding:40px!important}.supplier-loading{text-align:center;color:#6b7280;padding:50px}.supplier-form{max-width:1100px;margin:auto}.form-section{background:#fff;border-radius:12px;margin-bottom:20px;padding:25px;box-shadow:0 3px 15px #0f172a0d}.form-section h3{color:#1f2937;margin:0 0 20px;font-size:18px}.form-grid{grid-template-columns:repeat(2,1fr);gap:18px;display:grid}.form-group.full{grid-column:1/-1}.form-group input,.form-group select,.form-group textarea{box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:8px;outline:none;width:100%;padding:11px 13px;font-size:14px}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#2563eb}.supplier-form-footer{background:#fff;border-radius:12px;justify-content:space-between;align-items:center;padding:18px 25px;display:flex}.active-checkbox{color:#374151;align-items:center;gap:8px;font-size:14px;display:flex}.btn-cancel,.btn-save{cursor:pointer;border:none;border-radius:8px;padding:11px 20px;font-weight:600}.btn-cancel{color:#374151;background:#f3f4f6;margin-right:10px}.btn-save{color:#fff;background:#2563eb}.btn-save:hover{background:#1d4ed8}.btn-save:disabled{opacity:.6;cursor:not-allowed}@media (width<=768px){.supplier-page,.supplier-form-page{padding:20px 15px}.supplier-header{flex-direction:column;align-items:flex-start;gap:15px}.form-grid{grid-template-columns:1fr}.form-group.full{grid-column:auto}.supplier-form-footer{flex-direction:column;align-items:flex-start;gap:15px}}.supplier-details-page{background:#f5f7fb;min-height:calc(100vh - 70px);padding:30px}.supplier-details-header{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:25px;display:flex}.supplier-breadcrumb{color:#94a3b8;align-items:center;gap:8px;margin-bottom:15px;font-size:13px;display:flex}.supplier-breadcrumb a{color:#2563eb;font-weight:500;text-decoration:none}.supplier-breadcrumb a:hover{text-decoration:underline}.supplier-title-row{align-items:center;gap:15px;display:flex}.supplier-company-icon{color:#2563eb;background:#dbeafe;border-radius:12px;justify-content:center;align-items:center;width:55px;height:55px;font-size:23px;font-weight:700;display:flex}.supplier-title-row h2{color:#111827;margin:0;font-size:27px}.supplier-title-row p{color:#6b7280;margin:5px 0 0;font-size:14px}.supplier-details-header-actions{align-items:center;gap:10px;display:flex}.supplier-edit-btn,.supplier-back-btn{cursor:pointer;border-radius:8px;padding:10px 17px;font-size:14px;font-weight:600;text-decoration:none}.supplier-edit-btn{color:#fff;background:#2563eb}.supplier-edit-btn:hover{background:#1d4ed8}.supplier-back-btn{color:#374151;background:#fff;border:1px solid #d1d5db}.supplier-back-btn:hover{background:#f8fafc}.supplier-status-card{background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:30px;margin-bottom:20px;padding:20px 25px;display:flex;box-shadow:0 3px 15px #0f172a0d}.supplier-status-card>div{flex-direction:column;gap:8px;display:flex}.supplier-status-card strong{color:#111827;font-size:15px}.supplier-detail-section{background:#fff;border-radius:12px;margin-bottom:20px;padding:25px;box-shadow:0 3px 15px #0f172a0d}.detail-section-header{border-bottom:1px solid #eef0f4;margin-bottom:20px;padding-bottom:18px}.detail-section-header h3{color:#1f2937;margin:0;font-size:18px}.detail-section-header p{color:#94a3b8;margin:5px 0 0;font-size:13px}.supplier-detail-grid{grid-template-columns:repeat(2,1fr);gap:0;display:grid}.supplier-detail-item{border-bottom:1px solid #f1f5f9;flex-direction:column;gap:7px;padding:16px 10px;display:flex}.supplier-detail-item.full{grid-column:1/-1}.detail-label{color:#64748b;text-transform:uppercase;letter-spacing:.3px;font-size:12px;font-weight:600}.detail-value{color:#1f2937;word-break:break-word;font-size:14px;font-weight:500}.supplier-actions a,.supplier-actions button{cursor:pointer;background:0 0;border:none;padding:0;font-size:13px;text-decoration:none}.view-action{color:#7c3aed!important}.supplier-empty-details{text-align:center;color:#6b7280;background:#fff;border-radius:12px;padding:50px}@media (width<=768px){.supplier-details-page{padding:20px 15px}.supplier-details-header{flex-direction:column;align-items:flex-start}.supplier-details-header-actions{width:100%}.supplier-edit-btn,.supplier-back-btn{text-align:center;flex:1}.supplier-status-card{flex-direction:column;align-items:flex-start}.supplier-detail-grid{grid-template-columns:1fr}.supplier-detail-item.full{grid-column:auto}.supplier-detail-section{padding:20px 15px}}.supplier-page{color:#172033;min-width:0;padding:24px}.supplier-header-box{background:#fff;border:1px solid #dce3ed;border-radius:14px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;padding:22px 24px;display:flex;box-shadow:0 4px 18px #0f172a0b}.supplier-header-content{align-items:center;gap:15px;display:flex}.supplier-title-icon{color:#fff;background:linear-gradient(135deg,#2563eb,#4f46e5);border-radius:12px;flex-shrink:0;place-items:center;width:50px;height:50px;font-size:23px;font-weight:700;display:grid}.supplier-header-box h2,.supplier-form-header h2{color:#172033;margin:0;font-size:23px;font-weight:750}.supplier-header-box p,.supplier-form-header p{color:#64748b;margin:7px 0 0;font-size:13px;line-height:1.6}.supplier-add-btn{color:#fff;cursor:pointer;white-space:nowrap;background:#2563eb;border:0;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:12px 17px;font-weight:650;text-decoration:none;transition:background .2s,transform .2s;display:inline-flex}.supplier-add-btn:hover{background:#1d4ed8;transform:translateY(-1px)}.supplier-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;display:flex}.supplier-search-box{background:#fff;border:1px solid #dce3ed;border-radius:9px;align-items:center;gap:10px;width:min(100%,440px);padding:0 13px;display:flex}.supplier-search-box span{color:#64748b;font-size:23px}.supplier-search-box input{color:#172033;background:0 0;border:0;outline:0;width:100%;min-width:0;padding:12px 0}.supplier-count{color:#64748b;font-size:13px}.supplier-table-wrapper{background:#fff;border:1px solid #e1e7ef;border-radius:12px;overflow-x:auto;box-shadow:0 4px 18px #0f172a09}.supplier-table{border-collapse:collapse;width:100%;min-width:780px}.supplier-table th{color:#526078;text-align:left;text-transform:uppercase;letter-spacing:.045em;white-space:nowrap;background:#f7f9fc;border-bottom:1px solid #e2e8f0;padding:15px 17px;font-size:11px;font-weight:750}.supplier-table td{color:#334155;border-bottom:1px solid #edf1f6;padding:15px 17px;font-size:13px}.supplier-table tbody tr:hover{background:#f8faff}.supplier-table tbody tr:last-child td{border-bottom:0}.supplier-code{color:#2563eb;font-weight:700}.supplier-status{border-radius:20px;padding:5px 10px;font-size:11px;font-weight:700;display:inline-flex}.supplier-status.active{color:#15803d;background:#dcfce7}.supplier-status.inactive{color:#b91c1c;background:#fee2e2}.supplier-actions{align-items:center;gap:7px;display:flex}.edit-action,.delete-action{cursor:pointer;background:#fff;border:1px solid #dce3ed;border-radius:7px;padding:7px 10px;font-size:12px;font-weight:650}.edit-action{color:#2563eb}.delete-action{color:#dc2626}.edit-action:hover{background:#eff6ff}.delete-action:hover{background:#fef2f2}.empty-row,.supplier-loading{text-align:center;color:#64748b!important;padding:35px!important}.supplier-modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);box-sizing:border-box;background:#0f172a9e;justify-content:center;align-items:center;padding:24px;display:flex;overflow-y:auto;z-index:2147483000!important;position:fixed!important;inset:0!important}.supplier-modal{background:#fff;border:1px solid #fff9;border-radius:16px;width:min(920px,100%);max-height:calc(100vh - 48px);margin:auto;padding:0;animation:.2s ease-out supplierModalIn;position:relative;overflow:hidden auto;box-shadow:0 24px 80px #00000040}@keyframes supplierModalIn{0%{opacity:0;transform:translateY(10px)scale(.99)}to{opacity:1;transform:translateY(0)scale(1)}}.supplier-modal-close{float:right;z-index:5;color:#64748b;cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:9px;place-items:center;width:36px;height:36px;margin:12px 12px -48px 0;font-size:25px;display:grid;position:sticky;top:12px}.supplier-modal-close:hover{color:#dc2626;background:#fee2e2}.supplier-form-modal-content{background:#fff;padding:24px}.supplier-form-header{border-bottom:1px solid #e2e8f0;margin-bottom:20px;padding:4px 0 20px}.supplier-form-eyebrow{color:#2563eb;letter-spacing:.12em;margin-bottom:8px;font-size:10px;font-weight:800;display:inline-block}.supplier-form{flex-direction:column;gap:20px;display:flex}.supplier-form .form-section{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:18px}.supplier-form .form-section h3{color:#263449;border-bottom:1px solid #edf1f6;margin:0 0 18px;padding-bottom:12px;font-size:15px;font-weight:750}.supplier-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;display:grid}.supplier-form .form-group{flex-direction:column;gap:7px;min-width:0;display:flex}.supplier-form .form-group.full{grid-column:1/-1}.supplier-form .form-group label{color:#475569;font-size:12px;font-weight:650}.supplier-form .form-group input,.supplier-form .form-group select,.supplier-form .form-group textarea{color:#172033;width:100%;min-width:0;font:inherit;box-sizing:border-box;background:#fff;border:1px solid #d8e0eb;border-radius:8px;outline:none;padding:11px 12px;font-size:13px;transition:border-color .2s,box-shadow .2s}.supplier-form .form-group input:focus,.supplier-form .form-group select:focus,.supplier-form .form-group textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.supplier-form-footer{border-top:1px solid #e2e8f0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;padding-top:18px;display:flex}.supplier-form-footer>div{gap:10px;display:flex}.supplier-form-footer button{cursor:pointer;border-radius:8px;padding:10px 16px;font-weight:650}.supplier-form-footer .btn-cancel{color:#475569;background:#fff;border:1px solid #d8e0eb}.supplier-form-footer .btn-save{color:#fff;background:#2563eb;border:1px solid #2563eb}.supplier-form-footer .btn-save:disabled{opacity:.65;cursor:not-allowed}@media (width<=640px){.supplier-page{padding:12px}.supplier-header-box{flex-direction:column;align-items:flex-start;padding:17px}.supplier-add-btn{width:100%}.supplier-modal-backdrop{align-items:flex-start;padding:8px}.supplier-modal{border-radius:12px;width:100%;max-height:calc(100vh - 16px)}.supplier-form-modal-content{padding:18px 12px}.supplier-form .form-section{padding:13px}.supplier-form .form-grid{grid-template-columns:1fr}.supplier-form-footer{flex-direction:column;align-items:stretch}.supplier-form-footer>div{width:100%}.supplier-form-footer>div button{flex:1}}.supplier-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.supplier-stat-card{background:#fff;border:1px solid #e0e7f0;border-radius:13px;align-items:center;gap:15px;min-width:0;padding:21px 19px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 4px 16px #0f172a09}.supplier-stat-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px #0f172a13}.supplier-stat-icon{border-radius:12px;flex-shrink:0;place-items:center;width:48px;height:48px;font-size:21px;font-weight:750;display:grid}.supplier-stat-icon.total{color:#2563eb;background:#eff6ff}.supplier-stat-icon.active-icon{color:#15803d;background:#dcfce7}.supplier-stat-icon.inactive-icon{color:#b45309;background:#fef3c7}.supplier-stat-icon.city-icon{color:#7c3aed;background:#f3e8ff}.supplier-stat-card p{color:#64748b;margin:0 0 7px;font-size:12px;font-weight:600}.supplier-stat-card h3{color:#172033;margin:0 0 5px;font-size:27px;font-weight:750;line-height:1.15}.supplier-stat-card span{color:#94a3b8;font-size:11px}.supplier-actions .view-action{color:#0f766e;white-space:nowrap;background:#f0fdfa;border:1px solid #ccfbf1;border-radius:7px;justify-content:center;align-items:center;padding:7px 10px;font-size:12px;font-weight:650;text-decoration:none;display:inline-flex}.supplier-actions .view-action:hover{color:#115e59;background:#ccfbf1}@media (width<=1100px){.supplier-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.supplier-stats-grid{grid-template-columns:1fr;gap:12px}.supplier-stat-card{padding:16px}.supplier-stat-card h3{font-size:24px}}.po-page{color:#1f2937;box-sizing:border-box;background:#f8fafc;min-height:100vh;padding:24px}.po-page *{box-sizing:border-box}.po-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.po-header h2{color:#111827;margin:0 0 8px;font-size:27px;font-weight:700}.po-header p{color:#64748b;margin:0;font-size:14px}.po-header-actions,.po-actions,.po-form-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.po-btn{cursor:pointer;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;min-height:39px;padding:10px 16px;font-family:inherit;font-size:13px;font-weight:600;text-decoration:none;transition:background .2s;display:inline-flex}.po-btn-primary{color:#fff;background:#2563eb}.po-btn-primary:hover{color:#fff;background:#1d4ed8}.po-btn-secondary{color:#334155;background:#fff;border-color:#cbd5e1}.po-btn-secondary:hover{background:#f1f5f9}.po-btn:disabled{opacity:.6;cursor:not-allowed}.po-toolbar{align-items:center;gap:12px;margin-bottom:18px;display:flex}.po-search{background:#fff;border:1px solid #dbe2ea;border-radius:7px;outline:none;width:min(100%,420px);min-height:42px;padding:10px 13px;font-size:14px}.po-search:focus,.po-field input:focus,.po-field select:focus,.po-field textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.po-table-wrapper{background:#fff;border:1px solid #e2e8f0;border-radius:10px;width:100%;overflow-x:auto}.po-table{border-collapse:collapse;text-align:left;width:100%;min-width:1000px}.po-table th{color:#475569;text-transform:uppercase;letter-spacing:.35px;white-space:nowrap;background:#f1f5f9;padding:14px 15px;font-size:12px}.po-table td{vertical-align:middle;border-top:1px solid #edf2f7;padding:14px 15px;font-size:13px}.po-table tbody tr:hover{background:#f8fafc}.po-number{color:#1d4ed8;font-weight:700}.po-empty{text-align:center;color:#64748b;padding:30px!important}.po-actions{flex-wrap:nowrap}.po-action-view,.po-action-edit,.po-action-delete{font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:none;padding:3px;font-size:12px;font-weight:600;text-decoration:none}.po-action-view{color:#2563eb}.po-action-edit{color:#0f766e}.po-action-delete{color:#dc2626}.po-status{color:#475569;white-space:nowrap;background:#e2e8f0;border-radius:20px;padding:5px 9px;font-size:11px;font-weight:700;display:inline-block}.po-status-pending{color:#92400e;background:#fef3c7}.po-status-approved{color:#1d4ed8;background:#dbeafe}.po-status-ordered{color:#4338ca;background:#e0e7ff}.po-status-partiallyreceived{color:#9a3412;background:#ffedd5}.po-status-received{color:#166534;background:#dcfce7}.po-status-cancelled{color:#991b1b;background:#fee2e2}.po-footer{color:#64748b;padding:15px 2px;font-size:13px}.po-loading{text-align:center;color:#475569;padding:40px}.po-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:7px;margin-bottom:18px;padding:13px 15px;font-size:14px}.po-form{flex-direction:column;gap:20px;display:flex}.po-form-section,.po-details-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:23px}.po-form-section h3,.po-detail-section h3{color:#1e293b;border-bottom:1px solid #edf2f7;margin:0 0 20px;padding-bottom:13px;font-size:17px}.po-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.po-field{flex-direction:column;gap:8px;min-width:0;display:flex}.po-field label{color:#334155;font-size:13px;font-weight:600}.po-field input:not([type=checkbox]),.po-field select,.po-field textarea{color:#1f2937;width:100%;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;padding:11px 12px;font-size:14px}.po-field textarea{resize:vertical}.po-field-full{grid-column:1/-1}.po-checkbox-field{justify-content:center}.po-checkbox-field label{cursor:pointer;align-items:center;gap:9px;display:flex}.po-checkbox-field input{accent-color:#2563eb;width:16px;height:16px}.po-help{color:#64748b;margin:13px 0 0;font-size:12px;line-height:1.6}.po-form-actions{padding-bottom:20px}.po-details-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:26px;display:flex}.po-detail-label{color:#64748b;text-transform:uppercase;letter-spacing:.5px;font-size:12px}.po-details-heading h3{color:#1d4ed8;margin:8px 0 0;font-size:23px}.po-detail-section{margin-top:25px}.po-details-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;display:grid}.po-detail-item{overflow-wrap:anywhere;flex-direction:column;gap:8px;min-width:0;display:flex}.po-detail-item span,.po-financial-item span,.po-financial-total span,.po-text-block>span{color:#64748b;font-size:12px}.po-detail-item strong{color:#1e293b;font-size:14px;font-weight:600}.po-financial-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.po-financial-item,.po-financial-total{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:10px;padding:17px;display:flex}.po-financial-item strong{color:#334155;font-size:17px}.po-financial-total{background:#eff6ff;border-color:#bfdbfe}.po-financial-total strong{color:#1d4ed8;font-size:21px}.po-text-block{background:#f8fafc;border-radius:7px;margin-top:20px;padding:15px}.po-text-block p{color:#334155;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0;font-size:14px;line-height:1.7}.po-item-json{white-space:pre-wrap;overflow-wrap:anywhere;color:#334155;margin:0;font-size:12px}@media (width<=768px){.po-page{padding:15px}.po-header h2{font-size:22px}.po-toolbar{flex-direction:column;align-items:stretch}.po-search{width:100%}.po-form-grid,.po-details-grid,.po-financial-grid{grid-template-columns:1fr}.po-form-section,.po-details-card{padding:16px}.po-details-heading{flex-direction:column;align-items:flex-start}.po-field-full{grid-column:auto}}.po-pagination{background:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-top:18px;padding:16px;display:flex}.po-pagination-info{color:#475569;font-size:14px}.po-pagination-controls{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.po-pagination-controls label{color:#475569;font-size:14px}.po-pagination-controls select{background:#fff;border:1px solid #cbd5e1;border-radius:6px;min-width:65px;padding:8px 10px}.po-page-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:8px 13px}.po-page-btn:hover:not(:disabled){background:#f1f5f9}.po-page-btn:disabled{opacity:.45;cursor:not-allowed}.po-page-number{color:#334155;white-space:nowrap;font-size:14px}.po-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.po-action-view,.po-action-edit,.po-action-delete{cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;padding:7px 11px;font-size:13px;font-weight:600;text-decoration:none;display:inline-flex}.po-action-view{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.po-action-edit{color:#15803d;background:#f0fdf4;border-color:#bbf7d0}.po-action-delete{color:#b91c1c;background:#fef2f2;border-color:#fecaca}.po-action-view:hover{background:#dbeafe}.po-action-edit:hover{background:#dcfce7}.po-action-delete:hover:not(:disabled){background:#fee2e2}.po-action-delete:disabled{opacity:.6;cursor:not-allowed}@media (width<=768px){.po-pagination{flex-direction:column;align-items:flex-start}.po-pagination-controls{width:100%}}.po-header-box{background:#fff;border:1px solid #dfe6ef;border-radius:15px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:24px 26px;display:flex;box-shadow:0 4px 16px #0f172a09}.po-header-box h2{color:#172033;margin:7px 0;font-size:25px;font-weight:750}.po-header-box p{color:#64748b;margin:0;font-size:13px}.po-eyebrow{color:#64748b;letter-spacing:1.5px;font-size:10px;font-weight:800}.po-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.po-stat-card{background:#fff;border:1px solid #e0e7f0;border-radius:14px;align-items:center;gap:15px;min-width:0;padding:21px 18px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 4px 16px #0f172a09}.po-stat-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px #0f172a14}.po-stat-icon{border-radius:13px;flex-shrink:0;place-items:center;width:48px;height:48px;font-size:20px;font-weight:800;display:grid}.po-stat-blue{color:#2563eb;background:#eff6ff}.po-stat-amber{color:#b45309;background:#fef3c7}.po-stat-green{color:#15803d;background:#dcfce7}.po-stat-purple{color:#7c3aed;background:#f3e8ff}.po-stat-card p{color:#64748b;margin:0 0 8px;font-size:12px;font-weight:600}.po-stat-card h3{color:#172033;overflow-wrap:anywhere;margin:0 0 6px;font-size:27px;font-weight:750;line-height:1.2}.po-stat-card .po-stat-currency{font-size:19px}.po-stat-card span{color:#94a3b8;font-size:11px}.po-toolbar-box{background:#fff;border:1px solid #e0e7f0;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;padding:15px;display:flex}.po-search-wrap{background:#fff;border:1px solid #dce3ed;border-radius:9px;flex:1;align-items:center;gap:10px;max-width:600px;padding:0 12px;display:flex}.po-search-wrap>span{color:#64748b;font-size:23px}.po-search-wrap .po-search{width:100%;min-width:0;box-shadow:none;border:none;outline:none}.po-active,.po-inactive{border-radius:20px;padding:5px 9px;font-size:11px;font-weight:700;display:inline-block}.po-active{color:#15803d;background:#dcfce7}.po-inactive{color:#b91c1c;background:#fee2e2}.po-modal-backdrop{z-index:9999;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a9e;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0;overflow-y:auto}.po-modal{background:#f8fafc;border:1px solid #e2e8f0;border-radius:17px;flex-direction:column;width:min(100%,1000px);max-height:calc(100vh - 48px);animation:.2s ease-out poModalEnter;display:flex;overflow:hidden;box-shadow:0 25px 80px #00000040}@keyframes poModalEnter{0%{opacity:0;transform:translateY(12px)scale(.99)}to{opacity:1;transform:translateY(0)scale(1)}}.po-modal-header{background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 26px;display:flex}.po-modal-header h2{color:#172033;margin:7px 0;font-size:22px;font-weight:750}.po-modal-header p{color:#64748b;margin:0;font-size:13px}.po-modal-close{color:#475569;cursor:pointer;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:10px;flex-shrink:0;place-items:center;width:38px;height:38px;font-size:26px;line-height:1;display:grid}.po-modal-close:hover{color:#b91c1c;background:#fee2e2}.po-modal-body{padding:22px;overflow-y:auto}.po-modal-body .po-page{background:0 0;width:100%;max-width:none;margin:0;padding:0}.po-modal-body .po-form{width:100%}.po-modal-body .po-form-section{margin-bottom:18px}@media (width<=1100px){.po-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=650px){.po-header-box{flex-direction:column;align-items:stretch;padding:18px}.po-header-box .po-btn{justify-content:center;width:100%}.po-stats-grid{grid-template-columns:1fr;gap:12px}.po-toolbar-box{flex-direction:column;align-items:stretch}.po-search-wrap{max-width:none}.po-modal-backdrop{align-items:flex-start;padding:10px}.po-modal{border-radius:12px;max-height:calc(100vh - 20px)}.po-modal-header{padding:17px}.po-modal-body{padding:14px}}.gr-page{color:#172033;background:#f5f7fb;min-height:100%;padding:24px}.gr-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.gr-header h1{margin:0 0 7px;font-size:26px;font-weight:700}.gr-header p{color:#64748b;margin:0}.gr-header-actions{flex-wrap:wrap;gap:10px;display:flex}.gr-primary-btn,.gr-secondary-btn,.gr-view-btn,.gr-edit-btn,.gr-delete-btn{cursor:pointer;border:none;border-radius:8px;padding:10px 14px;font-size:13px;font-weight:600;transition:all .2s}.gr-primary-btn{color:#fff;background:#2563eb}.gr-primary-btn:hover{background:#1d4ed8}.gr-secondary-btn{color:#334155;background:#e8edf5}.gr-secondary-btn:hover{background:#dbe3ef}.gr-stat-card{background:#fff;border:1px solid #e5eaf2;border-radius:12px;padding:20px;box-shadow:0 3px 12px #0f172a08}.gr-stat-card span{color:#64748b;margin-bottom:10px;font-size:13px;display:block}.gr-stat-card strong{color:#172033;font-size:26px}.gr-card,.gr-form-card{background:#fff;border:1px solid #e5eaf2;border-radius:12px;padding:22px;box-shadow:0 3px 12px #0f172a08}.gr-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;display:flex}.gr-toolbar h2,.gr-items-heading h2{margin:0;font-size:18px}.gr-search{background:#fff;border:1px solid #d6deea;border-radius:8px;outline:none;width:min(100%,340px);padding:11px 13px}.gr-search:focus,.gr-field input:focus,.gr-field select:focus,.gr-field textarea:focus,.gr-items-table input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.gr-table-wrapper{width:100%;overflow-x:auto}.gr-table{border-collapse:collapse;white-space:nowrap;width:100%}.gr-table th{text-align:left;color:#64748b;text-transform:uppercase;letter-spacing:.04em;background:#f8fafc;border-bottom:1px solid #e5eaf2;padding:14px 12px;font-size:12px}.gr-table td{vertical-align:middle;border-bottom:1px solid #edf1f6;padding:14px 12px;font-size:13px}.gr-table tbody tr:hover{background:#fafcff}.gr-number{color:#1d4ed8;font-weight:700}.gr-actions{align-items:center;gap:7px;display:flex}.gr-view-btn{color:#1d4ed8;background:#eff6ff}.gr-edit-btn{color:#047857;background:#ecfdf5}.gr-delete-btn{color:#b91c1c;background:#fef2f2}.gr-delete-btn:disabled{opacity:.5;cursor:not-allowed}.gr-status{color:#475569;background:#f1f5f9;border-radius:20px;padding:5px 10px;font-size:11px;font-weight:700;display:inline-block}.gr-status-received{color:#166534;background:#dcfce7}.gr-status-pending{color:#92400e;background:#fef3c7}.gr-status-partially-received{color:#1d4ed8;background:#dbeafe}.gr-status-rejected{color:#b91c1c;background:#fee2e2}.gr-empty,.gr-message{text-align:center;color:#64748b;padding:30px}.gr-pagination{color:#64748b;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;padding-top:18px;font-size:13px;display:flex}.gr-pagination-controls{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.gr-pagination-controls select,.gr-pagination-controls button{color:#334155;background:#fff;border:1px solid #dbe3ed;border-radius:7px;padding:8px 10px}.gr-pagination-controls button{cursor:pointer}.gr-pagination-controls button:disabled{opacity:.45;cursor:not-allowed}.gr-form-card{max-width:1200px}.gr-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.gr-field{flex-direction:column;gap:8px;margin-bottom:18px;display:flex}.gr-field label{color:#334155;font-size:13px;font-weight:600}.gr-field input,.gr-field select,.gr-field textarea,.gr-items-table input{box-sizing:border-box;color:#172033;width:100%;font:inherit;background:#fff;border:1px solid #d6deea;border-radius:8px;outline:none;padding:11px 12px;font-size:13px}.gr-items-heading{justify-content:space-between;align-items:center;gap:12px;margin:18px 0;display:flex}.gr-items-table input{min-width:110px}.gr-items-table td:first-child input{min-width:180px}.gr-notes-field{margin-top:22px}.gr-notes-field textarea{resize:vertical}.gr-form-actions{border-top:1px solid #e5eaf2;justify-content:flex-end;gap:10px;margin-top:10px;padding-top:20px;display:flex}.gr-details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding-bottom:24px;display:grid}.gr-details-grid div{flex-direction:column;gap:8px;display:flex}.gr-details-grid span{color:#64748b;font-size:12px}.gr-details-grid strong{overflow-wrap:anywhere;font-size:15px}.gr-section-title{margin:8px 0 18px;font-size:18px}.gr-notes-display{border-top:1px solid #e5eaf2;margin-top:22px;padding-top:18px}.gr-notes-display h3{margin:0 0 10px;font-size:15px}.gr-notes-display p{color:#64748b;white-space:pre-wrap;overflow-wrap:anywhere}@media (width<=768px){.gr-page{padding:14px}.gr-card,.gr-form-card{padding:15px}.gr-stats,.gr-form-grid,.gr-details-grid{grid-template-columns:1fr}.gr-header{align-items:flex-start}.gr-pagination{flex-direction:column;align-items:flex-start}}.gr-header-box{background:#fff;border:1px solid #dfe6ef;border-radius:15px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;padding:24px 26px;display:flex;box-shadow:0 4px 16px #0f172a09}.gr-header-box h1{color:#172033;margin:7px 0;font-size:25px;font-weight:750}.gr-header-box p{color:#64748b;margin:0;font-size:13px}.gr-eyebrow{color:#64748b;letter-spacing:1.5px;font-size:10px;font-weight:800}.gr-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px;display:grid}.gr-stat-card{background:#fff;border:1px solid #e0e7f0;border-radius:14px;align-items:center;gap:15px;min-width:0;padding:21px 18px;transition:transform .2s,box-shadow .2s;display:flex;box-shadow:0 4px 16px #0f172a09}.gr-stat-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px #0f172a14}.gr-stat-icon{border-radius:13px;flex-shrink:0;place-items:center;width:48px;height:48px;font-size:18px;font-weight:800;display:grid}.gr-stat-blue{color:#2563eb;background:#eff6ff}.gr-stat-green{color:#15803d;background:#dcfce7}.gr-stat-amber{color:#b45309;background:#fef3c7}.gr-stat-purple{color:#7c3aed;background:#f3e8ff}.gr-stat-card span{color:#64748b;margin-bottom:8px;font-size:12px;font-weight:600;display:block}.gr-stat-card strong{color:#172033;margin-bottom:6px;font-size:28px;font-weight:750;line-height:1.2;display:block}.gr-stat-card small{color:#94a3b8;font-size:11px}.gr-toolbar{justify-content:space-between;align-items:center;gap:18px;display:flex}.gr-toolbar>div:first-child h2{color:#172033;margin:0 0 5px;font-size:18px}.gr-toolbar>div:first-child p{color:#64748b;margin:0;font-size:12px}.gr-toolbar-actions{flex:1;justify-content:flex-end;align-items:center;gap:10px;display:flex}.gr-search{color:#172033;background:#fff;border:1px solid #dce3ed;border-radius:9px;outline:none;width:min(100%,380px);min-width:180px;padding:11px 13px}.gr-search:focus{border-color:#647fce;box-shadow:0 0 0 3px #3b82f61a}.gr-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding:12px 16px;display:flex}.gr-modal-backdrop{z-index:9999;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0f172a9e;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0;overflow-y:auto}.gr-modal{background:#f8fafc;border:1px solid #e2e8f0;border-radius:17px;flex-direction:column;width:min(100%,1050px);max-height:calc(100vh - 48px);animation:.2s ease-out grModalEnter;display:flex;overflow:hidden;box-shadow:0 25px 80px #00000040}@keyframes grModalEnter{0%{opacity:0;transform:translateY(12px)scale(.99)}to{opacity:1;transform:translateY(0)scale(1)}}.gr-modal-header{background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 26px;display:flex}.gr-modal-header h2{color:#172033;margin:7px 0;font-size:22px;font-weight:750}.gr-modal-header p{color:#64748b;margin:0;font-size:13px}.gr-modal-close{color:#475569;cursor:pointer;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:10px;flex-shrink:0;place-items:center;width:38px;height:38px;font-size:26px;line-height:1;display:grid}.gr-modal-close:hover{color:#b91c1c;background:#fee2e2}.gr-modal-body{padding:22px;overflow-y:auto}.gr-modal-body .gr-page{background:0 0;width:100%;max-width:none;margin:0;padding:0}.gr-modal-body .gr-form-card{width:100%;box-shadow:none;margin:0}@media (width<=1100px){.gr-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.gr-header-box{flex-direction:column;align-items:stretch;padding:18px}.gr-header-box .gr-primary-btn{width:100%}.gr-toolbar,.gr-toolbar-actions{flex-direction:column;align-items:stretch}.gr-search{width:100%;max-width:none}.gr-modal-backdrop{align-items:flex-start;padding:10px}.gr-modal{border-radius:12px;max-height:calc(100vh - 20px)}.gr-modal-header{padding:17px}.gr-modal-body{padding:14px}}@media (width<=480px){.gr-stats{grid-template-columns:1fr;gap:12px}.gr-stat-card{padding:16px}}.sidebar{z-index:1000;box-sizing:border-box;background:#0f172a;flex-direction:column;width:260px;height:100dvh;display:flex;position:fixed;top:0;left:0;overflow:hidden}.sidebar-logo{border-bottom:1px solid #ffffff14;flex-shrink:0;align-items:center;gap:12px;height:82px;padding:0 20px;display:flex}.logo-mark{color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;font-size:20px;font-weight:800;display:flex;box-shadow:0 8px 20px #6366f159}.logo-text h2{color:#fff;margin:0;font-size:20px;font-weight:800}.logo-text h2 span{color:#818cf8}.logo-text p{color:#94a3b8;margin:2px 0 0;font-size:11px}.sidebar-content{flex:auto;min-height:0;padding:22px 14px;position:relative;overflow:hidden auto}.sidebar-content::-webkit-scrollbar{width:5px}.sidebar-content::-webkit-scrollbar-thumb{background:#ffffff1f;border-radius:10px}.sidebar-content::-webkit-scrollbar-track{background:0 0}.sidebar-nav{z-index:1001;flex-direction:column;gap:22px;display:flex;position:relative}.menu-group{z-index:1001;flex-direction:column;gap:5px;display:flex;position:relative}.menu-title{color:#64748b;letter-spacing:1.2px;text-transform:uppercase;margin-bottom:5px;padding:0 12px;font-size:10px;font-weight:700}.menu-item{color:#94a3b8;cursor:pointer;pointer-events:auto;z-index:1002;border-radius:12px;align-items:center;gap:12px;margin:4px 12px;padding:12px 14px;text-decoration:none;transition:background .2s,color .2s,transform .2s;display:flex;position:relative}.menu-item:hover{color:#fff;background:#ffffff12;transform:translate(3px)}.menu-item.active{color:#fff;background:linear-gradient(135deg,#6366f1,#7c3aed);box-shadow:0 8px 20px #6366f140}.menu-item.active:before{content:"";background:#fff;border-radius:0 4px 4px 0;width:3px;position:absolute;top:8px;bottom:8px;left:0}.menu-icon{flex-shrink:0;justify-content:center;align-items:center;width:22px;font-size:17px;display:flex}.menu-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.sidebar-bottom{background:#0f172a;border-top:1px solid #ffffff14;flex-direction:column;flex:none;gap:8px;padding:14px;display:flex}.logout-btn{color:#cbd5e1;cursor:pointer;text-align:left;z-index:1006;visibility:visible;opacity:1;background:0 0;border:none;border-radius:10px;flex-shrink:0;align-items:center;gap:12px;width:100%;min-height:44px;padding:0 12px;font-family:inherit;font-size:14px;font-weight:500;display:flex;position:relative}.logout-btn:hover{color:#f87171;background:#ef44441f}.logout-btn .menu-icon{justify-content:center;align-items:center;width:22px;min-width:22px;font-size:17px;display:flex}.logout-btn .menu-name{visibility:visible;opacity:1;display:inline-block}.sidebar-overlay{z-index:999;cursor:pointer;background:#0f172a8c;position:fixed;inset:0}@media (width<=900px){.sidebar{transform:translate(-100%)}.sidebar.open{transform:translate(0)}.main-content{margin-left:0}}@media (width>=901px){.sidebar{transform:translate(0)}.sidebar-overlay{display:none}}.navbar{box-sizing:border-box;z-index:1000;background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:24px;width:100%;min-height:76px;padding:14px 28px;display:flex;position:relative;box-shadow:0 2px 10px #0f172a0a}.navbar-left{flex-direction:column;flex-shrink:0;gap:5px;display:flex}.navbar-left h2{color:#0f172a;margin:0;font-size:21px;font-weight:700;line-height:1.3}.navbar-left p{color:#64748b;margin:0;font-size:12px;line-height:1.4}.search-container{z-index:1001;flex:1;min-width:180px;max-width:540px;position:relative}.search-box{align-items:center;width:100%;display:flex;position:relative}.search-icon{color:#64748b;pointer-events:none;z-index:1;font-size:15px;position:absolute;left:15px}.search-box input{box-sizing:border-box;color:#0f172a;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;outline:none;width:100%;height:44px;padding:0 16px 0 43px;font-family:inherit;font-size:13px;transition:border-color .2s,background .2s,box-shadow .2s}.search-box input:hover{border-color:#cbd5e1}.search-box input:focus{background:#fff;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.search-results{box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:12px;min-width:320px;max-height:380px;padding:6px;animation:.16s ease-out searchDropdownIn;position:absolute;top:calc(100% + 9px);left:0;right:0;overflow:hidden auto;box-shadow:0 12px 30px #0f172a1f,0 3px 8px #0f172a0a}.search-results::-webkit-scrollbar{width:6px}.search-results::-webkit-scrollbar-track{background:0 0}.search-results::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.search-results::-webkit-scrollbar-thumb:hover{background:#94a3b8}.search-result-item{color:#1e293b;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;outline:none;justify-content:space-between;align-items:center;gap:14px;width:100%;min-height:54px;margin:0;padding:11px 12px;font-family:inherit;font-size:13px;transition:background .15s,color .15s;display:flex}.search-result-item+.search-result-item{margin-top:2px}.search-result-item:hover,.search-result-item.active,.search-result-item[aria-selected=true]{color:#1d4ed8;background:#eff6ff}.search-result-item:focus-visible{box-shadow:inset 0 0 0 2px #3b82f6}.search-result-text{overflow-wrap:anywhere;flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.search-result-text strong{color:#0f172a;font-size:13px;font-weight:600;line-height:1.5}.search-result-item:hover .search-result-text strong,.search-result-item.active .search-result-text strong{color:#1d4ed8}.search-result-text small{color:#64748b;overflow-wrap:anywhere;font-size:11px;font-weight:400;line-height:1.5}.search-result-item.active .search-result-text small{color:#475569}.search-result-type{text-overflow:ellipsis;white-space:nowrap;color:#475569;text-transform:capitalize;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;max-width:110px;padding:5px 8px;font-size:10px;font-weight:600;display:inline-flex;overflow:hidden}.search-result-item.active .search-result-type,.search-result-item:hover .search-result-type{color:#1d4ed8;background:#dbeafe;border-color:#bfdbfe}.search-message{color:#64748b;text-align:center;justify-content:center;align-items:center;min-height:65px;padding:14px;font-size:13px;display:flex}.icon-btn{color:#475569;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;width:42px;height:42px;padding:0;font-size:17px;transition:background .2s,color .2s,border-color .2s;display:inline-flex;position:relative}.icon-btn:hover{color:#2563eb;background:#eff6ff;border-color:#dbeafe}.icon-btn:focus-visible{outline-offset:2px;outline:2px solid #3b82f6}.badge{box-sizing:border-box;color:#fff;white-space:nowrap;background:#ef4444;border:2px solid #fff;border-radius:20px;justify-content:center;align-items:center;min-width:17px;height:17px;padding:0 4px;font-size:9px;font-weight:700;line-height:1;display:flex;position:absolute;top:1px;right:0}.profile{border-left:1px solid #e2e8f0;align-items:center;gap:10px;min-width:120px;max-width:220px;margin-left:3px;padding-left:15px;display:flex}.profile>div{min-width:0}.profile h4{color:#0f172a;text-overflow:ellipsis;white-space:nowrap;margin:0 0 4px;font-size:13px;font-weight:600;line-height:1.4;overflow:hidden}.profile span{color:#64748b;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.4;display:block;overflow:hidden}@keyframes searchDropdownIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.search-results{animation:none}.search-box input,.search-result-item,.icon-btn{transition:none}}@media (width<=1100px){.navbar{gap:16px;padding:14px 20px}.search-container{max-width:400px}.navbar-right{gap:7px}.profile{gap:7px;padding-left:10px}}@media (width<=800px){.navbar{flex-wrap:wrap;gap:14px}.navbar-left{flex:1}.navbar-right{margin-left:auto}.search-container{flex:1 0 100%;order:3;max-width:none}.search-results{width:100%;min-width:0}}@media (width<=480px){.navbar{gap:12px;padding:12px}.navbar-left h2{font-size:18px}.navbar-left p{max-width:180px;font-size:10px}.navbar-right{gap:4px}.icon-btn{width:35px;height:38px;font-size:15px}.profile{gap:6px;min-width:0;max-width:115px;margin-left:0;padding-left:8px}.profile-icon{font-size:28px}.profile h4{max-width:75px;font-size:11px}.profile span{max-width:75px;font-size:10px}.search-box input{height:42px;font-size:12px}.search-results{max-height:320px}.search-result-item{gap:8px;padding:10px}.search-result-type{max-width:85px;font-size:9px}}.profile-wrapper{border-left:1px solid #e2e8f0;flex-shrink:0;margin-left:3px;padding-left:15px;position:relative}.profile-trigger{color:#0f172a;min-width:120px;max-width:240px;font:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;align-items:center;gap:10px;padding:7px 8px;display:flex}.profile-icon{color:#64748b;flex-shrink:0;font-size:35px}.profile-trigger-info{flex:1;min-width:0}.profile-trigger-info h4{color:#0f172a;text-overflow:ellipsis;white-space:nowrap;margin:0 0 4px;font-size:13px;font-weight:600;overflow:hidden}.profile-trigger-info span{color:#64748b;text-overflow:ellipsis;white-space:nowrap;font-size:11px;display:block;overflow:hidden}.profile-chevron{color:#64748b;flex-shrink:0;font-size:11px;transition:transform .2s}.profile-dropdown-user strong{overflow-wrap:anywhere;color:#0f172a;font-size:14px}.profile-menu-item{color:#334155;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:12px;width:100%;min-height:42px;padding:10px 12px;font-family:inherit;font-size:13px;display:flex}.profile-menu-item svg{color:#64748b;flex-shrink:0;width:16px}.profile-menu-item:hover svg{color:#2563eb}.profile-trigger:focus-visible,.profile-menu-item:focus-visible{outline-offset:2px;outline:2px solid #3b82f6}.logout-menu-item,.logout-menu-item svg{color:#dc2626}.logout-menu-item:hover{color:#b91c1c;background:#fef2f2}.logout-menu-item:hover svg{color:#b91c1c}@keyframes profileDropdownIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@media (width<=480px){.profile-wrapper{margin-left:0;padding-left:6px}.profile-trigger{gap:6px;min-width:0;max-width:140px;padding:5px}.profile-icon{font-size:28px}.profile-trigger-info h4,.profile-trigger-info span{max-width:75px}.profile-trigger-info h4{font-size:11px}.profile-trigger-info span{font-size:10px}.profile-dropdown{width:min(290px,100vw - 20px);position:fixed;top:75px;right:10px}}@media (prefers-reduced-motion:reduce){.profile-dropdown,.profile-chevron{transition:none;animation:none}}.navbar{z-index:100;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffffff0;border-bottom:1px solid #e8edf5;justify-content:space-between;align-items:center;gap:24px;min-height:86px;padding:16px 28px;display:flex;position:relative;box-shadow:0 4px 22px #0f172a09}.navbar-left{flex-shrink:0}.navbar-left h2{color:#172554;letter-spacing:-.7px;margin:0 0 5px;font-size:23px;font-weight:800}.navbar-left p{color:#8491a7;margin:0;font-size:12px}.search-container{flex:1;min-width:160px;max-width:490px;position:relative}.search-box{background:#f8faff;border:1px solid #e4e9f2;border-radius:14px;align-items:center;gap:12px;height:46px;padding:0 16px;transition:border-color .25s,box-shadow .25s,background .25s;display:flex}.search-box:focus-within{background:#fff;border-color:#818cf8;box-shadow:0 0 0 4px #6366f11a}.search-icon{color:#8996ad;flex-shrink:0;font-size:15px}.search-box input{color:#1e293b;background:0 0;border:none;outline:none;width:100%;min-width:0;padding:10px 0;font-size:13px}.search-box input::placeholder{color:#9ba6b8}.search-results{z-index:1000;background:#fff;border:1px solid #e8edf5;border-radius:17px;max-height:360px;padding:8px;animation:.2s both navbarDropIn;position:absolute;top:calc(100% + 12px);left:0;right:0;overflow-y:auto;box-shadow:0 20px 55px #0f172a24}.search-message{color:#7c8aa0;text-align:center;padding:22px 12px;font-size:13px}.search-result-item{color:#334155;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:11px;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:12px;transition:background .2s,transform .2s;display:flex}.search-result-item:hover,.search-result-item.active{background:#f0f3ff}.search-result-item:hover{transform:translate(2px)}.search-result-text{flex-direction:column;gap:5px;min-width:0;display:flex}.search-result-text strong{color:#1e293b;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:650;overflow:hidden}.search-result-text small{color:#8491a7;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.search-result-type{color:#4f46e5;text-transform:capitalize;background:#eef2ff;border-radius:7px;flex-shrink:0;padding:5px 9px;font-size:10px;font-weight:700}.navbar-right{flex-shrink:0;justify-content:flex-end;align-items:center;gap:12px;display:flex}.icon-btn{color:#64748b;cursor:pointer;background:#fff;border:1px solid #e8edf5;border-radius:13px;place-items:center;width:43px;height:43px;font-size:16px;transition:all .22s;display:grid;position:relative}.icon-btn:hover{color:#4f46e5;background:#f0f3ff;border-color:#c7d2fe;transform:translateY(-2px);box-shadow:0 5px 14px #4f46e51a}.badge{color:#fff;background:#ef4444;border:2px solid #fff;border-radius:20px;justify-content:center;align-items:center;min-width:19px;height:19px;padding:0 5px;font-size:9px;font-weight:800;animation:.3s both navbarBadgeIn;display:flex;position:absolute;top:-5px;right:-5px;box-shadow:0 2px 6px #ef444433}.profile-wrapper{align-self:stretch;align-items:center;display:flex;position:relative}.profile-trigger{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:15px;align-items:center;gap:11px;padding:7px 11px;transition:all .2s;display:flex}.profile-trigger:hover,.profile-wrapper.open .profile-trigger{background:#f5f7ff;border-color:#e0e7ff}.profile-icon{color:#6366f1;background:#eef2ff;border-radius:50%;flex-shrink:0;font-size:39px}.profile-trigger-info{flex-direction:column;align-items:flex-start;gap:4px;max-width:135px;display:flex}.profile-trigger-info h4{color:#1e293b;text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin:0;font-size:12px;font-weight:750;overflow:hidden}.profile-trigger-info span{color:#818da2;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:11px;overflow:hidden}.profile-chevron{color:#94a3b8;font-size:11px;transition:transform .25s}.profile-wrapper.open .profile-chevron{transform:rotate(180deg)}.profile-dropdown{z-index:1100;background:#fff;border:1px solid #e8edf5;border-radius:18px;width:280px;padding:10px;animation:.2s both navbarDropIn;position:absolute;top:calc(100% + 3px);right:0;box-shadow:0 22px 55px #0f172a29}.profile-dropdown-header{align-items:center;gap:13px;padding:14px 10px;display:flex}.profile-dropdown-avatar{color:#6366f1;flex-shrink:0;font-size:43px}.profile-dropdown-user{flex-direction:column;gap:5px;min-width:0;display:flex}.profile-dropdown-user strong{color:#172554;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.profile-dropdown-user span{overflow-wrap:anywhere;color:#7c8aa0;font-size:11px}.profile-dropdown-user small{color:#4f46e5;background:#eef2ff;border-radius:6px;align-self:flex-start;padding:4px 8px;font-size:10px;font-weight:700}.profile-dropdown-divider{background:#edf0f6;height:1px;margin:7px 3px}.profile-menu-item{color:#475569;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:10px;align-items:center;gap:12px;width:100%;padding:12px;font-size:12px;font-weight:600;transition:all .2s;display:flex}.profile-menu-item>svg{color:#8996ad;font-size:15px}.profile-menu-item:hover{color:#4f46e5;background:#f3f5ff}.profile-menu-item:hover>svg{color:#4f46e5}.profile-menu-item.logout-menu-item,.profile-menu-item.logout-menu-item>svg{color:#dc2626}.profile-menu-item.logout-menu-item:hover{background:#fff1f2}.erp-swal-popup{background:#fff!important;border:1px solid #e8edf5!important;border-radius:24px!important;padding:28px!important;box-shadow:0 25px 80px #0f172a33!important}.erp-swal-title{color:#172554!important;letter-spacing:-.5px!important;font-size:23px!important;font-weight:800!important}.erp-swal-text{color:#64748b!important;font-size:14px!important;line-height:1.7!important}.erp-swal-actions{gap:10px!important}.erp-swal-confirm,.erp-swal-cancel{cursor:pointer;min-height:43px;border:none!important;border-radius:11px!important;padding:0 19px!important;font-size:12px!important;font-weight:700!important;transition:transform .2s,box-shadow .2s!important}.erp-swal-confirm{color:#fff!important;background:linear-gradient(135deg,#4f46e5,#6366f1)!important;box-shadow:0 5px 14px #4f46e53b!important}.erp-swal-cancel{color:#475569!important;background:#f1f5f9!important}.erp-swal-confirm:hover,.erp-swal-cancel:hover{transform:translateY(-2px)}.erp-swal-confirm:hover{box-shadow:0 8px 20px #4f46e54d!important}@keyframes navbarDropIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes navbarBadgeIn{0%{opacity:0;transform:scale(.65)}to{opacity:1;transform:scale(1)}}@media (width<=1000px){.navbar{gap:14px;padding:14px 18px}.navbar-left h2{font-size:20px}.navbar-right{gap:8px}.profile-trigger{gap:7px;padding:6px}}@media (width<=700px){.navbar{flex-wrap:wrap;gap:12px;padding:14px}.navbar-left{flex:1}.navbar-left h2{font-size:19px}.search-container{flex:0 0 100%;order:3;max-width:none}.navbar-right{gap:7px}.icon-btn{border-radius:11px;width:38px;height:38px}.profile-trigger-info,.profile-chevron{display:none}.profile-icon{font-size:34px}.profile-dropdown{width:min(280px,100vw - 28px);right:0}}@media (prefers-reduced-motion:reduce){.navbar *,.navbar :before,.navbar :after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.navigation-progress{z-index:99999;pointer-events:none;background:#3b82f61f;width:100%;height:3px;position:fixed;top:0;left:0;overflow:hidden}.navigation-progress-bar{background:linear-gradient(90deg,#2563eb,#06b6d4,#818cf8);border-radius:0 8px 8px 0;width:35%;height:100%;animation:.8s ease-in-out infinite navigation-loading;box-shadow:0 0 10px #2563eb80}@keyframes navigation-loading{0%{transform:translate(-110%)}to{transform:translate(400%)}}@media (prefers-reduced-motion:reduce){.navigation-progress-bar{animation-duration:2s}}.app-shell{background:#f8fafc;min-height:100vh}.main-content{z-index:1;min-height:100vh;margin-left:260px;transition:margin-left .3s;position:relative}.page-content{padding:24px}@media (width<=900px){.main-content{margin-left:0}}.coming-soon{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:65vh;padding:40px;display:flex}.coming-soon-icon{color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:24px;justify-content:center;align-items:center;width:80px;height:80px;margin-bottom:20px;font-size:30px;animation:2.5s ease-in-out infinite comingFloat;display:flex;box-shadow:0 15px 35px #6366f140}.coming-soon h1{color:#0f172a;margin:0;font-size:28px;font-weight:800}.coming-soon p{color:#475569;margin:10px 0 5px;font-size:15px}.coming-soon span{color:#94a3b8;font-size:13px}@keyframes comingFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.reports-page{width:100%;min-width:0;color:var(--text-primary,#172033);background:var(--background,#f5f7fb);box-sizing:border-box;padding:24px}.reports-page *,.reports-page :before,.reports-page :after{box-sizing:border-box}.reports-page-header{justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px;display:flex}.reports-eyebrow{color:#4f46e5;letter-spacing:1.5px;margin-bottom:7px;font-size:11px;font-weight:800;display:inline-block}.reports-page-header h1{color:var(--text-primary,#172033);letter-spacing:-.7px;margin:0;font-size:clamp(24px,3vw,32px);font-weight:750}.reports-page-header p{color:var(--text-secondary,#718096);margin:8px 0 0;font-size:14px;line-height:1.6}.report-refresh-btn,.report-export-btn{color:#334155;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #dbe1eb;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:10px 15px;font-size:13px;font-weight:650;transition:background .2s,border-color .2s;display:inline-flex}.report-refresh-btn span{font-size:20px;line-height:1}.report-refresh-btn:hover,.report-export-btn:hover{background:#f0f3ff;border-color:#a5b4fc}.report-refresh-btn:disabled,.report-export-btn:disabled{opacity:.55;cursor:not-allowed}.report-error{color:#b91c1c;background:#fff1f2;border:1px solid #fecaca;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;padding:13px 16px;font-size:13px;display:flex}.report-error button{color:inherit;cursor:pointer;background:0 0;border:0;font-size:22px}.report-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px;display:grid}.report-stat-card{border:1px solid var(--border-color,#e8ecf3);background:var(--card-background,#fff);border-radius:14px;align-items:flex-start;gap:15px;min-width:0;padding:20px;display:flex;box-shadow:0 3px 12px #0f172a06}.report-stat-icon{border-radius:12px;flex:0 0 46px;justify-content:center;align-items:center;width:46px;height:46px;font-size:25px;font-weight:700;display:flex}.report-stat-icon.purple{color:#6d28d9;background:#ede9fe}.report-stat-icon.blue{color:#1d4ed8;background:#dbeafe}.report-stat-icon.green{color:#15803d;background:#dcfce7}.report-stat-icon.red{color:#b91c1c;background:#fee2e2}.report-stat-icon.orange{color:#c2410c;background:#ffedd5}.report-stat-icon.teal{color:#0f766e;background:#ccfbf1}.report-stat-content{min-width:0}.report-stat-content p{color:var(--text-secondary,#718096);margin:1px 0 7px;font-size:13px;font-weight:550}.report-stat-content h3{color:var(--text-primary,#172033);letter-spacing:-.5px;overflow-wrap:anywhere;margin:0;font-size:27px;font-weight:750}.report-stat-content>span{color:var(--text-secondary,#718096);margin-top:7px;font-size:11px;line-height:1.5;display:block}.reports-charts-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;margin-bottom:22px;display:grid}.report-panel{border:1px solid var(--border-color,#e8ecf3);background:var(--card-background,#fff);border-radius:14px;min-width:0;padding:22px;box-shadow:0 3px 12px #0f172a06}.report-panel-heading{justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;display:flex}.report-panel-heading h2{color:var(--text-primary,#172033);margin:0;font-size:17px;font-weight:700}.report-panel-heading p{color:var(--text-secondary,#718096);margin:6px 0 0;font-size:12px;line-height:1.5}.report-chart{width:100%;min-width:0;height:300px}.report-pie-chart{height:300px}.report-empty-chart{color:#94a3b8;text-align:center;justify-content:center;align-items:center;min-height:240px;font-size:13px;display:flex}.report-data-panel{padding:22px 0 0;overflow:hidden}.report-table-heading{padding:0 22px}.report-export-btn{color:#4338ca;border-color:#c7d2fe}.report-tabs{border-bottom:1px solid #e9edf4;align-items:center;gap:24px;padding:0 22px;display:flex;overflow-x:auto}.report-tab{color:#718096;cursor:pointer;background:0 0;border:0;flex:none;padding:13px 2px;font-size:13px;font-weight:650;position:relative}.report-tab.active{color:#4f46e5}.report-tab.active:after{content:"";background:#4f46e5;height:2px;position:absolute;bottom:-1px;left:0;right:0}.report-filters{background:#fafbfe;border-bottom:1px solid #edf0f5;grid-template-columns:repeat(5,minmax(125px,1fr));align-items:end;gap:13px;padding:20px 22px;display:grid}.report-filter-field{flex-direction:column;gap:7px;min-width:0;display:flex}.report-filter-field label{color:#475569;font-size:11px;font-weight:700}.report-filter-field input,.report-filter-field select{color:#334155;background:#fff;border:1px solid #dce2eb;border-radius:8px;outline:none;width:100%;min-width:0;height:39px;padding:0 10px;font-family:inherit;font-size:12px}.report-filter-field input:focus,.report-filter-field select:focus,.report-table-toolbar input:focus{border-color:#818cf8;box-shadow:0 0 0 3px #6366f11a}.report-filter-actions{align-items:center;gap:8px;display:flex}.report-filter-actions button{color:#fff;cursor:pointer;background:#4f46e5;border:1px solid #4f46e5;border-radius:8px;min-height:39px;padding:0 15px;font-size:12px;font-weight:650}.report-filter-actions button:hover{background:#4338ca}.report-filter-actions button:disabled{opacity:.6;cursor:not-allowed}.report-filter-actions .report-reset-btn{color:#475569;background:#fff;border-color:#dbe1eb}.report-filter-actions .report-reset-btn:hover{background:#f1f5f9}.report-table-toolbar{justify-content:space-between;align-items:center;gap:16px;padding:17px 22px;display:flex}.report-table-toolbar>span{color:#718096;font-size:12px}.report-table-toolbar input{color:#334155;background:#fff;border:1px solid #dce2eb;border-radius:8px;outline:none;width:min(100%,260px);height:38px;padding:0 12px;font-family:inherit;font-size:12px}.report-table-wrap{width:100%;overflow-x:auto}.report-table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%}.report-table thead{background:#f8fafc}.report-table th{color:#64748b;letter-spacing:.45px;text-transform:uppercase;border-top:1px solid #edf0f5;border-bottom:1px solid #edf0f5;padding:13px 17px;font-size:10px;font-weight:750}.report-table td{color:#475569;vertical-align:middle;border-bottom:1px solid #edf0f5;padding:15px 17px;font-size:12px}.report-table tbody tr:hover{background:#fafbff}.report-table tbody tr:last-child td{border-bottom:0}.report-primary-cell{color:#1e293b;text-overflow:ellipsis;max-width:230px;font-size:12px;font-weight:700;overflow:hidden}.report-table td small{color:#94a3b8;margin-top:5px;font-size:10px;display:block}.report-status-badge,.report-priority{white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;padding:5px 9px;font-size:10px;font-weight:700;display:inline-flex}.report-status-badge.completed{color:#15803d;background:#dcfce7}.report-status-badge.pending{color:#a16207;background:#fef3c7}.report-status-badge.in-progress{color:#1d4ed8;background:#dbeafe}.report-status-badge.overdue{color:#b91c1c;background:#fee2e2}.report-status-badge.cancelled,.report-status-badge.inactive{color:#64748b;background:#f1f5f9}.report-status-badge.active{color:#15803d;background:#dcfce7}.report-priority.high{color:#b91c1c;background:#fee2e2}.report-priority.medium{color:#a16207;background:#fef3c7}.report-priority.low{color:#15803d;background:#dcfce7}.report-progress{align-items:center;gap:9px;min-width:110px;display:flex}.report-progress-track{background:#e9edf5;border-radius:10px;width:68px;height:6px;overflow:hidden}.report-progress-fill{border-radius:inherit;background:#4f46e5;height:100%;transition:width .25s}.report-progress>span{color:#475569;font-size:11px;font-weight:700}.report-empty-row{text-align:center;white-space:normal;color:#94a3b8!important;padding:40px 20px!important}.report-loading{color:#718096;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:240px;font-size:13px;display:flex}.report-spinner{border:3px solid #e0e7ff;border-top-color:#4f46e5;border-radius:50%;width:30px;height:30px;animation:.75s linear infinite report-spin}@keyframes report-spin{to{transform:rotate(360deg)}}.report-pagination{border-top:1px solid #edf0f5;justify-content:space-between;align-items:center;gap:15px;padding:17px 22px;display:flex}.report-pagination>span{color:#718096;font-size:11px}.report-pagination>div{align-items:center;gap:10px;display:flex}.report-pagination button{color:#475569;cursor:pointer;background:#fff;border:1px solid #dce2eb;border-radius:7px;min-height:34px;padding:0 12px;font-size:11px;font-weight:600}.report-pagination button:hover:not(:disabled){background:#f0f3ff;border-color:#a5b4fc}.report-pagination button:disabled{opacity:.45;cursor:not-allowed}.report-page-number{color:#475569;white-space:nowrap;font-size:11px;font-weight:650}@media (width<=1200px){.report-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.report-filter-actions{align-self:end}}@media (width<=900px){.reports-charts-grid{grid-template-columns:minmax(0,1fr)}.report-chart{height:280px}}@media (width<=600px){.reports-page{padding:14px}.reports-page-header{flex-direction:column;align-items:flex-start}.report-refresh-btn{align-self:flex-start}.report-stats-grid{grid-template-columns:minmax(0,1fr);gap:12px}.report-stat-card{padding:16px}.report-stat-content h3{font-size:24px}.report-panel{padding:16px}.report-data-panel{padding:16px 0 0}.report-table-heading{flex-direction:column;align-items:flex-start;padding:0 16px}.report-tabs{gap:18px;padding:0 16px}.report-filters{grid-template-columns:minmax(0,1fr);padding:16px}.report-filter-actions button{flex:1}.report-table-toolbar{flex-direction:column;align-items:flex-start;padding:16px}.report-table-toolbar input{width:100%}.report-pagination{flex-direction:column;align-items:flex-start;padding:16px}.report-pagination>div{justify-content:space-between;width:100%}}@media (prefers-reduced-motion:reduce){.report-spinner{animation:none}.report-progress-fill{transition:none}}.settings-page{background:#f5f7fb;min-height:calc(100vh - 70px);padding:24px}.settings-header{margin-bottom:24px}.settings-header h1{color:#1f2937;margin:0;font-size:26px;font-weight:700}.settings-header p{color:#6b7280;margin:6px 0 0;font-size:14px}.settings-layout{align-items:flex-start;gap:24px;display:flex}.settings-sidebar{background:#fff;border:1px solid #e5e7eb;border-radius:12px;width:220px;min-width:220px;padding:10px;box-shadow:0 2px 8px #0000000a}.settings-tab{cursor:pointer;color:#4b5563;text-align:left;background:0 0;border:none;border-radius:8px;align-items:center;gap:10px;width:100%;margin-bottom:4px;padding:12px 14px;font-size:14px;transition:all .2s;display:flex}.settings-tab:hover{background:#f3f4f6}.settings-tab.active{color:#4f46e5;background:#eef2ff;font-weight:600}.settings-content{background:#fff;border:1px solid #e5e7eb;border-radius:12px;flex:1;min-width:0;box-shadow:0 2px 8px #0000000a}.settings-section{padding:28px}.section-heading{border-bottom:1px solid #e5e7eb;margin-bottom:24px;padding-bottom:20px}.section-heading h2{color:#1f2937;margin:0;font-size:20px}.section-heading p{color:#6b7280;margin:6px 0 0;font-size:13px}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.form-group{flex-direction:column;gap:7px;display:flex}.form-group.full-width{grid-column:1/-1}.form-group label{color:#374151;font-size:13px;font-weight:600}.form-group input,.form-group select,.form-group textarea{box-sizing:border-box;color:#1f2937;background:#fff;border:1px solid #d1d5db;border-radius:7px;outline:none;width:100%;padding:10px 12px;font-size:14px;transition:border-color .2s,box-shadow .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e514}.form-group textarea{resize:vertical}.settings-options{border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;display:flex;overflow:hidden}.setting-option{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:20px;padding:18px;display:flex}.setting-option:last-child{border-bottom:none}.setting-option h3{color:#1f2937;margin:0;font-size:14px}.setting-option p{color:#6b7280;margin:5px 0 0;font-size:12px}.switch{flex-shrink:0;width:44px;height:24px;position:relative}.switch input{opacity:0;width:0;height:0}.slider{cursor:pointer;background:#d1d5db;border-radius:24px;transition:all .2s;position:absolute;inset:0}.slider:before{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:all .2s;position:absolute;top:3px;left:3px}.switch input:checked+.slider{background:#4f46e5}.switch input:checked+.slider:before{transform:translate(20px)}.settings-actions{background:#fafafa;border-top:1px solid #e5e7eb;border-radius:0 0 12px 12px;justify-content:flex-end;gap:10px;padding:18px 28px;display:flex}.btn-primary,.btn-secondary{cursor:pointer;border:none;border-radius:7px;padding:10px 18px;font-size:14px;font-weight:600;transition:all .2s}.btn-primary{color:#fff;background:#4f46e5}.btn-primary:hover{background:#4338ca}.btn-primary:disabled,.btn-secondary:disabled{opacity:.6;cursor:not-allowed}.btn-secondary{color:#374151;background:#fff;border:1px solid #d1d5db}.btn-secondary:hover{background:#f3f4f6}.settings-loading,.settings-error{color:#6b7280;justify-content:center;align-items:center;min-height:400px;font-size:14px;display:flex}.coming-soon{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:280px;display:flex}.coming-soon-icon{margin-bottom:12px;font-size:42px}.coming-soon h3{color:#1f2937;margin:0;font-size:18px}.coming-soon p{color:#6b7280;max-width:450px;margin:8px 0 0;font-size:13px}.appearance-group{margin-bottom:30px}.appearance-group>h3{color:#1f2937;margin:0;font-size:15px}.appearance-group>p{color:#6b7280;margin:5px 0 15px;font-size:13px}.theme-options{grid-template-columns:repeat(3,1fr);gap:15px;display:grid}.theme-card{cursor:pointer;border:1px solid #e5e7eb;border-radius:10px;flex-direction:column;gap:5px;padding:12px;transition:all .2s;display:flex;position:relative}.theme-card:hover{border-color:#a5b4fc}.theme-card.active{border-color:#4f46e5;box-shadow:0 0 0 2px #4f46e514}.theme-card input{opacity:0;position:absolute}.theme-card strong{color:#1f2937;font-size:13px}.theme-card span{color:#6b7280;font-size:11px}.theme-preview{border:1px solid #e5e7eb;border-radius:6px;height:100px;margin-bottom:5px;display:flex;overflow:hidden}.preview-sidebar{width:25%}.preview-content{flex:1;padding:8px}.preview-bar{border-radius:3px;height:8px;margin-bottom:8px}.preview-card{border-radius:4px;height:35px;margin-bottom:6px}.preview-card.small{width:70%;height:20px}.light-preview{background:#fff}.light-preview .preview-sidebar{background:#1f2937}.light-preview .preview-bar{background:#e5e7eb}.light-preview .preview-card{background:#f3f4f6}.dark-preview{background:#111827}.dark-preview .preview-sidebar{background:#030712}.dark-preview .preview-bar{background:#374151}.dark-preview .preview-card{background:#1f2937}.system-preview{background:#fff}.preview-half{width:50%}.preview-half.light{background:#f3f4f6}.preview-half.dark{background:#1f2937}.dashboard-layout-options{grid-template-columns:repeat(3,1fr);gap:15px;display:grid}.layout-card{cursor:pointer;border:1px solid #e5e7eb;border-radius:10px;padding:12px;position:relative}.layout-card.active{border-color:#4f46e5;box-shadow:0 0 0 2px #4f46e514}.layout-card input{opacity:0;position:absolute}.layout-card strong{color:#1f2937;margin-top:8px;font-size:13px;display:block}.layout-preview{background:#f3f4f6;border-radius:6px;height:80px;padding:8px}.layout-box{background:#fff;border-radius:3px;height:20px;margin-bottom:6px}.layout-row{gap:5px;display:flex}.layout-row div{background:#fff;border-radius:3px;flex:1;height:30px}.layout-preview.compact .layout-row{gap:3px}.layout-preview.compact .layout-row div{height:22px}.layout-preview.wide{gap:6px;display:flex}.layout-preview.wide .layout-box{flex:1;height:60px}@media (width<=800px){.theme-options,.dashboard-layout-options{grid-template-columns:1fr}}@media (width<=900px){.settings-layout{flex-direction:column}.settings-sidebar{gap:5px;width:100%;min-width:0;display:flex;overflow-x:auto}.settings-tab{width:auto;min-width:max-content;margin-bottom:0}.settings-content{width:100%}}@media (width<=650px){.settings-page{padding:15px}.settings-section{padding:20px}.settings-grid{grid-template-columns:1fr}.form-group.full-width{grid-column:auto}.setting-option{align-items:flex-start}.settings-actions{padding:15px 20px}}.auth-loading{color:#475569;background:#f8fafc;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:100vh;font-size:14px;font-weight:600;display:flex}.auth-spinner{border:3px solid #e2e8f0;border-top-color:#6366f1;border-radius:50%;width:38px;height:38px;animation:.8s linear infinite erpSpin}@keyframes erpSpin{to{transform:rotate(360deg)}}
