:root{--dash-header-h: 80px;--border-weak: rgba(0,0,0,.1);--border: rgba(0,0,0,.2);--bg-soft: rgba(0,0,0,.03);--bg-card: #1a1a1a;--text: #1a1a1a;--text-muted: #666;--brand-blue:#667eea;--brand-purple:#764ba2;--brand-teal:#4ecdc4;--brand-cyan:#45b7d1;--brand-yellow:#f9ca24;--brand-indigo:#6c5ce7;--brand-pink:#fd79a8}.close-button{position:absolute;top:12px;right:12px;background:#f5f5f5;border:1px solid rgba(0,0,0,.1);color:#1a1a1a;font-size:18px;font-weight:500;cursor:pointer;padding:0;border-radius:4px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;transition:all .2s ease;z-index:10;line-height:1;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.close-button:hover{background:#e0e0e0;border-color:#00000026;transform:scale(1.05)}.close-button:active{transform:scale(.95);background:#d0d0d0}.close-button:focus{outline:2px solid rgba(102,126,234,.4);outline-offset:2px}.dashboard{min-height:100vh;background:#f5f5f5;color:var(--text)}.dashboard .dashboard-content{display:flex;min-height:100vh;padding-top:0;position:relative}.dashboard .dashboard-main{flex:1;padding:2rem;overflow-y:auto;overflow-x:hidden;margin-left:70px;transition:margin-left .3s cubic-bezier(.4,0,.2,1);min-width:0;scrollbar-width:none;-ms-overflow-style:none}.dashboard .dashboard-main::-webkit-scrollbar{display:none}.dashboard .dashboard-sidebar{width:70px;background:#fff;backdrop-filter:blur(10px);border-right:1px solid var(--border-weak);transition:width .3s cubic-bezier(.4,0,.2,1);overflow:hidden;position:fixed;left:0;top:0;height:100vh;z-index:999;box-shadow:2px 0 8px #0000001a}@media (min-width: 769px){.dashboard .dashboard-sidebar:hover{width:260px!important}}.dashboard .dashboard-sidebar.open{width:260px!important}.dashboard .sidebar-nav{padding:1rem;padding-bottom:0;height:100%;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;-ms-overflow-style:none}.dashboard .sidebar-nav::-webkit-scrollbar{display:none}.dashboard .sidebar-logo-section{flex-shrink:0}.dashboard .sidebar-logo-section{padding:1.25rem .75rem 1.25rem .1rem;margin-bottom:1rem;margin-left:-.5rem;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:1px;border-bottom:1px solid var(--border-weak);transition:all .3s cubic-bezier(.4,0,.2,1)}.dashboard .sidebar-logo{height:45px;width:auto;object-fit:contain;transition:height .3s cubic-bezier(.4,0,.2,1);flex-shrink:0}.dashboard .dashboard-sidebar.open .sidebar-logo{height:55px}.dashboard .sidebar-logo-text{font-size:16px;font-weight:700;color:#000;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;opacity:0;transition:opacity .2s cubic-bezier(.4,0,.2,1);white-space:nowrap;overflow:hidden}@media (min-width: 769px){.dashboard .dashboard-sidebar:hover .sidebar-logo-text{opacity:1}}.dashboard .dashboard-sidebar.open .sidebar-logo-text{opacity:1}.dashboard .sidebar-menu-section{flex-shrink:0;margin-bottom:.5rem}.dashboard .sidebar-menu-section:first-of-type{flex:1;display:flex;flex-direction:column;min-height:0}.dashboard .sidebar-menu-spacer{flex:1;min-height:2rem;flex-shrink:0}.dashboard .sidebar-menu-section-bottom{flex-shrink:0;margin-top:0;margin-bottom:.5rem}.dashboard .sidebar-menu-section-title{font-size:11px;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;padding:.75rem .75rem .5rem;opacity:0;transition:opacity .2s cubic-bezier(.4,0,.2,1);white-space:nowrap;flex-shrink:0}@media (min-width: 769px){.dashboard .dashboard-sidebar:hover .sidebar-menu-section-title{opacity:1}}.dashboard .dashboard-sidebar.open .sidebar-menu-section-title{opacity:1}.dashboard .sidebar-menu-items{overflow-y:auto;overflow-x:hidden;scrollbar-width:none;-ms-overflow-style:none;padding-right:4px;min-height:0}.dashboard .sidebar-menu-section:first-of-type .sidebar-menu-items{flex:1;min-height:0}.dashboard .sidebar-menu-items::-webkit-scrollbar{display:none}.dashboard .nav-item{width:100%;background:transparent;border:none;outline:none;color:var(--text);text-align:left;cursor:pointer;font-size:15px;padding:.75rem;border-radius:10px;margin-bottom:.4rem;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;white-space:nowrap;overflow:hidden;gap:12px;justify-content:flex-start;position:relative}.dashboard .nav-item:hover{background:#0000000f;transform:translate(2px)}.dashboard .nav-item:focus{outline:none}.dashboard .nav-item.active{background:#667eea1f;font-weight:600;color:var(--brand-blue);border:none;outline:none}.dashboard .nav-item.active:before{display:none}.dashboard .nav-icon{width:20px;height:20px;min-width:20px;min-height:20px;text-align:center;flex-shrink:0;display:flex;align-items:center;justify-content:center;transition:all .2s ease;color:var(--text)}.dashboard .nav-icon svg{width:100%;height:100%;stroke-width:1.5;color:inherit}.dashboard .nav-item:hover .nav-icon{transform:scale(1.05);color:var(--text)}.dashboard .nav-item.active .nav-icon{color:var(--brand-blue)}.dashboard .nav-item.active .nav-icon svg{color:var(--brand-blue)}.dashboard .nav-text{font-size:14px;font-weight:500;opacity:0;transition:opacity .2s cubic-bezier(.4,0,.2,1);white-space:nowrap}@media (min-width: 769px){.dashboard .dashboard-sidebar:hover .nav-text{opacity:1}}.dashboard .dashboard-sidebar.open .nav-text{opacity:1}.dashboard .loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;text-align:center;background:#fff;border-radius:16px;margin-bottom:2rem;border:1px solid var(--border-weak)}.dashboard .loading-spinner{width:50px;height:50px;border:4px solid rgba(0,0,0,.1);border-top:4px solid var(--brand-blue);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dashboard .error-container{background:#ff6b6b1a;border:2px solid rgba(255,107,107,.3);border-radius:12px;padding:1.5rem;margin-bottom:2rem;display:flex;align-items:center;gap:1rem;background-color:#fff}.dashboard .error-retry{background:#ff6b6b33;border:1px solid rgba(255,107,107,.3);color:#ff6b6b;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:14px}.dashboard .text-muted{color:var(--text-muted)}.dashboard .section-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;gap:1rem}.dashboard .stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.dashboard .stat-card{background:var(--bg-card);backdrop-filter:blur(10px);border:1px solid var(--border);border-radius:12px;padding:1.5rem;text-align:center;color:#fff}.dashboard .stat-card .progress{width:100%;height:4px;background:#fff3;border-radius:2px;margin-top:.5rem;overflow:hidden}.dashboard .stat-card .progress .bar{width:var(--progress,0%);height:100%;background:var(--progress-color,#4ecdc4);transition:width .3s ease}.dashboard .metric-card{background:#1a1a1a;border:1px solid rgba(255,255,255,.05);border-radius:12px;padding:28px 24px;color:#fff;transition:all .2s cubic-bezier(.4,0,.2,1);cursor:pointer;position:relative;overflow:hidden}.dashboard .metric-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000004d;border-color:#ffffff1a}.dashboard .metric-card:before{content:"";position:absolute;top:0;left:0;width:0;height:100%;background:linear-gradient(90deg,rgba(102,126,234,.1) 0%,transparent 100%);transition:width .3s ease;z-index:0}.dashboard .metric-card:hover:before{width:100%}.dashboard .metric-card>*{position:relative;z-index:1}.dashboard .cm-card{background:var(--bg-soft);border-radius:16px;border:2px solid var(--border-weak);padding:2rem}.dashboard .cm-card--glass{backdrop-filter:blur(10px)}.dashboard .cm-card--outlined{border:2px solid var(--border-weak)}.dashboard .grid-auto-fit-300{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.dashboard .grid-auto-fit-250{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.dashboard .input,.dashboard .select,.dashboard .textarea{width:100%;padding:1rem;border-radius:8px;border:2px solid var(--border);background:var(--bg-soft);color:#fff;font-size:16px}.dashboard .textarea{resize:vertical}.dashboard .btn{display:inline-flex;align-items:center;justify-content:center;padding:.75rem 1.5rem;border-radius:8px;border:none;cursor:pointer;font-weight:500;color:#fff}.dashboard .btn-gradient{background:linear-gradient(135deg,var(--brand-blue) 0%,var(--brand-purple) 100%)}.dashboard .btn-danger{background:#f00c}.dashboard .btn-outline{background:#ffffff1a;border:1px solid var(--border);color:#fff}.dashboard .btn:disabled{opacity:.7;cursor:not-allowed}.dashboard .btn-primary,.dashboard .btn-apply,.dashboard .btn-create,.dashboard .btn-refresh,.dashboard .btn-edit,.dashboard .btn-save,.dashboard .btn-submit,.btn-primary,.btn-apply,.btn-create,.btn-refresh,.btn-edit,.btn-save,.btn-submit{padding:8px 16px;background:#667eea;border:none;border-radius:6px;color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.dashboard .btn-primary:hover:not(:disabled),.dashboard .btn-apply:hover:not(:disabled),.dashboard .btn-create:hover:not(:disabled),.dashboard .btn-refresh:hover:not(:disabled),.dashboard .btn-edit:hover:not(:disabled),.dashboard .btn-save:hover:not(:disabled),.dashboard .btn-submit:hover:not(:disabled),.btn-primary:hover:not(:disabled),.btn-apply:hover:not(:disabled),.btn-create:hover:not(:disabled),.btn-refresh:hover:not(:disabled),.btn-edit:hover:not(:disabled),.btn-save:hover:not(:disabled),.btn-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 2px 8px #667eea4d}.dashboard .btn-primary:disabled,.dashboard .btn-apply:disabled,.dashboard .btn-create:disabled,.dashboard .btn-refresh:disabled,.dashboard .btn-edit:disabled,.dashboard .btn-save:disabled,.dashboard .btn-submit:disabled,.btn-primary:disabled,.btn-apply:disabled,.btn-create:disabled,.btn-refresh:disabled,.btn-edit:disabled,.btn-save:disabled,.btn-submit:disabled{opacity:.7;cursor:not-allowed;transform:none;box-shadow:none}.dashboard .btn-clear,.btn-clear{padding:8px 16px;background:#fff;border:1px solid #6c757d;border-radius:6px;color:#6c757d;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.dashboard .btn-clear:hover:not(:disabled),.btn-clear:hover:not(:disabled){background:#f8f9fa;border-color:#5a6268;color:#5a6268;transform:translateY(-1px);box-shadow:0 2px 4px #6c757d33}.dashboard .btn-clear:disabled,.btn-clear:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}.dashboard .credit-card{margin-top:2rem;padding:2rem;background:var(--bg-soft);border-radius:16px;border:2px solid var(--border-weak);position:relative}.dashboard .credit-loading{position:absolute;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;border-radius:16px;z-index:10}.dashboard .credit-progress{width:100%;height:12px;background:#fff3;border-radius:6px;overflow:hidden;margin-bottom:1rem}.dashboard .credit-progress .bar{width:var(--progress,0%);height:100%;background:var(--progress-gradient,#666);transition:width .5s ease-in-out}.dashboard .status-pill{text-align:center;margin-top:1rem;padding:.5rem;border-radius:8px;border:1px solid;font-weight:700;font-size:.9rem}.dashboard .status-good{background:#4caf501a;border-color:#4caf504d;color:#4caf50}.dashboard .status-warn{background:#ff98001a;border-color:#ff98004d;color:#ff9800}.dashboard .status-crit{background:#f443361a;border-color:#f443364d;color:#f44336}@media (min-width: 769px){.dashboard .dashboard-content{display:block!important;padding-top:0!important;margin-top:0!important}.dashboard .dashboard-sidebar{position:fixed!important;left:0!important;top:0!important;height:100vh!important;width:80px!important;margin:0!important;padding:0!important;transform:none!important}.dashboard .dashboard-sidebar.open{width:280px!important}.dashboard .dashboard-overlay{display:none!important}.dashboard .dashboard-main{margin-left:70px!important;min-width:0!important;transition:margin-left .3s cubic-bezier(.4,0,.2,1)}.dashboard .dashboard-main.sidebar-open,.dashboard:has(.dashboard-sidebar:hover) .dashboard-main,.dashboard:has(.dashboard-sidebar.open) .dashboard-main{margin-left:260px!important}}.dashboard .sidebar-divider{border:0;border-top:1px solid var(--border-weak);margin:.75rem 0;width:100%;flex-shrink:0}.dashboard .sidebar-menu-section-bottom+.sidebar-divider,.dashboard .sidebar-divider:has(+.sidebar-menu-section-bottom){margin-top:1.5rem;margin-bottom:.5rem}.dashboard .nav-item-logout{color:#d32f2f}.dashboard .nav-item-logout:hover,.dashboard .nav-item-logout:focus{background:#d32f2f1a;color:#d32f2f;transform:translate(2px);outline:none;border:none}.dashboard .nav-item-logout .nav-icon{color:#d32f2f}.dashboard .nav-item-logout.active:before{display:none}.dashboard .sidebar-user-info-bottom{display:flex;align-items:center;justify-content:center;gap:12px;padding:.75rem .5rem;margin-top:auto;margin-left:-1rem;margin-right:-1rem;margin-bottom:0;border-top:1px solid var(--border-weak);width:calc(100% + 2rem);min-height:70px;transition:all .3s cubic-bezier(.4,0,.2,1)}@media (min-width: 769px){.dashboard .dashboard-sidebar:hover .sidebar-user-info-bottom,.dashboard .dashboard-sidebar.open .sidebar-user-info-bottom{justify-content:flex-start;padding:1rem .75rem;min-height:80px}}@media (max-width: 768px){.dashboard .dashboard-sidebar.open .sidebar-user-info-bottom{justify-content:flex-start;padding:1rem .75rem;min-height:80px}}.dashboard .sidebar-user-avatar-square{width:40px;height:40px;min-width:40px;background:#eef0f4;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;color:#1a1a1a;flex-shrink:0;box-shadow:0 1px 3px #0000001a;opacity:1;visibility:visible;transition:width .3s cubic-bezier(.4,0,.2,1),height .3s cubic-bezier(.4,0,.2,1),border-radius .3s cubic-bezier(.4,0,.2,1),font-size .3s cubic-bezier(.4,0,.2,1)}@media (min-width: 769px){.dashboard .dashboard-sidebar:hover .sidebar-user-avatar-square,.dashboard .dashboard-sidebar.open .sidebar-user-avatar-square{width:48px;height:48px;min-width:48px;border-radius:12px;font-size:16px}}@media (max-width: 768px){.dashboard .dashboard-sidebar.open .sidebar-user-avatar-square{width:48px;height:48px;min-width:48px;border-radius:12px;font-size:16px}}.dashboard .sidebar-user-details-bottom{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0;opacity:0;visibility:hidden;max-width:0;overflow:hidden;transition:opacity .3s cubic-bezier(.4,0,.2,1),visibility .3s cubic-bezier(.4,0,.2,1),max-width .3s cubic-bezier(.4,0,.2,1)}@media (min-width: 769px){.dashboard .dashboard-sidebar:hover .sidebar-user-details-bottom,.dashboard .dashboard-sidebar.open .sidebar-user-details-bottom{opacity:1;visibility:visible;max-width:200px}}@media (max-width: 768px){.dashboard .dashboard-sidebar.open .sidebar-user-details-bottom{opacity:1;visibility:visible;max-width:200px}}.dashboard .sidebar-username-bottom{font-weight:700;font-size:15px;color:var(--text);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard .sidebar-user-role-bottom{font-size:13px;color:#607185;font-weight:400;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase}.working-hours-card{background:var(--bg-card);border-radius:12px;padding:1.5rem;margin-bottom:1.5rem;border:1px solid var(--border-weak)}.working-hours-form .form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:1rem}.working-hours-form .form-group{display:flex;flex-direction:column}.working-hours-form .label-text{font-weight:600;color:#fff;margin-bottom:.25rem;display:block}.working-hours-form .label-description{font-size:.85rem;color:#9fa6b2;margin-bottom:.5rem;display:block}.working-hours-form .form-input{padding:.75rem;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#1c212a;color:#fff;font-size:1rem;transition:all .3s ease}.working-hours-form .form-input:focus{outline:none;border-color:#667eea;background:#2c3240;box-shadow:0 0 0 3px #667eea1a}.working-hours-form .form-input option{background:#1c212a;color:#fff}.working-hours-form .form-input::placeholder{color:#9fa6b2}.working-hours-form .alert{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;border-radius:8px;font-size:.9rem;margin-top:1rem}.working-hours-form .alert-error{background:#ef44441a;border:1px solid #ef4444;color:#ef4444}.working-hours-form .alert-success{background:#22c55e1a;border:1px solid #22c55e;color:#22c55e}.working-hours-form .config-status{background:#ffffff0d;border:1px solid var(--border-weak);border-radius:8px;padding:1rem;margin-top:1rem}.working-hours-form .form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1.5rem}.working-hours-form .btn{padding:.75rem 1.5rem;border-radius:8px;border:none;font-weight:600;cursor:pointer;transition:all .3s ease;font-size:.9rem}.working-hours-form .btn:disabled{opacity:.6;cursor:not-allowed}.working-hours-form .btn-primary{background:var(--brand-blue);color:#fff}.working-hours-form .btn-primary:hover:not(:disabled){background:#5a67d8;transform:translateY(-1px)}.working-hours-form .btn-outline{background:transparent;border:1px solid}.working-hours-form .help-text{margin-top:1rem;font-size:.85rem;color:#9fa6b2;line-height:1.4}.working-hours-form .help-text strong{color:#fff}.working-hours-form .help-text p{margin:.5rem 0}.working-hours-form .help-text p:first-child{margin-top:0}.working-hours-form .help-text p:last-child{margin-bottom:0}.working-hours-form input[type=checkbox]{width:18px;height:18px;accent-color:#667eea;cursor:pointer}@media (max-width: 768px){.dashboard .dashboard-content{display:block!important;padding-top:0!important;margin-top:0!important}.dashboard .dashboard-sidebar{position:fixed!important;top:0!important;left:0!important;height:100vh!important;width:280px!important;transform:translate(-100%)!important;margin:0!important;padding:0!important;border-right:1px solid var(--border-weak)!important;z-index:999!important;transition:transform .3s cubic-bezier(.4,0,.2,1)!important}.dashboard .dashboard-sidebar.open{transform:translate(0)!important}.dashboard .dashboard-overlay{position:fixed!important;inset:0!important;background:#00000073;opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:998!important}.dashboard .dashboard-overlay.open{opacity:1;pointer-events:auto}.dashboard .dashboard-main{margin:0!important;padding:16px!important;min-width:0!important}.dashboard .dashboard-sidebar.open{width:280px!important}.dashboard .dashboard-main.sidebar-open{margin-left:0!important}.dashboard .dashboard-sidebar.open .sidebar-user-info-bottom{justify-content:flex-start!important}.dashboard .sidebar-user-avatar-square{opacity:1!important;visibility:visible!important}.dashboard .dashboard-sidebar.open .sidebar-user-details-bottom{opacity:1!important;visibility:visible!important;max-width:200px!important}}
