.logout-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}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.logout-modal{background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;width:90%;max-width:400px;overflow:hidden;animation:slideUp .3s cubic-bezier(.4,0,.2,1)}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{padding:24px;text-align:center;border-bottom:1px solid #f0f0f0;background:linear-gradient(135deg,#fafafa,#f5f5f5)}.modal-logo{height:48px;width:auto}.modal-content{padding:32px 24px;text-align:center}.modal-content .warning-icon{font-size:48px;margin-bottom:16px;animation:bounce .5s ease}.modal-content h2{font-size:20px;font-weight:700;color:#333;margin:0 0 12px}.modal-content p{font-size:14px;color:#666;margin:0}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.modal-actions{display:flex;gap:12px;padding:20px 24px;border-top:1px solid #f0f0f0;background:#fafafa}.btn{flex:1;padding:10px 16px;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1)}.btn:hover{transform:translateY(-2px)}.btn-cancel{background:#e8e8e8;color:#333}.btn-cancel:hover{background:#d8d8d8;box-shadow:0 4px 12px #0000001a}.btn-logout{background:linear-gradient(135deg,#0056b3,#003d82);color:#fff}.btn-logout:hover{box-shadow:0 4px 12px #0056b34d}@media (max-width: 768px){.logout-modal{width:85%;max-width:320px}.modal-content{padding:24px 20px}.modal-header{padding:16px}.modal-actions{padding:16px;gap:10px}}.sidebar{width:180px;background:linear-gradient(180deg,#fff,#f9f9f9);border-right:1px solid #e8e8e8;display:flex;flex-direction:column;height:100vh;position:fixed;left:0;top:0;overflow-y:auto;box-shadow:2px 0 10px #0000000d}.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-track{background:transparent}.sidebar::-webkit-scrollbar-thumb{background:#ddd;border-radius:3px}.sidebar::-webkit-scrollbar-thumb:hover{background:#bbb}.sidebar-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease;z-index:100}.sidebar-backdrop.visible{opacity:1;visibility:visible}.sidebar{z-index:110;transition:transform .28s cubic-bezier(.4,0,.2,1),width .2s ease}.mobile-controls,.mobile-close{display:none}@media (max-width: 480px){.sidebar{width:260px;position:fixed;height:100vh;left:0;top:0;transform:translate(-110%);box-shadow:8px 0 24px #0003}.sidebar.open{transform:translate(0)}.mobile-controls{display:flex;justify-content:flex-end;padding:12px}.mobile-close{display:block;background:transparent;border:none;font-size:20px;cursor:pointer;color:#555;padding:6px 8px;border-radius:6px}}.sidebar-header{padding:24px 16px;border-bottom:1px solid #efefef;background:linear-gradient(135deg,#fff,#f9f9f9)}.sidebar-logo{display:flex;align-items:center;gap:12px;text-decoration:none;color:#627d98;font-weight:700}.sidebar-logo .logo-icon{font-size:28px;width:40px;height:40px;background:linear-gradient(135deg,#7a96b2,#7a95ae);border-radius:8px;color:#fff;box-shadow:0 2px 8px #627d984d}.sidebar-logo .logo-text{font-size:16px;font-weight:700;color:#627d98;letter-spacing:-.5px}@media (max-width: 992px){.sidebar-logo .logo-text{display:none}}.sidebar-nav{flex:1;padding:12px 8px;display:flex;flex-direction:column;gap:4px}.nav-item{display:flex;align-items:center;gap:12px;padding:12px;color:#666;text-decoration:none;transition:all .25s cubic-bezier(.4,0,.2,1);border-radius:8px;position:relative;font-size:14px;font-weight:500}.nav-item:hover{background-color:#627d9814;color:#627d98}.nav-item.active{background:linear-gradient(135deg,#627d981a,#627d980d);color:#627d98;font-weight:600}.nav-item.active .nav-icon{transform:scale(1.1)}.nav-item .nav-icon{font-size:18px;min-width:20px;text-align:center;transition:transform .25s ease}.nav-item .nav-label{flex:1}@media (max-width: 992px){.nav-item .nav-label{display:none}}.nav-item .submenu-arrow{font-size:12px;transition:transform .25s ease}.nav-item .submenu-arrow.expanded{transform:rotate(-180deg)}.submenu{background-color:#627d980d;border-radius:6px;margin:4px 8px;overflow:hidden;animation:slideDown .2s ease-out}@keyframes slideDown{0%{opacity:0;max-height:0}to{opacity:1;max-height:300px}}.submenu-item{display:block;padding:10px 12px 10px 44px;color:#666;text-decoration:none;font-size:13px;transition:all .25s ease;border-left:3px solid transparent}.submenu-item:hover{background-color:#627d981a;color:#627d98;padding-left:46px}.submenu-item.active{background-color:#627d9826;color:#627d98;border-left-color:#627d98;font-weight:600;padding-left:46px}.sidebar-footer{padding:16px 8px;border-top:1px solid #efefef;background:linear-gradient(180deg,transparent,rgba(98,125,152,.02))}.logout-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px;background:linear-gradient(135deg,#007bff,#0056b3);color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:600;font-size:13px;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 8px #007bff4d}.logout-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #007bff66}.logout-btn:active{transform:translateY(0)}@media (max-width: 992px){.logout-btn span:last-child{display:none}}@media (max-width: 992px){.logout-btn{padding:10px}}@media (min-width: 481px) and (max-width: 1024px){.sidebar{width:70px}.sidebar-header{padding:12px 8px}.nav-label{display:none!important}.logout-btn{padding:10px;font-size:12px}.logout-btn span:last-child{display:none}}@media (max-width: 480px){.sidebar{width:260px;position:fixed;left:0;top:0;height:100vh;z-index:110;transform:translate(-110%);transition:transform .3s cubic-bezier(.4,0,.2,1);overflow-y:auto}.sidebar.open{transform:translate(0);box-shadow:4px 0 16px #00000026}.sidebar-backdrop{z-index:105}.sidebar-header{padding:16px 12px;border-bottom:1px solid #f0f0f0}.sidebar-nav{padding:8px;gap:2px}.nav-item{padding:12px;font-size:14px;border-radius:6px}.nav-item .nav-label{display:inline!important;flex:1}.nav-item .nav-icon{min-width:24px;font-size:18px}.submenu{margin:4px 8px}.submenu-item{padding:10px 12px 10px 44px;font-size:13px}.sidebar-footer{padding:12px 8px;border-top:1px solid #f0f0f0}.logout-btn{width:100%;padding:12px;font-size:13px;gap:8px}.logout-btn span:last-child{display:inline!important}.mobile-close{display:block;background:transparent;border:none;font-size:22px;cursor:pointer;color:#555;padding:8px;border-radius:6px}.mobile-close:active{background:#0000000d}.mobile-controls{display:flex;justify-content:flex-end;padding:8px;border-bottom:1px solid #f0f0f0}}.mobile-bottom-nav{display:none}@media (max-width: 768px){.mobile-bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e8e8e8;box-shadow:0 -2px 10px #00000014;z-index:90;padding:8px 0 max(8px,env(safe-area-inset-bottom));justify-content:space-around;align-items:center}}.mobile-nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:transparent;border:none;padding:6px 12px;cursor:pointer;transition:all .2s ease;color:#94a3b8;flex:1;max-width:80px;position:relative}@media (max-width: 480px){.mobile-nav-item{padding:4px 8px;gap:2px}}.mobile-nav-item:active{transform:scale(.95)}.mobile-nav-item.active{color:#3b82f6}.mobile-nav-item.active .mobile-nav-icon{transform:scale(1.1);filter:brightness(1.2)}.mobile-nav-item.active .mobile-nav-label{font-weight:600}.mobile-nav-item.active:before{content:"";position:absolute;top:-8px;left:50%;transform:translate(-50%);width:32px;height:3px;background:#3b82f6;border-radius:0 0 3px 3px}.mobile-nav-icon{font-size:22px;transition:transform .2s ease;line-height:1}@media (max-width: 480px){.mobile-nav-icon{font-size:20px}}.mobile-nav-label{font-size:11px;font-weight:500;transition:all .2s ease;white-space:nowrap}@media (max-width: 480px){.mobile-nav-label{font-size:10px}}.topbar{display:flex;justify-content:space-between;align-items:center;padding:16px 32px;background:linear-gradient(180deg,#fff,#fafafa);border-bottom:1px solid #e8e8e8;gap:24px;box-shadow:0 1px 4px #0000000a}.topbar{position:relative}.mobile-menu-btn{display:none;background:none;border:none;font-size:20px;cursor:pointer;color:#666}@media (max-width: 480px){.mobile-menu-btn{display:block;position:absolute;left:10px;top:8px;z-index:200;padding:6px 8px;border-radius:6px;background:transparent}.topbar{padding:8px 12px;align-items:center;gap:12px;min-height:48px}.topbar-left{padding-left:44px}}.topbar-left{flex:1}.topbar-left h2{color:#627d98;font-size:24px;margin:0;font-weight:700;letter-spacing:-.5px}.topbar-right{display:flex;align-items:center;gap:20px}.search-box{position:relative;display:flex;align-items:center;background:#f5f5f5;border-radius:8px;overflow:hidden;transition:all .3s ease;border:1px solid #efefef}.search-box:focus-within{border-color:#627d98;background:#fff;box-shadow:0 0 0 3px #627d981a}.search-box input{flex:1;padding:10px 14px;border:none;background:transparent;font-size:14px;outline:none;color:#343a40}.search-box input::placeholder{color:#999}@media (max-width: 768px){.search-box input{width:140px;font-size:13px}}.search-box .search-icon{padding:0 12px;cursor:pointer;color:#999;font-size:16px;transition:color .3s ease}.search-box .search-icon:hover{color:#627d98}.topbar-icons{display:flex;align-items:center;gap:16px}.icon-btn{background:none;border:none;font-size:18px;cursor:pointer;color:#666;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .3s cubic-bezier(.4,0,.2,1)}.icon-btn:hover{background-color:#627d9814;color:#627d98;transform:translateY(-2px)}.icon-btn:active{transform:translateY(0)}.user-profile{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:6px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);background:#fff}.user-profile:hover{background:linear-gradient(135deg,#627d9814,#627d980a);box-shadow:0 2px 8px #0000000d}.user-profile .avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#627d98,#8ba4bf);border:2px solid white;box-shadow:0 2px 6px #627d9826}.user-profile .username{font-weight:600;color:#343a40;font-size:13px}@media (max-width: 768px){.user-profile .username{display:none}}.user-profile .chevron{font-size:12px;color:#999;transition:transform .3s cubic-bezier(.4,0,.2,1)}@media (max-width: 768px){.user-profile .chevron{display:none}}.user-profile:hover .chevron{transform:rotate(180deg)}@media (min-width: 481px) and (max-width: 1024px){.topbar{padding:14px 20px;gap:16px}.topbar-left{flex:1}.topbar-left h2{font-size:20px}.search-box input{width:120px;font-size:13px}.user-profile .username,.user-profile .chevron{display:none}}@media (max-width: 480px){.topbar{padding:12px;gap:12px;min-height:56px}.topbar-left{flex:1;position:relative}.topbar-left h2{font-size:18px;margin:0;padding-left:0}.mobile-menu-btn{display:block!important;position:absolute;left:0;top:50%;transform:translateY(-50%);z-index:200;padding:8px;font-size:20px}.topbar-right{display:flex;align-items:center;gap:8px;flex:0}.search-box{display:flex;align-items:center;width:auto;border-radius:6px}.search-box input{width:100px;padding:8px 10px;font-size:13px}.search-box input::placeholder{color:#bbb}.search-box .search-icon{padding:0 8px;font-size:14px}.topbar-icons{gap:4px}.icon-btn{width:36px;height:36px;font-size:16px;border-radius:4px}.icon-btn:active{background-color:#627d981a}.user-profile{gap:0;padding:4px 6px;background:transparent}.user-profile:hover{background:transparent;box-shadow:none}.user-profile .avatar{width:32px;height:32px;border-width:1px}.user-profile .username,.user-profile .chevron{display:none!important}}.bar-chart-container{background:#fff;border-radius:20px;padding:48px 32px 32px;box-shadow:0 2px 8px #0000000a,0 8px 24px #0000000f;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.bar-chart-container:hover{box-shadow:0 4px 12px #0000000f,0 12px 32px #00000014;transform:translateY(-2px)}.chart-header{display:flex;justify-content:center;align-items:center;margin-bottom:48px}.chart-title{font-size:26px;font-weight:700;color:#2d3748;margin:0;letter-spacing:1px;text-transform:uppercase}.title-highlight{color:#4facfe;margin-right:8px}.chart-wrapper{display:flex;position:relative;min-height:400px;padding:0 20px}.bars-container{flex:1;display:flex;gap:clamp(16px,3vw,40px);align-items:flex-end;justify-content:center;position:relative;padding-bottom:60px;border-bottom:3px solid #2d3748}.bar-wrapper{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:16px;cursor:pointer;transition:transform .3s ease}.bar-wrapper:hover{transform:translateY(-8px)}.bar-column{width:40px;height:350px;display:flex;align-items:flex-end;justify-content:center;position:relative}.bar-background{position:absolute;bottom:0;left:50%;transform:translate(-50%);width:40px;height:100%;background:linear-gradient(180deg,#e6f0ff66,#d2e6ff99);border-radius:50px;z-index:1}.bar{position:absolute;bottom:0;left:50%;transform:translate(-50%);width:40px;border-radius:50px;transition:all .8s cubic-bezier(.34,1.56,.64,1);z-index:2;overflow:visible}.bar.hovered{filter:brightness(1.1);box-shadow:0 8px 24px #4facfe66}.bar-0{background:linear-gradient(180deg,#7fb3e8,#6a9fd4);box-shadow:0 4px 16px #7fb3e84d}.bar-1{background:linear-gradient(180deg,#4facfe,#3b9aeb);box-shadow:0 4px 16px #4facfe4d}.bar-2{background:linear-gradient(180deg,#5db8e8,#4aa4d8);box-shadow:0 4px 16px #5db8e84d}.bar-3{background:linear-gradient(180deg,#6bb6f5,#5aa4e8);box-shadow:0 4px 16px #6bb6f54d}.bar-4{background:linear-gradient(180deg,#9bb8f0,#889ee8);box-shadow:0 4px 16px #9bb8f04d}.bar-5{background:linear-gradient(180deg,#a9c5f5,#95b0e8);box-shadow:0 4px 16px #a9c5f54d}.bar-6{background:linear-gradient(180deg,#7fb3e8,#6a9fd4);box-shadow:0 4px 16px #7fb3e84d}.bar-7{background:linear-gradient(180deg,#4facfe,#3b9aeb);box-shadow:0 4px 16px #4facfe4d}.bar-8{background:linear-gradient(180deg,#5db8e8,#4aa4d8);box-shadow:0 4px 16px #5db8e84d}.bar-9{background:linear-gradient(180deg,#6bb6f5,#5aa4e8);box-shadow:0 4px 16px #6bb6f54d}.bar-10{background:linear-gradient(180deg,#9bb8f0,#889ee8);box-shadow:0 4px 16px #9bb8f04d}.bar-11{background:linear-gradient(180deg,#a9c5f5,#95b0e8);box-shadow:0 4px 16px #a9c5f54d}.value-badge{position:absolute;top:-30px;left:50%;transform:translate(-50%);z-index:10;animation:badgeAppear .6s cubic-bezier(.34,1.56,.64,1) forwards}@keyframes badgeAppear{0%{opacity:0;transform:translate(-50%) scale(.5)}to{opacity:1;transform:translate(-50%) scale(1)}}.badge-inner{width:70px;height:70px;border-radius:50%;background:linear-gradient(135deg,#e8f2ff,#d4e6ff);display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px #4facfe26,0 0 0 8px #fffc,0 0 0 10px #4facfe1a;transition:all .3s ease}.bar-wrapper:hover .badge-inner{transform:scale(1.1);box-shadow:0 6px 16px #4facfe40,0 0 0 8px #ffffffe6,0 0 0 12px #4facfe26}.badge-value{font-size:20px;font-weight:700;color:#4facfe;letter-spacing:-.5px}.bar-label{font-size:16px;font-weight:700;color:#8fb8e8;letter-spacing:.5px;transition:all .3s ease;transform:rotate(-90deg);transform-origin:center;white-space:nowrap;position:absolute;bottom:-50px}.bar-wrapper:hover .bar-label{color:#4facfe;transform:rotate(-90deg) scale(1.1)}@media (max-width: 1024px){.bar-chart-container{padding:36px 24px 24px}.chart-title{font-size:22px}.bars-container{gap:24px}.bar-column{width:60px;height:300px}.bar,.bar-background{width:55px}.badge-inner{width:60px;height:60px}.badge-value{font-size:18px}}@media (max-width: 768px){.bar-chart-container{padding:32px 20px 20px;border-radius:16px}.chart-title{font-size:18px}.bars-container{gap:16px;padding-bottom:50px}.bar-column{width:50px;height:250px}.bar,.bar-background{width:45px}.badge-inner{width:50px;height:50px;box-shadow:0 3px 8px #4facfe26,0 0 0 6px #fffc,0 0 0 8px #4facfe1a}.badge-value{font-size:16px}.bar-label{font-size:14px;bottom:-45px}}@media (max-width: 480px){.bar-chart-container{padding:24px 16px 16px}.chart-title{font-size:14px}.chart-wrapper{min-height:300px}.bars-container{gap:12px;padding-bottom:40px}.bar-column{width:35px;height:200px}.bar,.bar-background{width:32px}.badge-inner{width:40px;height:40px;box-shadow:0 2px 6px #4facfe26,0 0 0 4px #fffc,0 0 0 6px #4facfe1a}.badge-value{font-size:14px}.bar-label{font-size:12px;bottom:-40px}}.dashboard-content{padding:32px;background:linear-gradient(135deg,#fafafa,#f5f5f5);min-height:calc(100vh - 80px)}@media (max-width: 768px){.dashboard-content{padding:20px}}.stats-section{margin-bottom:32px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}@media (max-width: 768px){.stats-grid{grid-template-columns:repeat(2,1fr);gap:16px}}@media (max-width: 480px){.stats-grid{grid-template-columns:1fr}}.stat-card{background:#fff;padding:24px;border-radius:10px;box-shadow:0 2px 8px #0000000f;border:1px solid #f0f0f0;transition:all .35s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.stat-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#627d98,#8ba4bf);transition:all .3s ease}.stat-card:hover{box-shadow:0 8px 24px #627d981f;transform:translateY(-4px);border-color:#627d981a}.stat-card .stat-card-content{display:flex;justify-content:space-between;align-items:center;gap:16px}.stat-card .stat-text{flex:1}.stat-card .stat-icon{font-size:48px;display:flex;align-items:center;justify-content:center;min-width:60px;opacity:.8}.stat-card .stat-title{font-size:13px;color:#888;margin:0 0 12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.stat-card .stat-value{font-size:28px;font-weight:700;margin:0;color:#627d98;line-height:1.2}.stat-card .stat-change{font-size:12px;color:#27ae60;margin-top:8px}.stat-card .stat-change.negative{color:#e74c3c}.dashboard-grid{display:grid;grid-template-columns:2fr 1fr;gap:28px}@media (max-width: 992px){.dashboard-grid{grid-template-columns:1fr}}.chart-section,.items-section{background:#fff;border-radius:10px;box-shadow:0 2px 8px #0000000f;border:1px solid #f0f0f0;overflow:hidden;transition:all .3s cubic-bezier(.4,0,.2,1)}.chart-section:hover,.items-section:hover{box-shadow:0 8px 24px #00000014}.section-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid #f0f0f0;background:#fff}.section-header h2{font-size:18px;color:#627d98;margin:0;font-weight:700;letter-spacing:-.3px}.section-header .view-all{color:#e67e22;text-decoration:none;font-weight:600;font-size:13px;padding:6px 12px;border-radius:6px;transition:all .3s cubic-bezier(.4,0,.2,1)}.section-header .view-all:hover{background-color:#e67e221a;color:#bf6516}.items-table{width:100%;border-collapse:collapse}.items-table thead{background-color:#fafafa}.items-table thead th{padding:16px 24px;text-align:left;font-weight:700;color:#666;border-bottom:1px solid #f0f0f0;font-size:12px;text-transform:uppercase;letter-spacing:.5px}.items-table tbody tr{border-bottom:1px solid #f8f8f8;transition:all .25s cubic-bezier(.4,0,.2,1)}.items-table tbody tr:hover{background-color:#fcfcfc;box-shadow:inset 0 0 0 1px #627d9814}.items-table tbody tr td{padding:16px 24px;color:#333;font-size:14px}.items-table tbody tr td.image-cell{font-size:20px;text-align:center;color:#627d98}.items-table tbody tr td.status-badge{padding:4px 12px;border-radius:4px;font-size:12px;font-weight:600;width:fit-content;background:#27ae601a;color:#27ae60}.items-table tbody tr td.status-badge.pending{background:#f39c121a;color:#f39c12}.items-table tbody tr td.status-badge.completed{background:#27ae601a;color:#27ae60}.items-table tbody tr:last-child{border-bottom:none}@media (min-width: 481px) and (max-width: 1024px){.dashboard-content{padding:24px 16px;margin-left:0}.stats-grid{grid-template-columns:repeat(2,1fr);gap:16px}.stat-card{padding:20px}.stat-card .stat-icon{font-size:40px}.dashboard-grid{grid-template-columns:1fr;gap:20px}.section-header{flex-direction:column;align-items:flex-start;gap:12px;padding:20px}.section-header h2{font-size:16px}.items-table{font-size:13px}.items-table th,.items-table td{padding:12px 16px}}@media (max-width: 480px){.dashboard-content{padding:16px 12px;min-height:calc(100vh - 56px)}.stats-section{margin-bottom:20px}.stats-grid{grid-template-columns:1fr;gap:12px}.stat-card{padding:16px;border-radius:8px}.stat-card .stat-card-content{gap:12px}.stat-card .stat-icon{font-size:36px;min-width:50px}.stat-card .stat-title{font-size:11px;margin:0 0 8px}.stat-card .stat-value{font-size:22px}.dashboard-grid{grid-template-columns:1fr;gap:16px}.chart-section,.items-section{border-radius:8px;overflow:hidden}.section-header{padding:16px;gap:8px}.section-header h2{font-size:15px;margin:0}.section-header .view-all,.section-header .chart-period,.items-table{font-size:12px}.items-table thead{background-color:#f5f5f5}.items-table th{padding:12px;font-size:11px;text-transform:uppercase;letter-spacing:.3px}.items-table tbody tr:hover{background-color:#fafafa}.items-table tbody tr td{padding:12px;font-size:12px}.chart-content{padding:16px 12px}}.employee-table-container{background-color:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.empty-state{padding:3rem;text-align:center;color:#999;font-size:1.1rem}.employee-table{width:100%;border-collapse:collapse}@media (max-width: 768px){.employee-table.desktop-only{display:none}}.employee-table thead{background-color:#f8f9fa;border-bottom:2px solid #dee2e6}.employee-table th{padding:1rem;text-align:left;font-weight:600;color:#333;font-size:.95rem}.employee-table tbody tr{border-bottom:1px solid #dee2e6;transition:background-color .2s ease}.employee-table tbody tr:hover{background-color:#f8f9fa}.employee-table tbody tr:last-child{border-bottom:none}.employee-table td{padding:1rem;color:#555;font-size:.95rem}.table-photo{display:flex;align-items:center;justify-content:center}.table-photo img{width:50px;height:50px;border-radius:50%;object-fit:cover;border:2px solid #ddd}.table-photo .photo-placeholder{width:50px;height:50px;border-radius:50%;background-color:#f0f0f0;display:flex;align-items:center;justify-content:center;font-size:1.5rem;border:2px solid #ddd}.status-badge{display:inline-block;padding:.35rem .75rem;border-radius:20px;font-size:.85rem;font-weight:600;text-align:center;min-width:80px}.status-badge.badge-active{background-color:#d4edda;color:#155724}.status-badge.badge-inactive{background-color:#f8d7da;color:#721c24}.status-badge.badge-leave{background-color:#fff3cd;color:#856404}.status-badge.badge-default{background-color:#e2e3e5;color:#383d41}.action-buttons{display:flex;gap:.5rem;align-items:center}.btn-edit,.btn-delete{background-color:transparent;border:none;font-size:1.2rem;cursor:pointer;padding:.5rem;border-radius:4px;transition:background-color .2s ease}.btn-edit:hover,.btn-delete:hover{background-color:#f0f0f0}.btn-edit:active,.btn-delete:active{transform:scale(.95)}.btn-edit{color:#007bff}.btn-edit:hover{background-color:#e7f1ff}.btn-delete{color:#dc3545}.btn-delete:hover{background-color:#ffe7e7}.employee-cards-mobile{display:none;gap:1rem;flex-direction:column}@media (max-width: 768px){.employee-cards-mobile{display:flex;padding:1rem}}.employee-card{background:#fff;border-radius:12px;padding:1rem;box-shadow:0 2px 8px #00000014;border:1px solid #e5e7eb}.employee-card .card-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #f0f0f0}.employee-card .card-photo img{width:60px;height:60px;border-radius:50%;object-fit:cover;border:2px solid #ddd}.employee-card .card-photo .photo-placeholder{width:60px;height:60px;border-radius:50%;background-color:#f0f0f0;display:flex;align-items:center;justify-content:center;font-size:2rem;border:2px solid #ddd}.employee-card .card-info{flex:1}.employee-card .card-name{font-weight:700;font-size:1.1rem;color:#0f172a;margin-bottom:.25rem}.employee-card .card-email{font-size:.9rem;color:#6b7280}.employee-card .card-details{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.employee-card .detail-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem;background:#f8fafc;border-radius:6px}.employee-card .detail-item .label{font-size:.85rem;color:#64748b;font-weight:600}.employee-card .detail-item .value{font-weight:600;color:#1f2937}.employee-card .card-actions{display:flex;gap:.75rem}.employee-card .ghost{flex:1;padding:.75rem;border-radius:8px;border:1px solid #e2e8f0;background:#fff;font-weight:600;color:#1f2937;cursor:pointer;transition:all .2s ease;font-size:.95rem}.employee-card .ghost:hover{border-color:#3b82f6;color:#3b82f6}.employee-card .ghost.edit:hover{border-color:#2563eb;color:#2563eb}.employee-card .ghost.delete:hover{border-color:#ef4444;color:#ef4444}@media (max-width: 768px){.employee-table{font-size:.85rem}.employee-table th,.employee-table td{padding:.75rem .5rem}.table-photo img,.table-photo .photo-placeholder{width:40px;height:40px;font-size:1rem}.status-badge{font-size:.75rem;padding:.25rem .5rem;min-width:70px}}.employee-form-wrapper{background-color:#fff;padding:2rem;border-radius:8px;margin-bottom:2rem;box-shadow:0 2px 4px #0000001a;max-height:85vh;overflow-y:auto;scroll-behavior:smooth}@media (max-width: 768px){.employee-form-wrapper{padding:1.25rem;max-height:none}}.employee-form-container h2{margin-top:0;margin-bottom:1.5rem;color:#333;font-size:1.5rem}.employee-form{display:grid;grid-template-columns:1fr 2fr;gap:2rem}@media (max-width: 768px){.employee-form{grid-template-columns:1fr;gap:1.5rem}}.form-left{display:flex;justify-content:center}.photo-upload-section{display:flex;flex-direction:column;align-items:center;gap:1rem}.photo-placeholder{width:150px;height:150px;border-radius:8px;background-color:#f0f0f0;display:flex;align-items:center;justify-content:center;font-size:4rem;border:2px solid #ddd;overflow:hidden}.photo-placeholder img{width:100%;height:100%;object-fit:cover}.photo-placeholder .placeholder-icon{color:#999}.upload-photo-btn{background-color:#007bff;color:#fff;border:none;padding:.75rem 1.25rem;border-radius:6px;font-size:.95rem;font-weight:600;cursor:pointer;transition:background-color .3s ease}.upload-photo-btn:hover{background-color:#0056b3}.upload-photo-btn:active{transform:scale(.98)}.form-right{display:flex;flex-direction:column;gap:1.25rem}.form-group label{font-weight:600;color:#333;margin-bottom:.5rem;font-size:.95rem}.form-group input,.form-group select{padding:.75rem;border:1px solid #ddd;border-radius:6px;font-size:.95rem;font-family:inherit;transition:border-color .3s ease}.form-group input:focus,.form-group select:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.form-group input::placeholder,.form-group select::placeholder{color:#999}.form-group select{cursor:pointer}.form-actions{display:flex;gap:1rem;margin-top:1rem;justify-content:flex-end}@media (max-width: 768px){.form-actions{flex-direction:column-reverse}}.btn-cancel,.btn-save{padding:.75rem 2rem;border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;flex:1}@media (max-width: 768px){.btn-cancel,.btn-save{flex:auto}}.btn-cancel{background-color:#f0f0f0;color:#333}.btn-cancel:hover{background-color:#e0e0e0}.btn-cancel:active{transform:scale(.98)}.btn-save{background-color:#28a745;color:#fff}.btn-save:hover{background-color:#218838}.btn-save:active{transform:scale(.98)}.employees-container{padding:2rem;background-color:#f5f5f5;min-height:calc(100vh - 80px);overflow-y:auto;scroll-behavior:smooth}@media (max-width: 768px){.employees-container{padding:1rem}}.employees-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;background-color:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a}@media (max-width: 768px){.employees-header{flex-direction:column;align-items:flex-start;gap:1rem;padding:1rem}}.employees-header h1{margin:0;font-size:2rem;color:#333}@media (max-width: 768px){.employees-header h1{font-size:1.5rem}}.btn-add-employee{background-color:#007bff;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .3s ease}.btn-add-employee:hover{background-color:#0056b3}.btn-add-employee:active{transform:scale(.98)}.inventory-container{padding:24px;background:#f6f7fb;min-height:100vh;overflow-y:auto}@media (max-width: 768px){.inventory-container{padding:16px}}.inventory-header{display:flex;justify-content:space-between;align-items:center;background:#fff;padding:20px;border-radius:10px;margin-bottom:20px;box-shadow:0 1px 3px #0000001a}@media (max-width: 768px){.inventory-header{flex-direction:column;gap:12px;align-items:flex-start}}.inventory-header h1{font-size:22px;font-weight:600;color:#111827;margin:0}.inventory-header .btn-blue{background:#3b82f6;color:#fff;border:none;padding:10px 16px;border-radius:8px;cursor:pointer;font-weight:500;display:flex;align-items:center;transition:background-color .2s;font-size:14px}.inventory-header .btn-blue:hover{opacity:.9}.inventory-header .add-product-btn{background:#3b82f6;color:#fff;border:none;padding:10px 16px;border-radius:8px;cursor:pointer;font-weight:500;display:flex;align-items:center;transition:background-color .2s;font-size:14px}.inventory-header .add-product-btn:hover{opacity:.9}.filters-section{display:flex;gap:12px;margin-bottom:20px;flex-wrap:wrap}@media (max-width: 768px){.filters-section{gap:10px}}.filters-section input,.filters-section select{padding:10px 12px;border-radius:8px;border:1px solid #ddd;background:#fff;font-size:14px;color:#374151;min-height:40px}.filters-section input:focus,.filters-section select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.filters-section .search-input{flex:1;min-width:250px;position:relative}.filters-section .search-input input{width:100%;padding-left:40px}.filters-section select{min-width:150px}.date-filter-section{display:flex;align-items:center;gap:12px;margin-bottom:20px}.date-filter-section span{font-weight:500;color:#374151;white-space:nowrap}.date-filter-section .date-input-container{display:flex;align-items:center;gap:8px;background:#fff;padding:8px 12px;border-radius:8px;border:1px solid #ddd}.date-filter-section .date-input-container input[type=date]{border:none;outline:none;background:transparent;font-family:inherit;font-size:14px;color:#374151;min-width:120px}.date-filter-section .date-input-container input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.6}.date-filter-section .date-input-container .date-separator{color:#9ca3af}.date-filter-section .clear-btn{background:transparent;border:1px solid #ef4444;color:#ef4444;padding:8px 16px;border-radius:8px;cursor:pointer;font-weight:500;transition:all .2s;white-space:nowrap}.date-filter-section .clear-btn:hover{background:#ef4444;color:#fff}.table-wrapper{background:#fff;border-radius:10px;padding:20px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.products-table{width:100%;border-collapse:collapse}@media (max-width: 768px){.products-table.desktop-only{display:none}}.products-table thead{background:#f9fafb}.products-table thead th{text-align:left;padding:12px;font-size:14px;color:#6b7280;font-weight:600;border-bottom:1px solid #e5e7eb;white-space:nowrap}.products-table tbody tr{border-bottom:1px solid #eee;transition:background-color .2s}.products-table tbody tr:hover{background-color:#f9fafb}.products-table tbody tr:last-child{border-bottom:none}.products-table td{padding:14px 12px;font-size:14px;color:#374151;vertical-align:middle}.stock-badge{padding:4px 10px;border-radius:999px;font-size:13px;font-weight:600}.stock-badge.ok{background:#22c55e;color:#fff}.stock-badge.danger{background:#ef4444;color:#fff}.status{padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;text-transform:capitalize;display:inline-block}.status.active,.status.completed{background:#22c55e;color:#fff}.status.pending{background:#f59e0b;color:#fff}.status.cancelled{background:#ef4444;color:#fff}.actions button{border:none;background:transparent;cursor:pointer;font-size:16px;padding:4px;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:background-color .2s}.actions button:hover{background-color:#f3f4f6}.actions .edit{color:#f97316}.actions .delete{color:#ef4444}.empty-state{text-align:center;padding:60px 20px}.empty-state .empty-icon{font-size:48px;color:#9ca3af;margin-bottom:16px}.empty-state .empty-text{color:#6b7280;font-size:16px;margin:0}@media (max-width: 1200px){.filters-section{flex-direction:column}.filters-section .search-input{min-width:100%}.filters-section select{width:100%}.date-filter-section{flex-wrap:wrap}}@media (max-width: 768px){.inventory-container{padding:16px}.inventory-header{flex-direction:column;gap:16px;align-items:stretch}.inventory-header .add-product-btn{width:100%;justify-content:center}.table-wrapper{overflow-x:auto}.products-table{min-width:800px}.actions{flex-wrap:wrap;gap:6px}}.form-section{background:#fff;padding:24px;border-radius:10px;box-shadow:0 1px 3px #0000001a;margin-bottom:24px}.form-section2{background:#fff;padding:4px;border-radius:10px;box-shadow:0 1px 3px #0000004d}.form-group{margin-bottom:16px}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:#374151;font-size:14px}.form-group input[type=text],.form-group input[type=number],.form-group input[type=date],.form-group select,.form-group textarea{width:100%;padding:10px 12px;border-radius:8px;border:1px solid #ddd;font-size:14px;color:#374151;background:#fff;transition:border-color .2s}.form-group input[type=text]:focus,.form-group input[type=number]:focus,.form-group input[type=date]:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-group input[type=text]:disabled,.form-group input[type=number]:disabled,.form-group input[type=date]:disabled,.form-group select:disabled,.form-group textarea:disabled{background:#f3f4f6;color:#9ca3af;cursor:not-allowed}.form-group .error-message{color:#ef4444;font-size:13px;margin-top:4px;display:block}.product-search-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:16px;align-items:flex-start}.product-search-input input{width:100%;padding:10px 12px;border-radius:8px;border:1px solid #ddd;font-size:14px;color:#374151;background:#fff}.product-search-input input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.search-results{margin-top:12px;display:flex;flex-direction:column;gap:12px}.search-result-card{border:1px solid #e5e7eb;border-radius:10px;padding:12px 14px;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:14px}.search-result-title{font-weight:600;color:#111827}.search-result-meta{color:#6b7280;font-size:13px;margin-top:2px}.search-result-actions{display:flex;align-items:center;gap:10px}.price-chip{background:#eef2ff;color:#4338ca;padding:6px 10px;border-radius:999px;font-weight:600;font-size:13px}.add-line-btn{background:#10b981;color:#fff;border:none;border-radius:8px;padding:8px 12px;font-weight:600;cursor:pointer;transition:opacity .2s}.add-line-btn:disabled{background:#e5e7eb;color:#9ca3af;cursor:not-allowed}.add-line-btn:hover:not(:disabled){opacity:.92}.product-help{background:#f9fafb;border:1px dashed #d1d5db;border-radius:10px;padding:12px 14px;color:#374151}.product-help h4{margin:0 0 8px;font-size:15px}.product-help ul{padding-left:20px;margin:0;display:grid;gap:6px;font-size:14px;color:#4b5563}.line-input{width:100%;padding:8px 10px;border-radius:8px;border:1px solid #d1d5db;font-size:14px;color:#374151}.line-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.remove-line-btn{background:#fef2f2;color:#b91c1c;border:1px solid #fecdd3;border-radius:8px;padding:8px 12px;cursor:pointer;font-weight:600;font-size:14px;transition:background-color .2s}.remove-line-btn:hover{background:#fee2e2}.muted-text{color:#6b7280;font-size:13px}.section-title{font-size:16px;font-weight:600;color:#374151;margin:0 0 20px}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-header .add-product-btn{background:#2563eb;color:#fff;border:none;padding:10px 16px;border-radius:8px;cursor:pointer;font-weight:600;display:flex;align-items:center;gap:8px;font-size:14px;transition:all .2s}.section-header .add-product-btn:hover{background:#1d4ed8}.receipt-form-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.receipt-form-grid .form-group-full{grid-column:span 4}.receipt-form-grid .form-group label{display:block;margin-bottom:8px;font-weight:500;color:#64748b;font-size:13px}.receipt-form-grid .form-group label .required{color:#ef4444;margin-left:2px}.receipt-form-grid .form-group input,.receipt-form-grid .form-group select{width:100%;padding:10px 12px;border-radius:8px;border:1px solid #e2e8f0;font-size:14px;color:#374151;background:#fff}.receipt-form-grid .form-group input:focus,.receipt-form-grid .form-group select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.receipt-form-grid .form-group input::placeholder,.receipt-form-grid .form-group select::placeholder{color:#cbd5e1}.receipt-form-grid .form-group select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem}.product-lines-table{margin-top:16px;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.product-lines-table .products-table th{background:#f8fafc;color:#475569;font-size:13px;font-weight:600;text-transform:none}.product-lines-table .products-table .empty-state{text-align:center;padding:60px 20px}.product-lines-table .products-table .empty-state .empty-text{color:#64748b;font-size:15px;font-weight:500;margin:0 0 4px}.product-lines-table .products-table .empty-state .empty-subtext{color:#94a3b8;font-size:13px;margin:0}.receipt-footer{margin-top:32px;display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px}.receipt-totals{flex:1}.receipt-totals .total-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #e5e7eb}.receipt-totals .total-row.total-amount{border-bottom:none;padding-top:16px}.receipt-totals .total-row.total-amount .total-label{font-size:15px;font-weight:600;color:#374151}.receipt-totals .total-row.total-amount .total-value{font-size:20px;font-weight:700;color:#1e293b}.receipt-totals .total-label{color:#64748b;font-size:14px}.receipt-totals .total-value{color:#1e293b;font-size:14px;font-weight:600}.receipt-totals .total-note{color:#94a3b8;font-size:12px;margin-top:4px;text-align:right}.receipt-actions{display:flex;gap:12px}.receipt-actions button{display:flex;align-items:center;padding:12px 20px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;border:none}.receipt-actions button.btn-cancel{background:transparent;color:#64748b;border:1px solid #cbd5e1}.receipt-actions button.btn-cancel:hover{background:#f8fafc}.receipt-actions button.btn-draft{background:#64748b;color:#fff}.receipt-actions button.btn-draft:hover{background:#475569}.receipt-actions button.btn-complete{background:#2563eb;color:#fff}.receipt-actions button.btn-complete:hover{background:#1d4ed8}@media (max-width: 1200px){.receipt-form-grid{grid-template-columns:repeat(2,1fr)}.receipt-form-grid .form-group-full{grid-column:span 2}}@media (max-width: 768px){.receipt-form-grid{grid-template-columns:1fr}.receipt-form-grid .form-group-full{grid-column:span 1}.receipt-footer{flex-direction:column;align-items:stretch}.receipt-actions{flex-direction:column}.receipt-actions button{width:100%;justify-content:center}}@media (max-width: 1024px){.inventory-container .form-section,.inventory-container .table-wrapper{overflow-x:auto}.product-search-grid{grid-template-columns:1fr}}@media (max-width: 768px){.inventory-container,.form-section{padding:16px}.inventory-container>div:first-child:not(.inventory-header){grid-template-columns:1fr!important}.inventory-container>div:last-child{grid-template-columns:1fr!important;gap:16px!important}.form-section>div>div{grid-template-columns:1fr!important}}@media (max-width: 640px){.inventory-header{flex-direction:column;gap:16px;align-items:flex-start}.inventory-header .add-product-btn{width:100%;justify-content:center}}.product-cards-mobile{display:none;gap:12px;flex-direction:column}@media (max-width: 768px){.product-cards-mobile{display:flex}}.product-card{background:#fff;border-radius:12px;padding:14px 14px 12px;box-shadow:0 4px 14px #0000000f;display:flex;flex-direction:column;gap:12px;border:1px solid #eef0f6}.product-card .card-row{display:flex;gap:8px;flex-wrap:wrap}.stock-pill{background:#eff6ff;color:#1d4ed8;border:1px solid #dbeafe}.product-card .card-content{display:flex;flex-direction:column;gap:6px}.product-card .card-title{font-weight:700;font-size:16px;color:#0f172a}.product-card .card-meta{font-size:13px;color:#6b7280}.product-card .card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card .card-field{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:8px 10px;display:flex;justify-content:space-between;align-items:center}.product-card .card-field .label{font-size:12px;color:#64748b}.product-card .card-field .value{font-weight:700;color:#111827}.product-card .card-actions{display:flex;gap:8px}.product-card .ghost{flex:1;padding:10px;border-radius:10px;border:1px solid #e2e8f0;background:#fff;font-weight:600;color:#1f2937;cursor:pointer;transition:all .2s ease}.product-card .ghost:hover{border-color:#3b82f6;color:#3b82f6}.product-card .ghost.delete:hover{border-color:#ef4444;color:#ef4444}.add-product-container{padding:24px;background:#f6f7fb;min-height:100vh;height:100%;overflow-y:auto;overflow-x:hidden}@media (max-width: 768px){.add-product-container{padding:14px}}@media (max-width: 480px){.add-product-container{padding:12px}}.add-product-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:16px}@media (max-width: 768px){.add-product-header{flex-direction:column;align-items:stretch;gap:14px;margin-bottom:18px}}@media (max-width: 480px){.add-product-header{gap:10px;margin-bottom:14px}}.add-product-header .add-product-title{font-size:26px;font-weight:700;margin:0;color:#1f2937}@media (max-width: 768px){.add-product-header .add-product-title{font-size:22px;width:100%}}@media (max-width: 480px){.add-product-header .add-product-title{font-size:18px}}.add-product-header .header-actions{display:flex;gap:12px;flex-shrink:0}@media (max-width: 768px){.add-product-header .header-actions{width:100%;gap:10px}}@media (max-width: 480px){.add-product-header .header-actions{flex-direction:column;gap:8px}}.add-product-header .sample-btn,.add-product-header .back-btn{display:flex;align-items:center;justify-content:center;gap:6px;border:none;border-radius:8px;font-weight:600;cursor:pointer;font-size:14px;padding:10px 14px;transition:all .2s ease;white-space:nowrap}@media (max-width: 768px){.add-product-header .sample-btn,.add-product-header .back-btn{padding:10px 12px;font-size:13px}}@media (max-width: 480px){.add-product-header .sample-btn,.add-product-header .back-btn{padding:9px 10px;font-size:12px;flex:1}}.add-product-header .sample-btn .btn-icon,.add-product-header .back-btn .btn-icon{display:inline-block;font-size:14px}.add-product-header .sample-btn{background:#a855f7;color:#fff}.add-product-header .sample-btn:hover{background:#9333ea;transform:translateY(-1px)}.add-product-header .sample-btn:active{transform:translateY(0)}.add-product-header .back-btn{background:#64748b;color:#fff}.add-product-header .back-btn:hover{background:#475569;transform:translateY(-1px)}.add-product-header .back-btn:active{transform:translateY(0)}@media (max-width: 768px){.form-card{padding:18px;border-radius:10px;padding-bottom:20%!important}}@media (max-width: 768px){.form-grid{grid-template-columns:1fr;gap:16px;display:block}.form-grid .full{grid-column:span 1}}@media (max-width: 480px){.form-grid{gap:12px;display:block!important}}.suppliers-container{padding:24px;background:#f6f7fb;min-height:100vh;overflow-y:auto;scroll-behavior:smooth}@media (max-width: 768px){.suppliers-container{padding:16px 16px 80px}}.suppliers-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}@media (max-width: 768px){.suppliers-header{flex-direction:column;align-items:flex-start;gap:10px}}.suppliers-header h1{font-size:22px;font-weight:600}.suppliers-header .add-btn{background:#3b82f6;color:#fff;border:none;padding:10px 16px;border-radius:8px;font-weight:500;cursor:pointer}.filters-card{background:#fff;border-radius:10px;padding:20px;display:grid;grid-template-columns:1fr 300px auto auto;gap:16px;align-items:end;margin-bottom:20px}@media (max-width: 1024px){.filters-card{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:stretch}}@media (max-width: 640px){.filters-card{grid-template-columns:1fr;gap:12px}}.filter-group{display:flex;flex-direction:column}.filter-group label{font-size:13px;font-weight:500;margin-bottom:6px}.filter-group input,.filter-group select{padding:12px;border-radius:8px;border:1px solid #d1d5db}.clear-btn{background:#64748b;color:#fff;border:none;padding:12px 16px;border-radius:8px;cursor:pointer}.refresh-btn{background:#a855f7;color:#fff;border:none;padding:12px 14px;border-radius:8px;cursor:pointer}.table-card{background:#fff;border-radius:10px;padding:20px;box-shadow:0 1px 4px #0000000f}.suppliers-table{width:100%;border-collapse:collapse}@media (max-width: 768px){.suppliers-table.desktop-only{display:none}}.suppliers-table thead{background:#f9fafb}.suppliers-table thead th{padding:12px;text-align:left;font-size:14px;color:#6b7280}.suppliers-table tbody tr{border-bottom:1px solid #eee}.suppliers-table td{padding:14px 12px;font-size:14px;vertical-align:top}.sub-text{font-size:13px;color:#6b7280}.contact-cell div{margin-bottom:4px}.status-badge{padding:4px 10px;border-radius:999px;font-size:12px;font-weight:600;text-transform:lowercase}.status-badge.active{background:#22c55e;color:#fff}.status-badge.inactive{background:#e5e7eb;color:#374151}.actions{display:flex;gap:10px}.actions button{background:transparent;border:none;cursor:pointer;font-size:16px}.actions .view{color:#3b82f6}.actions .edit{color:#2563eb}.empty{text-align:center;padding:20px;color:#9ca3af}.supplier-cards-mobile{display:none;gap:12px;flex-direction:column}@media (max-width: 768px){.supplier-cards-mobile{display:flex}}.supplier-card{background:#fff;border-radius:12px;padding:14px 14px 12px;box-shadow:0 4px 14px #0000000f;display:flex;flex-direction:column;gap:10px;border:1px solid #eef0f6}.supplier-card .card-row{display:flex;gap:8px;flex-wrap:wrap}.pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:600;background:#f2f4f8;color:#374151}.pill .dot{width:8px;height:8px;border-radius:50%;background:#10b981}.pill .dot.inactive{background:#ef4444}.status-pill{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}.id-pill{background:#eef2ff;color:#3730a3;border:1px solid #e0e7ff}.supplier-card .card-content{display:flex;flex-direction:column;gap:4px}.supplier-card .card-title{font-weight:700;font-size:16px;color:#0f172a}.supplier-card .card-meta{font-size:13px;color:#6b7280}.supplier-card .card-actions{display:flex;gap:8px}.supplier-card .ghost{flex:1;padding:10px;border-radius:10px;border:1px solid #e2e8f0;background:#fff;font-weight:600;color:#1f2937;cursor:pointer;transition:all .2s ease}.supplier-card .ghost:hover{border-color:#3b82f6;color:#3b82f6}.supplier-card .ghost.edit:hover{border-color:#2563eb;color:#2563eb}.supplier-card .ghost.view:hover{border-color:#10b981;color:#10b981}.card-empty{text-align:center;padding:24px;background:#fff;border-radius:12px;color:#6b7280;border:1px dashed #e5e7eb}.add-supplier-container{padding:24px;background:#f6f7fb;min-height:100vh;height:100%;overflow-y:auto;overflow-x:hidden}@media (max-width: 768px){.add-supplier-container{padding:14px 14px 80px}}@media (max-width: 480px){.add-supplier-container{padding:12px 12px 80px}}.add-supplier-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:16px}@media (max-width: 768px){.add-supplier-header{flex-direction:column;align-items:stretch;gap:14px;margin-bottom:18px}}@media (max-width: 480px){.add-supplier-header{gap:10px;margin-bottom:14px}}.add-supplier-header .add-supplier-title{font-size:26px;font-weight:700;margin:0;color:#1f2937}@media (max-width: 768px){.add-supplier-header .add-supplier-title{font-size:22px;width:100%}}@media (max-width: 480px){.add-supplier-header .add-supplier-title{font-size:18px}}.add-supplier-header .header-actions{display:flex;gap:12px;flex-shrink:0}@media (max-width: 768px){.add-supplier-header .header-actions{width:100%;gap:10px}}@media (max-width: 480px){.add-supplier-header .header-actions{flex-direction:column;gap:8px}}.add-supplier-header .sample-btn,.add-supplier-header .back-btn{display:flex;align-items:center;justify-content:center;gap:6px;border:none;border-radius:8px;font-weight:600;cursor:pointer;font-size:14px;padding:10px 14px;transition:all .2s ease;white-space:nowrap}@media (max-width: 768px){.add-supplier-header .sample-btn,.add-supplier-header .back-btn{padding:10px 12px;font-size:13px}}@media (max-width: 480px){.add-supplier-header .sample-btn,.add-supplier-header .back-btn{padding:9px 10px;font-size:12px;flex:1}}.add-supplier-header .sample-btn .btn-icon,.add-supplier-header .back-btn .btn-icon{display:inline-block;font-size:14px}.add-supplier-header .sample-btn{background:#a855f7;color:#fff}.add-supplier-header .sample-btn:hover{background:#9333ea;transform:translateY(-1px)}.add-supplier-header .sample-btn:active{transform:translateY(0)}.add-supplier-header .back-btn{background:#64748b;color:#fff}.add-supplier-header .back-btn:hover{background:#475569;transform:translateY(-1px)}.add-supplier-header .back-btn:active{transform:translateY(0)}.form-card{background:#fff;border-radius:10px;padding:24px;box-shadow:0 1px 3px #0000001a}@media (max-width: 768px){.form-card{padding:18px;border-radius:10px}}@media (max-width: 480px){.form-card{padding:14px;border-radius:8px}}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.form-grid .full{grid-column:span 2}@media (max-width: 992px){.form-grid{gap:18px}}@media (max-width: 768px){.form-grid{grid-template-columns:1fr;gap:16px}.form-grid .full{grid-column:span 1}}@media (max-width: 480px){.form-grid{gap:12px}}.form-group label{font-size:14px;font-weight:600;margin-bottom:8px;color:#1f2937}@media (max-width: 480px){.form-group label{font-size:13px;margin-bottom:6px}}.form-group label span{color:#ef4444;font-weight:700}.form-group input,.form-group select,.form-group textarea{padding:12px;border-radius:8px;border:1px solid #d1d5db;font-size:14px;font-family:inherit;color:#1f2937;background:#fff;transition:all .2s ease}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}@media (max-width: 480px){.form-group input,.form-group select,.form-group textarea{font-size:16px;padding:12px 10px;border-radius:6px}}.form-group textarea{min-height:120px;resize:vertical;max-height:300px}@media (max-width: 480px){.form-group textarea{min-height:100px;font-size:16px}}.form-actions{display:flex;gap:16px;margin-top:32px;flex-direction:row}@media (max-width: 768px){.form-actions{margin-top:28px;gap:12px}}@media (max-width: 480px){.form-actions{flex-direction:column-reverse;margin-top:24px;gap:10px}}.form-actions button{flex:1;padding:14px 16px;font-size:15px;font-weight:700;border-radius:10px;border:none;cursor:pointer;transition:all .2s ease;text-align:center}@media (max-width: 768px){.form-actions button{padding:12px 14px;font-size:14px}}@media (max-width: 480px){.form-actions button{padding:12px;font-size:13px;border-radius:8px}}.form-actions button:active{transform:scale(.98)}.form-actions .cancel-btn{background:#64748b;color:#fff}.form-actions .cancel-btn:hover{background:#475569}@media (max-width: 480px){.form-actions .cancel-btn{order:2}}.form-actions .save-btn{background:#3b82f6;color:#fff}.form-actions .save-btn:hover{background:#2563eb}@media (max-width: 480px){.form-actions .save-btn{order:1}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;justify-content:center;align-items:center;z-index:1000}.modal-container{background:#fff;width:700px;border-radius:10px;overflow:hidden;animation:scaleIn .2s ease}@keyframes scaleIn{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}.modal-header{display:flex;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #eee}.modal-body{padding:20px}.modal-footer{padding:16px 20px;display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #eee}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.form-group{display:flex;flex-direction:column}.form-group.full{grid-column:span 2}.form-group label{font-weight:600;margin-bottom:6px}.form-group input,.form-group textarea,.form-group select{padding:10px;border-radius:6px;border:1px solid #ccc}.close-btn{background:none;border:none;font-size:18px;cursor:pointer}.btn-primary{background:#3b82f6;color:#fff;padding:10px 16px;border-radius:6px;border:none}.btn-secondary{background:#6b7280;color:#fff;padding:10px 16px;border-radius:6px;border:none}.btn-text{background:none;border:none;color:#f5f6f9;cursor:pointer;padding:6px 8px;border-radius:6px;display:inline-flex;align-items:center}.btn-text.danger{color:#dc2626}.modal-container.product-modal{width:940px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.modal-body.product-form{background:#f9fafb;max-height:65vh;overflow-y:auto;padding:20px 24px}.product-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}@media (max-width: 768px){.product-form-grid.mobile-stack{grid-template-columns:1fr;gap:14px}.product-form-grid.mobile-stack .form-group{width:100%}.product-form-grid.mobile-stack .form-group.full{grid-column:span 1}}.form-group textarea{min-height:80px;resize:vertical}.form-group .readonly{background:#f3f4f6;cursor:not-allowed}.field-hint{margin-top:4px;font-size:12px;color:#6b7280}.modal-footer.product-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.product-meta{display:flex;gap:12px;flex-wrap:wrap}.product-meta .meta-row{background:#f3f4f6;padding:8px 12px;border-radius:8px;display:inline-flex;align-items:center;gap:8px}.product-meta .meta-row strong{font-size:15px}.product-footer-actions{display:flex;gap:12px;align-items:center}.table-primary-text{font-weight:600;color:#111827}.table-secondary-text{font-size:12px;color:#6b7280}.more-insights-container{padding:24px;background:#f6f7fb;min-height:100vh;overflow-y:auto}@media (max-width: 768px){.more-insights-container{padding:16px 16px 80px}}@media (max-width: 480px){.more-insights-container{padding:14px 14px 80px}}.more-insights-header{margin-bottom:24px}@media (max-width: 768px){.more-insights-header{margin-bottom:20px}}.more-insights-header h1{font-size:24px;font-weight:700;color:#1f2937;margin:0}@media (max-width: 768px){.more-insights-header h1{font-size:22px}}@media (max-width: 480px){.more-insights-header h1{font-size:20px}}.insights-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px;max-width:600px}@media (max-width: 768px){.insights-grid{grid-template-columns:repeat(2,1fr);gap:14px}}@media (max-width: 480px){.insights-grid{grid-template-columns:repeat(2,1fr);gap:12px}}.insight-card{background:#fff;border:none;border-radius:16px;padding:32px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;cursor:pointer;transition:all .25s ease;box-shadow:0 1px 3px #00000014;position:relative;overflow:hidden}@media (max-width: 768px){.insight-card{padding:28px 16px;border-radius:14px}}@media (max-width: 480px){.insight-card{padding:24px 12px;border-radius:12px;gap:10px}}.insight-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0000001f}.insight-card:active{transform:translateY(-2px)}.insight-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:var(--bg-color, #f3f4f6);opacity:0;transition:opacity .25s ease}.insight-card:hover:before{opacity:.4}.insight-icon{font-size:48px;line-height:1;position:relative;z-index:1;transition:transform .25s ease}@media (max-width: 768px){.insight-icon{font-size:44px}}@media (max-width: 480px){.insight-icon{font-size:40px}}.insight-card:hover .insight-icon{transform:scale(1.1)}.insight-label{font-size:15px;font-weight:600;color:#4b5563;text-align:center;position:relative;z-index:1;line-height:1.3}@media (max-width: 768px){.insight-label{font-size:14px}}@media (max-width: 480px){.insight-label{font-size:13px}}.insight-card:hover .insight-label{color:#1f2937}.login-container{display:flex;height:100vh;background:#fff}.login-left{flex:1;background:linear-gradient(135deg,#e8f0f8,#d4e5f7);display:flex;align-items:center;justify-content:center;margin:20px;border-radius:5%}@media (max-width: 992px){.login-left{display:none}}.login-left-content{text-align:center;animation:slideInLeft .5s cubic-bezier(.4,0,.2,1)}@keyframes slideInLeft{0%{opacity:0;transform:translate(-30px)}to{opacity:1;transform:translate(0)}}.login-logo{height:30vh;width:auto;margin-bottom:24px}.login-left h1{font-size:32px;font-weight:700;color:#4f4fef;letter-spacing:2px;margin:0}.login-right{flex:1;display:flex;align-items:center;justify-content:center;padding:40px;background:#fff;animation:slideInRight .5s cubic-bezier(.4,0,.2,1)}@media (max-width: 992px){.login-right{padding:20px}}@keyframes slideInRight{0%{opacity:0;transform:translate(30px)}to{opacity:1;transform:translate(0)}}.login-form-wrapper{width:100%;max-width:360px}.login-header{margin-bottom:32px}.login-header h2{font-size:28px;font-weight:700;color:#333;margin:0 0 8px}.login-header p{font-size:14px;color:#999;margin:0}.login-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-size:13px;font-weight:600;color:#333}.form-group input[type=email],.form-group input[type=password],.form-group input[type=text]{padding:12px 14px;border:2px solid #e8e8e8;border-radius:8px;font-size:14px;transition:all .3s cubic-bezier(.4,0,.2,1);background:#fafafa}.form-group input[type=email]::placeholder,.form-group input[type=password]::placeholder,.form-group input[type=text]::placeholder{color:#bbb}.form-group input[type=email]:focus,.form-group input[type=password]:focus,.form-group input[type=text]:focus{outline:none;border-color:#0056b3;background:#fff;box-shadow:0 0 0 3px #0056b314}.form-group input[type=email]:hover:not(:focus),.form-group input[type=password]:hover:not(:focus),.form-group input[type=text]:hover:not(:focus){border-color:#d0d0d0}.password-input-wrapper{position:relative;display:flex;align-items:center}.password-input-wrapper input{width:100%;padding-right:44px}.password-input-wrapper .password-toggle{position:absolute;right:12px;background:none;border:none;cursor:pointer;font-size:18px;transition:all .2s ease;padding:4px;display:flex;align-items:center;justify-content:center}.password-input-wrapper .password-toggle:hover{transform:scale(1.1)}.password-input-wrapper .password-toggle:active{transform:scale(.95)}.form-footer{display:flex;justify-content:space-between;align-items:center;margin-top:8px}.remember-me{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:13px;color:#333;-webkit-user-select:none;user-select:none}.remember-me input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#0056b3}.forgot-password{font-size:13px;color:#0056b3;text-decoration:none;font-weight:600;transition:color .3s ease}.forgot-password:hover{color:#003d82;text-decoration:underline}.login-btn{padding:12px 16px;background:linear-gradient(135deg,#0056b3,#003d82);color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:700;cursor:pointer;transition:all .35s cubic-bezier(.4,0,.2,1);margin-top:12px}.login-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0056b34d}.login-btn:active{transform:translateY(0)}.login-btn:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 992px){.login-container{justify-content:center}.login-form-wrapper{max-width:100%;padding:0 16px}.login-header h2{font-size:24px}.form-group input{font-size:16px;padding:14px}}@media (min-width: 481px) and (max-width: 1024px){.login-container{flex-direction:row}.login-left{display:flex!important;flex:.5}.login-right{flex:1;padding:32px 40px}.login-form-wrapper{max-width:420px}.login-header h2{font-size:26px}}@media (max-width: 480px){.login-container{height:auto;min-height:100vh;flex-direction:column}.login-left{display:none}.login-right{padding:20px 16px;background:linear-gradient(135deg,#f9f9f9,#fff);min-height:100vh;flex-direction:column}.login-form-wrapper{max-width:100%}.login-header{margin-bottom:28px;text-align:center}.login-header h2{font-size:22px;margin:0 0 12px}.login-header p{font-size:13px;line-height:1.5}.login-form{gap:18px}.form-group{gap:6px}.form-group label{font-size:12px}.form-group input{font-size:16px;padding:14px 12px;border-radius:6px}.password-input-wrapper .password-toggle{right:10px}.form-footer{flex-direction:column;gap:8px;margin-top:4px}.remember-me{font-size:12px;order:2}.forgot-password{font-size:12px;order:1}.login-btn{margin-top:8px;padding:14px 16px;font-size:15px}.auth-link{font-size:12px;margin-top:12px}.back-link{font-size:13px;margin-bottom:16px;text-align:left}.otp-inputs{gap:8px}.otp-input{width:48px;height:48px;font-size:18px}.success-modal{padding:32px 20px;margin:20px;border-radius:10px}.success-modal .success-icon{font-size:56px;margin-bottom:16px}.success-modal h2{font-size:20px;margin:0 0 8px}.success-modal p{font-size:13px;margin:0 0 20px}}.back-link{background:none;border:none;color:#343a40;font-size:14px;margin-bottom:12px;cursor:pointer}.otp-note{margin-top:12px;font-size:13px;color:#627d98;font-weight:600}.otp-inputs{display:flex;flex-direction:row;gap:12px;justify-content:flex-start;margin-bottom:8px}.otp-input{width:56px;height:56px;border-radius:8px;border:2px solid #eef3f8;background:#fff;font-size:20px;text-align:center;font-weight:700;transition:all .18s ease;outline:none}.otp-input:focus{border-color:#627d98;box-shadow:0 6px 18px #0056b314}.success-overlay{background:#0000001a;display:flex;align-items:center;justify-content:center}.success-modal{background:#fff;border-radius:12px;padding:48px 32px;text-align:center;box-shadow:0 10px 40px #00000026;max-width:380px;animation:slideUp .4s cubic-bezier(.4,0,.2,1)}.success-modal .success-icon{font-size:64px;margin-bottom:24px;animation:bounce .6s ease}.success-modal h2{font-size:24px;font-weight:700;color:#333;margin:0 0 12px}.success-modal p{font-size:14px;color:#999;margin:0 0 24px}.success-modal .login-btn{width:100%;margin-top:0}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-12px)}}.auth-link{margin-top:16px;text-align:center;font-size:13px;color:#666}.auth-link a{color:#0056b3;text-decoration:none;font-weight:600;transition:color .3s ease}.auth-link a:hover{color:#003d82;text-decoration:underline}*{margin:0;padding:0;box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:1rem;line-height:1.6;color:#343a40;background-color:#f8f9fa}a{color:#627d98;text-decoration:none;transition:color .3s ease}a:hover{color:#e67e22}button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;cursor:pointer}@media (max-width: 768px){html{font-size:14px}}.btn{display:inline-block;padding:1rem 2rem;font-size:1rem;font-weight:600;border:none;border-radius:.5rem;cursor:pointer;transition:all .3s ease;text-align:center}.btn:hover{transform:translateY(-2px);box-shadow:0 4px 6px #0000001a}.btn:active{transform:translateY(0)}.btn.btn-primary{background-color:#627d98;color:#fff}.btn.btn-primary:hover{background-color:#4e6479}.btn.btn-secondary{background-color:#e67e22;color:#fff}.btn.btn-secondary:hover{background-color:#bf6516}.btn.btn-success{background-color:#27ae60;color:#fff}.btn.btn-success:hover{background-color:#1e8449}.btn.btn-danger{background-color:#e74c3c;color:#fff}.btn.btn-danger:hover{background-color:#d62c1a}.btn.btn-outline-primary{border:2px solid #627d98;color:#627d98;background-color:transparent}.btn.btn-outline-primary:hover{background-color:#627d98;color:#fff}.btn.btn-sm{padding:.5rem 1rem;font-size:.875rem}.btn.btn-lg{padding:2rem 3rem;font-size:1.125rem}.app-layout{display:flex;height:100vh;background:linear-gradient(135deg,#fff,#fafafa);overflow:hidden}.app-main{flex:1;display:flex;flex-direction:column;margin-left:200px;overflow:hidden;transition:margin-left .3s cubic-bezier(.4,0,.2,1)}@media (min-width: 481px) and (max-width: 1024px){.app-main{margin-left:70px}}@media (max-width: 480px){.app-main{margin-left:0;height:100vh;overflow:hidden}}.topbar{flex-shrink:0;transition:all .3s cubic-bezier(.4,0,.2,1)}.dashboard-content{flex:1;overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth}.dashboard-content::-webkit-scrollbar{width:8px}.dashboard-content::-webkit-scrollbar-track{background:transparent}.dashboard-content::-webkit-scrollbar-thumb{background:#627d9833;border-radius:4px;transition:background .3s ease}.dashboard-content::-webkit-scrollbar-thumb:hover{background:#627d9866}@media (max-width: 768px){.app-layout{flex-direction:column}.app-main{margin-left:0}}
