.login-container{min-height:100vh;width:100%;display:flex;position:relative;overflow:hidden;background:#0f0c29;background:linear-gradient(135deg,#0f0c29,#302b63 40%,#24243e);background-size:400% 400%;animation:gradientShift 20s ease infinite}@keyframes gradientShift{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.particles{position:absolute;width:100%;height:100%;pointer-events:none;z-index:0}.particle{position:absolute;width:3px;height:3px;background:#fff9;border-radius:50%;box-shadow:0 0 10px #fffc;animation:floatParticle 25s infinite ease-in-out}@keyframes floatParticle{0%,to{transform:translate(0) scale(1);opacity:0}10%{opacity:1}90%{opacity:1}to{transform:translate(calc(100vw - 100%),calc(100vh - 100%)) scale(0);opacity:0}}.orb-canvas{position:absolute;top:0;left:0;width:100%;height:100%;z-index:0;opacity:.8;filter:blur(40px)}.login-card{display:flex;width:90%;max-width:1200px;margin:auto;background:#ffffff1a;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-radius:24px;overflow:hidden;box-shadow:0 25px 50px -12px #00000040;border:1px solid rgba(255,255,255,.2);position:relative;z-index:1;transition:transform .3s cubic-bezier(.4,0,.2,1),box-shadow .3s;transform-style:preserve-3d;animation:cardFadeIn .4s cubic-bezier(.4,0,.2,1) forwards}@keyframes cardFadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.login-card:hover{box-shadow:0 35px 70px -15px #00000059}.login-card .logo-wrapper{animation:dropDown .8s cubic-bezier(.34,1.56,.64,1) forwards;animation-delay:.4s;opacity:0}.login-card h1,.login-card .subtitle{opacity:1}.login-card h1 .letter,.login-card .subtitle .letter{display:inline-block;animation:letterDrop .8s cubic-bezier(.34,1.56,.64,1) forwards;opacity:0}@keyframes letterDrop{0%{opacity:0;transform:translateY(-40px) rotate(-10deg)}to{opacity:1;transform:translateY(0) rotate(0)}}.login-form .form-header{animation:dropDown .8s cubic-bezier(.34,1.56,.64,1) forwards;animation-delay:2.5s;opacity:0}.login-form .form-group:nth-child(2){animation:dropDown .8s cubic-bezier(.34,1.56,.64,1) forwards;animation-delay:2.7s;opacity:0}.login-form .form-group:nth-child(3){animation:dropDown .8s cubic-bezier(.34,1.56,.64,1) forwards;animation-delay:2.9s;opacity:0}.login-form .btn-primary{animation:dropDown .8s cubic-bezier(.34,1.56,.64,1) forwards;animation-delay:3.1s;opacity:0}@keyframes dropDown{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}@keyframes slideUp{0%{opacity:0;transform:translateY(50px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.brand-section{flex:1;background:linear-gradient(135deg,#667eeae6,#764ba2e6);padding:3rem;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden}.brand-section:before{content:"";position:absolute;width:300px;height:300px;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);border-radius:50%;top:-100px;right:-100px;animation:pulse 8s ease-in-out infinite}@keyframes pulse{0%,to{transform:scale(1);opacity:.5}50%{transform:scale(1.2);opacity:.8}}.logo-wrapper{position:relative;margin-bottom:2rem;z-index:1}.logo-glow{position:absolute;width:180px;height:180px;background:radial-gradient(circle,rgba(255,255,255,.4) 0%,transparent 70%);border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%);animation:glowPulse 3s ease-in-out infinite;filter:blur(20px)}@keyframes glowPulse{0%,to{transform:translate(-50%,-50%) scale(1);opacity:.5}50%{transform:translate(-50%,-50%) scale(1.3);opacity:.8}}.logo-icon{background:#fff;color:#667eea;width:120px;height:120px;border-radius:20px;display:flex;align-items:center;justify-content:center;box-shadow:0 20px 40px #0003;transform:rotate(0);transition:transform .6s cubic-bezier(.68,-.55,.265,1.55);position:relative;z-index:1}.logo-icon:hover{transform:rotate(360deg) scale(1.1)}.brand-section h1{font-size:3rem;font-weight:800;color:#fff;margin-bottom:.5rem;text-shadow:0 4px 12px rgba(0,0,0,.2);position:relative;z-index:1}.subtitle{color:#ffffffe6;font-weight:500;font-size:1.1rem;text-shadow:0 2px 4px rgba(0,0,0,.1);position:relative;z-index:1;display:flex;align-items:center}.floating-shape{position:absolute;background:#ffffff0d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1)}.shape-1{width:100px;height:100px;border-radius:30% 70% 70% 30%/30% 30% 70% 70%;top:15%;left:10%;animation:morphShape 20s ease-in-out infinite}.shape-2{width:80px;height:80px;border-radius:50%;bottom:20%;right:15%;animation:morphShape 25s ease-in-out infinite reverse}.shape-3{width:60px;height:60px;border-radius:20px;top:60%;left:20%;animation:morphShape 18s ease-in-out infinite;animation-delay:3s}@keyframes morphShape{0%,to{transform:translate(0) rotate(0) scale(1);border-radius:30% 70% 70% 30%/30% 30% 70% 70%}33%{transform:translate(20px,-30px) rotate(120deg) scale(1.1);border-radius:50%}66%{transform:translate(-15px,15px) rotate(240deg) scale(.9);border-radius:70% 30% 30% 70%/70% 70% 30% 30%}}.feature-pills{display:flex;gap:1rem;margin-top:2rem;justify-content:center;position:relative;z-index:1}.pill{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#ffffff26;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:20px;border:1px solid rgba(255,255,255,.2);color:#fff;font-size:.85rem;font-weight:500;transition:all .3s cubic-bezier(.4,0,.2,1)}.pill:hover{background:#ffffff40;transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.login-form{flex:1;padding:3rem;background:#fff;display:flex;flex-direction:column;justify-content:center}.form-header{margin-bottom:2rem}.form-header h2{font-size:1.75rem;font-weight:700;color:#1f2937;margin-bottom:.25rem}.form-header p{color:#6b7280;font-size:.95rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;font-size:.875rem;font-weight:600;color:#1f2937;margin-bottom:.5rem;letter-spacing:.025em}.label-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.label-row label{margin-bottom:0}.forgot-link{color:#667eea;font-size:.875rem;text-decoration:none;font-weight:500;transition:color .2s}.forgot-link:hover{color:#764ba2;text-decoration:underline}.input-icon{position:absolute;left:16px;color:#9ca3af;pointer-events:none;transition:color .2s;z-index:2}.input-wrapper input:focus+.input-icon,.input-wrapper input:focus~.input-icon{color:#667eea}.input-wrapper input{width:100%;padding:.875rem 1rem .875rem 50px!important;border:2px solid #e5e7eb;border-radius:12px;font-size:.95rem;transition:all .3s cubic-bezier(.4,0,.2,1);background:#f9fafb}.input-wrapper input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 4px #667eea1a;background:#fff;transform:translateY(-2px)}.input-border{position:absolute;bottom:0;left:0;width:0;height:2px;background:linear-gradient(90deg,#667eea,#764ba2);transition:width .4s cubic-bezier(.4,0,.2,1)}.input-wrapper input:focus~.input-border{width:100%}.btn-primary{width:100%;display:flex;align-items:center;justify-content:center;gap:.5rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1rem;border-radius:12px;font-weight:600;font-size:1rem;transition:all .3s cubic-bezier(.4,0,.2,1);border:none;cursor:pointer;box-shadow:0 4px 15px #667eea66;position:relative;overflow:hidden}.btn-primary:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transition:left .5s}.btn-primary:hover:before{left:100%}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 25px #667eea80}.btn-primary:active{transform:translateY(0);box-shadow:0 4px 15px #667eea66}.btn-shine{position:absolute;top:0;left:-100%;width:50%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);transform:skew(-25deg)}.btn-primary:hover .btn-shine{animation:shine 1.2s}@keyframes shine{0%{left:-100%}to{left:200%}}.btn-icon{transition:transform .3s cubic-bezier(.4,0,.2,1)}.btn-primary:hover .btn-icon{transform:translate(4px)}.login-footer{text-align:center;font-size:.875rem;color:#6b7280;padding:1.5rem;background:#f9fafb;margin:2rem -3rem -3rem;border-top:1px solid #e5e7eb}.login-footer strong{color:#667eea;font-weight:600}@media (max-width: 768px){.login-card{flex-direction:column;width:95%;max-height:95vh;overflow-y:auto}.brand-section{padding:2rem;min-height:200px}.brand-section h1{font-size:2rem}.subtitle{font-size:.95rem}.logo-icon{width:60px;height:60px}.login-form{padding:2rem}.login-footer{margin-left:-2rem;margin-right:-2rem;margin-bottom:-2rem}}@media (max-width: 480px){.login-container{padding:0}.login-card{width:100%;border-radius:0;max-height:100vh}.brand-section{border-radius:0}}.forgot-password-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .3s ease}.forgot-password-modal{background:#fff;border-radius:16px;padding:2rem;max-width:450px;width:90%;box-shadow:0 25px 50px -12px #00000080;animation:slideIn .3s cubic-bezier(.4,0,.2,1);position:relative}@keyframes slideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.close-modal-btn{position:absolute;top:1rem;right:1rem;background:#f1f5f9;border:none;width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;color:#64748b}.close-modal-btn:hover{background:#e2e8f0;color:#1f2937}.modal-header-reset{margin-bottom:2rem}.modal-header-reset h3{font-size:1.5rem;font-weight:700;color:#1f2937;margin-bottom:.5rem}.modal-header-reset p{color:#6b7280;font-size:.95rem}.modal-actions{display:flex;gap:1rem;margin-top:2rem}.btn-secondary{flex:1;padding:.875rem 1.5rem;border:2px solid #e5e7eb;background:#fff;color:#1f2937;border-radius:12px;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .2s}.btn-secondary:hover{background:#f9fafb;border-color:#d1d5db}.modal-actions .btn-primary{flex:1}.password-result{background:linear-gradient(135deg,#667eea,#764ba2);padding:1.5rem;border-radius:12px;margin:1.5rem 0;text-align:center;animation:slideDown .3s ease}.result-label{color:#ffffffe6;font-size:.875rem;font-weight:500;margin-bottom:.5rem}.result-password{color:#fff;font-size:1.75rem;font-weight:700;letter-spacing:2px;font-family:Courier New,monospace}.sidebar{width:280px;background:var(--sidebar-bg);height:100vh;position:fixed;left:0;top:0;color:var(--sidebar-text);display:flex;flex-direction:column;padding:var(--spacing-lg);transition:transform .3s cubic-bezier(.4,0,.2,1);z-index:95}@media (max-width: 1024px){.sidebar{transform:translate(-100%)}.sidebar.open{transform:translate(0);box-shadow:0 0 50px #00000080}.sidebar-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:90;opacity:0;pointer-events:none;transition:opacity .3s}.sidebar-overlay.open{opacity:1;pointer-events:auto}}.sidebar-header{margin-bottom:var(--spacing-xl)}.logo-section{display:flex;align-items:center;gap:var(--spacing-md)}.logo-icon-small{background:#fff;color:#fff;width:40px;height:40px;border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;box-shadow:0 0 15px #6366f166;padding:4px}.logo-text h2{color:#fff;font-size:1.1rem;font-weight:800;letter-spacing:.5px;margin:0}.logo-text span{font-size:.75rem;font-weight:600;color:var(--primary);text-transform:uppercase;letter-spacing:1px}.menu-group-label{font-size:.75rem;color:#475569;font-weight:700;margin-bottom:var(--spacing-md);padding-left:var(--spacing-sm)}.sidebar-menu{flex:1}.menu-item{width:100%;display:flex;align-items:center;gap:var(--spacing-md);padding:.875rem var(--spacing-md);margin-bottom:var(--spacing-xs);border-radius:var(--radius-md);color:var(--sidebar-text);font-weight:500;transition:all .2s;position:relative;overflow:hidden}.menu-item:hover{color:#fff;background:#ffffff0d}.menu-item.active{background:var(--sidebar-active);color:#fff;box-shadow:0 4px 15px #6366f166}.icon-box{display:flex;align-items:center;justify-content:center}.sidebar-footer{margin-top:auto}.user-profile-card{background:#1e293b;border-radius:var(--radius-lg);padding:var(--spacing-md);border:1px solid #334155}.user-info-row{display:flex;align-items:center;gap:var(--spacing-sm);margin-bottom:var(--spacing-md)}.user-info-row.clickable{cursor:pointer;padding:.5rem;border-radius:var(--radius-md);transition:background .2s;margin:-.5rem;margin-bottom:var(--spacing-md)}.user-info-row.clickable:hover{background:#ffffff0d}.user-avatar-small{position:relative;width:40px;height:40px}.user-avatar-small img{border-radius:var(--radius-md);width:100%;height:100%}.online-indicator{position:absolute;bottom:-2px;right:-2px;width:12px;height:12px;background:#10b981;border:2px solid #1e293b;border-radius:50%}.user-name{color:#fff;font-weight:600;font-size:.9rem}.user-role{color:var(--primary);font-size:.65rem;font-weight:700}.logout-btn{width:100%;background:#334155;color:#fff;padding:.5rem;border-radius:var(--radius-md);font-size:.75rem;display:flex;align-items:center;justify-content:center;gap:.5rem;transition:background .2s}.logout-btn:hover{background:#475569}.change-password-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .3s ease}.change-password-modal{background:#fff;border-radius:16px;padding:2rem;max-width:480px;width:90%;box-shadow:0 25px 50px -12px #00000080;animation:slideIn .3s cubic-bezier(.4,0,.2,1);position:relative}.modal-header-change{text-align:center;margin-bottom:2rem}.header-icon{background:linear-gradient(135deg,#667eea,#764ba2);width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;color:#fff;box-shadow:0 8px 16px #667eea4d}.modal-header-change h3{font-size:1.5rem;font-weight:700;color:#1f2937;margin-bottom:.5rem}.modal-header-change p{color:#6b7280;font-size:.95rem}.modal-header-change strong{color:#667eea;font-weight:600}.header{height:80px;background:#fff;background:transparent;display:flex;align-items:center;justify-content:space-between;padding:0 var(--spacing-xl);border-bottom:1px solid #f1f5f9}@media (max-width: 1024px){.header{padding:0 var(--spacing-md)}}.header-left{display:flex;align-items:center;gap:var(--spacing-md)}.menu-toggle{display:none;color:var(--text-main);background:none;border:none;cursor:pointer;padding:.5rem;border-radius:8px;transition:background .2s;position:relative;z-index:100}.menu-toggle:hover{background:#0000000d}@media (max-width: 1024px){.menu-toggle{display:block}}.breadcrumbs{font-weight:700;font-size:.9rem;color:var(--text-muted);display:flex;align-items:center;gap:var(--spacing-sm);text-transform:uppercase;letter-spacing:1px}.current-page{color:var(--text-main)}.header-right{display:flex;align-items:center;gap:var(--spacing-lg)}.date-badge{background:#e0e7ff;padding:.5rem 1rem;border-radius:var(--radius-md);color:#4338ca;font-size:.8rem;font-weight:600;display:flex;align-items:center;gap:.5rem}@media (max-width: 640px){.date-badge{display:none}}.header-export-btn{background:var(--primary);color:#fff;border:none;padding:.6rem 1.2rem;border-radius:8px;font-weight:600;font-size:.85rem;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .2s;box-shadow:0 2px 4px #6366f133}.header-export-btn:hover{background:#4338ca;transform:translateY(-1px);box-shadow:0 4px 8px #6366f14d}.header-export-btn:active{transform:translateY(0)}.month-selector{padding:.6rem 1rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.85rem;font-weight:500;color:#334155;background:#fff;cursor:pointer;transition:all .2s}.month-selector:hover{border-color:var(--primary)}.month-selector:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #6366f11a}@media (max-width: 768px){.date-badge,.header-export-btn .btn-text{display:none}.header-export-btn{padding:.6rem;min-width:40px;justify-content:center}}.notification-btn{position:relative;width:44px;height:44px;border-radius:50%;border:1px solid #e2e8f0;background:#fff;display:flex;align-items:center;justify-content:center;color:#64748b;transition:all .2s}.notification-btn:hover{background:#f8fafc;color:var(--primary);border-color:var(--primary)}.notification-dot{position:absolute;top:10px;right:12px;width:8px;height:8px;background:#ef4444;border-radius:50%;border:2px solid white}.dashboard-layout{height:100vh;background-color:var(--bg-body);display:flex;overflow:hidden}.main-content{margin-left:280px;flex:1;height:100vh;transition:margin-left .3s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;overflow:hidden}.content-area{flex:1;overflow-y:auto;padding:var(--spacing-xl);scroll-behavior:smooth;position:relative}.content-area::-webkit-scrollbar{width:6px}.content-area::-webkit-scrollbar-track{background:transparent}.content-area::-webkit-scrollbar-thumb{background-color:#cbd5e1;border-radius:3px}.content-area::-webkit-scrollbar-thumb:hover{background-color:#94a3b8}@media (max-width: 1024px){.main-content{margin-left:0}.content-area{padding:var(--spacing-md)}}.dashboard-container{display:flex;flex-direction:column;gap:var(--spacing-md);animation:fadeIn .4s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.section-header{margin-top:-.75rem;margin-bottom:0}.section-header h3{font-size:1.1rem;color:#475569;margin:0}.user-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem;margin-top:-.5rem}@media (max-width: 1024px){.user-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}}@media (max-width: 768px){.user-grid{grid-template-columns:1fr}}.user-card-mini{background:#fff;border-radius:12px;padding:.75rem 1rem;display:flex;align-items:center;gap:.75rem;box-shadow:var(--shadow-sm);border:1px solid #f1f5f9;cursor:pointer;transition:all .2s}.user-card-mini:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);border-color:var(--primary)}.user-card-mini img{width:44px;height:44px;border-radius:50%;object-fit:cover;flex-shrink:0}.user-card-mini .user-info{flex:1;min-width:0}.user-card-mini .user-info h4{font-size:.95rem;margin-bottom:.25rem;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-card-mini .user-info span{font-size:.8rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.arrow-btn{color:#cbd5e1;flex-shrink:0}.excel-export-btn{background:#10b981;color:#fff;border:none;border-radius:8px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;flex-shrink:0}.excel-export-btn:hover{background:#059669;transform:scale(1.1)}.excel-export-btn:active{transform:scale(.95)}.export-section{display:flex;justify-content:flex-end;margin:0 0 1.5rem}.export-btn{background:var(--primary);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;font-size:.9rem;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .2s;box-shadow:0 2px 4px #6366f133}.export-btn:hover{background:#4338ca;transform:translateY(-2px);box-shadow:0 4px 8px #6366f14d}.export-btn:active{transform:translateY(0)}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:.5rem;width:100%;margin-bottom:1rem}@media (max-width: 1024px){.stats-grid{grid-template-columns:repeat(2,1fr)!important;gap:.75rem}}@media (max-width: 640px){.stats-grid{display:flex!important;overflow-x:auto;gap:1rem;padding-bottom:.5rem;scroll-snap-type:x mandatory}.stats-grid::-webkit-scrollbar{height:4px}.stats-grid::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.stat-card{min-width:140px;flex-shrink:0;scroll-snap-align:start}}.dashboard-lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--spacing-lg);margin-bottom:2rem}@media (max-width: 768px){.dashboard-lower-grid{grid-template-columns:1fr}}.chart-card{background:#fff;border-radius:var(--radius-xl);padding:1.5rem;box-shadow:var(--shadow-sm);border:1px solid #f1f5f9;min-height:320px;display:flex;flex-direction:column}.card-header h3{font-size:1.1rem;font-weight:700;margin-bottom:.1rem}.card-header p{color:var(--text-muted);font-size:.8rem}.dashboard-container .stat-card{padding:.75rem!important;border-radius:12px;min-height:auto!important;min-width:0!important;width:100%}.dashboard-container .stat-header{margin-bottom:.5rem}.dashboard-container .icon-wrapper{width:36px;height:36px;border-radius:8px}.dashboard-container .icon-wrapper svg{width:18px;height:18px}.dashboard-container .stat-label{font-size:.7rem;margin-bottom:.25rem}.dashboard-container .stat-value{font-size:1.5rem}.dashboard-container .trend-badge{padding:.15rem .4rem;font-size:.65rem}.chart-area{flex:1;display:flex;align-items:flex-end;padding-top:1.5rem}.chart-area.center-content{align-items:center;justify-content:center;flex-direction:column;gap:1rem}.bar-chart{width:100%;height:200px;display:flex;gap:1rem}.pie-chart{width:160px;height:160px;border-radius:50%;position:relative;display:flex;align-items:center;justify-content:center}.pie-hole{width:110px;height:110px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.5rem;color:#1e293b;box-shadow:inset 0 2px 4px #0000000d}.chart-legend{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.legend-item{display:flex;align-items:center;gap:.4rem;font-size:.8rem;font-weight:600}.legend-item .dot{width:10px;height:10px;border-radius:50%}.legend-item .dot.green{background:#10b981}.legend-item .dot.orange{background:#f59e0b}.legend-item .dot.gray{background:#e2e8f0}.y-axis{display:flex;flex-direction:column;justify-content:space-between;color:var(--text-muted);font-size:.8rem;padding-bottom:2rem}.bars-container{flex:1;display:flex;align-items:flex-end;justify-content:space-around;padding-bottom:10px;border-bottom:1px dashed #e2e8f0}.bar-group{width:15%;height:100%;display:flex;align-items:flex-end}.bar{width:100%;border-radius:6px 6px 0 0;transition:height 1s ease-out}.bar.blue{background:#94a3b8}.bar.orange{background:#f59e0b}.bar.green{background:#10b981}.bar.red{background:#ef4444}.ai-card{background:#0f172a;border-radius:var(--radius-xl);padding:var(--spacing-xl);color:#fff;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.ai-card:before{content:"";position:absolute;top:-50%;right:-50%;width:100%;height:100%;background:radial-gradient(circle,#6366f14d,#0000 70%);z-index:0}.ai-badge{background:#ffffff1a;padding:.25rem .75rem;border-radius:20px;font-size:.7rem;font-weight:700;border:1px solid rgba(255,255,255,.2);margin-bottom:1.5rem;z-index:1}.ai-icon-large{background:var(--primary);width:80px;height:80px;border-radius:24px;display:flex;align-items:center;justify-content:center;margin-bottom:1.5rem;box-shadow:0 0 30px #6366f180;z-index:1}.ai-card h3{font-size:1.5rem;font-weight:700;margin-bottom:.75rem;z-index:1}.ai-card p{color:#94a3b8;font-size:.9rem;margin-bottom:2rem;line-height:1.6;z-index:1}.ai-btn{background:var(--primary);color:#fff;width:100%;padding:1rem;border-radius:var(--radius-md);font-weight:600;z-index:1;transition:all .2s}.ai-btn:hover{background:var(--primary-dark);box-shadow:0 0 20px #6366f166}.user-card-mini.inactive{filter:grayscale(.8);opacity:.55;border-color:#e2e8f0}.user-card-mini.inactive:hover{filter:grayscale(.5);opacity:.75;border-color:#94a3b8}.stat-card{background:#fff;padding:1.5rem;border-radius:var(--radius-xl);box-shadow:var(--shadow-sm);transition:transform .2s,box-shadow .2s;border:1px solid #f1f5f9}.stat-card.clickable{cursor:pointer}.stat-card.clickable:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:#e2e8f0}.stat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.stat-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem}.icon-wrapper{width:48px;height:48px;border-radius:var(--radius-lg);display:flex;align-items:center;justify-content:center;color:#fff}.icon-wrapper.blue{background-color:var(--primary);box-shadow:0 4px 12px #6366f14d}.icon-wrapper.orange{background-color:#f59e0b;box-shadow:0 4px 12px #f59e0b4d}.icon-wrapper.green{background-color:#10b981;box-shadow:0 4px 12px #10b9814d}.icon-wrapper.red{background-color:#ef4444;box-shadow:0 4px 12px #ef44444d}.trend-badge{padding:.25rem .5rem;border-radius:var(--radius-md);font-size:.75rem;font-weight:700;display:flex;align-items:center;gap:.25rem}.trend-badge.positive{background-color:#dcfce7;color:#15803d}.trend-badge.negative{background-color:#fee2e2;color:#b91c1c}.stat-label{color:var(--text-muted);font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem}.stat-value{color:var(--text-main);font-size:2.25rem;font-weight:800;line-height:1}@media (max-width: 640px){.stat-card{padding:1rem}.icon-wrapper{width:40px;height:40px}.icon-wrapper svg{width:20px;height:20px}.stat-header{margin-bottom:.75rem}.stat-value{font-size:1.5rem}.stat-label{font-size:.7rem}}@media (max-width: 768px){.stat-card{padding:.75rem}.stat-label{display:none}.stat-content{display:flex;flex-direction:column;align-items:center;justify-content:center}.stat-value{font-size:1.75rem;text-align:center}.stat-header{margin-bottom:.5rem;justify-content:center}.trend-badge{display:none}.icon-wrapper{width:36px;height:36px}.icon-wrapper svg{width:18px;height:18px}}.user-detail-modal{width:600px;max-width:90vw;display:flex;flex-direction:column;height:80vh;padding:0;overflow:hidden}.user-detail-header{padding:1.5rem;background:linear-gradient(135deg,#f8fafc,#e2e8f0);display:flex;align-items:center;gap:1.5rem;border-bottom:1px solid #e2e8f0}.user-avatar-large{width:80px;height:80px;border-radius:50%;object-fit:cover;border:4px solid white;box-shadow:0 4px 6px -1px #0000001a}.user-info-large h2{margin:0;font-size:1.5rem;color:#1e293b;font-weight:700}.user-info-large .user-code{margin:.25rem 0 .5rem;color:#64748b;font-size:.9rem;font-family:monospace}.modal-tabs{display:flex;border-bottom:1px solid #e2e8f0;background:#fff}.tab-btn{flex:1;padding:1rem;background:none;border:none;border-bottom:2px solid transparent;cursor:pointer;font-weight:600;color:#64748b;display:flex;align-items:center;justify-content:center;gap:.5rem;transition:all .2s}.tab-btn.active{color:#3b82f6;border-bottom-color:#3b82f6;background:#eff6ff}.tab-btn:hover:not(.active){background:#f8fafc;color:#334155}.modal-content-scroll{flex:1;overflow-y:auto;padding:1.5rem;background-color:#f8fafc}.tasks-list{display:flex;flex-direction:column;gap:1rem}.task-item-card{background:#fff;padding:1rem;border-radius:8px;border:1px solid #e2e8f0;box-shadow:0 1px 2px #0000000d}.task-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem}.task-header h4{margin:0;font-size:1rem;color:#334155;flex:1;margin-right:.5rem}.priority-tag{font-size:.7rem;padding:.15rem .5rem;border-radius:12px;text-transform:uppercase;font-weight:700}.priority-tag.high{background:#fee2e2;color:#dc2626}.priority-tag.medium{background:#fef3c7;color:#d97706}.priority-tag.low{background:#dcfce7;color:#16a34a}.task-progress{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.progress-bar-bg{flex:1;height:6px;background:#f1f5f9;border-radius:3px;overflow:hidden}.progress-bar-fill{height:100%;transition:width .3s ease}.progress-text{font-size:.85rem;font-weight:600;color:#475569;min-width:35px;text-align:right}.task-footer{display:flex;justify-content:flex-end}.deadline{display:flex;align-items:center;gap:.25rem;font-size:.8rem;color:#64748b}.daily-report-view{display:flex;flex-direction:column}.report-content-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:1.5rem;border-left:4px solid #6366f1}.report-types{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.work-type-tag{background:#e0e7ff;color:#4338ca;padding:.25rem .75rem;border-radius:4px;font-size:.8rem;font-weight:600}.report-body{font-size:.95rem;line-height:1.6;color:#334155;white-space:pre-wrap}.report-progress-highlight{margin-top:1rem;padding-top:1rem;border-top:1px dashed #e2e8f0;font-size:.9rem;color:#1e293b}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;color:#94a3b8;text-align:center;font-size:.95rem;background:#fff;border-radius:8px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0f172a99;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:100;animation:fadeIn .2s ease-out}.modal-card{background:#fff;width:100%;max-width:500px;border-radius:var(--radius-xl);padding:var(--spacing-xl);box-shadow:var(--shadow-card);position:relative;animation:scaleUp .3s cubic-bezier(.34,1.56,.64,1)}@keyframes scaleUp{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.close-btn{position:absolute;top:1rem;right:1rem;color:var(--text-muted);width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f1f5f9;transition:all .2s}.close-btn:hover{background:#e2e8f0;color:#ef4444}.modal-header{margin-bottom:var(--spacing-lg);text-align:center}.modal-header h3{font-size:1.5rem;font-weight:700;margin-bottom:.25rem}.modal-header p{color:var(--text-muted);font-size:.9rem}.form-group{margin-bottom:var(--spacing-md)}.project-modal-row{display:flex;gap:var(--spacing-md)}.form-group.half{flex:1}.form-group label{display:flex;align-items:center;gap:.5rem;font-size:.8rem;font-weight:600;color:var(--text-muted);margin-bottom:.5rem;text-transform:uppercase}.modal-card input,.modal-card select,.modal-card textarea{width:100%;padding:.75rem 1rem;border:1px solid #e2e8f0;border-radius:var(--radius-md);font-family:inherit;font-size:.95rem;transition:all .2s;background:#f8fafc}.modal-card input:focus,.modal-card select:focus,.modal-card textarea:focus{outline:none;border-color:var(--primary);background:#fff;box-shadow:0 0 0 3px #6366f11a}.modal-actions{display:flex;gap:var(--spacing-md);margin-top:var(--spacing-xl)}.btn-secondary{padding:.75rem 1.5rem;border-radius:var(--radius-md);font-weight:600;color:var(--text-muted);background:#f1f5f9;width:30%;transition:all .2s}.btn-secondary:hover{background:#e2e8f0;color:var(--text-main)}.btn-primary-modal{flex:1;background:var(--primary);color:#fff;padding:.75rem 1.5rem;border-radius:var(--radius-md);font-weight:600;display:flex;align-items:center;justify-content:center;gap:.5rem;transition:all .2s}.btn-primary-modal:hover{background:var(--primary-dark);transform:translateY(-1px)}.project-list-modal{max-width:800px;max-height:85vh;overflow:hidden;display:flex;flex-direction:column}.project-list-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #f1f5f9}.project-list-header .header-icon{width:56px;height:56px;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:16px;display:flex;align-items:center;justify-content:center;color:#fff}.project-list-header h2{font-size:1.5rem;font-weight:700;margin:0;color:#1e293b}.project-list-header p{margin:.25rem 0 0;color:#64748b;font-size:.9rem}.project-list-content{overflow-y:auto;max-height:calc(85vh - 150px);padding-right:.5rem}.projects-table{display:flex;flex-direction:column;gap:1rem}.project-row{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1.25rem;transition:all .2s}.project-row:hover{border-color:#cbd5e1;box-shadow:0 2px 8px #0000000d}.project-main-info{margin-bottom:1rem}.project-title-section{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem}.project-title-section h4{margin:0;font-size:1.05rem;font-weight:600;color:#1e293b}.project-type{background:#e0e7ff;color:#6366f1;padding:.25rem .75rem;border-radius:6px;font-size:.75rem;font-weight:600}.project-description{margin:0;color:#64748b;font-size:.9rem;line-height:1.5;white-space:pre-wrap}.project-meta-info{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #e2e8f0}.meta-item{display:flex;flex-direction:column;gap:.25rem}.meta-label{font-size:.75rem;color:#94a3b8;font-weight:600;text-transform:uppercase}.meta-value{font-size:.9rem;color:#1e293b;font-weight:500}.status-badge{display:inline-block;padding:.35rem .75rem;border-radius:6px;font-size:.8rem;font-weight:600}.progress-section{display:flex;flex-direction:column;gap:.5rem}.progress-header{display:flex;justify-content:space-between;align-items:center}.progress-label{font-size:.75rem;color:#94a3b8;font-weight:600;text-transform:uppercase}.progress-value{font-size:.9rem;color:#1e293b;font-weight:700}.progress-bar-container{width:100%;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.progress-bar-fill{height:100%;transition:width .3s ease;border-radius:4px}.empty-state{text-align:center;padding:3rem 2rem;color:#94a3b8}.empty-state svg{margin-bottom:1rem;opacity:.5}.empty-state p{margin:0;font-size:1rem;font-weight:500}.project-list-content::-webkit-scrollbar{width:6px}.project-list-content::-webkit-scrollbar-track{background:transparent}.project-list-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.project-list-content::-webkit-scrollbar-thumb:hover{background:#94a3b8}@media (max-width: 768px){.project-meta-info{grid-template-columns:1fr;gap:.75rem}.project-list-modal{max-width:95%}}.dashboard-charts-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:.5rem}.chart-card{background:#fff;border-radius:16px;padding:1rem;box-shadow:0 4px 6px -1px #0000000d,0 2px 4px -1px #00000008;border:1px solid #e2e8f0;display:flex;flex-direction:column;height:400px;opacity:0;animation:slideUp .6s ease-out forwards;min-width:0}.chart-card:nth-child(1){animation-delay:.1s}.chart-card:nth-child(2){animation-delay:.2s}.chart-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.chart-header h3{margin:0;color:#1e293b;font-size:1.1rem;font-weight:700}.chart-header p{margin:.25rem 0 0;color:#64748b;font-size:.85rem}.chart-card>h3{margin:0;color:#1e293b;font-size:1.1rem;font-weight:700}.chart-card>p{margin:.25rem 0 1rem;color:#64748b;font-size:.85rem}.chart-container{width:100%;height:300px;position:relative;flex:1}.toggle-container{display:flex;align-items:center;gap:.25rem;font-size:.85rem;color:#64748b;background:#f1f5f9;padding:4px;border-radius:8px;border:1px solid #e2e8f0;z-index:10;position:relative}.toggle-btn{padding:6px 12px;border-radius:6px;cursor:pointer;transition:all .2s ease;-webkit-user-select:none;user-select:none;font-weight:600}.toggle-btn:hover{color:#334155;background:#e2e8f0}.toggle-btn.active{background:#fff;color:#0ea5e9;box-shadow:0 1px 2px #0000000d;border:1px solid #e2e8f0}.custom-tooltip{background:#fffffffa;border:1px solid #e2e8f0;border-radius:8px;padding:12px;box-shadow:0 4px 6px -1px #0000001a}.custom-tooltip p{margin:0;font-size:.9rem;font-weight:600;color:#1e293b}.custom-tooltip .value{color:#6366f1;font-weight:700}.custom-tooltip .desc{font-size:.8rem;color:#64748b;margin-top:4px}@media (max-width: 768px){.dashboard-charts-grid{grid-template-columns:1fr;gap:1rem}.chart-card{height:auto;min-height:350px;padding:1rem}.chart-header{flex-direction:column;align-items:flex-start;gap:.75rem}.chart-header h3{font-size:.95rem}.chart-header p{font-size:.75rem}.chart-container{height:220px}}@media (max-width: 1024px){.dashboard-charts-grid{grid-template-columns:1fr;height:auto}.chart-card{height:auto}.chart-container{height:250px}}.evaluation-table{width:100%;border-collapse:separate;border-spacing:0}.evaluation-table th{text-align:left;padding:1rem;font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #e2e8f0;white-space:nowrap;position:sticky;top:0;background:#fff;z-index:5}.evaluation-table td{padding:.75rem 1rem;font-size:.875rem;color:#334155;border-bottom:1px solid #f1f5f9;white-space:nowrap;max-width:150px;overflow:hidden;text-overflow:ellipsis}.evaluation-table tr:last-child td{border-bottom:none}.evaluation-table tr.clickable-row:hover{background:#f8fafc;transition:background .2s ease}.evaluation-badge{padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:500;display:inline-block}.eval-tốt{background:#dcfce7;color:#166534}.eval-khá{background:#dbeafe;color:#1e40af}.eval-trung-bình{background:#fef3c7;color:#92400e}.progress-cell-compact{display:flex;align-items:center;gap:8px}.progress-bar-table{width:80px;height:6px;background:#f1f5f9;border-radius:3px;overflow:hidden}.progress-fill-table{height:100%;background:#3b82f6;border-radius:3px}.progress-text-table{font-size:.75rem;font-weight:600;color:#64748b}.task-cell-compact{display:flex;align-items:center;gap:8px}.task-title-table{font-weight:500;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.btn-icon-table{background:none;border:none;cursor:pointer;padding:6px;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:all .2s;color:#94a3b8}.btn-icon-table:hover{background:#f1f5f9;color:#3b82f6}.btn-icon-table.btn-delete:hover{background:#fee2e2;color:#ef4444}.loading-more{display:flex;justify-content:center;align-items:center;padding:1rem;gap:.5rem;color:#64748b;font-size:.85rem}.spin{animation:spin 1s linear infinite}.project-group-container{background:#fff;border-radius:12px;box-shadow:0 2px 4px #0000000d;margin-bottom:1rem;overflow:hidden;transition:all .2s ease;border:1px solid #e2e8f0}.project-group-container:hover{box-shadow:0 4px 6px #00000014;transform:translateY(-1px)}.project-group-header{padding:1rem 1.5rem;display:flex;justify-content:space-between;align-items:center;cursor:pointer;background:#fff}.project-group-header:hover{background:#f8fafc}.group-info{display:flex;align-items:center;gap:1rem}.group-toggle{color:#64748b;display:flex;align-items:center}.group-details{display:flex;flex-direction:column}.group-title{margin:0;font-size:1rem;font-weight:600;color:#1e293b}.group-subtitle{font-size:.8rem;color:#64748b}.group-stats{width:250px}.group-progress-bar .progress-text{display:flex;justify-content:space-between;font-size:.8rem;margin-bottom:.25rem;color:#475569}.group-progress-bar .progress-track{height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.group-progress-bar .progress-fill{height:100%;border-radius:4px;transition:width .5s ease}.project-group-body{background:#f8fafc;border-top:1px solid #e2e8f0;padding:1rem 1.5rem;animation:slideDown .2s ease-out}.child-projects-header-row{display:grid;grid-template-columns:2fr 1.5fr 1fr 1fr;padding:.5rem 1rem;font-size:.8rem;font-weight:600;color:#64748b;text-transform:uppercase;border-bottom:1px solid #e2e8f0}.child-project-row{display:grid;grid-template-columns:2fr 1.5fr 1fr 1fr;padding:.75rem 1rem;border-bottom:1px solid #e2e8f0;align-items:center;background:#fff;transition:background .1s}.child-project-row:last-child{border-bottom:none;border-bottom-left-radius:8px;border-bottom-right-radius:8px}.child-project-row:hover{background:#f1f5f9}.col-name{display:flex;align-items:center;gap:.5rem;font-weight:500;color:#334155}.child-dot{width:8px;height:8px;border-radius:50%}.col-user{display:flex;align-items:center;color:#64748b;font-size:.9rem}.col-progress{display:flex;align-items:center;gap:.5rem;font-size:.85rem;font-weight:600;color:#334155}.mini-progress-bar{width:60px;height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden}.mini-progress-fill{height:100%;background:#3b82f6;border-radius:3px}.status-badge-mini{padding:.15rem .5rem;border-radius:12px;font-size:.75rem;font-weight:600}.status-badge-mini.success{background:#dcfce7;color:#166534}.status-badge-mini.primary{background:#dbeafe;color:#1e40af}.status-badge-mini.default{background:#f1f5f9;color:#475569}.empty-group-message{text-align:center;color:#94a3b8;padding:1rem;font-style:italic}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#0f172a66;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:center;z-index:1000}.manage-groups-card{background:#fff;border-radius:24px;width:90%;max-width:600px;max-height:85vh;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;display:flex;flex-direction:column;position:relative;overflow:hidden;animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.close-btn{position:absolute;top:20px;right:20px;background:#f1f5f9;border:none;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#64748b;transition:all .2s;z-index:10}.close-btn:hover{background:#e2e8f0;color:#ef4444;transform:rotate(90deg)}.modal-header{padding:24px 24px 16px;border-bottom:1px solid #f1f5f9}.modal-header h3{font-size:1.5rem;color:#1e293b;margin-bottom:4px}.modal-header p{color:#64748b;font-size:.9rem}.modal-body{padding:24px;overflow-y:auto;flex:1}.group-list{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.group-item{display:flex;justify-content:space-between;align-items:center;padding:16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;transition:all .2s}.group-item:hover{background:#f1f5f9;border-color:#cbd5e1;transform:translate(4px)}.group-item-info{display:flex;align-items:center;gap:12px;flex:1}.folder-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:#e0e7ff;color:#6366f1;border-radius:10px}.group-details-col{display:flex;flex-direction:column;margin-left:10px;flex:1}.group-name{font-weight:600;color:#1e293b;font-size:1rem}.group-meta{display:flex;align-items:center;font-size:.75rem;color:#64748b;margin-top:2px;flex-wrap:wrap}.meta-item{display:flex;align-items:center;gap:4px}.meta-item-divider{margin:0 6px;color:#cbd5e1}.group-count{font-size:.8rem;color:#64748b;background:#e2e8f0;padding:4px 10px;border-radius:12px;white-space:nowrap;font-weight:500}.group-item-actions{display:flex;gap:8px;margin-left:12px}.icon-btn-edit,.icon-btn-delete{width:32px;height:32px;border-radius:8px;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.icon-btn-edit{background:#fff;color:#3b82f6;border:1px solid #dbeafe}.icon-btn-edit:hover{background:#3b82f6;color:#fff}.icon-btn-delete{background:#fff;color:#ef4444;border:1px solid #fee2e2}.icon-btn-delete:hover{background:#ef4444;color:#fff}.btn-create-group{width:100%;padding:14px;background:#fff;border:2px dashed #cbd5e1;border-radius:12px;color:#64748b;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:all .2s}.btn-create-group:hover{border-color:#3b82f6;color:#3b82f6;background:#eff6ff}.form-group{margin-bottom:20px}.form-group label{display:block;margin-bottom:8px;font-weight:600;color:#334155;font-size:.9rem}.form-group input{width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:8px;font-size:.95rem;transition:border-color .2s}.form-group input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.project-selection-list{max-height:300px;overflow-y:auto;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;padding:0}.project-select-item{display:flex;align-items:center;padding:12px;border-bottom:1px solid #e2e8f0;cursor:pointer;transition:background .2s}.project-select-item:last-child{border-bottom:none}.project-select-item:hover{background:#f1f5f9}.project-select-item.selected{background:#eff6ff}.select-checkbox{width:20px;height:20px;border:2px solid #cbd5e1;border-radius:6px;margin-right:12px;display:flex;align-items:center;justify-content:center;transition:all .2s;background:#fff}.project-select-item.selected .select-checkbox{background:#3b82f6;border-color:#3b82f6}.project-select-info{flex:1}.project-select-title{font-weight:500;color:#1e293b;margin-bottom:2px}.project-select-user{font-size:.75rem;color:#64748b;display:flex;align-items:center;gap:4px}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:20px;border-top:1px solid #f1f5f9}.btn-secondary{padding:10px 20px;background:#fff;border:1px solid #cbd5e1;border-radius:8px;color:#475569;font-weight:600;cursor:pointer;transition:all .2s}.btn-secondary:hover{background:#f1f5f9;color:#1e293b}.btn-primary-modal{padding:10px 24px;background:#3b82f6;border:none;border-radius:8px;color:#fff;font-weight:600;cursor:pointer;transition:all .2s}.btn-primary-modal:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 6px -1px #2563eb33}.no-data{text-align:center;padding:40px;color:#94a3b8;background:#f8fafc;border-radius:12px;border:1px dashed #e2e8f0}.no-data-small{padding:20px;text-align:center;color:#94a3b8;font-size:.9rem}.work-allocation-container{padding:.5rem 2rem 2rem;max-width:100%;margin:0 auto;min-height:100vh;background-color:#f8fafc}.work-allocation-container .section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.work-allocation-container .section-header h2{font-size:1.75rem;font-weight:700;color:#1e293b;margin:0}.work-allocation-container .btn-primary{background:#3b82f6;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .2s;width:fit-content}.work-allocation-container .btn-primary:hover{background:#2563eb;transform:translateY(-1px)}.work-allocation-container .user-grid{display:flex;gap:1rem;overflow-x:auto;padding-bottom:1rem;margin-bottom:2rem;scrollbar-width:thin}.work-allocation-container .user-grid::-webkit-scrollbar{height:8px}.work-allocation-container .user-grid::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.work-allocation-container .user-grid::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.work-allocation-container .user-card-work{min-width:160px;background:#fff;padding:.4rem;border-radius:8px;box-shadow:0 1px 2px #0000000d;border:1px solid #e2e8f0;display:flex;align-items:center;gap:.4rem;cursor:pointer;transition:all .2s}.work-allocation-container .user-card-work:hover{transform:translateY(-2px);box-shadow:0 4px 6px -1px #0000001a;border-color:#3b82f6}.work-allocation-container .user-card-work img{width:32px;height:32px;border-radius:50%;object-fit:cover}.work-allocation-container .user-info h4{margin:0 0 .1rem;font-size:.75rem;font-weight:600;color:#1e293b}.work-allocation-container .user-code{font-size:.75rem;color:#64748b;display:block;margin-bottom:.5rem}.work-allocation-container .role-badge{display:inline-block;font-size:.65rem;padding:.2rem .5rem;background:#fef3c7;color:#92400e;border-radius:4px;font-weight:600}.work-allocation-container .assignment-stats{display:flex;gap:.5rem;margin-top:.5rem}.work-allocation-container .stat-badge{font-size:.7rem;padding:.25rem .5rem;border-radius:4px;font-weight:500}.work-allocation-container .stat-badge.pending{background:#dbeafe;color:#1e40af}.work-allocation-container .stat-badge.completed{background:#d1fae5;color:#065f46}.work-allocation-container .evaluation-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:1rem;align-items:start}.work-allocation-container .evaluation-section{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000000d;border:1px solid #e2e8f0;min-height:400px;max-height:500px;display:flex;flex-direction:column}.work-allocation-container .section-header-small{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;flex-shrink:0}.work-allocation-container .section-header-small h3{font-size:1.125rem;font-weight:600;color:#1e293b;margin:0}.work-allocation-container .table-container{overflow-x:auto;overflow-y:auto;flex:1;min-height:300px}.work-allocation-container .evaluation-table{width:100%;border-collapse:separate;border-spacing:0}.work-allocation-container .evaluation-table th{text-align:left;padding:1rem;font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #e2e8f0;white-space:nowrap;position:sticky;top:0;background:#f8fafc;z-index:5}.work-allocation-container .evaluation-table td{padding:.75rem 1rem;font-size:.875rem;color:#334155;border-bottom:1px solid #f1f5f9;white-space:nowrap;max-width:150px;overflow:hidden;text-overflow:ellipsis}.work-allocation-container .evaluation-table tr:last-child td{border-bottom:none}.work-allocation-container .evaluation-table tr.clickable-row:hover{background:#f8fafc;transition:background .2s ease}.work-allocation-container .evaluation-table tr.clickable-row:hover td{background:transparent}.work-allocation-container .evaluation-badge{padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:500}.work-allocation-container .eval-tốt{background:#dcfce7;color:#166534}.work-allocation-container .eval-khá{background:#dbeafe;color:#1e40af}.work-allocation-container .eval-trung-bình{background:#fef3c7;color:#92400e}.work-allocation-container .header-actions{display:flex;align-items:center;gap:.75rem}.work-allocation-container .btn-export{padding:.375rem .6rem;display:flex;align-items:center;justify-content:center;gap:.3rem;background:#fff;color:#10b981;border:1px solid #10b981;border-radius:6px;cursor:pointer;transition:all .2s;font-size:.75rem;font-weight:500}.work-allocation-container .btn-export:hover{background:#10b981;color:#fff}.work-allocation-container .filter-buttons{display:flex;gap:.5rem}.work-allocation-container .filter-buttons button{padding:.375rem .75rem;border-radius:6px;font-size:.875rem;font-weight:500;transition:all .2s;background:#fff;border:1px solid #e2e8f0;color:#64748b}.work-allocation-container .filter-buttons button.active{background:#3b82f6;color:#fff;border-color:#3b82f6}.work-allocation-container .filter-buttons button:hover:not(.active){background:#f8fafc}.work-allocation-container .progress-bar-table{width:100px;height:6px;background:#f1f5f9;border-radius:3px;overflow:hidden}.work-allocation-container .progress-fill-table{height:100%;background:#3b82f6;border-radius:3px}.work-allocation-container .arrow-btn{color:#cbd5e1}.work-allocation-container .user-card-work:hover .arrow-btn{color:#3b82f6}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-content{background:#fff;padding:2rem;border-radius:12px;width:90%;max-width:500px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;position:relative;max-height:90vh;overflow-y:auto;animation:modal-pop .2s ease-out}.modal-content.modal-large{max-width:800px}@keyframes modal-pop{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.modal-content h3{margin:0 0 1.5rem;font-size:1.25rem;color:#1e293b;border-bottom:2px solid #f1f5f9;padding-bottom:1rem}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #e2e8f0}.close-btn{background:none;border:none;font-size:1.5rem;color:#94a3b8;cursor:pointer;padding:.5rem;border-radius:50%;transition:all .2s;line-height:1}.close-btn:hover{background:#f1f5f9;color:#ef4444}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.5rem;font-size:.875rem;font-weight:500;color:#475569}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.625rem;border:1px solid #e2e8f0;border-radius:6px;font-size:.875rem;transition:all .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.modal-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:2rem;padding-top:1rem;border-top:1px solid #f1f5f9}.btn-secondary{background:#fff;border:1px solid #e2e8f0;padding:.625rem 1.25rem;border-radius:6px;font-weight:500;color:#64748b;cursor:pointer;transition:all .2s}.btn-secondary:hover{background:#f8fafc;color:#334155}.evaluation-options{display:flex;gap:.5rem}.eval-btn{flex:1;padding:.5rem;border:1px solid #e2e8f0;background:#fff;border-radius:6px;cursor:pointer;font-weight:500;color:#64748b;transition:all .2s}.eval-btn.active{background:#eff6ff;border-color:#3b82f6;color:#1d4ed8;font-weight:600}.user-subtitle{font-size:.875rem;color:#64748b;margin:0}.report-section{margin-bottom:2rem}.report-section h4{font-size:1rem;color:#334155;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.reports-list,.assignments-list{display:flex;flex-direction:column;gap:.75rem}.report-item,.assignment-item{background:#f8fafc;padding:1rem;border-radius:8px;border:1px solid #e2e8f0}.report-time{font-size:.75rem;font-weight:600;color:#94a3b8;margin-bottom:.5rem}.work-type-badge{display:inline-block;padding:.2rem .5rem;background:#e0e7ff;color:#4338ca;border-radius:4px;font-size:.75rem;font-weight:500;margin-right:.5rem;margin-bottom:.5rem}.assignment-header{display:flex;justify-content:space-between;margin-bottom:.5rem}.assignment-title{font-weight:600;color:#1e293b}.priority-badge{font-size:.7rem;padding:.1rem .4rem;border-radius:4px;font-weight:600}.priority-high{background:#fee2e2;color:#ef4444}.priority-medium{background:#fef3c7;color:#d97706}.priority-low{background:#dcfce7;color:#166534}.assignment-footer{display:flex;justify-content:space-between;align-items:center;margin-top:.75rem;font-size:.75rem;color:#64748b}.progress-mini{display:flex;align-items:center;gap:.5rem}.progress-bar-mini{width:60px;height:4px;background:#cbd5e1;border-radius:2px;overflow:hidden}.progress-fill-mini{height:100%;background:#3b82f6}@media (max-width: 1024px){.work-allocation-container .evaluation-grid{grid-template-columns:1fr}}.user-grid::-webkit-scrollbar,.table-container::-webkit-scrollbar{width:6px;height:6px}.user-grid::-webkit-scrollbar-track,.table-container::-webkit-scrollbar-track{background:transparent}.user-grid::-webkit-scrollbar-thumb,.table-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.user-grid::-webkit-scrollbar-thumb:hover,.table-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}@media (max-width: 768px){.work-allocation-container{padding:1rem}.user-grid,.evaluation-grid{grid-template-columns:1fr}.section-header{flex-direction:column;align-items:flex-start;gap:1rem}.form-row{grid-template-columns:1fr}.modal-large{max-width:100%}.filter-buttons{flex-wrap:wrap}.evaluation-table thead{display:none!important}.evaluation-table,.evaluation-table tbody,.evaluation-table tr,.evaluation-table td{display:block!important;width:100%!important;box-sizing:border-box}.evaluation-table tr{background:#fff!important;border:1px solid #e2e8f0!important;border-radius:12px!important;padding:1rem!important;margin-bottom:1rem!important;box-shadow:0 2px 4px #00000005,0 1px 2px #00000008!important;position:relative}.evaluation-table tr.clickable-row:hover{border-color:#3b82f6!important;background:#f8fafc!important}.evaluation-table td{padding:.65rem 0!important;border-bottom:1px solid #f1f5f9!important;white-space:normal!important;max-width:none!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:.5rem!important;text-align:right!important}.evaluation-table td:last-child{border-bottom:none!important}.evaluation-table td:before{content:attr(data-label);font-weight:600;color:#64748b;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;text-align:left;display:inline-block}.progress-bar-table{display:none!important}.progress-cell-compact{justify-content:flex-end;width:auto}.action-buttons,.employee-cell,.progress-cell-compact{text-align:right;justify-content:flex-end}.table-container{min-height:auto!important;overflow-x:hidden!important}}.task-cell-compact{max-width:180px}.task-title-table{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.8rem;font-weight:600;color:#1e293b}.employee-cell{display:flex;flex-direction:row;align-items:center;gap:.5rem}.employee-name{font-size:.8rem;font-weight:500;color:#1e293b}.employee-code{font-size:.65rem;color:#94a3b8}.progress-cell-compact{display:flex;align-items:center;gap:.5rem}.progress-fill-table{height:100%;background:linear-gradient(90deg,#3b82f6,#2563eb);transition:width .3s ease}.progress-text-table{font-size:.75rem;font-weight:600;color:#475569;min-width:40px}.action-buttons{display:flex;gap:.5rem}.btn-icon-table{background:none;border:none;cursor:pointer;padding:.5rem;border-radius:6px;transition:all .2s;display:flex;align-items:center;justify-content:center}.btn-evaluate{color:#f59e0b}.btn-evaluate:hover{background:#fef3c7;color:#d97706}.btn-delete{color:#64748b}.btn-delete:hover{background:#fee2e2;color:#ef4444}.text-muted{color:#94a3b8;font-style:italic}.empty-cell{text-align:center;padding:2rem!important;color:#94a3b8}.progress-edit-section{display:flex;align-items:center;gap:.75rem;background:#eff6ff;padding:.5rem .75rem;border-radius:8px;border:1px solid #bfdbfe}.progress-slider{flex:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:8px;background:#cbd5e1;border-radius:4px;outline:none;cursor:pointer}.progress-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:18px;height:18px;background:#3b82f6;cursor:pointer;border-radius:50%;box-shadow:0 2px 4px #3b82f666;transition:transform .2s}.progress-slider::-webkit-slider-thumb:hover{transform:scale(1.15)}.progress-slider::-moz-range-thumb{width:18px;height:18px;background:#3b82f6;cursor:pointer;border-radius:50%;border:none;box-shadow:0 2px 4px #3b82f666}.progress-value{font-weight:700;color:#1e40af;font-size:.9rem;min-width:40px;text-align:center}.progress-actions{display:flex;gap:.25rem}.btn-save-progress,.btn-cancel-progress{width:28px;height:28px;border:none;border-radius:6px;cursor:pointer;font-size:.9rem;display:flex;align-items:center;justify-content:center;transition:all .2s}.btn-save-progress{background:#22c55e;color:#fff}.btn-save-progress:hover{background:#16a34a}.btn-save-progress:disabled{background:#94a3b8;cursor:not-allowed}.btn-cancel-progress{background:#f1f5f9;color:#64748b}.btn-cancel-progress:hover{background:#e2e8f0;color:#ef4444}.edit-hint{font-size:.7rem;opacity:0;transition:opacity .2s}.progress-mini:hover .edit-hint{opacity:1}.completed-list .assignment-item.completed{background:#f0fdf4;border-color:#bbf7d0}.completed-list .assignment-title{color:#166534;text-decoration:line-through;text-decoration-color:#86efac}.loading-more{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:1rem;color:#64748b;font-size:.875rem}.loading-more .spin{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.end-of-list{text-align:center;padding:1rem;color:#94a3b8;font-size:.8rem;font-style:italic;border-top:1px dashed #e2e8f0}.header-actions-group{display:flex;align-items:center;gap:.75rem}.btn-icon-only{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid #e2e8f0;background:#fff;color:#64748b;cursor:pointer;transition:all .2s}.btn-icon-only:hover{background:#f8fafc;color:#2563eb;border-color:#bfdbfe;transform:translateY(-1px);box-shadow:0 2px 4px #0000000d}@keyframes pulse-orange{0%{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:.8}to{transform:scale(1);opacity:1}}.pulse-icon{animation:pulse-orange 2s infinite ease-in-out}@keyframes pulse{0%{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:.7}to{transform:scale(1);opacity:1}}.pulse-icon{animation:pulse 2s infinite ease-in-out}.user-selection-container{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;background:#f8fafc}.user-selection-header{display:flex;padding:.75rem;background:#fff;border-bottom:1px solid #e2e8f0;gap:.75rem;align-items:center}.user-search-input{flex:1;padding:.5rem .75rem!important;font-size:.875rem!important}.btn-select-all{background:#eff6ff;color:#3b82f6;border:1px solid #bfdbfe;padding:.4rem .75rem;border-radius:6px;font-size:.75rem;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .2s}.btn-select-all:hover{background:#dbeafe}.user-checkbox-list{max-height:250px;overflow-y:auto;padding:.5rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:.5rem}.user-checkbox-item{display:flex;align-items:center;gap:.75rem;padding:.6rem;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .2s}.user-checkbox-item:hover{border-color:#3b82f6;background:#f0f7ff}.user-checkbox-item.selected{background:#eff6ff;border-color:#3b82f6}.user-checkbox-item input[type=checkbox]{width:16px!important;height:16px!important;cursor:pointer}.user-checkbox-info{display:flex;flex-direction:column}.user-checkbox-info .user-name{font-size:.875rem;font-weight:600;color:#1e293b}.user-checkbox-info .user-code{font-size:.75rem;color:#64748b}.empty-search{grid-column:1 / -1;text-align:center;padding:2rem;color:#94a3b8;font-size:.875rem}.modal-custom-width{width:95%!important}.user-card-work.inactive{filter:grayscale(.8);opacity:.55;border-color:#e2e8f0}.user-card-work.inactive:hover{filter:grayscale(.5);opacity:.75;border-color:#94a3b8}.evaluation-table tr.inactive-row td{opacity:.6;filter:grayscale(.8);background-color:#f8fafc}.assignment-detail-modal{background:#fff;border-radius:12px;width:90%;max-width:800px;max-height:90vh;overflow-y:auto;padding:2rem;position:relative;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.detail-header{margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #e2e8f0}.detail-header h2{margin:0 0 .75rem;font-size:1.5rem;color:#1e293b;font-weight:700}.header-badges{display:flex;gap:.5rem;flex-wrap:wrap}.priority-badge,.status-badge-detail{padding:.25rem .75rem;border-radius:6px;font-size:.875rem;font-weight:600}.status-badge-detail.status-completed{background:#dcfce7;color:#16a34a}.status-badge-detail.status-in_progress{background:#fef3c7;color:#d97706}.detail-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-bottom:1.5rem}.info-item{display:flex;gap:.75rem;align-items:flex-start;padding:.75rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.info-icon{color:#6366f1;flex-shrink:0;margin-top:.25rem}.info-content{display:flex;flex-direction:column;gap:.25rem;flex:1;min-width:0}.info-label{font-size:.75rem;color:#64748b;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.info-value{font-size:.9rem;color:#1e293b;font-weight:500;word-wrap:break-word}.progress-display{display:flex;align-items:center;gap:.75rem;width:100%}.progress-bar-detail{flex:1;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.progress-fill-detail{height:100%;background:linear-gradient(90deg,#6366f1,#8b5cf6);border-radius:4px;transition:width .3s ease}.progress-text-detail{font-size:.875rem;font-weight:700;color:#6366f1;min-width:40px;text-align:right}.detail-section{margin-bottom:1.5rem}.detail-section h3{margin:0 0 .75rem;font-size:1.125rem;color:#334155;font-weight:600}.description-text{margin:0;padding:1rem;background:#f8fafc;border-left:4px solid #6366f1;border-radius:6px;color:#475569;line-height:1.6;white-space:pre-wrap}.timeline{position:relative;padding-left:2rem}.timeline:before{content:"";position:absolute;left:.5rem;top:.5rem;bottom:.5rem;width:2px;background:#e2e8f0}.timeline-item{position:relative;padding-bottom:1.5rem}.timeline-item:last-child{padding-bottom:0}.timeline-dot{position:absolute;left:-1.5rem;top:.5rem;width:12px;height:12px;background:#6366f1;border:3px solid white;border-radius:50%;box-shadow:0 0 0 2px #6366f1}.timeline-content{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:1rem}.timeline-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;flex-wrap:wrap;gap:.5rem}.timeline-user{font-weight:600;color:#1e293b;font-size:.9rem}.timeline-time{font-size:.8rem;color:#64748b}.timeline-progress{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.progress-change{font-weight:600;color:#334155;font-size:.9rem}.progress-delta{font-size:.85rem;font-weight:600}.timeline-note{margin:.5rem 0 0;padding:.75rem;background:#f8fafc;border-radius:6px;color:#475569;font-size:.875rem;line-height:1.5;white-space:pre-wrap}.empty-timeline{text-align:center;padding:2rem;color:#94a3b8;font-style:italic;margin:0}.evaluation-section{background:#faf5ff;padding:1rem;border-radius:8px;border:1px solid #e9d5ff}.evaluation-content{display:flex;flex-direction:column;gap:.75rem}.evaluation-badge-detail{padding:.5rem 1rem;border-radius:8px;font-size:1rem;font-weight:700;display:inline-block;width:fit-content}.evaluation-badge-detail.eval-tốt{background:#dcfce7;color:#16a34a}.evaluation-badge-detail.eval-khá{background:#fef3c7;color:#d97706}.evaluation-badge-detail.eval-trung-bình{background:#fee2e2;color:#dc2626}.evaluation-note{margin:0;color:#6b21a8;font-style:italic;font-size:.95rem;line-height:1.5}.loading-state,.error-state{text-align:center;padding:3rem;color:#64748b;font-size:1rem}.error-state{color:#ef4444}.assignment-detail-modal::-webkit-scrollbar{width:8px}.assignment-detail-modal::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.assignment-detail-modal::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.assignment-detail-modal::-webkit-scrollbar-thumb:hover{background:#94a3b8}@media (max-width: 768px){.assignment-detail-modal{width:95%;padding:1.5rem}.detail-header h2{font-size:1.25rem}.detail-info-grid{grid-template-columns:1fr}.timeline{padding-left:1.5rem}}.project-card{background:#fff;border-radius:var(--radius-xl);padding:var(--spacing-xl);box-shadow:var(--shadow-sm);border:1px solid #f1f5f9;margin-bottom:var(--spacing-lg);transition:all .2s}.project-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.icon-btn-small{width:32px;height:32px;border-radius:50%;border:1px solid #e2e8f0;background:#fff;color:var(--text-muted);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.icon-btn-small:hover{background:var(--primary);color:#fff;border-color:var(--primary)}.project-grid{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:var(--spacing-lg)}.project-main-info{display:flex;gap:var(--spacing-lg)}.project-icon{width:56px;height:56px;border-radius:var(--radius-lg);display:flex;align-items:center;justify-content:center;flex-shrink:0}.project-icon.blue{background:#e0e7ff;color:var(--primary)}.project-icon.purple{background:#f3e8ff;color:#9333ea}.project-icon.green{background:#dcfce7;color:#16a34a}.project-icon.orange{background:#ffedd5;color:#ea580c}.project-details{display:flex;flex-direction:column}.project-tag{display:inline-block;font-size:.7rem;font-weight:700;padding:2px 8px;border-radius:4px;margin-bottom:.5rem;width:fit-content;text-transform:uppercase}.project-tag.blue{background:#e0e7ff;color:var(--primary)}.project-tag.purple{background:#f3e8ff;color:#9333ea}.project-tag.green{background:#dcfce7;color:#16a34a}.project-tag.orange{background:#ffedd5;color:#ea580c}.project-tag.gray{background:#f1f5f9;color:#64748b}.project-title{font-size:1.25rem;font-weight:700;margin-bottom:.5rem}.project-desc{color:var(--text-muted);font-size:.95rem;max-width:600px}.project-status-section{display:flex;flex-direction:column;align-items:flex-end}.status-badge{background:#e0e7ff;color:var(--primary);font-weight:700;font-size:.75rem;padding:.5rem 1rem;border-radius:20px;text-transform:uppercase}.project-progress-area{margin-bottom:var(--spacing-lg)}.progress-header{display:flex;justify-content:space-between;font-size:.75rem;font-weight:700;color:var(--text-muted);margin-bottom:.5rem}.progress-track{width:100%;height:8px;background:#f1f5f9;border-radius:4px;overflow:hidden}.progress-fill{height:100%;border-radius:4px;transition:width .3s ease-out;background-color:var(--primary)}.progress-fill.blue{background:var(--primary)}.progress-fill.purple{background:#9333ea}.progress-fill.green{background:#16a34a}.progress-fill.orange{background:#ea580c}.project-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #f1f5f9;padding-top:var(--spacing-md);color:var(--text-muted);font-size:.85rem;font-weight:600}.project-date{display:flex;align-items:center;gap:.5rem}.avatar-stack{display:flex}.avatar-stack img{width:32px;height:32px;border-radius:50%;border:2px solid white;margin-left:-10px}.avatar-stack img:first-child{margin-left:0}.avatar-more{width:32px;height:32px;border-radius:50%;background:#f1f5f9;border:2px solid white;display:flex;align-items:center;justify-content:center;margin-left:-10px;font-size:.75rem;color:var(--text-muted)}@media (max-width: 768px){.project-grid{flex-direction:column;gap:1rem}.project-status-section{align-items:flex-start}}.my-work-container{animation:fadeIn .4s ease-out}.work-header{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:var(--spacing-xl)}.header-text h2{font-size:1.75rem;font-weight:700;margin-bottom:.5rem}.header-text p{color:var(--text-muted)}.header-actions{display:flex;align-items:center;gap:1rem;flex-wrap:nowrap}.stat-pill{background:#fff;border:1px solid #e2e8f0;padding:.5rem 1rem;border-radius:var(--radius-lg);display:flex;flex-direction:column;align-items:center;min-width:120px}.stat-pill span{font-size:.7rem;color:var(--text-muted);font-weight:600;margin-bottom:2px;white-space:nowrap}.stat-pill strong{font-size:1.25rem;color:var(--text-main);line-height:1}.stat-pill strong.success-text{color:#10b981}.stat-pill strong.primary-text{color:#3b82f6}.stat-pill strong.warning-text{color:#f59e0b}.create-btn{background:#0f172a;color:#fff;padding:.75rem 1.5rem;border-radius:var(--radius-lg);font-weight:600;display:flex;align-items:center;gap:.5rem;transition:all .2s;white-space:nowrap}.create-btn:hover{background:#1e293b;transform:translateY(-1px)}@media (max-width: 1024px){.work-header{flex-direction:column;align-items:flex-start;gap:1rem}.header-actions{width:100%;flex-wrap:wrap;gap:.5rem;padding-bottom:.5rem}.header-actions::-webkit-scrollbar{height:4px}.header-actions::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.stat-pill{min-width:90px;padding:.4rem .6rem;flex-shrink:0}.stat-pill span{font-size:.6rem}.stat-pill strong{font-size:1rem}.create-btn{padding:.5rem 1rem;font-size:.85rem;flex-shrink:0}}.announcement-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:1100}.announcement-modal{background:#fff;width:500px;max-width:90%;border-radius:12px;box-shadow:0 10px 25px #0003;display:flex;flex-direction:column;overflow:hidden}.announcement-modal-header{padding:1rem 1.5rem;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center;background:#f8fafc}.announcement-modal-header h3{margin:0;font-size:1.1rem;color:#0f172a}.announcement-modal-body{padding:1.5rem}.announcement-modal textarea{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:.75rem;font-size:.95rem;resize:vertical;margin-top:.5rem}.checkbox-group{display:flex;align-items:center;gap:1rem;margin-top:1.5rem}.info-text{display:flex;align-items:center;gap:.5rem;margin-top:1rem;color:#64748b;font-size:.9rem;background:#f1f5f9;padding:.75rem;border-radius:6px}.announcement-modal-footer{padding:1rem 1.5rem;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;gap:.75rem;background:#f8fafc}.btn-cancel{padding:.5rem 1rem;border:1px solid #cbd5e1;background:#fff;border-radius:6px;cursor:pointer}.btn-save{padding:.5rem 1rem;background:#2563eb;color:#fff;border:none;border-radius:6px;display:flex;align-items:center;gap:.5rem;cursor:pointer}.btn-save:hover{background:#1d4ed8}.switch{position:relative;display:inline-block;width:44px;height:24px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;-webkit-transition:.4s;transition:.4s}.slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;-webkit-transition:.4s;transition:.4s}input:checked+.slider{background-color:#2196f3}input:focus+.slider{box-shadow:0 0 1px #2196f3}input:checked+.slider:before{-webkit-transform:translateX(20px);-ms-transform:translateX(20px);transform:translate(20px)}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}.export-modal-card{max-width:550px;width:90%}.export-modal-header{display:flex;align-items:flex-start;gap:1.25rem;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid #f1f5f9}.header-icon{width:56px;height:56px;border-radius:16px;background:linear-gradient(135deg,var(--primary) 0%,#4338ca 100%);display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 8px 16px #6366f140;flex-shrink:0}.export-modal-header h2{margin:0 0 .5rem;font-size:1.5rem;color:#0f172a;font-weight:700}.export-modal-header p{margin:0;font-size:.9rem;color:#64748b}.export-options{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.export-option-card{background:#fff;border:2px solid #e2e8f0;border-radius:16px;padding:0;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);overflow:hidden}.export-option-card:hover{border-color:#cbd5e1;transform:translateY(-2px);box-shadow:0 8px 16px #00000014}.export-option-card.active{border-color:var(--primary);background:linear-gradient(to bottom,#f0f4ff,#fff);box-shadow:0 4px 12px #6366f126}.option-card-header{display:flex;align-items:center;gap:1rem;padding:1.25rem}.option-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.option-icon.month{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 4px 12px #10b9814d}.option-icon.week{background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 4px 12px #f59e0b4d}.option-info{flex:1}.option-info h3{margin:0 0 .25rem;font-size:1.05rem;font-weight:700;color:#1e293b}.option-info p{margin:0;font-size:.85rem;color:#64748b}.radio-indicator{width:24px;height:24px;border:2px solid #cbd5e1;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s;flex-shrink:0}.export-option-card.active .radio-indicator{border-color:var(--primary);background:var(--primary)}.radio-dot{width:10px;height:10px;border-radius:50%;background:#fff;transform:scale(0);transition:transform .2s}.export-option-card.active .radio-dot{transform:scale(1)}.option-input-area{padding:0 1.25rem 1.25rem;border-top:1px solid #f1f5f9;background:#fafbfc;animation:slideDown .3s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.option-input-area label{display:block;font-size:.85rem;font-weight:600;color:#475569;margin:1rem 0 .5rem}.styled-date-input{width:100%;padding:.875rem 1rem;border:2px solid #e2e8f0;border-radius:10px;font-size:.95rem;font-weight:500;color:#1e293b;background:#fff;cursor:pointer;transition:all .2s}.styled-date-input:hover{border-color:var(--primary);background:#fafbfc}.styled-date-input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 4px #6366f11a}.export-modal-footer{display:flex;gap:1rem;justify-content:flex-end;padding-top:1.5rem;border-top:2px solid #f1f5f9}.btn-cancel{padding:.875rem 1.75rem;border:2px solid #e2e8f0;background:#fff;color:#64748b;border-radius:10px;font-weight:600;font-size:.95rem;cursor:pointer;transition:all .2s}.btn-cancel:hover{background:#f8fafc;border-color:#cbd5e1;color:#475569}.btn-export{padding:.875rem 1.75rem;border:none;background:linear-gradient(135deg,var(--primary) 0%,#4338ca 100%);color:#fff;border-radius:10px;font-weight:600;font-size:.95rem;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .2s;box-shadow:0 4px 12px #6366f14d}.btn-export:hover{transform:translateY(-2px);box-shadow:0 8px 20px #6366f166}.btn-export:active{transform:translateY(0)}.user-card-profile{background:#fff;border-radius:16px;padding:1.25rem;box-shadow:var(--shadow-sm);border:1px solid #f1f5f9;position:relative;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s}.user-card-profile:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}.profile-header-deco{position:absolute;top:0;right:0;width:80px;height:80px;background:radial-gradient(circle at top right,#e0e7ff 0%,transparent 60%);border-radius:0 0 0 100%;opacity:.6}.profile-content{display:flex;flex-direction:column;align-items:center;position:relative;z-index:1}.avatar-large{width:80px;height:80px;border-radius:20px;overflow:hidden;margin-bottom:.75rem;box-shadow:var(--shadow-md)}.avatar-large img{width:100%;height:100%;object-fit:cover}.profile-name{margin:.5rem 0 .25rem;font-size:1rem;font-weight:700;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;padding:0 .25rem}.profile-role{font-size:.7rem;font-weight:600;color:var(--primary);background:#e0e7ff;padding:.2rem .6rem;border-radius:20px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:1rem;max-width:90%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block}.profile-stats{display:flex;align-items:center;width:100%;justify-content:center;gap:1rem;margin-bottom:1rem}.stat-item{display:flex;flex-direction:column;align-items:center}.stat-item strong{font-size:1.1rem;color:var(--text-main);line-height:1.2}.stat-item span{font-size:.65rem;color:var(--text-muted);font-weight:700}.stat-divider{width:1px;height:30px;background:#e2e8f0}.view-profile-btn{width:100%;background:#0f172a;color:#fff;padding:.875rem;border-radius:var(--radius-md);font-weight:600;font-size:.85rem;transition:background .2s}.view-profile-btn:hover{background:#1e293b}.user-card-profile.inactive{filter:grayscale(.8);opacity:.6;position:relative}.user-card-profile.inactive:hover{filter:grayscale(.5);opacity:.8}.inactive-badge{background:#ef4444;color:#fff;padding:.2rem .6rem;border-radius:20px;font-size:.7rem;font-weight:700;margin-bottom:.5rem;letter-spacing:.5px}.card-top-actions{position:absolute;top:10px;right:10px;z-index:10;display:flex;gap:.35rem}.card-action-btn{border:none;border-radius:8px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 3px #0000001a}.delete-action-btn{background:#fee2e2;color:#ef4444}.delete-action-btn:hover{background:#ef4444;color:#fff;transform:scale(1.08)}.restore-action-btn{background:#dcfce7;color:#10b981}.restore-action-btn:hover{background:#10b981;color:#fff;transform:scale(1.08)}.profile-code{font-size:.75rem;font-weight:600;color:#64748b;margin-bottom:.35rem;background:#f1f5f9;padding:.15rem .5rem;border-radius:6px;letter-spacing:.5px}.user-profile-modal{background:#fff;border-radius:20px;max-width:700px;width:90%;max-height:90vh;overflow-y:auto;position:relative;padding:2rem;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.profile-modal-header{display:flex;align-items:center;gap:1.5rem;padding-bottom:2rem;border-bottom:2px solid #f1f5f9;margin-bottom:2rem}.profile-modal-avatar{width:100px;height:100px;border-radius:50%;overflow:hidden;border:4px solid #6366f1;box-shadow:0 4px 6px -1px #0000001a}.profile-modal-avatar img{width:100%;height:100%;object-fit:cover}.profile-modal-info h2{margin:0;font-size:1.75rem;color:#1e293b;font-weight:700}.role-badge{display:inline-block;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;padding:.5rem 1rem;border-radius:20px;font-size:.75rem;font-weight:600;letter-spacing:.5px;margin-top:.5rem}.profile-section{margin-bottom:2rem}.profile-section h3{font-size:1.1rem;color:#334155;margin-bottom:1rem;font-weight:700}.contact-grid{display:grid;gap:1rem}.contact-item{display:flex;align-items:flex-start;gap:1rem;padding:1rem;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}.contact-item svg{color:#6366f1;flex-shrink:0;margin-top:2px}.contact-item div{display:flex;flex-direction:column;gap:.25rem}.contact-item .label{font-size:.75rem;color:#64748b;font-weight:600;text-transform:uppercase}.contact-item .value{font-size:.95rem;color:#1e293b;font-weight:500}.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.stat-box{display:flex;align-items:center;gap:1rem;padding:1.25rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:12px;border:1px solid #e2e8f0}.stat-icon{color:#6366f1;flex-shrink:0}.stat-content{display:flex;flex-direction:column;gap:.25rem}.stat-value{font-size:1.75rem;font-weight:700;color:#1e293b}.stat-label{font-size:.75rem;color:#64748b;text-transform:uppercase;font-weight:600}.projects-list{display:flex;flex-direction:column;gap:1rem}.project-item{padding:1rem;background:#fff;border:1px solid #e2e8f0;border-radius:12px}.project-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.project-name{font-weight:600;color:#334155;font-size:.95rem}.project-progress{font-weight:700;color:#6366f1;font-size:.9rem}.project-progress-bar{width:100%;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.project-progress-fill{height:100%;background:linear-gradient(90deg,#6366f1,#8b5cf6);border-radius:4px;transition:width .3s ease}.empty-state{text-align:center;color:#94a3b8;font-style:italic;padding:2rem}@media (max-width: 768px){.user-profile-modal{padding:1.5rem;width:95%}.profile-modal-header{flex-direction:column;text-align:center}.stats-grid{grid-template-columns:1fr}}.edit-input{width:100%;padding:.5rem;border:1px solid #cbd5e1;border-radius:6px;font-family:inherit;font-size:.95rem;color:#1e293b;outline:none;transition:all .2s}.edit-input:focus{border-color:#6366f1;box-shadow:0 0 0 2px #6366f11a}.edit-input.name-input{font-size:1.5rem;font-weight:700;margin-bottom:.5rem}.edit-toggle-btn{margin-left:auto;display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#f1f5f9;color:#475569;border:none;border-radius:8px;font-weight:600;font-size:.85rem;cursor:pointer;transition:all .2s}.edit-toggle-btn:hover{background:#e2e8f0;color:#1e293b}.edit-toggle-btn.saving{background:#10b981;color:#fff}.edit-toggle-btn.saving:hover{background:#059669}@media (max-width: 768px){.edit-toggle-btn{margin-left:0;margin-top:1rem;width:100%;justify-content:center}}.add-user-modal{background:#fff;border-radius:20px;max-width:600px;width:90%;max-height:90vh;overflow-y:auto;position:relative;padding:2rem;box-shadow:0 20px 25px -5px #0000001a}.modal-header{margin-bottom:2rem;border-bottom:2px solid #f1f5f9;padding-bottom:1rem}.modal-header h2{margin:0 0 .5rem;font-size:1.5rem;color:#1e293b;font-weight:700}.modal-header p{margin:0;color:#64748b;font-size:.9rem}.add-user-form{display:flex;flex-direction:column;gap:1.25rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-field{display:flex;flex-direction:column;gap:.5rem}.form-field label{font-size:.875rem;font-weight:600;color:#334155}.required{color:#ef4444}.input-wrapper{position:relative;display:flex;align-items:center}.input-wrapper .input-icon{position:absolute;left:1rem;color:#94a3b8}.input-wrapper input{width:100%;padding:.75rem 1rem .75rem 3rem;border:1px solid #e2e8f0;border-radius:10px;font-size:.95rem;transition:all .2s;font-family:inherit}.input-wrapper input:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.clean-input,.clean-select{width:100%;padding:.65rem .85rem;border:1px solid #cbd5e1;border-radius:8px;font-size:.92rem;color:#1e293b;background:#fff;outline:none;transition:all .2s;font-family:inherit;box-sizing:border-box}.clean-input:focus,.clean-select:focus{outline:none;border-color:#0284c7;box-shadow:0 0 0 3px #0284c71f}.form-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:1rem;padding-top:1.5rem;border-top:2px solid #f1f5f9}.btn-secondary{padding:.75rem 1.5rem;border:1px solid #e2e8f0;background:#fff;color:#64748b;border-radius:10px;font-weight:600;cursor:pointer;transition:all .2s}.btn-secondary:hover{background:#f8fafc;border-color:#cbd5e1}.btn-primary{padding:.75rem 1.5rem;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border:none;border-radius:10px;font-weight:600;cursor:pointer;transition:all .2s}.btn-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 6px -1px #6366f14d}.btn-primary:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 640px){.add-user-modal{padding:1.5rem;width:95%}.form-row{grid-template-columns:1fr}}.hr-container{animation:fadeIn .4s ease-out}.section-header{margin-bottom:var(--spacing-xl);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}.section-header h2{font-size:1.1rem;font-weight:700;color:#1e293b;text-transform:uppercase;letter-spacing:.5px;margin:0}.hr-header-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.btn-add-user{background:#0284c7;color:#fff;border:none;padding:.65rem 1.25rem;border-radius:8px;font-weight:600;font-size:.9rem;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .2s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 4px #0284c740}.btn-add-user:hover{background:#0369a1;transform:translateY(-1px);box-shadow:0 4px 8px #0284c759}.hr-filter-tabs{display:flex;background:#f1f5f9;padding:.25rem;border-radius:8px;gap:.25rem}.hr-tab-btn{border:none;background:transparent;padding:.45rem .85rem;border-radius:6px;font-size:.85rem;font-weight:600;color:#64748b;cursor:pointer;transition:all .15s ease}.hr-tab-btn.active{background:#fff;color:#0f172a;box-shadow:0 1px 3px #00000014}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center;background:#fff;border-radius:12px;border:1px dashed #e2e8f0}.empty-state p{font-size:1.1rem;color:#94a3b8;margin:0}.empty-state .hint{font-size:.9rem;color:#cbd5e1;margin-top:.5rem;font-style:italic}.hr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1.25rem}.delete-confirm-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0f172a99;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:2000;padding:1rem;animation:fadeIn .2s ease-out}.delete-confirm-card{background:#fff;border-radius:16px;padding:1.75rem;max-width:480px;width:100%;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;animation:scaleUp .2s ease-out}@keyframes scaleUp{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.delete-confirm-icon-wrap{width:52px;height:52px;background:#fee2e2;color:#ef4444;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:1rem}.delete-confirm-title{font-size:1.2rem;font-weight:700;color:#0f172a;margin:0 0 .5rem}.delete-confirm-desc{font-size:.9rem;color:#475569;line-height:1.5;margin:0 0 1rem}.delete-confirm-notice{background:#f8fafc;border-left:3px solid #0284c7;padding:.75rem 1rem;border-radius:0 8px 8px 0;font-size:.825rem;color:#334155;margin-bottom:1.5rem;line-height:1.4}.delete-confirm-actions{display:flex;justify-content:flex-end;gap:.75rem}.btn-confirm-cancel{padding:.65rem 1.25rem;border:1px solid #cbd5e1;background:#fff;color:#475569;border-radius:8px;font-weight:600;font-size:.9rem;cursor:pointer;transition:background .15s ease}.btn-confirm-cancel:hover{background:#f1f5f9}.btn-confirm-delete{padding:.65rem 1.25rem;border:none;background:#ef4444;color:#fff;border-radius:8px;font-weight:600;font-size:.9rem;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:background .15s ease}.btn-confirm-delete:hover{background:#dc2626}@media (max-width: 1024px){.hr-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}}@media (max-width: 768px){.hr-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.75rem}.section-header{flex-direction:column;align-items:flex-start}.hr-header-actions{width:100%;justify-content:space-between}}@media (max-width: 480px){.hr-grid{grid-template-columns:1fr}}.leave-registration-container{padding:20px;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;height:100%;display:flex;flex-direction:column;gap:20px;max-width:1200px;margin:0 auto}.leave-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e2e8f0;padding-bottom:15px}.leave-header h3{margin:0;color:#1e293b}.month-selector{display:flex;align-items:center;gap:15px;font-weight:600;color:#334155;background:#f1f5f9;padding:5px 10px;border-radius:8px}.month-selector button{background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.month-selector button:hover{background:#e2e8f0}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;flex:1}.weekday-header{text-align:center;font-weight:600;color:#64748b;padding:10px 0;font-size:.9rem}.weekday-header.sun{color:#ef4444}.calendar-day{min-height:110px;border:1px solid #e2e8f0;border-radius:8px;position:relative;cursor:pointer;overflow:hidden;transition:all .2s;background:#fff;display:flex;flex-direction:column;align-items:flex-start;padding:4px}.calendar-day:hover{border-color:#3b82f6;background:#f8fafc}.calendar-day.empty{background:transparent;border:none;cursor:default}.calendar-day.today .day-number{color:#ef4444;background:#fef2f2;padding:2px 8px;border-radius:12px;display:inline-block}.day-number{font-weight:600;color:#334155}.calendar-day.selected{background:#dbeafe;border-color:#2563eb}.calendar-day.status-pending{background:#fff7ed;border-color:#f97316}.calendar-day.status-approved{background:#f0fdf4;border-color:#22c55e}.calendar-day.status-rejected{background:#fef2f2;border-color:#ef4444}.calendar-day.has-request{cursor:not-allowed;opacity:.9}.day-status-icon{position:absolute;bottom:5px;right:5px;display:flex;align-items:center;justify-content:center}.status-pending .day-status-icon svg{fill:#f97316;stroke:none}.status-approved .day-status-icon svg{fill:#22c55e;stroke:none}.status-rejected .day-status-icon svg{fill:#ef4444;stroke:none}.legend-section{display:flex;gap:20px;justify-content:center;padding:10px 0}.legend-item{display:flex;align-items:center;gap:6px;font-size:.9rem;color:#64748b}.dot{width:12px;height:12px;border-radius:50%}.dot.pending{background:#f97316}.dot.approved{background:#22c55e}.dot.rejected{background:#ef4444}.dot.selected-legend{background:#3b82f6;border:1px solid #2563eb}.registration-form{border-top:1px solid #e2e8f0;padding-top:20px;display:flex;flex-direction:column;gap:15px}.registration-sidebar{display:flex;gap:20px;align-items:flex-start}.registration-sidebar .registration-form{flex:1;border-top:none;padding-top:0}.stats-section{flex:1;background:#f8fafc;padding:15px;border-radius:12px;border:1px solid #e2e8f0;max-width:350px}.stats-section h4{margin:0 0 15px;font-size:1rem;color:#334155;border-bottom:2px solid #e2e8f0;padding-bottom:8px}.top-leavers-list{display:flex;flex-direction:column;gap:8px}.leaver-item{display:flex;align-items:center;gap:10px;background:#fff;padding:8px 12px;border-radius:8px;box-shadow:0 1px 2px #0000000d;border:1px solid #f1f5f9}.leaver-rank{font-weight:700;color:#94a3b8;font-size:.9rem;min-width:25px}.leaver-item:nth-child(1) .leaver-rank{color:#eab308}.leaver-item:nth-child(2) .leaver-rank{color:#94a3b8}.leaver-item:nth-child(3) .leaver-rank{color:#d97706}.leaver-info{flex:1;display:flex;justify-content:space-between;align-items:center}.leaver-name{font-weight:600;color:#334155;font-size:.9rem}.leaver-count{background:#fee2e2;color:#ef4444;padding:2px 8px;border-radius:12px;font-size:.8rem;font-weight:600}.no-stats{text-align:center;color:#94a3b8;font-size:.9rem;font-style:italic;padding:10px}.selected-summary{min-height:24px;font-size:.95rem;color:#334155}.selected-summary strong{color:#2563eb}.placeholder-text{color:#94a3b8;font-style:italic}.registration-form textarea{width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:8px;font-family:inherit;resize:vertical}.submit-leave-btn{align-self:flex-end;background:#2563eb;color:#fff;border:none;padding:10px 20px;border-radius:8px;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:8px;transition:background .2s}.submit-leave-btn:hover{background:#1d4ed8}.submit-leave-btn:disabled{background:#94a3b8;cursor:not-allowed}.others-on-leave{display:flex;flex-direction:column;gap:2px;margin-top:auto;width:100%;overflow:hidden}.other-user-badge{font-size:.65rem;background:#f1f5f9;color:#475569;padding:1px 4px;border-radius:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;border:1px solid #e2e8f0}.custom-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease-out}.custom-modal{background:#fff;padding:25px;border-radius:12px;width:90%;max-width:400px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;animation:slideUp .3s ease-out;text-align:center}.custom-modal h4{margin-top:0;margin-bottom:10px;color:#1e293b;font-size:1.1rem}.custom-modal p{color:#475569;margin-bottom:20px;line-height:1.5}.modal-actions{display:flex;justify-content:center;gap:10px}.modal-btn{padding:8px 16px;border-radius:6px;font-weight:500;cursor:pointer;border:none;transition:all .2s}.modal-btn.primary{background:#2563eb;color:#fff}.modal-btn.primary:hover{background:#1d4ed8}.modal-btn.secondary{background:#e2e8f0;color:#475569}.modal-btn.secondary:hover{background:#cbd5e1}.modal-btn.danger{background:#ef4444;color:#fff}.modal-btn.danger:hover{background:#dc2626}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}@media (max-width: 768px){.leave-registration-container{padding:5px;gap:10px}.leave-header{flex-direction:column;gap:10px;align-items:center}.leave-header h3{color:#1e293b;font-size:1rem;margin:0}.month-selector{width:100%;justify-content:space-between;font-size:.85rem}.calendar-grid{gap:2px}.weekday-header{font-size:.75rem;padding:2px 0}.calendar-day{min-height:50px;padding:2px;border-radius:4px;border:1px solid #e2e8f0}.day-number{font-size:.8rem}.calendar-day.today .day-number{padding:0 4px}.other-user-badge{font-size:.5rem;padding:0 1px;line-height:1.2}.day-status-icon{bottom:2px;right:2px}.day-status-icon svg{width:10px;height:10px}.legend-section{flex-wrap:wrap;gap:5px 10px;font-size:.8rem}.legend-item{gap:4px}.custom-modal{width:95%;padding:15px}.registration-form textarea{font-size:.9rem}.registration-sidebar{flex-direction:column;gap:20px}.stats-section{max-width:100%;width:100%}}.qr-float-button{position:fixed;bottom:30px;right:30px;width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;cursor:pointer;box-shadow:0 4px 12px #667eea66;transition:all .3s ease;z-index:999;display:flex;align-items:center;justify-content:center}.qr-float-button:hover{transform:scale(1.1);box-shadow:0 6px 20px #667eea99}.qr-float-button:active{transform:scale(.95)}.qr-icon{font-size:28px;line-height:1}.qr-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.qr-modal-content{background:#fff;padding:30px;border-radius:16px;box-shadow:0 10px 40px #0000004d;text-align:center;max-width:400px;width:90%;position:relative;animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.qr-close-button{position:absolute;top:10px;right:10px;background:transparent;border:none;font-size:32px;color:#999;cursor:pointer;width:40px;height:40px;border-radius:50%;transition:all .2s ease;display:flex;align-items:center;justify-content:center;line-height:1}.qr-close-button:hover{background:#0000000d;color:#333}.qr-title{margin:0 0 5px;font-size:24px;font-weight:600;color:#333}.qr-subtitle{margin:0 0 20px;font-size:14px;color:#666}.qr-code-container{background:#fff;padding:20px;border-radius:12px;display:inline-block;box-shadow:0 2px 8px #0000001a;margin-bottom:20px}.qr-code-svg{display:block}.qr-url{margin:15px 0 20px;font-size:12px;color:#666;word-break:break-all;background:#f5f5f5;padding:10px;border-radius:8px;font-family:Courier New,monospace}.qr-actions{display:flex;gap:10px;justify-content:center}.qr-download-button,.qr-close-button-bottom{padding:10px 20px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.qr-download-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;flex:1}.qr-download-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.qr-close-button-bottom{background:#f5f5f5;color:#333;flex:1}.qr-close-button-bottom:hover{background:#e0e0e0}.qr-download-button:active,.qr-close-button-bottom:active{transform:translateY(0)}@media (max-width: 480px){.qr-modal-content{padding:20px}.qr-title{font-size:20px}.qr-code-container{padding:15px}.qr-code-svg{width:200px!important;height:200px!important}.qr-float-button{width:50px;height:50px;bottom:20px;right:20px}.qr-icon{font-size:24px}}.announcement-popup-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1200;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.announcement-popup{background:#fff;width:450px;max-width:90%;border-radius:16px;box-shadow:0 15px 30px #0000004d;overflow:hidden;animation:popupFadeIn .3s cubic-bezier(.18,.89,.32,1.28)}@keyframes popupFadeIn{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}.popup-header{background:linear-gradient(135deg,#f59e0b,#d97706);padding:1.5rem;display:flex;align-items:center;justify-content:space-between;color:#fff}.popup-header h3{margin:0;font-size:1.25rem;flex-grow:1;margin-left:1rem}.popup-icon{background:#fff3;padding:8px;border-radius:50%}.popup-close-btn{background:none;border:none;cursor:pointer;padding:4px;opacity:.8}.popup-close-btn:hover{opacity:1}.popup-content{padding:2rem 1.5rem;color:#1e293b;font-size:1.05rem;line-height:1.6;max-height:60vh;overflow-y:auto}.popup-content p{margin-bottom:.5rem}.popup-footer{padding:1rem 1.5rem;background:#f8fafc;text-align:center}.btn-close-popup{background:#f59e0b;color:#fff;border:none;padding:.75rem 2rem;border-radius:30px;font-weight:600;cursor:pointer;transition:all .2s;box-shadow:0 4px 6px #f59e0b4d}.btn-close-popup:hover{background:#d97706;transform:translateY(-2px);box-shadow:0 6px 12px #f59e0b66}.page-transition{width:100%;height:100vh;position:relative}.page-transition.page-exit .login-card{animation:cardSlideOutRight .5s cubic-bezier(.4,0,.2,1) forwards}.page-transition.page-exit .login-container{pointer-events:none}@keyframes cardSlideOutRight{0%{transform:translate(0);opacity:1}to{transform:translate(120%);opacity:0}}.page-enter{animation:dashboardFadeIn .4s cubic-bezier(.4,0,.2,1) forwards;opacity:0}@keyframes dashboardFadeIn{0%{opacity:0;transform:scale(.98)}to{opacity:1;transform:scale(1)}}:root{--primary: #6366f1;--primary-dark: #4f46e5;--bg-body: #f3f4f6;--bg-card: #ffffff;--text-main: #111827;--text-muted: #6b7280;--sidebar-bg: #0f172a;--sidebar-text: #94a3b8;--sidebar-active: #6366f1;--sidebar-active-bg: rgba(99, 102, 241, .1);--spacing-xs: .25rem;--spacing-sm: .5rem;--spacing-md: 1rem;--spacing-lg: 1.5rem;--spacing-xl: 2rem;--radius-sm: .375rem;--radius-md: .5rem;--radius-lg: 1rem;--radius-xl: 1.5rem;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1);--shadow-card: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1)}*{box-sizing:border-box;margin:0;padding:0}html{overflow-y:scroll;overflow-x:hidden}body{font-family:Inter,system-ui,-apple-system,sans-serif;background-color:var(--bg-body);color:var(--text-main);line-height:1.5;-webkit-font-smoothing:antialiased;min-height:100vh;overflow-x:hidden}button{cursor:pointer;border:none;background:none;font-family:inherit}img{max-width:100%;display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}
