:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400}body{margin:0;min-width:320px;min-height:100vh}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#f0f2f5;color:#1a1a2e;line-height:1.6}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1e3a5f,#0d1b2a);padding:1rem}.login-box{background:#fff;padding:3rem;border-radius:20px;box-shadow:0 25px 80px #0000004d;width:100%;max-width:420px}.login-box h1{text-align:center;margin-bottom:.5rem;font-size:2rem;color:#1e3a5f}.login-subtitle{text-align:center;color:#666;margin-bottom:2rem}.login-box form{display:flex;flex-direction:column;gap:1rem}.login-box input{padding:1rem 1.25rem;border:2px solid #e8e8e8;border-radius:12px;font-size:1rem}.login-box input:focus{outline:none;border-color:#1e3a5f}.login-box button{padding:1rem;background:linear-gradient(135deg,#1e3a5f,#0d1b2a);color:#fff;border:none;border-radius:12px;font-size:1.1rem;font-weight:600;cursor:pointer}.error,.alert.error{color:#c62828;background:#ffebee;padding:.75rem 1rem;border-radius:8px;border-left:4px solid #c62828;margin-bottom:1rem}.alert.success{color:#2e7d32;background:#e8f5e9;padding:.75rem 1rem;border-radius:8px;border-left:4px solid #2e7d32;margin-bottom:1rem}.app{min-height:100vh}nav{background:#fff;padding:1rem 2rem;display:flex;align-items:center;justify-content:space-between;box-shadow:0 2px 15px #00000014;position:sticky;top:0;z-index:100;flex-wrap:wrap;gap:1rem}.nav-brand{font-size:1.5rem;font-weight:700;color:#1e3a5f}.nav-links{display:flex;gap:.5rem;flex-wrap:wrap}.nav-links button{padding:.6rem 1rem;border:none;background:transparent;border-radius:10px;cursor:pointer;font-size:.9rem;font-weight:500;color:#555}.nav-links button:hover{background:#f5f5f5}.nav-links button.active{background:#1e3a5f;color:#fff}.nav-user{display:flex;align-items:center;gap:1rem}.user-badge{font-weight:600;color:#1e3a5f;background:#e3f2fd;padding:.5rem 1rem;border-radius:20px}.logout-btn{padding:.5rem 1rem;background:#f5f5f5;border:none;border-radius:8px;cursor:pointer}main{max-width:1200px;margin:0 auto;padding:2rem}h2{color:#1e3a5f;margin-bottom:1.5rem;font-size:1.75rem}h3{color:#333;margin:1.5rem 0 1rem;font-size:1.25rem}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin-bottom:2rem}.stat-card{background:#fff;padding:1.5rem;border-radius:16px;box-shadow:0 4px 15px #0000000f;display:flex;flex-direction:column;align-items:center;text-align:center}.stat-card.highlight{background:linear-gradient(135deg,#1e3a5f,#2d5a87);color:#fff}.stat-card.highlight .stat-label{color:#fffc}.stat-icon{font-size:1.5rem;margin-bottom:.25rem}.stat-value{font-size:2rem;font-weight:700}.stat-label{color:#666;font-size:.85rem}.stat-sub{color:#999;font-size:.75rem;margin-top:.25rem}.stat-card.highlight .stat-sub{color:#ffffffb3}.stats-note{text-align:center;color:#888;font-size:.85rem;margin-top:-.5rem;margin-bottom:1.5rem}.team-absences{background:#fff3e0;border:2px solid #ff9800;border-radius:12px;padding:1rem 1.5rem;margin-bottom:2rem}.team-absences h3{margin:0 0 .75rem;color:#e65100}.absence-list{display:flex;flex-direction:column;gap:.5rem}.absence-item{display:flex;align-items:center;gap:.75rem}.absence-dot{width:10px;height:10px;background:#f44336;border-radius:50%}.absence-dates{color:#666;font-size:.9rem}.requests-list{display:flex;flex-direction:column;gap:1rem}.empty,.empty-state{text-align:center;color:#888;padding:2rem;background:#fff;border-radius:16px}.empty-state span{font-size:2.5rem;display:block;margin-bottom:.5rem}.empty-state button{margin-top:1rem;padding:.75rem 1.5rem;background:#1e3a5f;color:#fff;border:none;border-radius:10px;cursor:pointer}.request-card{background:#fff;padding:1.25rem 1.5rem;border-radius:16px;box-shadow:0 4px 15px #0000000f;display:flex;align-items:center;gap:1rem;border-left:5px solid #ffc107}.request-card.approved{border-left-color:#4caf50}.request-card.rejected{border-left-color:#f44336}.request-card.compact{padding:.75rem 1rem}.request-user{display:flex;align-items:center;gap:.5rem;min-width:120px}.user-avatar{font-size:1.25rem}.request-main{flex:1}.request-dates{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.date-arrow{color:#888}.request-meta{display:flex;gap:.75rem;margin-top:.25rem;flex-wrap:wrap}.request-days{background:#f0f0f0;padding:.2rem .6rem;border-radius:15px;font-size:.8rem}.request-hours{color:#666;font-size:.85rem}.request-notes{color:#666;font-size:.85rem;margin-top:.25rem;font-style:italic}.urgency-note{color:#e65100;font-size:.85rem;margin-top:.25rem;background:#fff3e0;padding:.25rem .5rem;border-radius:6px}.request-status{display:flex;align-items:center;gap:.5rem}.status-badge{padding:.4rem .8rem;border-radius:20px;font-size:.85rem;font-weight:600}.status-badge.pending{background:#fff8e1;color:#f57c00}.status-badge.approved{background:#e8f5e9;color:#2e7d32}.status-badge.rejected{background:#ffebee;color:#c62828}.delete-btn{background:none;border:none;cursor:pointer;font-size:1rem;opacity:.5}.delete-btn:hover{opacity:1}.request-actions{display:flex;gap:.5rem}.approve-btn,.reject-btn{padding:.5rem 1rem;border:none;border-radius:8px;cursor:pointer;font-weight:600}.approve-btn{background:#e8f5e9;color:#2e7d32}.reject-btn{background:#ffebee;color:#c62828}.request-form,.employee-form{background:#fff;padding:2rem;border-radius:16px;box-shadow:0 4px 15px #0000000f;max-width:600px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}label{display:flex;flex-direction:column;gap:.4rem;margin-bottom:1rem}label span{font-weight:600;color:#333;font-size:.9rem}input,select,textarea{padding:.75rem 1rem;border:2px solid #e8e8e8;border-radius:10px;font-size:1rem}input:focus,select:focus,textarea:focus{outline:none;border-color:#1e3a5f}textarea{resize:vertical;min-height:60px}.submit-btn,.employee-form button{width:100%;padding:1rem;background:linear-gradient(135deg,#1e3a5f,#2d5a87);color:#fff;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;margin-top:.5rem}.toggle-row{margin-bottom:1rem}.toggle-label{display:flex;align-items:center;gap:.75rem;cursor:pointer;font-weight:500}.toggle-label input{display:none}.toggle-switch{width:48px;height:26px;background:#ccc;border-radius:13px;position:relative;transition:background .2s}.toggle-switch:after{content:"";position:absolute;width:22px;height:22px;background:#fff;border-radius:50%;top:2px;left:2px;transition:transform .2s}.toggle-label input:checked+.toggle-switch{background:#1e3a5f}.toggle-label input:checked+.toggle-switch:after{transform:translate(22px)}.hours-info,.hours-preview{background:#e3f2fd;padding:.75rem 1rem;border-radius:8px;color:#1565c0;margin:.5rem 0 1rem;font-size:.9rem}.hourly-row{margin-bottom:1rem}.time-inputs{margin-top:.5rem}.conflicts-warning{background:#fff3e0;border:2px solid #ff9800;border-radius:12px;padding:1rem;margin-bottom:1rem}.conflicts-warning strong{color:#e65100}.conflicts-warning ul{margin:.5rem 0 0 1.5rem;color:#bf360c}.urgency-field textarea{border-color:#ff9800;background:#fffde7}.calendar-legend{display:flex;gap:1.5rem;margin-bottom:1rem;flex-wrap:wrap}.legend-item{display:flex;align-items:center;gap:.5rem;font-size:.9rem}.dot{width:14px;height:14px;border-radius:50%}.dot.green{background:#16a34a}.dot.yellow{background:#eab308}.dot.red{background:#dc2626}.calendar-container{background:#fff;padding:1.5rem;border-radius:16px;box-shadow:0 4px 15px #0000000f}.fc{font-family:inherit}.fc .fc-toolbar-title{font-size:1.25rem;color:#1e3a5f}.fc .fc-button{background:#1e3a5f;border:none}.fc .fc-button:hover{background:#2d5a87}.fc .fc-button-primary:not(:disabled).fc-button-active{background:#0d1b2a}.fc .fc-daygrid-day-number{color:#333;padding:.5rem}.fc .fc-daygrid-day.fc-day-today{background:#e3f2fd}.fc .fc-event{padding:2px 6px;border-radius:4px;font-size:.8rem;cursor:pointer}.fc .fc-daygrid-day:hover{background:#f5f5f5;cursor:pointer}.history-summary{display:flex;gap:1rem;margin-bottom:2rem;flex-wrap:wrap}.summary-item{background:#fff;padding:1.25rem 2rem;border-radius:12px;text-align:center;box-shadow:0 2px 10px #0000000d;flex:1;min-width:120px}.summary-item.highlight{background:linear-gradient(135deg,#1e3a5f,#2d5a87);color:#fff}.summary-value{display:block;font-size:2rem;font-weight:700}.summary-label{font-size:.85rem;color:#666}.summary-item.highlight .summary-label{color:#fffc}.history-list{display:flex;flex-direction:column;gap:.75rem}.history-item{background:#fff;padding:1rem 1.25rem;border-radius:12px;box-shadow:0 2px 10px #0000000d;border-left:4px solid #4caf50}.history-item.pending{border-left-color:#ffc107}.history-item.rejected{border-left-color:#f44336;opacity:.7}.history-dates{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.history-range{font-weight:600}.history-days{background:#e8f5e9;color:#2e7d32;padding:.2rem .6rem;border-radius:15px;font-size:.8rem;font-weight:600}.history-details{display:flex;gap:1rem;flex-wrap:wrap}.history-type{color:#666;font-size:.9rem}.history-status{font-size:.85rem}.history-status.approved{color:#2e7d32}.history-status.pending{color:#f57c00}.history-status.rejected{color:#c62828}.history-notes{color:#666;font-size:.85rem;margin-top:.5rem;font-style:italic}.history-meta{color:#999;font-size:.8rem;display:block;margin-top:.25rem}.admin-section{background:#fff;padding:1.5rem;border-radius:12px;margin-bottom:1.5rem;box-shadow:0 2px 10px #0000000d}.admin-section h3{margin:0 0 1rem}.employee-form.compact{padding:0;box-shadow:none}.add-employee-section{margin-bottom:2rem}.employees-list{display:flex;flex-direction:column;gap:.75rem}.employee-card{background:#fff;padding:1rem 1.25rem;border-radius:12px;box-shadow:0 2px 10px #0000000d;display:flex;align-items:center;gap:1rem}.employee-avatar{font-size:1.5rem;width:40px;height:40px;background:#e3f2fd;border-radius:50%;display:flex;align-items:center;justify-content:center}.employee-info{flex:1}.employee-info span{color:#666;font-size:.85rem;display:block}.employee-stats{display:flex;align-items:center;gap:.75rem}.emp-days{background:#f0f0f0;padding:.25rem .6rem;border-radius:15px;font-size:.8rem}.emp-balance{display:flex;flex-direction:column;align-items:flex-end;font-size:.9rem}.emp-balance strong{color:#1e3a5f}.emp-balance small{color:#888;font-size:.75rem}.emp-role{padding:.25rem .6rem;border-radius:15px;font-size:.75rem;text-transform:uppercase;font-weight:600}.emp-role.admin{background:#e3f2fd;color:#1565c0}.emp-role.employee{background:#f5f5f5;color:#666}.critical-info{background:#fff3e0;padding:.75rem 1rem;border-radius:8px;border-left:4px solid #ff9800;margin-bottom:1rem;font-size:.9rem;color:#e65100}.employee-card.critical{border:2px solid #ff9800;background:linear-gradient(135deg,#fff8e1,#fff)}.critical-badge{background:linear-gradient(135deg,#ff9800,#f57c00);color:#fff;font-size:.65rem;padding:.15rem .5rem;border-radius:10px;font-weight:700;margin-left:.5rem;text-transform:uppercase;letter-spacing:.5px}.critical-toggle{padding:.5rem 1rem;border:2px solid #ddd;border-radius:20px;background:#fff;cursor:pointer;font-size:.85rem;font-weight:500;transition:all .2s}.critical-toggle:hover{border-color:#ff9800;background:#fff8e1}.critical-toggle.active{background:linear-gradient(135deg,#ff9800,#f57c00);color:#fff;border-color:#ff9800}.conflicts-warning.blocking{background:#ffebee;border-left-color:#c62828;color:#c62828}.conflicts-warning.info{background:#e3f2fd;border-left-color:#1976d2;color:#1565c0}.conflicts-warning.info strong{color:#1565c0}.urgency-notification{background:linear-gradient(135deg,#fff3e0,#ffe0b2);border:2px solid #ff9800;border-radius:16px;padding:1rem 1.25rem;margin-bottom:1.5rem;display:flex;align-items:center;gap:1rem;box-shadow:0 4px 15px #ff980033}.urgency-icon{font-size:2rem;flex-shrink:0}.urgency-content{flex:1}.urgency-content strong{display:block;color:#e65100;font-size:1.1rem;margin-bottom:.25rem}.urgency-content p{color:#bf360c;font-size:.9rem;margin:0}.urgency-action{background:linear-gradient(135deg,#ff9800,#f57c00);color:#fff;border:none;padding:.75rem 1.25rem;border-radius:25px;font-weight:600;cursor:pointer;white-space:nowrap;transition:transform .2s}.urgency-action:hover{transform:scale(1.05)}.mobile-header{background:#fff;padding:1rem 1.25rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 10px #00000014;position:sticky;top:0;z-index:100}.mobile-title{font-size:1.25rem;font-weight:700;color:#1e3a5f}.mobile-user{display:flex;align-items:center;gap:.5rem}.mobile-logout{background:#f5f5f5;border:none;padding:.5rem;border-radius:8px;font-size:1.1rem;cursor:pointer}.mobile-bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#fff;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-around;align-items:flex-end;padding:.5rem 0;padding-bottom:calc(.5rem + env(safe-area-inset-bottom,0px));box-shadow:0 -4px 20px #0000001a;z-index:1000;height:70px}.mobile-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;background:none;border:none;padding:.25rem;cursor:pointer;color:#888;min-height:50px;flex:1;max-width:80px}.mobile-bottom-nav button.active{color:#1e3a5f}.mobile-bottom-nav button.active .nav-label{font-weight:600}.mobile-bottom-nav .nav-icon{font-size:1.4rem;line-height:1}.mobile-bottom-nav .nav-label{font-size:.6rem;text-transform:uppercase;letter-spacing:.3px;margin-top:.2rem}.mobile-bottom-nav .nav-primary{background:linear-gradient(135deg,#1e3a5f,#2d5a87);color:#fff!important;border-radius:50%;width:56px;height:56px;min-height:56px;max-width:56px;flex:0 0 56px;margin-top:-15px;box-shadow:0 4px 15px #1e3a5f66}.mobile-bottom-nav .nav-primary .nav-icon-large{font-size:1.75rem}.mobile-agenda{padding-bottom:100px}.quick-book-btn{width:100%;padding:1rem;background:linear-gradient(135deg,#1e3a5f,#2d5a87);color:#fff;border:none;border-radius:12px;font-size:1.1rem;font-weight:600;cursor:pointer;margin-bottom:1.5rem;min-height:54px}.agenda-list{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}.agenda-item{background:#fff;border-radius:12px;padding:1rem;display:flex;align-items:center;gap:1rem;box-shadow:0 2px 8px #0000000f;cursor:pointer;transition:transform .2s;min-height:70px}.agenda-item:active{transform:scale(.98)}.agenda-item.mine-approved{border-left:4px solid #16a34a}.agenda-item.mine-pending{border-left:4px solid #eab308}.agenda-item.colleague{border-left:4px solid #dc2626}.agenda-item.holiday{border-left:4px solid #9c27b0;background:linear-gradient(135deg,#f3e5f5,#fff)}.agenda-date{display:flex;flex-direction:column;align-items:center;min-width:50px}.agenda-day{font-size:1.5rem;font-weight:700;color:#1e3a5f;line-height:1}.agenda-month{font-size:.7rem;text-transform:uppercase;color:#888;letter-spacing:.5px}.agenda-details{flex:1;display:flex;flex-direction:column;gap:.15rem}.agenda-details strong{font-size:.95rem;color:#333}.agenda-details span{font-size:.8rem;color:#666}.agenda-days{background:#e8f5e9;color:#2e7d32;padding:.15rem .5rem;border-radius:10px;font-size:.7rem!important;font-weight:600;width:fit-content}.agenda-status{font-size:1.25rem}@media(max-width:768px){.desktop-nav{display:none}.app.mobile main{padding:1rem;padding-bottom:90px;min-height:calc(100vh - 130px)}.app.mobile{min-height:100vh;display:flex;flex-direction:column}.stats{grid-template-columns:repeat(2,1fr);gap:.75rem}.stat-card{padding:1rem}.stat-value{font-size:1.75rem}.form-row{grid-template-columns:1fr;gap:1rem}input,select,textarea{min-height:48px;font-size:16px!important}button,.submit-btn{min-height:48px}.submit-btn{width:100%;font-size:1.1rem}.request-card{flex-direction:column;align-items:stretch}.request-actions{justify-content:stretch;margin-top:.75rem}.request-actions button{flex:1;min-height:48px}.employee-card{flex-wrap:wrap}.critical-toggle{margin-top:.5rem;width:100%;min-height:44px}.calendar-legend{flex-wrap:wrap;gap:.5rem;font-size:.8rem}.legend-item{padding:.35rem .6rem}.urgency-notification{flex-direction:column;text-align:center;padding:1.25rem}.urgency-action{width:100%;margin-top:.5rem}.history-summary{gap:.5rem}.summary-item{padding:.75rem 1rem;min-width:90px}.summary-value{font-size:1.5rem}.admin-section{padding:1rem}.dashboard h2{font-size:1.25rem}}@media(min-width:769px){.mobile-header,.mobile-bottom-nav,.mobile-agenda{display:none}nav.desktop-nav{display:flex}}
