:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;width:100%}#root{width:100%;min-height:100vh}.app{min-height:100vh;display:flex;flex-direction:column;width:100%}.app-header{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1.2rem 3rem;box-shadow:0 2px 20px #0000001a;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;width:100%}.header-brand{display:flex;align-items:center;gap:1rem}.header-logo{width:40px;height:auto;filter:drop-shadow(0 2px 4px rgba(0,0,0,.1))}.app-header h1{margin:0;color:#2c3e50;font-size:1.8rem;font-weight:700}.controls{display:flex;gap:.5rem;flex-wrap:wrap}.nav-button,.current-week-button,.retry-button,.refresh-button,.logout-button{padding:.5rem 1rem;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s ease;font-size:.9rem}.nav-button{background:#3498db;color:#fff}.nav-button:hover{background:#2980b9;transform:translateY(-1px)}.current-week-button{background:#2ecc71;color:#fff}.current-week-button:hover{background:#27ae60;transform:translateY(-1px)}.retry-button,.refresh-button{background:#e74c3c;color:#fff}.retry-button:hover,.refresh-button:hover{background:#c0392b;transform:translateY(-1px)}.refresh-button:disabled{background:#95a5a6;cursor:not-allowed;transform:none}.refresh-button.refreshing{background:#3498db;animation:pulse 1.5s infinite}.logout-button{background:#95a5a6;color:#fff}.logout-button:hover{background:#7f8c8d;transform:translateY(-1px)}.add-entry-button{background:linear-gradient(135deg,#27ae60,#2ecc71);color:#fff;box-shadow:0 4px 15px #27ae604d}.add-entry-button:hover{background:linear-gradient(135deg,#229954,#27ae60);transform:translateY(-2px);box-shadow:0 8px 25px #27ae6066}@keyframes pulse{0%{opacity:1}50%{opacity:.7}to{opacity:1}}.app-main{flex:1;padding:2.5rem 3rem;max-width:2000px;margin:0 auto;width:100%;min-width:1200px}.content-grid{display:grid;grid-template-columns:1fr 500px;gap:2.5rem;width:100%;max-width:100%}.main-content{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:2.5rem;box-shadow:0 8px 32px #0000001a;min-width:0}.sidebar{display:flex;flex-direction:column;gap:1.5rem;min-width:500px}.week-view{width:100%}.week-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:2px solid #ecf0f1}.week-header h2{margin:0;color:#2c3e50;font-size:1.5rem}.week-stats{color:#2c3e50;padding:.5rem 1rem;border-radius:20px;font-weight:600}.week-timeline{display:flex;flex-direction:column;gap:1rem}.day-timeline{border:1px solid #ecf0f1;border-radius:12px;padding:1rem;background:#fafbfc;transition:all .2s ease}.day-timeline:hover{box-shadow:0 4px 16px #0000001a;transform:translateY(-2px)}.day-timeline.weekend{background:#f8f9fa;border-color:#dee2e6}.day-timeline.weekend .day-name{color:#6c757d}.day-timeline.holiday{background:linear-gradient(135deg,#fff3e0,#ffecb3);border-color:#ff9800;border-width:2px}.day-timeline.holiday .day-name{color:#e65100}.day-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;gap:1rem}.day-info{display:flex;flex-direction:column;gap:.25rem;flex:1}.day-name{font-weight:700;color:#2c3e50;font-size:1.1rem}.day-date{color:#7f8c8d;font-weight:500;font-size:.9rem}.holiday-indicator{display:inline-flex;align-items:center;gap:.25rem;background:#ff9800;color:#fff;padding:.25rem .5rem;border-radius:12px;font-size:.8rem;font-weight:600;margin-top:.25rem;cursor:help;max-width:fit-content}.day-total{font-weight:600;color:#3498db;font-size:1.1rem;text-align:right;flex-shrink:0;padding:.5rem 1rem;border-radius:10px;min-width:4rem}.day-total.excellent{background:linear-gradient(135deg,#27ae60,#2ecc71);color:#fff}.day-total.good{background:linear-gradient(135deg,#f39c12,#e67e22);color:#fff}.day-total.warning{background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff}.day-total.critical{background:linear-gradient(135deg,#95a5a6,#7f8c8d);color:#fff}.timeline-container{position:relative;margin-bottom:1rem}.timeline-track{height:40px;background:#ecf0f1;border-radius:20px;position:relative;overflow:hidden}.timeline-bar{height:100%;border-radius:20px;display:flex;overflow:hidden;min-width:20px;box-shadow:0 2px 8px #00000026}.timeline-segment{height:100%;transition:all .2s ease;cursor:pointer}.timeline-segment:hover{filter:brightness(1.1);transform:scaleY(1.05)}.hour-markers{position:absolute;top:45px;left:0;right:0;height:20px;pointer-events:none}.hour-marker{position:absolute;font-size:.7rem;color:#95a5a6;font-weight:500;transform:translate(-50%)}.project-details{display:flex;flex-direction:column;gap:.5rem}.project-item{display:flex;flex-direction:column;gap:.5rem;padding:.5rem;border-radius:8px;background:#fff;transition:all .2s ease}.project-item:hover{background:#f8f9fa;transform:translate(4px)}.project-info{display:flex;align-items:center;gap:.5rem;flex:1;font-size:.9rem}.project-description{font-size:.8rem;color:#6c757d;font-style:italic;margin-left:22px}.project-description .html-list{margin:.5rem 0;padding-left:0}.project-description .html-list-item{margin:.25rem 0;padding-left:.5rem;line-height:1.4;color:#6c757d}.project-description .html-list-item:before{content:"";margin-right:.25rem}.project-color{width:16px;height:16px;border-radius:50%;flex-shrink:0;box-shadow:0 2px 4px #0003}.client-legend{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:1.5rem;box-shadow:0 8px 32px #0000001a}.client-legend h3{margin:0 0 1rem;color:#2c3e50;font-size:1.2rem}.legend-items{display:flex;flex-direction:column}.legend-item{display:flex;align-items:center;gap:.75rem;padding:.5rem;border-radius:8px;transition:all .2s ease}.legend-item:hover{background:#3498db1a}.legend-color{width:20px;height:20px;border-radius:50%;flex-shrink:0;box-shadow:0 2px 4px #0003}.legend-label{font-weight:500;color:#2c3e50}.data-info{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:20px;padding:2rem;box-shadow:0 8px 32px #0000001a}.data-info h3{margin:0 0 1rem;color:#2c3e50;font-size:1.2rem}.stats{display:flex;flex-direction:column;gap:.75rem}.stat-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem;background:#f8f9fa;border-radius:8px}.stat-label{color:#7f8c8d;font-weight:500}.stat-value{color:#2c3e50;font-weight:700;font-size:1.1rem}.loading,.error{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:50vh;color:#fff;text-align:center}.loading-spinner{width:40px;height:40px;border:4px solid rgba(255,255,255,.3);border-top:4px solid white;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}.error h2{color:#e74c3c;margin-bottom:1rem}.app-footer{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;border-top:1px solid rgba(0,0,0,.1);margin-top:auto}.app-footer p{margin:0;color:#7f8c8d;font-size:.9rem}.month-filter{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:1.5rem;box-shadow:0 8px 32px #0000001a;margin-bottom:1rem}.month-filter h3{margin:0 0 1rem;color:#2c3e50;font-size:1.2rem}.filter-section{margin-bottom:1.5rem}.filter-section label{display:block;margin-bottom:.5rem;font-weight:500;color:#2c3e50}.month-select{width:100%;padding:.5rem;border:1px solid #ddd;border-radius:8px;font-size:.9rem;background:#fff}.filter-options{display:flex;flex-direction:column;gap:.5rem}.filter-option{display:flex!important;align-items:center;gap:.5rem;margin-bottom:0!important;cursor:pointer}.filter-option input[type=checkbox]{margin:0}.analysis-loading{display:flex;align-items:center;gap:.5rem;padding:1rem;color:#666;font-style:italic}.mini-spinner{width:16px;height:16px;border:2px solid rgba(52,152,219,.3);border-top:2px solid #3498db;border-radius:50%;animation:spin 1s linear infinite}.workday-analysis{margin-top:1rem}.workday-analysis h4{margin:0 0 1rem;color:#2c3e50;font-size:1.1rem}.analysis-stats{display:flex;flex-direction:column;margin-bottom:1rem}.stat-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem;background:#f8f9fa;border-radius:6px}.stat-row .stat-label{color:#6c757d;font-size:.9rem}.stat-row .stat-value{font-weight:600;color:#2c3e50}.stat-row .stat-value.good{color:#27ae60;background:#27ae601a;padding:.25rem .5rem;border-radius:4px}.stat-row .stat-value.warning{color:#f39c12;background:#f39c121a;padding:.25rem .5rem;border-radius:4px}.stat-row .stat-value.error{color:#e74c3c;background:#e74c3c1a;padding:.25rem .5rem;border-radius:4px}.analysis-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.5rem}.summary-card{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1rem;border-radius:12px;text-align:center;box-shadow:0 4px 16px #0000001a}.summary-value{font-size:1.8rem;font-weight:700;margin-bottom:.25rem}.summary-label{font-size:.9rem;opacity:.9;font-weight:500}.progress-section{margin:1.5rem 0}.progress-label{font-size:.9rem;color:#6c757d;margin-bottom:.5rem;font-weight:500}.progress-bar{width:100%;height:12px;background:#ecf0f1;border-radius:6px;overflow:hidden;box-shadow:inset 0 2px 4px #0000001a}.progress-fill{height:100%;border-radius:6px;transition:all .3s ease;position:relative}.progress-fill:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.2) 50%,transparent 100%);animation:shimmer 2s infinite}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.missing-days,.incomplete-days{margin-top:1rem;padding:1rem;border-radius:8px;background:#fff3e0;border-left:4px solid #ff9800}.missing-days{background:#ffebee;border-left-color:#e74c3c}.incomplete-days{background:#fff8e1;border-left-color:#f39c12}.missing-days h5,.incomplete-days h5{margin:0 0 .75rem;color:#e65100;font-size:1rem;display:flex;align-items:center;gap:.5rem}.missing-days h5{color:#c62828}.day-list{display:flex;flex-direction:column;gap:.5rem}.missing-day,.incomplete-day{padding:.75rem;background:#fff;border-radius:8px;border:1px solid #ffcc80;transition:all .2s ease}.missing-day{border-color:#ffcdd2}.missing-day:hover,.incomplete-day:hover{transform:translate(4px);box-shadow:0 2px 8px #0000001a}.missing-day{display:flex;align-items:center;gap:.5rem}.day-date{font-weight:600;color:#2c3e50}.day-name{color:#6c757d;font-style:italic}.incomplete-day .day-info{font-weight:500;color:#2c3e50;margin-bottom:.5rem;display:flex;align-items:center;gap:.5rem}.incomplete-day .hours-info{display:flex;justify-content:space-between;align-items:center;font-size:.9rem}.worked-hours{color:#27ae60;font-weight:500}.missing-hours{color:#e74c3c;font-weight:600}.quick-actions{margin-top:1.5rem;padding:1rem;background:linear-gradient(135deg,#e8f5e8,#c8e6c9);border-radius:8px;border-left:4px solid #4caf50}.quick-actions h5{margin:0 0 .75rem;color:#2e7d32;font-size:1rem;display:flex;align-items:center;gap:.5rem}.recommendations{display:flex;flex-direction:column;gap:.5rem}.recommendation{padding:.5rem .75rem;background:#fff;border-radius:6px;border:1px solid #a5d6a7;color:#2e7d32;font-weight:500;font-size:.9rem;display:flex;align-items:center;gap:.5rem}.recommendation:hover{background:#f1f8e9;transform:translate(2px)}.week-hours-analysis{display:flex;align-items:center;gap:1rem;background:#fff;padding:.75rem 1rem;border-radius:12px;box-shadow:0 2px 8px #0000001a}.week-completion{font-size:1.5rem;font-weight:700;padding:.5rem .75rem;border-radius:8px;min-width:4rem;text-align:center}.week-completion.good{background:linear-gradient(135deg,#27ae60,#2ecc71);color:#fff}.week-completion.warning{background:linear-gradient(135deg,#f39c12,#e67e22);color:#fff}.week-completion.critical{background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff}.week-hours-details{display:flex;flex-direction:column;gap:.25rem}.hours-actual{font-size:1.2rem;font-weight:600;color:#2c3e50}.hours-expected{font-size:.9rem;color:#7f8c8d}.hours-deficit{font-size:.9rem;color:#e74c3c;font-weight:600}.day-timeline.completion-good{border-left:4px solid #27ae60}.day-timeline.completion-warning{border-left:4px solid #f39c12}.day-timeline.completion-critical{border-left:4px solid #e74c3c}.day-timeline.completion-good .day-header{background:linear-gradient(90deg,rgba(39,174,96,.05),transparent)}.day-timeline.completion-warning .day-header{background:linear-gradient(90deg,rgba(243,156,18,.05),transparent)}.day-timeline.completion-critical .day-header{background:linear-gradient(90deg,rgba(231,76,60,.05),transparent)}.hours-display{font-weight:600;padding:.25rem .5rem;border-radius:6px;margin-bottom:.25rem}.hours-display.completion-good{background:#27ae601a;color:#27ae60}.hours-display.completion-warning{background:#f39c121a;color:#f39c12}.hours-display.completion-critical{background:#e74c3c1a;color:#e74c3c}.completion-rate{font-size:.8rem;color:#7f8c8d;font-weight:500}.problems-widget{background:#fff;border-radius:12px;box-shadow:0 4px 16px #00000014;overflow:hidden;margin-bottom:1.5rem}.problems-widget.no-problems{border:2px solid #27ae60}.problems-widget.has-problems{border:2px solid #e74c3c}.widget-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff}.problems-widget.no-problems .widget-header{background:linear-gradient(135deg,#27ae60,#2ecc71)}.widget-header h3{margin:0;font-size:1.1rem;font-weight:600}.problem-count{background:#fff3;padding:.25rem .75rem;border-radius:12px;font-weight:700;font-size:.9rem}.no-problems-message{padding:2rem 1.25rem;text-align:center}.success-icon{font-size:3rem;margin-bottom:1rem}.no-problems-message p{margin:0 0 .5rem;font-weight:600;color:#27ae60;font-size:1.1rem}.success-detail{color:#7f8c8d;font-size:.9rem}.problems-summary{padding:1.25rem;background:linear-gradient(135deg,#fff5f5,#ffe5e5);border-bottom:1px solid #ffebee}.deficit-total{text-align:center}.deficit-number{display:block;font-size:2.5rem;font-weight:700;color:#e74c3c;line-height:1}.deficit-label{font-size:.9rem;color:#c0392b;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.problem-section{padding:1rem 1.25rem;border-bottom:1px solid #f8f9fa}.problem-section:last-of-type{border-bottom:none}.section-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;font-weight:600}.section-icon{font-size:1.1rem}.section-title{flex:1;color:#2c3e50}.section-count{background:#e74c3c;color:#fff;padding:.2rem .6rem;border-radius:10px;font-size:.8rem;font-weight:600}.incomplete-section .section-count{background:#f39c12}.problem-list{display:flex;flex-direction:column;gap:.5rem}.problem-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#f8f9fa;border-radius:8px;transition:all .2s ease}.problem-item:hover{background:#e9ecef;transform:translate(2px)}.missing-item{border-left:3px solid #e74c3c}.incomplete-item{border-left:3px solid #f39c12}.problem-date{font-weight:700;color:#2c3e50;min-width:2.5rem;font-size:.9rem}.problem-info{flex:1;display:flex;flex-direction:column;gap:.1rem}.problem-day{font-weight:600;color:#2c3e50;font-size:.9rem}.problem-detail{font-size:.8rem;color:#7f8c8d}.problem-impact{font-weight:700;color:#e74c3c;font-size:.9rem;min-width:2.5rem;text-align:right}.incomplete-item .problem-impact{color:#f39c12}.more-items{padding:.5rem .75rem;text-align:center;color:#7f8c8d;font-style:italic;font-size:.85rem;background:#ecf0f1;border-radius:6px}.problem-actions{padding:1rem 1.25rem;background:#f8f9fa;display:flex;flex-direction:column;gap:.5rem}.action-button{padding:.75rem 1rem;border-radius:8px;font-weight:600;text-align:center;transition:all .2s ease;cursor:pointer;font-size:.9rem}.action-button.priority-high{background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff}.action-button.priority-medium{background:linear-gradient(135deg,#f39c12,#e67e22);color:#fff}.action-button:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.vacation-entries{margin-top:.5rem;display:flex;flex-direction:column;gap:.25rem}.vacation-item{display:flex;align-items:center;gap:.5rem;padding:.5rem;background:linear-gradient(135deg,#e8f5e8,#c8e6c9);border-radius:8px;border-left:3px solid #4caf50;font-size:.9rem;transition:all .2s ease}.vacation-item:hover{background:linear-gradient(135deg,#c8e6c9,#a5d6a7);transform:translate(2px)}.vacation-icon{color:#2e7d32;font-size:1rem;flex-shrink:0}.vacation-info{flex:1;display:flex;flex-direction:column;gap:.1rem}.vacation-type{font-weight:600;color:#2e7d32}.vacation-description{font-size:.8rem;color:#388e3c;font-style:italic}.vacation-duration{font-weight:600;color:#2e7d32;font-size:.9rem;min-width:3rem;text-align:right}.timeline-segment.vacation{background:linear-gradient(135deg,#4caf50,#66bb6a);position:relative}.timeline-segment.vacation:hover{filter:brightness(1.1)}.timeline-segment.vacation:after{content:"🏖️";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.8rem;opacity:.8}.vacation-indicator{margin-top:.25rem;display:flex;flex-wrap:wrap;gap:.25rem}.vacation-badge{padding:.2rem .4rem;border-radius:12px;font-size:.7rem;color:#fff;font-weight:600;display:flex;align-items:center;gap:.2rem;box-shadow:0 1px 3px #0003}.vacation-badge.vacation-vacation{background-color:#4caf50!important}.vacation-badge.vacation-holiday{background-color:#ff9800!important}.vacation-badge.vacation-sick{background-color:#f44336!important}.vacation-timeline{position:relative;height:20px;background:#f5f5f5;border-radius:10px;overflow:hidden;margin:.5rem 0}.vacation-bar{height:100%;display:flex;align-items:center;justify-content:center;position:relative;border-radius:10px;box-shadow:inset 0 1px 3px #0003}.vacation-label{color:#fff;font-size:.8rem;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.3)}.vacation-details{margin-top:.5rem;display:flex;flex-direction:column;gap:.5rem}.vacation-item{display:flex;align-items:center;gap:.5rem;padding:.5rem;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:8px;border-left:3px solid #6c757d}.vacation-color{width:12px;height:12px;border-radius:50%;flex-shrink:0}.vacation-info{flex:1;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.vacation-title{font-weight:600;color:#333}.vacation-type{font-size:.8rem;color:#666;font-style:italic}.vacation-duration{font-weight:600;color:#495057;margin-left:auto}.vacation-total{display:flex;align-items:center;gap:.3rem;color:#2e7d32;font-weight:600}.day-timeline.has-vacation{background:linear-gradient(135deg,#f8fffe,#e8f5f0);border-color:#4caf50}.day-timeline.has-vacation .day-name{background:linear-gradient(90deg,#2e7d32,#4caf50);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}@media (max-width: 768px){.vacation-badge{font-size:.6rem;padding:.15rem .3rem}.vacation-info{flex-direction:column;align-items:flex-start;gap:.25rem}.vacation-duration{margin-left:0}.vacation-label{font-size:.7rem}}@media (max-width: 768px){.week-hours-analysis{flex-direction:column;gap:.75rem;text-align:center}.week-completion{font-size:1.25rem}.problems-widget{margin-bottom:1rem}.widget-header{padding:.75rem 1rem}.problems-summary{padding:1rem}.deficit-number{font-size:2rem}.problem-section{padding:.75rem 1rem}.problem-item{gap:.5rem;padding:.5rem}.problem-actions{padding:.75rem 1rem}.vacation-item{flex-direction:column;align-items:flex-start;gap:.25rem}.vacation-duration{text-align:left;min-width:auto}}.app.blurred{filter:blur(4px);pointer-events:none}.placeholder-content{text-align:center;padding:4rem 2rem;color:#7f8c8d}.placeholder-content h2{color:#2c3e50;font-size:2rem;margin-bottom:1rem}.placeholder-content p{font-size:1.2rem;line-height:1.6}.placeholder-widget{background:#ffffffb3;border-radius:16px;padding:2rem;height:200px;animation:pulse-placeholder 2s infinite}@keyframes pulse-placeholder{0%,to{opacity:.7}50%{opacity:.4}}.error-actions{display:flex;gap:1rem;margin-top:1.5rem;justify-content:center}.user-profile{display:flex;align-items:center;padding:.75rem 1rem;background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;border:1px solid rgba(255,255,255,.3);box-shadow:0 4px 16px #0000001a;margin-bottom:1rem;transition:all .2s ease}.user-profile:hover{transform:translateY(-2px);box-shadow:0 8px 25px #00000026}.user-profile-content{display:flex;align-items:center;gap:.75rem;width:100%}.user-profile-avatar{font-size:1.5rem;width:45px;height:45px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#3498db,#2980b9);color:#fff;border-radius:50%;box-shadow:0 4px 15px #3498db4d;flex-shrink:0}.user-profile-info{flex:1;min-width:0}.user-profile-name{font-weight:600;color:#2c3e50;margin-bottom:.25rem;font-size:1rem}.user-profile-name .salutation{font-weight:400;color:#7f8c8d}.user-profile-email{font-size:.875rem;color:#7f8c8d;margin-bottom:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-profile-badge{display:inline-block;font-size:.75rem;padding:.25rem .5rem;border-radius:12px;margin-right:.25rem;margin-top:.25rem;font-weight:500}.user-profile-badge.admin{background:linear-gradient(135deg,#e74c3c,#c0392b);color:#fff;box-shadow:0 2px 8px #e74c3c4d}.user-profile-badge.accountant{background:linear-gradient(135deg,#27ae60,#229954);color:#fff;box-shadow:0 2px 8px #27ae604d}.user-profile-loading,.user-profile-error{padding:.75rem 1rem;border-radius:8px;font-size:.875rem;display:flex;align-items:center;gap:.5rem}.user-profile-loading{background:#3498db1a;color:#2980b9;border:1px solid rgba(52,152,219,.2)}.user-profile-error{background:#e74c3c1a;color:#c0392b;border:1px solid rgba(231,76,60,.2)}@media (max-width: 768px){.user-profile{padding:.5rem}.user-profile-avatar{width:35px;height:35px;font-size:1.2rem}.user-profile-name{font-size:.9rem}.user-profile-email{font-size:.8rem}}.login-modal-overlay{position:fixed;inset:0;background:#000c;display:flex;justify-content:center;align-items:center;z-index:1000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.login-modal{background:#fff;border-radius:16px;max-width:600px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d;animation:modalSlideIn .3s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-50px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}.login-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2rem;text-align:center;border-radius:16px 16px 0 0}.login-logo{width:64px;height:64px;margin-bottom:1rem;filter:brightness(0) invert(1)}.login-header h1{margin:0 0 .5rem;font-size:1.5rem;font-weight:600}.login-subtitle{margin:0;opacity:.9;font-size:.9rem}.login-content{padding:2rem}.login-content h2{margin:0 0 1rem;color:#333;font-size:1.4rem}.login-description{color:#666;margin-bottom:2rem;line-height:1.5}.login-form{margin-bottom:2rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#333;font-size:.9rem}.token-input,.vacation-input{width:100%;padding:.75rem;border:2px solid #e1e5e9;border-radius:8px;font-size:1rem;transition:border-color .2s,box-shadow .2s;box-sizing:border-box}.token-input:focus,.vacation-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.token-input.error{border-color:#e74c3c}.vacation-input{font-family:monospace;font-size:.85rem}.input-help{display:block;margin-top:.5rem;color:#666;font-size:.8rem;line-height:1.4}.error-message{background:#ffe6e6;border:1px solid #ffcccc;border-radius:6px;padding:.75rem;color:#c0392b;margin-bottom:1rem;font-size:.9rem}.login-button{width:100%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:1rem;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:.5rem}.login-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.login-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top:2px solid white;border-radius:50%;animation:spin 1s linear infinite}.login-help{border-top:1px solid #eee;padding-top:2rem}.login-help h3{color:#333;font-size:1rem;margin:0 0 1rem;display:flex;align-items:center;gap:.5rem}.login-help ol{margin:0 0 1.5rem;padding-left:1.5rem;color:#666}.login-help li{margin-bottom:.5rem;line-height:1.4}.login-help a{color:#667eea;text-decoration:none}.login-help a:hover{text-decoration:underline}.security-note{background:#f8f9fa;border:1px solid #e9ecef;border-radius:6px;padding:1rem;margin-top:1rem;font-size:.85rem;line-height:1.4}.security-note strong{color:#28a745}@media (max-width: 768px){.login-modal{width:95%;margin:1rem}.login-header,.login-content{padding:1.5rem}.login-header h1{font-size:1.3rem}}.time-entry-overlay{position:fixed;inset:0;background:#000000b3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:2000;padding:2rem;animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.time-entry-modal{background:#fff;border-radius:24px;box-shadow:0 25px 80px #0000004d;max-width:800px;width:100%;max-height:90vh;overflow-y:auto;animation:slideUp .4s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(50px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2rem 2.5rem;border-radius:24px 24px 0 0;display:flex;justify-content:space-between;align-items:center}.modal-header h2{margin:0;font-size:1.5rem;font-weight:700}.close-button{background:#fff3;border:none;border-radius:50%;width:40px;height:40px;color:#fff;font-size:1.5rem;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.close-button:hover{background:#ffffff4d;transform:scale(1.1)}.time-entry-form{padding:2.5rem}.quick-clients-section{margin-bottom:2.5rem;padding:2rem;background:linear-gradient(135deg,#f8f9ff,#f0f4ff);border-radius:16px;border:2px solid #e8efff}.quick-clients-section h3{margin:0 0 1.5rem;color:#2c3e50;font-size:1.2rem;font-weight:700}.quick-clients-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.quick-client-card{background:#fff;border:2px solid #e8efff;border-radius:12px;padding:1.25rem;cursor:pointer;transition:all .3s ease;text-align:left;position:relative;overflow:hidden}.quick-client-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#667eea,#764ba2);transform:scaleX(0);transition:transform .3s ease}.quick-client-card:hover{border-color:#667eea;transform:translateY(-4px);box-shadow:0 12px 30px #667eea33}.quick-client-card:hover:before{transform:scaleX(1)}.quick-client-card.selected{border-color:#667eea;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;transform:translateY(-4px);box-shadow:0 12px 30px #667eea4d}.quick-client-card.selected:before{background:#ffffff4d;transform:scaleX(1)}.quick-client-name{font-weight:700;font-size:1rem;margin-bottom:.75rem;color:inherit}.quick-client-stats{display:flex;gap:1rem;margin-bottom:.5rem}.stat{font-size:.85rem;padding:.25rem .75rem;background:#667eea1a;border-radius:20px;font-weight:600;color:#667eea}.quick-client-card.selected .stat{background:#fff3;color:#fff}.quick-client-last{font-size:.8rem;opacity:.7;font-style:italic}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:1.5rem}.form-group{position:relative;margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.75rem;font-weight:600;color:#2c3e50;font-size:.95rem}.form-group input,.form-group textarea{width:100%;padding:1rem 1.25rem;border:2px solid #e8ecf4;border-radius:12px;font-size:1rem;transition:all .3s ease;background:#fafbfc;box-sizing:border-box}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 4px #667eea1a;transform:translateY(-2px)}.form-group input:disabled{background:#f0f2f5;color:#95a5a6;cursor:not-allowed}.form-group textarea{resize:vertical;min-height:100px;font-family:inherit}.autocomplete-group{position:relative}.suggestions-dropdown{position:absolute;top:100%;left:0;right:0;background:#fff;border:2px solid #e8ecf4;border-top:none;border-radius:0 0 12px 12px;max-height:200px;overflow-y:auto;z-index:100;box-shadow:0 8px 25px #00000026}.suggestion-item{padding:1rem 1.25rem;cursor:pointer;transition:all .2s ease;border-bottom:1px solid #f8f9fa}.suggestion-item:hover{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.suggestion-item:last-child{border-bottom:none}.suggestion-name{font-weight:600;margin-bottom:.25rem}.suggestion-meta{font-size:.85rem;opacity:.7}.recent-suggestions{margin-top:.75rem;padding:1rem;background:#f8f9ff;border-radius:8px;border:1px solid #e8efff}.recent-label{font-size:.85rem;font-weight:600;color:#667eea;margin-bottom:.75rem}.recent-items{display:flex;flex-wrap:wrap;gap:.5rem}.recent-item{background:#fff;border:1px solid #e8efff;border-radius:20px;padding:.5rem 1rem;font-size:.85rem;font-weight:500;color:#667eea;cursor:pointer;transition:all .2s ease}.recent-item:hover{background:#667eea;color:#fff;transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.error-message{background:linear-gradient(135deg,#ffebee,#ffcdd2);border:1px solid #e57373;border-radius:8px;padding:1rem;color:#c62828;font-weight:500;margin-bottom:1.5rem;display:flex;align-items:center;gap:.5rem}.error-message:before{content:"⚠️";font-size:1.1rem}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:2rem;border-top:2px solid #f8f9fa}.cancel-button,.submit-button{padding:1rem 2rem;border:none;border-radius:12px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.5rem;min-width:160px;justify-content:center}.cancel-button{background:#f8f9fa;color:#6c757d;border:2px solid #e9ecef}.cancel-button:hover{background:#e9ecef;transform:translateY(-2px);box-shadow:0 6px 20px #0000001a}.submit-button{background:linear-gradient(135deg,#27ae60,#2ecc71);color:#fff;box-shadow:0 4px 15px #27ae604d}.submit-button:hover:not(:disabled){background:linear-gradient(135deg,#229954,#27ae60);transform:translateY(-3px);box-shadow:0 8px 25px #27ae6066}.submit-button:disabled{background:#95a5a6;cursor:not-allowed;transform:none;box-shadow:none}.spinner{width:18px;height:18px;border:2px solid rgba(255,255,255,.3);border-top:2px solid white;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes successPulse{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}.form-success{animation:successPulse .6s ease-out}@media (max-width: 768px){.time-entry-overlay{padding:1rem}.time-entry-modal{max-width:100%;margin:0;border-radius:16px}.modal-header{padding:1.5rem;border-radius:16px 16px 0 0}.modal-header h2{font-size:1.3rem}.time-entry-form{padding:1.5rem}.quick-clients-section{padding:1.5rem;margin-bottom:2rem}.quick-clients-grid{grid-template-columns:1fr;gap:.75rem}.quick-client-card{padding:1rem}.form-row{grid-template-columns:1fr;gap:1rem}.form-actions{flex-direction:column-reverse}.cancel-button,.submit-button{width:100%;min-width:auto}.recent-items{flex-direction:column}.recent-item{text-align:center}}.form-group.focus-next input{animation:focusGlow .5s ease-out}@keyframes focusGlow{0%{box-shadow:0 0 #667eea66}50%{box-shadow:0 0 0 8px #667eea33}to{box-shadow:0 0 0 4px #667eea1a}}.suggestions-dropdown::-webkit-scrollbar{width:6px}.suggestions-dropdown::-webkit-scrollbar-track{background:#f1f3f4;border-radius:3px}.suggestions-dropdown::-webkit-scrollbar-thumb{background:#c1c8d4;border-radius:3px}.suggestions-dropdown::-webkit-scrollbar-thumb:hover{background:#667eea}
