*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#667eea,#764ba2);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;min-height:100vh}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#888;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#555}@keyframes slideIn{0%{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.fade-in{animation:fadeIn .5s ease-out}.slide-in{animation:slideIn .3s ease-out}.spinner{border:3px solid #f3f3f3;height:40px;width:40px}.auth-container{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:center;min-height:100vh;padding:20px}.auth-card{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:500px;overflow:hidden;width:100%}.auth-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:32px;text-align:center}.auth-logo{align-items:center;display:flex;font-size:36px;font-weight:700;gap:8px;justify-content:center;margin-bottom:8px}.auth-subtitle{font-size:16px;opacity:.9;padding-left:20px}.auth-form{padding:32px}.auth-title{color:#1f2937;font-size:24px;font-weight:700;margin-bottom:24px;text-align:center}.form-row{grid-gap:16px;gap:16px;grid-template-columns:1fr 1fr}.form-group{margin-bottom:20px}.form-group label{gap:8px;margin-bottom:8px}.form-group input,.form-group select{font-family:inherit;font-size:14px;transition:all .2s;width:100%}.auth-btn{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:8px;justify-content:center;margin-top:8px;padding:14px;transition:transform .2s;width:100%}.auth-btn:hover:not(:disabled){box-shadow:0 10px 20px #667eea4d;transform:translateY(-2px)}.auth-btn:disabled{cursor:not-allowed;opacity:.7}.spinner-small{animation:spin 1s linear infinite;border:2px solid #f3f3f3;border-radius:50%;border-top-color:#fff;height:20px;width:20px}.auth-footer{color:#6b7280;font-size:14px;margin-top:20px;text-align:center}.auth-link{color:#667eea;font-weight:600;text-decoration:none;transition:color .2s}.auth-link:hover{color:#764ba2}.demo-credentials{background:#f9fafb;border-top:1px solid #e5e7eb;padding:20px 32px}.demo-title{color:#374151;font-size:14px;font-weight:600;margin-bottom:8px}.demo-info{color:#6b7280;font-size:13px;line-height:1.6}.demo-info div{margin-bottom:4px}.demo-info strong{color:#374151;font-weight:600}@media (max-width:640px){.form-row{grid-template-columns:1fr}.auth-card{margin:0}.auth-form,.auth-header{padding:24px}}.guest-login-divider{align-items:center;color:#9ca3af;display:flex;font-size:14px;margin:16px 0;text-align:center}.guest-login-divider:after,.guest-login-divider:before{border-bottom:1px solid #e5e7eb;content:"";flex:1 1}.guest-login-divider span{padding:0 10px}.guest-buttons{display:flex;flex-direction:column;gap:10px;margin-top:10px}.guest-btn{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;display:flex;font-family:inherit;font-size:14px;font-weight:600;gap:8px;justify-content:center;padding:12px;transition:all .2s;width:100%}.guest-admin-btn{border-color:#d8b4fe;color:#764ba2}.guest-admin-btn:hover{background:#faf5ff;border-color:#764ba2}.guest-emp-btn{border-color:#bfdbfe;color:#3b82f6}.guest-emp-btn:hover{background:#eff6ff;border-color:#3b82f6}.layout{background:#f8f9fa;display:flex;min-height:100vh}.sidebar{background:#fff;box-shadow:2px 0 10px #0000001a;display:flex;flex-direction:column;height:100vh;left:0;position:fixed;top:0;transition:transform .3s ease;width:280px;z-index:1000}.sidebar-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:24px}.logo-link{text-decoration:none;transition:transform .2s ease}.logo-link:hover{transform:scale(1.02)}.logo{-webkit-text-fill-color:#0000;align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;cursor:pointer;display:flex;font-size:28px;font-weight:700;gap:8px;margin:0}.logo-icon{-webkit-text-fill-color:initial;font-size:32px}.close-sidebar{background:none;border:none;color:#6b7280;cursor:pointer;display:none}.sidebar-nav{flex:1 1;overflow-y:auto;padding:16px}.nav-link{align-items:center;border-radius:8px;color:#6b7280;display:flex;font-weight:500;gap:12px;margin-bottom:4px;padding:12px 16px;text-decoration:none;transition:all .2s}.nav-link:hover{background:#f3f4f6;color:#667eea}.nav-link.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.sidebar-footer{border-top:1px solid #e5e7eb;padding:16px}.user-info{background:#f9fafb;border-radius:8px;gap:12px;margin-bottom:12px;padding:12px}.user-avatar,.user-info{align-items:center;display:flex}.user-avatar{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;color:#fff;font-size:18px;font-weight:700;height:48px;justify-content:center;overflow:hidden;width:48px}.avatar-image{height:100%;object-fit:cover;width:100%}.user-details{flex:1 1}.user-name{color:#1f2937;font-size:14px;font-weight:600;margin-bottom:2px}.user-role{color:#6b7280;font-size:12px;margin-bottom:2px}.user-designation{color:#9ca3af;font-size:11px}.logout-btn{align-items:center;background:#fee2e2;border:none;border-radius:8px;color:#dc2626;cursor:pointer;display:flex;font-weight:600;gap:8px;justify-content:center;padding:12px;transition:all .2s;width:100%}.logout-btn:hover{background:#fecaca}.main-content{display:flex;flex:1 1;flex-direction:column;margin-left:280px}.top-bar{align-items:center;background:#fff;box-shadow:0 1px 3px #0000001a;display:flex;justify-content:space-between;padding:16px 24px;position:-webkit-sticky;position:sticky;top:0;z-index:100}.menu-btn{background:none;border:none;color:#6b7280;cursor:pointer;display:none}.top-bar-right{gap:16px}.top-bar-right,.user-badge{align-items:center;display:flex}.user-badge{gap:8px}.user-avatar-small{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;color:#fff;display:flex;font-size:14px;font-weight:700;height:36px;justify-content:center;overflow:hidden;width:36px}.avatar-image-small{height:100%;object-fit:cover;width:100%}.user-name-small{color:#1f2937;font-weight:600}.content{animation:fadeIn .3s ease-out;flex:1 1;padding:24px}.overlay{display:none}@media (max-width:768px){.sidebar{transform:translateX(-100%)}.sidebar.open{transform:translateX(0)}.close-sidebar{display:block}.main-content{margin-left:0}.menu-btn{display:block}.user-name-small{display:none}.overlay{background:#00000080;bottom:0;display:block;left:0;position:fixed;right:0;top:0;z-index:999}.content{padding:16px}}.dashboard{margin:0 auto;max-width:1400px}.page-header,.stats-grid{margin-bottom:32px}.stats-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.stat-card{box-shadow:0 1px 3px #0000001a}.stat-card:hover{box-shadow:0 10px 20px #0000001a}.stat-content{flex:1 1}.card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:24px;padding:24px}.card-title{color:#1f2937;font-size:20px;font-weight:700;margin-bottom:20px}.attendance-status{display:flex;flex-direction:column;gap:16px}.status-badge{align-items:center;border-radius:8px;display:inline-flex;font-size:14px;gap:8px;padding:8px 16px;width:-webkit-fit-content;width:fit-content}.status-badge.success{background:#dcfce7;color:#10b981}.attendance-details{display:flex;flex-wrap:wrap;gap:24px}.detail-item{display:flex;flex-direction:column;gap:4px}.detail-label{font-size:14px}.detail-value{font-size:18px;min-width:80px}.data-table th{background:#f9fafb;font-size:14px;padding:12px}.data-table td{border-bottom:1px solid #e5e7eb;padding:16px 12px}.data-table tr:hover{background:#f9fafb}.badge{display:inline-block;padding:4px 12px}.badge-info{color:#3b82f6}.badge-success{background:#dcfce7;color:#10b981}.badge-warning{color:#f59e0b}.badge-danger{color:#dc2626}.badge-secondary{background:#f3f4f6;color:#6b7280}.btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:14px;font-weight:600;gap:8px;justify-content:center;padding:10px 20px;transition:all .2s}.btn-primary:hover:not(:disabled){box-shadow:0 10px 20px #667eea4d;transform:translateY(-2px)}.btn-danger{background:#dc2626;color:#fff}.btn-danger:hover:not(:disabled){background:#b91c1c}.btn:disabled{cursor:not-allowed;opacity:.6}.btn-icon{border:none;border-radius:6px;font-size:16px;font-weight:700;height:32px;transition:all .2s;width:32px}.btn-success{background:#dcfce7;color:#10b981}.btn-success:hover{background:#10b981;color:#fff}.btn-danger{background:#fee2e2;color:#dc2626}.btn-danger:hover{background:#dc2626;color:#fff}.empty-state{color:#6b7280;font-size:16px;padding:40px}.reason-cell{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:768px){.stats-grid{grid-template-columns:1fr}.page-header h1,.stat-value{font-size:24px}.attendance-details{flex-direction:column;gap:16px}}.department-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));margin-top:16px}.department-card{background:linear-gradient(135deg,#f3f4f6,#e5e7eb);border-radius:12px;padding:16px;transition:transform .2s,box-shadow .2s}.department-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.department-name{color:#1f2937;font-size:14px;font-weight:600;margin-bottom:8px}.department-count{color:#667eea;font-size:20px;font-weight:700;margin-bottom:12px}.department-bar{background:#e5e7eb;border-radius:4px;height:8px;overflow:hidden}.department-bar-fill{background:linear-gradient(90deg,#667eea,#764ba2);border-radius:4px;height:100%;transition:width .3s ease}.create-employee-btn{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:10px;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:8px;padding:12px 24px;transition:transform .2s ease,box-shadow .2s ease}.create-employee-btn:hover{box-shadow:0 10px 25px #667eea4d;transform:translateY(-2px)}.create-employee-btn:active{transform:translateY(0)}.leave-action-modal{max-width:500px;width:90%}.leave-details-summary{background:#f8f9fa;border-radius:8px;margin-bottom:20px;padding:16px}.leave-details-summary p{color:#374151;font-size:14px;margin:0 0 8px}.leave-details-summary p:last-child{margin-bottom:0}.remarks-textarea{border:2px solid #e5e7eb;border-radius:8px;font-family:inherit;font-size:14px;padding:12px;resize:vertical;transition:border-color .2s ease;width:100%}.remarks-textarea:focus{border-color:#667eea;outline:none}.modal-actions{border-top:1px solid #e5e7eb;padding-top:16px}.btn-approve{background:linear-gradient(135deg,#10b981,#059669)!important}.btn-reject{background:linear-gradient(135deg,#ef4444,#dc2626)!important}.modal-header{padding:20px 24px}.modal-header h2{font-weight:600}.close-btn{border-radius:4px;padding:4px;transition:all .2s ease}.close-btn:hover{background:#f3f4f6}.modal-body{padding:24px}.modal-body .form-group{margin-bottom:0}.modal-body .form-group label{color:#374151;display:block;font-size:14px;font-weight:600;margin-bottom:8px}.btn-secondary{background:#f3f4f6;border:none;transition:all .2s ease}.btn-secondary:hover{background:#e5e7eb}.btn-primary{transition:all .2s ease}.btn-primary:hover{box-shadow:0 4px 12px #667eea4d;transform:translateY(-1px)}.profile-page{margin:0 auto;max-width:1000px}.profile-container{border-radius:12px;box-shadow:0 1px 3px #0000001a}.profile-header-card{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;gap:24px;padding:40px}.profile-avatar-container{position:relative}.profile-avatar-large{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border:4px solid #ffffff4d;border-radius:50%;display:flex;font-size:36px;font-weight:700;height:100px;justify-content:center;overflow:hidden;width:100px}.profile-avatar-large .profile-image{height:100%;object-fit:cover;width:100%}.photo-upload-btn{align-items:center;background:#fff;border:2px solid #667eea;border-radius:50%;bottom:0;box-shadow:0 2px 8px #00000026;color:#667eea;cursor:pointer;display:flex;height:32px;justify-content:center;position:absolute;right:0;transition:all .2s ease;width:32px}.photo-upload-btn:hover:not(:disabled){background:#667eea;color:#fff;transform:scale(1.1)}.photo-upload-btn:disabled{cursor:not-allowed;opacity:.7}.mini-spinner{animation:spin .8s linear infinite;border:2px solid #e5e7eb;border-radius:50%;border-top-color:#667eea;height:14px;width:14px}.profile-info h2{font-size:28px;font-weight:700;margin-bottom:8px}.profile-role{font-size:16px;margin-bottom:4px;opacity:.9}.profile-designation{font-size:14px;margin-bottom:8px;opacity:.85}.profile-id{font-size:14px;opacity:.8}.profile-section{border-bottom:1px solid #e5e7eb;padding:32px}.profile-section:last-child{border-bottom:none}.section-title{align-items:center;color:#1f2937;display:flex;font-size:18px;font-weight:600;gap:8px;margin-bottom:24px}.form-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.form-group.full-width{grid-column:1/-1}.form-group label{align-items:center;display:flex;gap:6px}.form-group input,.form-group select,.form-group textarea{border:2px solid #e5e7eb;border-radius:8px;font-family:inherit;font-size:14px;padding:10px 12px;transition:all .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.form-value{color:#1f2937;font-size:14px;padding:10px 0}.form-actions{background:#f9fafb;display:flex;gap:12px;justify-content:flex-end;padding:24px 32px}@media (max-width:768px){.profile-header-card{flex-direction:column;padding:24px;text-align:center}.profile-info h2{font-size:24px}.profile-section{padding:24px}.form-grid{grid-template-columns:1fr}.form-actions{flex-direction:column;padding:16px}.form-actions button{width:100%}}.profile-tabs{background:#f3f4f6;overflow-x:auto;padding:0}.tab-button{flex:1 1;font-size:14px;font-weight:600;justify-content:center;white-space:nowrap}.salary-section-simple{padding:0}.salary-hero{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;overflow:hidden;padding:60px 40px;position:relative;text-align:center}.salary-hero:before{background:#ffffff1a;height:400px;right:-10%;top:-50%;width:400px}.salary-hero:after,.salary-hero:before{border-radius:50%;content:"";position:absolute;z-index:0}.salary-hero:after{background:#ffffff14;bottom:-30%;height:300px;left:-5%;width:300px}.salary-hero-content{position:relative;z-index:1}.salary-hero-label{font-size:14px;font-weight:500;letter-spacing:1px;margin-bottom:16px;opacity:.9;text-transform:uppercase}.salary-hero-amount{font-size:56px;font-weight:700;line-height:1;margin:0;text-shadow:0 4px 20px #0003}.salary-hero-subtitle{font-size:15px;margin-top:12px;opacity:.85}.salary-summary-cards{grid-gap:20px;background:#f9fafb;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));padding:32px}.summary-card{align-items:flex-start;background:#fff;border:2px solid #0000;border-radius:16px;box-shadow:0 2px 8px #00000014;display:flex;gap:16px;padding:24px;transition:all .3s ease}.summary-card:hover{box-shadow:0 8px 20px #0000001f;transform:translateY(-4px)}.summary-card.highlight{background:linear-gradient(135deg,#f0f4ff,#e9f0ff);border-color:#667eea}.summary-card-icon{align-items:center;border-radius:12px;display:flex;flex-shrink:0;height:48px;justify-content:center;width:48px}.summary-card-icon.gross{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.summary-card-icon.deductions{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.summary-card-icon.net{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.summary-card-icon.yearly{background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff}.summary-card-content{flex:1 1}.summary-card-label{color:#6b7280;font-size:13px;font-weight:600;letter-spacing:.5px;margin-bottom:8px;text-transform:uppercase}.summary-card-amount{color:#1f2937;font-size:24px;font-weight:700;line-height:1.2;margin:0}.summary-card-amount.deduction{color:#f59e0b}.summary-card-amount.net{color:#667eea;font-size:28px}.summary-card-period{color:#9ca3af;font-size:12px;font-weight:500;margin-top:4px}.salary-info-box{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 2px 8px #00000014;margin:32px;padding:32px}.info-box-title{align-items:center;color:#1f2937;display:flex;font-size:18px;font-weight:600;gap:8px;margin-bottom:24px}.info-box-grid{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:24px}.info-box-item{align-items:center;background:#f9fafb;border-left:4px solid #667eea;border-radius:12px;display:flex;justify-content:space-between;padding:16px 20px;transition:all .3s ease}.info-box-item:hover{background:#f3f4f6;transform:translateX(4px)}.info-label{color:#6b7280;font-size:14px;font-weight:600}.info-value{color:#1f2937;font-size:16px;font-weight:700}.info-box-note{background:#fffbeb;border-left:4px solid #f59e0b;border-radius:8px;color:#78350f;font-size:13px;line-height:1.6;padding:16px}.info-box-note strong{color:#92400e;font-weight:700}@media (max-width:768px){.salary-hero{padding:40px 24px}.salary-hero-amount{font-size:42px}.salary-summary-cards{grid-template-columns:1fr;padding:20px}.salary-info-box{margin:20px;padding:24px}.info-box-grid{grid-template-columns:1fr}.summary-card-amount.net{font-size:24px}}@media (max-width:480px){.salary-hero-amount{font-size:36px}.summary-card{padding:20px}.summary-card-amount{font-size:20px}}.attendance-page{margin:0 auto;max-width:1200px}.attendance-stats{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:24px}.stat-item{align-items:center;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;display:flex;gap:16px;padding:20px}.stat-icon{height:48px;width:48px}.stat-item.status-present .stat-icon{background:#dcfce7;color:#10b981}.stat-item.status-absent .stat-icon{background:#fee2e2;color:#dc2626}.stat-item.status-halfday .stat-icon{background:#fef3c7;color:#f59e0b}.stat-item.status-leave .stat-icon{background:#dbeafe;color:#3b82f6}.stat-label{margin-bottom:4px}.stat-number{color:#1f2937;font-size:20px;font-weight:700}.calendar-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;margin-bottom:24px;padding:24px}.calendar-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:24px}.current-month{color:#1f2937;font-size:20px;font-weight:700}.month-nav-btn{align-items:center;background:#f3f4f6;border:none;border-radius:8px;color:#6b7280;cursor:pointer;display:flex;height:36px;justify-content:center;transition:all .2s;width:36px}.month-nav-btn:hover:not(:disabled){background:#e5e7eb;color:#1f2937}.month-nav-btn:disabled{cursor:not-allowed;opacity:.5}.calendar-grid{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(7,1fr)}.calendar-day-header{color:#6b7280;font-size:14px;font-weight:600;padding:12px 0;text-align:center}.calendar-day{align-items:center;aspect-ratio:1;border:2px solid #f3f4f6;border-radius:8px;display:flex;flex-direction:column;justify-content:center;min-height:80px;padding:8px;position:relative;transition:all .2s}.calendar-day.empty{border:none}.calendar-day.weekend{background:#f9fafb}.calendar-day.future{opacity:.5}.calendar-day.today{border-color:#667eea;border-width:2px}.calendar-day.status-present{background:#dcfce7;border-color:#10b981}.calendar-day.status-absent{background:#fee2e2;border-color:#dc2626}.calendar-day.status-halfday{background:#fef3c7;border-color:#f59e0b}.calendar-day.status-leave{background:#dbeafe;border-color:#3b82f6}.day-number{color:#1f2937;font-weight:600;margin-bottom:4px}.day-status{align-items:center;display:flex;flex-direction:column;font-size:11px;gap:4px}.status-text{font-weight:500}.work-hours{font-size:10px;opacity:.8}@media (max-width:768px){.calendar-day{min-height:60px;padding:4px}.day-number{font-size:12px}.day-status{font-size:9px}.status-text{display:none}.calendar-day-header{font-size:12px;padding:8px 0}}.attendance-list-page{margin:0 auto;max-width:1400px;padding:30px}.page-header{align-items:center;display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;margin-bottom:30px}.page-header h1{color:#1f2937;font-size:32px;font-weight:700;margin-bottom:8px}.page-header p{color:#6b7280;font-size:16px}.header-actions{gap:12px}.export-btn{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:10px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:12px 24px;transition:transform .2s ease,box-shadow .2s ease}.export-btn:hover{box-shadow:0 10px 25px #667eea4d;transform:translateY(-2px)}.filters-section{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:30px}.date-navigation,.month-navigation{align-items:center;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;display:flex;gap:12px;padding:12px 20px}.nav-btn{align-items:center;background:#f3f4f6;border:none;border-radius:8px;color:#374151;cursor:pointer;display:flex;height:36px;justify-content:center;transition:all .2s ease;width:36px}.nav-btn:hover{background:#e5e7eb;transform:scale(1.05)}.date-display{align-items:center;color:#1f2937;display:flex;font-size:16px;font-weight:600;gap:10px;min-width:200px}.date-display svg{color:#667eea}.search-box{box-shadow:0 2px 8px #0000001a;gap:12px;padding:12px 20px}.search-box input{font-size:14px}.month-navigation{justify-content:center;margin-bottom:30px;width:100%}.month-year-selector{display:flex;gap:12px}.month-select,.year-select{background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#1f2937;cursor:pointer;font-size:14px;font-weight:600;padding:8px 16px;transition:all .2s ease}.month-select:focus,.month-select:hover,.year-select:focus,.year-select:hover{border-color:#667eea;outline:none}.attendance-stats-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:30px}.stat-card{border-radius:12px;box-shadow:0 2px 8px #0000001a;gap:16px;padding:20px;transition:transform .2s,box-shadow .2s}.stat-card:hover{box-shadow:0 8px 20px #00000026}.stat-icon{border-radius:12px;height:56px;width:56px}.stat-info h3{font-size:28px;margin:0 0 4px}.attendance-table-container{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.attendance-table{border-collapse:collapse;width:100%}.attendance-table thead{background:linear-gradient(135deg,#667eea,#764ba2)}.attendance-table thead th{color:#fff;font-size:14px;font-weight:600;letter-spacing:.5px;padding:16px;text-align:left;text-transform:uppercase}.attendance-table tbody tr{border-bottom:1px solid #e5e7eb;transition:background-color .2s ease}.attendance-table tbody tr:hover{background-color:#f9fafb}.attendance-table tbody tr:last-child{border-bottom:none}.attendance-table tbody td{color:#374151;font-size:14px;padding:16px}.name-cell{gap:12px}.avatar,.name-cell{align-items:center;display:flex}.avatar{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;color:#fff;flex-shrink:0;font-size:12px;font-weight:600;height:36px;justify-content:center;width:36px}.date-cell{display:flex;flex-direction:column;gap:4px}.day-name{color:#9ca3af;font-size:12px}.work-hours{color:#10b981;font-weight:600}.extra-hours{color:#f59e0b;font-weight:600}.status-badge{font-size:12px;padding:6px 12px;text-transform:capitalize}.status-badge.present{background:#d1fae5;color:#065f46}.status-badge.absent{background:#fee2e2;color:#991b1b}.status-badge.leave{background:#fef3c7;color:#92400e}.status-badge.half-day{background:#dbeafe;color:#1e40af}.no-data{color:#9ca3af;font-style:italic;padding:40px!important;text-align:center}.loading-container{min-height:400px}@media (max-width:1024px){.attendance-stats-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.attendance-table{font-size:13px}.attendance-table tbody td,.attendance-table thead th{padding:12px}}@media (max-width:768px){.attendance-list-page{padding:20px}.page-header{align-items:flex-start}.filters-section,.page-header{flex-direction:column}.search-box{min-width:100%}.attendance-stats-grid{grid-template-columns:1fr}.attendance-table-container{overflow-x:auto}.attendance-table{min-width:800px}.month-navigation{padding:12px}.month-year-selector{flex-direction:column;width:100%}.month-select,.year-select{width:100%}}@media (max-width:480px){.page-header h1{font-size:24px}.stat-card{padding:16px}.stat-icon{height:48px;width:48px}.stat-info h3{font-size:24px}.export-btn{justify-content:center;width:100%}}@media print{.filters-section,.nav-btn,.page-header .header-actions{display:none}.attendance-table-container{box-shadow:none}.attendance-table tbody tr:hover{background-color:initial}}.leave-page{margin:0 auto;max-width:1200px}.leave-balance-cards{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:24px}.balance-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:24px;text-align:center}.balance-card h3{color:#6b7280;font-size:16px;margin-bottom:12px}.balance-number{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:48px;font-weight:700;margin-bottom:4px}.balance-label{color:#9ca3af;font-size:14px}.leave-stats{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(3,1fr);margin-bottom:24px}.stat-box{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:20px;text-align:center}.stat-count{color:#1f2937;font-size:32px;font-weight:700;margin-bottom:4px}.modal-overlay{background:#00000080}.modal-content{animation:slideUp .3s ease-out;border-radius:16px;max-width:600px}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{border-bottom:1px solid #e5e7eb;padding:24px}.modal-header h2{font-size:20px}.close-btn{background:none;border:none;color:#6b7280;cursor:pointer;transition:color .2s}.close-btn:hover{color:#1f2937}.modal-content form{padding:24px}.modal-content .form-group{margin-bottom:20px}.modal-content .form-group label{color:#374151;display:block;font-size:14px;font-weight:600;margin-bottom:8px}.modal-content .form-group input,.modal-content .form-group select,.modal-content .form-group textarea{border:2px solid #e5e7eb;border-radius:8px;font-family:inherit;font-size:14px;padding:10px 12px;transition:all .2s;width:100%}.modal-content .form-group input:focus,.modal-content .form-group select:focus,.modal-content .form-group textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.modal-content .form-group textarea{resize:vertical}.modal-actions{margin-top:24px}.remarks-cell{color:#6b7280;font-size:13px;max-width:200px}@media (max-width:768px){.leave-stats{grid-template-columns:1fr}.modal-actions{flex-direction:column}.modal-actions button{width:100%}}.payroll-page{background:#f9fafb;margin:0 auto;max-width:1400px;min-height:100vh;padding:24px}.payroll-header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;margin-bottom:32px}.payroll-header h1{color:#1f2937;font-size:32px;font-weight:700;margin:0 0 8px}.payroll-header p{color:#6b7280;font-size:16px;margin:0}.header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:16px}.tabs{background:linear-gradient(135deg,#f3f4f6,#e5e7eb);border-radius:14px;box-shadow:inset 0 2px 4px #0000000f;gap:8px;padding:6px}.tab,.tabs{display:flex}.tab{align-items:center;background:#0000;border:none;border-radius:10px;color:#6b7280;cursor:pointer;font-size:14px;font-weight:600;gap:10px;padding:12px 24px;transition:all .3s ease}.tab:hover{background:#ffffff80;color:#374151}.tab.active{background:#fff;box-shadow:0 4px 12px #667eea33;color:#667eea}.tab svg{height:18px;width:18px}.btn-primary{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;box-shadow:0 4px 6px #667eea40;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:12px 24px;transition:all .3s ease}.btn-primary:hover{box-shadow:0 6px 12px #667eea59;transform:translateY(-2px)}.btn-primary:disabled{cursor:not-allowed;opacity:.6;transform:none}.btn-secondary{align-items:center;border:1px solid #d1d5db;color:#374151;display:flex;font-size:14px;font-weight:500;gap:8px;transition:all .2s}.btn-secondary:hover{background:#f3f4f6}.salary-overview{grid-gap:20px;gap:20px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-bottom:32px}.salary-card{align-items:center;background:#fff;box-shadow:0 2px 8px #0000000f;display:flex;gap:16px;padding:24px;transition:all .3s ease}.salary-card:hover{box-shadow:0 8px 16px #0000001a;transform:translateY(-4px)}.salary-card.main-card{align-items:flex-start;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;flex-direction:column;grid-column:1/-1;padding:32px}.salary-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px;width:100%}.salary-header h3{font-size:18px;font-weight:600;margin:0 0 6px;opacity:.95}.salary-period{font-size:15px;margin:0;opacity:.85}.salary-amount{font-size:56px;line-height:1;margin-bottom:16px}.payment-date{align-items:center;display:flex;font-size:14px;gap:8px;opacity:.9}.salary-status{border-radius:24px;font-size:14px;font-weight:600;letter-spacing:.5px;padding:8px 20px;text-transform:uppercase}.salary-status.status-paid{background:#ffffff40;color:#fff}.salary-status.status-processed{background:#fff3;color:#fff}.salary-status.status-pending{background:#ffffff26;color:#fff}.salary-icon{align-items:center;border-radius:16px;display:flex;flex-shrink:0;height:64px;justify-content:center;width:64px}.salary-label{color:#6b7280;font-size:14px;font-weight:500;margin-bottom:6px}.salary-value{color:#1f2937;font-size:28px;font-weight:700;line-height:1}.salary-breakdown{grid-gap:24px;gap:24px;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));margin-bottom:32px}.breakdown-card{background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000f;padding:28px}.breakdown-card h3{align-items:center;color:#1f2937;display:flex;font-size:20px;font-weight:700;gap:10px;margin:0 0 20px}.earnings-icon{color:#10b981}.deductions-icon{color:#ef4444}.breakdown-items{display:flex;flex-direction:column;gap:14px}.breakdown-item{align-items:center;border-bottom:1px solid #f3f4f6;display:flex;justify-content:space-between;padding:12px 0}.breakdown-item:last-child{border-bottom:none}.breakdown-item.total{border-top:2px solid #e5e7eb;font-size:18px;font-weight:700;margin-top:8px;padding-top:16px}.breakdown-item span:first-child{color:#6b7280;font-size:15px}.amount-positive{color:#10b981;font-size:16px;font-weight:600}.amount-negative{color:#ef4444;font-size:16px;font-weight:600}.payroll-history{background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000f;padding:32px}.history-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:28px}.history-header h2{color:#1f2937;font-size:24px;font-weight:700;margin:0}.history-header h2,.year-selector{align-items:center;display:flex;gap:12px}.year-select{background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#1f2937;cursor:pointer;font-size:15px;font-weight:600;padding:10px 16px;transition:all .3s ease}.year-select:focus,.year-select:hover{border-color:#667eea}.year-select:focus{box-shadow:0 0 0 3px #667eea1a;outline:none}.payslips-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.payslip-card{background:linear-gradient(180deg,#f9fafb 0,#fff);border:2px solid #e5e7eb;border-radius:12px;padding:20px;transition:all .3s ease}.payslip-card:hover{border-color:#667eea;box-shadow:0 8px 16px #667eea26;transform:translateY(-4px)}.payslip-header{justify-content:space-between;margin-bottom:16px}.payslip-header,.payslip-month{align-items:center;display:flex}.payslip-month{color:#1f2937;font-size:16px;font-weight:600;gap:8px}.status-badge{border-radius:20px;display:inline-block;font-weight:700;letter-spacing:.5px;padding:6px 14px;text-transform:uppercase}.status-badge.paid,.status-badge.status-paid{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46}.status-badge.processed,.status-badge.status-processed{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e}.status-badge.pending,.status-badge.status-pending{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af}.payslip-amount{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;color:#fff;margin:20px 0;padding:16px}.payslip-amount .label{display:block;font-size:13px;margin-bottom:6px;opacity:.9}.payslip-amount .value{display:block;font-size:28px;font-weight:700}.payslip-details{margin:16px 0}.detail-row{color:#6b7280}.detail-row span:last-child{color:#1f2937;font-weight:600}.download-btn{align-items:center;background:#fff;border:2px solid #667eea;border-radius:8px;color:#667eea;cursor:pointer;display:flex;font-weight:600;gap:8px;justify-content:center;margin-top:16px;padding:12px;transition:all .3s ease;width:100%}.download-btn:hover{background:#667eea;color:#fff;transform:scale(1.02)}.payroll-loading{align-items:center;color:#6b7280;display:flex;flex-direction:column;gap:16px;justify-content:center;min-height:400px}.payroll-loading p{font-size:16px}.admin-stats,.payroll-stats{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));margin-bottom:32px}.stat-card{align-items:center;background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000f;display:flex;gap:20px;padding:24px;transition:all .3s ease}.stat-card:hover{box-shadow:0 8px 16px #0000001a;transform:translateY(-4px)}.stat-icon{align-items:center;border-radius:16px;color:#fff;display:flex;flex-shrink:0;height:64px;justify-content:center;width:64px}.stat-icon.blue{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.stat-icon.green{background:linear-gradient(135deg,#10b981,#059669)}.stat-icon.orange{background:linear-gradient(135deg,#f59e0b,#d97706)}.stat-icon.purple{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.stat-content,.stat-info{display:flex;flex:1 1;flex-direction:column;gap:6px}.stat-info h3{color:#1f2937;font-size:26px;font-weight:700;line-height:1;margin:0}.stat-info p{margin:0}.stat-info p,.stat-label{color:#6b7280;font-size:14px;font-weight:500}.stat-value{color:#1f2937;font-size:28px;font-weight:700;line-height:1}.payroll-controls,.payroll-filters{align-items:center;display:flex;flex-wrap:wrap;gap:16px;margin-bottom:24px}.search-box{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:12px;display:flex;flex:1 1;min-width:300px;padding:12px 16px;position:relative;transition:all .3s ease}.search-box:focus-within{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.search-box svg{color:#9ca3af;flex-shrink:0}.search-box input{background:#0000;border:none;color:#1f2937;flex:1 1;font-size:15px;margin-left:12px;outline:none}.search-box input::placeholder{color:#9ca3af}.filter-select{border:2px solid #e5e7eb;border-radius:12px;font-size:15px;font-weight:600;min-width:140px;padding:12px 16px;transition:all .3s ease}.filter-select:focus{outline:none}.filter-group{background:#fff;border:2px solid #e5e7eb;border-radius:12px;gap:10px;padding:12px 16px;transition:all .3s ease}.filter-group:focus-within{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.filter-group svg{color:#9ca3af}.payroll-table-container{background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000f;overflow:hidden}.payroll-table{border-collapse:collapse;width:100%}.payroll-table thead{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.payroll-table th{font-size:14px;font-weight:700;letter-spacing:.5px;padding:16px 20px;text-align:left;text-transform:uppercase}.payroll-table tbody tr{border-bottom:1px solid #f3f4f6;transition:all .2s ease}.payroll-table tbody tr:hover{background:#f9fafb}.payroll-table td{color:#1f2937;font-size:15px;padding:16px 20px}.employee-info{align-items:center;display:flex;gap:14px}.employee-info .avatar{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;box-shadow:0 4px 10px #667eea40;color:#fff;display:flex;flex-shrink:0;font-size:17px;font-weight:700;height:44px;justify-content:center;width:44px}.employee-info .emp-name{color:#1f2937;font-size:15px;font-weight:600;margin-bottom:2px}.employee-info .emp-id{color:#6b7280;font-size:12px;font-weight:500}.employee-cell{align-items:center;display:flex;gap:12px}.employee-avatar{border-radius:50%;font-weight:700;height:40px;width:40px}.employee-name{margin-bottom:2px}.employee-id{font-size:13px}.net-salary,.net-salary-cell{color:#10b981;font-size:16px;font-weight:700}.action-btns{display:flex;gap:8px}.action-btns button{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:10px;color:#6b7280;cursor:pointer;display:flex;height:36px;justify-content:center;transition:all .25s ease;width:36px}.action-btns button:hover{background:#667eea;border-color:#667eea;color:#fff;transform:scale(1.1)}.action-btns button.delete:hover{background:#ef4444;border-color:#ef4444}.action-buttons{display:flex;gap:8px}.btn-icon{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#6b7280;cursor:pointer;display:flex;height:36px;justify-content:center;transition:all .3s ease;width:36px}.btn-icon:hover{background:#667eea;border-color:#667eea;color:#fff;transform:scale(1.1)}.btn-icon.btn-download:hover{background:#10b981;border-color:#10b981}.btn-icon.btn-danger:hover{background:#ef4444;border-color:#ef4444}.modal-overlay{align-items:center;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0009;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.modal-content{animation:modalSlideIn .3s ease;background:#fff;border-radius:20px;box-shadow:0 20px 60px #0000004d;max-height:90vh;max-width:900px;overflow-y:auto;width:100%}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.modal-header{align-items:center;border-bottom:2px solid #f3f4f6;display:flex;justify-content:space-between;padding:28px 32px}.modal-header h2{color:#1f2937;font-size:24px;font-weight:700;margin:0}.modal-close{align-items:center;background:#f3f4f6;border:none;border-radius:50%;color:#6b7280;cursor:pointer;display:flex;height:40px;justify-content:center;transition:all .3s ease;width:40px}.modal-close:hover{background:#ef4444;color:#fff;transform:rotate(90deg)}.payroll-form{padding:32px}.form-section{margin-bottom:32px}.form-section h3{border-bottom:2px solid #f3f4f6;color:#1f2937;font-size:18px;font-weight:700;margin:0 0 20px;padding-bottom:12px}.form-row{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{color:#374151;font-size:14px;font-weight:600}.form-group input,.form-group select{border:2px solid #e5e7eb;border-radius:8px;color:#1f2937;font-size:15px;padding:12px 16px;transition:all .3s ease}.form-group input:focus,.form-group select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.form-group input:disabled,.form-group select:disabled{background:#f9fafb;color:#9ca3af;cursor:not-allowed}.modal-actions{border-top:2px solid #f3f4f6;display:flex;gap:12px;justify-content:flex-end;padding-top:24px}.btn-secondary{background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#6b7280;cursor:pointer;font-size:16px;font-weight:600;padding:12px 24px;transition:all .3s ease}.btn-secondary:hover{background:#f9fafb;border-color:#9ca3af;color:#1f2937}.loading-spinner{color:#6b7280}.error-message,.loading-spinner{align-items:center;display:flex;font-size:18px;justify-content:center;min-height:400px}.error-message{color:#ef4444;font-weight:600}.payslip-generator{display:flex;flex-direction:column;gap:24px}.generator-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;box-shadow:0 4px 20px #00000014;padding:36px}.generator-card h2{align-items:center;color:#1f2937;display:flex;font-size:26px;font-weight:700;gap:12px;margin:0 0 8px}.generator-card h2 svg{color:#667eea}.generator-card>p{color:#6b7280;font-size:15px;margin:0 0 28px}.generator-form{display:flex;flex-direction:column;gap:24px}.generator-form .form-row{grid-gap:20px;display:grid;gap:20px;grid-template-columns:2fr 1fr 1fr}.generator-form .form-group{display:flex;flex-direction:column;gap:8px}.generator-form .form-group label{color:#374151;font-size:14px;font-weight:600}.generator-form .form-group select{-webkit-appearance:none;appearance:none;background:#fff;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:18px;border:2px solid #e5e7eb;border-radius:10px;color:#1f2937;cursor:pointer;font-size:15px;padding:14px 45px 14px 18px;transition:all .3s ease}.generator-form .form-group select:hover{border-color:#667eea}.generator-form .form-group select:focus{border-color:#667eea;box-shadow:0 0 0 4px #667eea26;outline:none}.generator-actions{border-top:2px solid #f3f4f6;display:flex;gap:16px;justify-content:flex-end;margin-top:12px;padding-top:24px}.attendance-preview{background:#fff;border:1px solid #e5e7eb;border-radius:20px;box-shadow:0 4px 20px #00000014;padding:36px}.attendance-preview h3{align-items:center;color:#1f2937;display:flex;font-size:22px;font-weight:700;gap:12px;margin:0 0 28px}.attendance-preview h3 svg{color:#667eea}.attendance-cards{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(4,1fr)}.att-card{align-items:center;background:#f9fafb;border:2px solid #0000;border-radius:16px;display:flex;flex-direction:column;overflow:hidden;padding:24px 16px;position:relative;transition:all .3s ease}.att-card:before{background:currentColor;content:"";height:4px;left:0;opacity:.5;position:absolute;right:0;top:0}.att-card:hover{box-shadow:0 8px 20px #0000001a;transform:translateY(-4px)}.att-card svg{height:28px;margin-bottom:12px;width:28px}.att-card .att-value{color:#1f2937;font-size:32px;font-weight:800;line-height:1}.att-card .att-label{color:#6b7280;font-size:11px;font-weight:600;letter-spacing:.8px;margin-top:8px;text-transform:uppercase}.att-card.working{background:linear-gradient(135deg,#eff6ff,#dbeafe);border-color:#93c5fd;color:#3b82f6}.att-card.working svg{color:#3b82f6}.att-card.present{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-color:#86efac;color:#22c55e}.att-card.present svg{color:#22c55e}.att-card.half{background:linear-gradient(135deg,#fefce8,#fef9c3);border-color:#fde047;color:#eab308}.att-card.half svg{color:#eab308}.att-card.paid-leave{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-color:#7dd3fc;color:#0ea5e9}.att-card.paid-leave svg{color:#0ea5e9}.att-card.unpaid{background:linear-gradient(135deg,#fef2f2,#fee2e2);border-color:#fca5a5;color:#ef4444}.att-card.unpaid svg{color:#ef4444}.att-card.absent{background:linear-gradient(135deg,#fef2f2,#fee2e2);border-color:#f87171;color:#dc2626}.att-card.absent svg{color:#dc2626}.att-card.late{background:linear-gradient(135deg,#fff7ed,#ffedd5);border-color:#fdba74;color:#f97316}.att-card.late svg{color:#f97316}.att-card.overtime{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border-color:#6ee7b7;color:#10b981}.att-card.overtime svg{color:#10b981}.lop-warning{align-items:center;background:linear-gradient(135deg,#fef2f2,#fee2e2);border:2px solid #fca5a5;border-radius:12px;color:#dc2626;display:flex;font-size:15px;font-weight:500;gap:12px;margin-top:24px;padding:18px 24px}.lop-warning svg{flex-shrink:0}.lop-warning strong{color:#991b1b;font-weight:700}.payslip-preview{background:#fff;border:1px solid #e5e7eb;border-radius:20px;box-shadow:0 4px 20px #00000014;padding:36px}.preview-header{align-items:center;border-bottom:2px solid #f3f4f6;display:flex;justify-content:space-between;margin-bottom:28px;padding-bottom:20px}.preview-header h3{align-items:center;color:#1f2937;display:flex;font-size:22px;font-weight:700;gap:12px;margin:0}.preview-header h3 svg{color:#667eea}.payslip-content{border:2px solid #e5e7eb;border-radius:16px;box-shadow:0 4px 12px #0000000d;overflow:hidden}.employee-details{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;justify-content:space-between;padding:28px 32px}.employee-details h4{font-size:22px;font-weight:700;margin:0 0 6px}.employee-details p{font-size:14px;margin:0;opacity:.9}.employee-details .status-badge{background:#ffffff40;border-radius:20px;color:#fff;font-size:13px;padding:8px 18px}.payslip-breakdown{grid-gap:0;background:#fafafa;display:grid;gap:0;grid-template-columns:1fr 1fr}.breakdown-column{background:#fff;padding:28px 32px}.breakdown-column.earnings{border-right:2px solid #f3f4f6}.breakdown-column h5{align-items:center;border-bottom:2px solid #f3f4f6;display:flex;font-size:17px;font-weight:700;gap:10px;margin:0 0 20px;padding-bottom:12px}.breakdown-column.earnings h5{color:#059669}.breakdown-column.deductions h5{color:#dc2626}.breakdown-column .breakdown-item{border-bottom:1px dashed #e5e7eb;color:#4b5563;display:flex;font-size:14px;justify-content:space-between;padding:12px 0}.breakdown-column .breakdown-item span:first-child{font-weight:500}.breakdown-column .breakdown-item:last-child{border-bottom:none}.breakdown-column .breakdown-item.total{border-bottom:none;border-top:2px solid #e5e7eb;color:#1f2937;font-size:15px;font-weight:700;margin-top:16px;padding-top:16px}.breakdown-column .positive{color:#059669;font-weight:700}.breakdown-column .negative{color:#dc2626;font-weight:700}.net-salary-box{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;justify-content:space-between;padding:28px 32px}.net-salary-box span:first-child{font-size:20px;font-weight:600}.net-salary-box .amount{font-size:36px;font-weight:800}.attendance-mini{font-size:13px;font-weight:500}.attendance-mini .present{color:#059669}.attendance-mini .half{color:#eab308}.attendance-mini .absent,.deduction{color:#dc2626}.payslip-modal{max-width:900px}.payslip-modal .modal-header{background:linear-gradient(135deg,#f8f9ff,#f0f4ff);border-bottom:2px solid #e5e7eb}.payslip-modal .modal-header h2{align-items:center;display:flex;gap:12px}.payslip-modal .modal-header h2 svg{color:#667eea}.payslip-modal .modal-header button{align-items:center;background:#fff;border:none;border-radius:50%;box-shadow:0 2px 8px #0000001a;color:#6b7280;cursor:pointer;display:flex;height:40px;justify-content:center;transition:all .3s ease;width:40px}.payslip-modal .modal-header button:hover{background:#ef4444;color:#fff;transform:rotate(90deg)}.payslip-view-content{max-height:60vh;overflow-y:auto;padding:28px 32px}.payslip-modal .modal-actions{background:#fff;border-top:2px solid #f3f4f6;display:flex;gap:12px;justify-content:flex-end;padding:20px 32px}.payslip-employee-info{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;box-shadow:0 8px 20px #667eea4d;color:#fff;display:flex;gap:20px;margin-bottom:24px;padding:24px 28px}.emp-avatar{align-items:center;background:#ffffff40;border-radius:50%;display:flex;flex-shrink:0;font-size:28px;font-weight:700;height:64px;justify-content:center;width:64px}.emp-details h3{font-size:20px;font-weight:700;margin:0 0 6px}.emp-details p{font-size:14px;margin:0;opacity:.9}.payslip-employee-info .status-badge.large{background:#ffffff40;border-radius:24px;font-size:14px;font-weight:600;margin-left:auto;padding:10px 20px}.attendance-summary-section{background:linear-gradient(135deg,#fff8f0,#fff5eb);border-left:5px solid #f59e0b;border-radius:16px;box-shadow:0 2px 12px #f59e0b1a;margin-bottom:24px;padding:24px}.attendance-summary-section h4{align-items:center;color:#92400e;display:flex;font-size:17px;font-weight:700;gap:10px;margin:0 0 20px}.attendance-summary-section h4 svg{color:#f59e0b}.summary-grid{grid-gap:14px;display:grid;gap:14px;grid-template-columns:repeat(4,1fr)}.summary-grid>div{background:#fff;border:1px solid #fde68a;border-radius:12px;padding:16px 12px;text-align:center;transition:all .2s ease}.summary-grid>div:hover{box-shadow:0 4px 12px #00000014;transform:translateY(-2px)}.summary-grid .label{color:#6b7280;display:block;font-size:10px;font-weight:600;letter-spacing:.5px;margin-bottom:6px;text-transform:uppercase}.summary-grid .value{color:#1f2937;font-size:24px;font-weight:800}.summary-grid .value.green{color:#059669}.summary-grid .value.orange{color:#f59e0b}.summary-grid .value.blue{color:#3b82f6}.summary-grid .value.red{color:#dc2626}.salary-details-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr;margin-bottom:24px}.deductions-section,.earnings-section{background:#f9fafb;border:1px solid #e5e7eb;border-radius:16px;padding:24px}.earnings-section{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-color:#bbf7d0}.deductions-section{background:linear-gradient(135deg,#fef2f2,#fee2e2);border-color:#fecaca}.deductions-section h4,.earnings-section h4{align-items:center;border-bottom:2px solid #0000001a;display:flex;font-size:17px;font-weight:700;gap:10px;margin:0 0 18px;padding-bottom:12px}.earnings-section h4{color:#059669}.deductions-section h4{color:#dc2626}.detail-row{border-bottom:1px dashed #e5e7eb;font-size:14px;padding:8px 0}.detail-row.total,.detail-row:last-child{border-bottom:none}.detail-row.total{border-top:2px solid #d1d5db;font-weight:600;margin-top:12px;padding-top:12px}.detail-row.lop{background:#fef2f2;border-radius:6px;color:#dc2626;margin:4px -12px;padding:8px 12px}.net-salary-display{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;box-shadow:0 8px 20px #667eea4d;color:#fff;display:flex;justify-content:space-between;padding:24px 28px}.net-salary-display span:first-child{font-size:20px;font-weight:600}.net-salary-display .amount{font-size:32px;font-weight:800}.my-attendance-summary{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-top:20px;padding:20px}.my-attendance-summary h4{align-items:center;color:#374151;display:flex;font-size:16px;gap:8px;margin:0 0 16px}.attendance-mini-cards{display:flex;flex-wrap:wrap;gap:12px}.mini-card{align-items:center;background:#f9fafb;border-radius:8px;display:flex;flex-direction:column;min-width:80px;padding:12px 20px}.mini-card .value{color:#667eea;font-size:24px;font-weight:700}.mini-card .label{color:#6b7280;font-size:11px;text-transform:uppercase}.history-card-details .lop{color:#dc2626;font-weight:500}.main-salary-card{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;box-shadow:0 10px 30px #667eea4d;color:#fff;padding:32px}.main-salary-card .salary-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:20px}.main-salary-card .salary-header h3{font-size:16px;font-weight:500;margin:0 0 4px;opacity:.9}.main-salary-card .salary-header p{font-size:14px;margin:0;opacity:.8}.main-salary-card .salary-amount{font-size:48px;font-weight:800;line-height:1;margin-bottom:20px}.main-salary-card .download-btn{align-items:center;background:#fff3;border:2px solid #ffffff4d;border-radius:10px;color:#fff;cursor:pointer;display:inline-flex;font-weight:600;gap:8px;padding:12px 24px;transition:all .3s ease}.main-salary-card .download-btn:hover{background:#fff;border-color:#fff;color:#667eea}.salary-breakdown{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr}.breakdown-section{background:#fff;border-radius:16px;box-shadow:0 4px 12px #0000000f;padding:24px}.breakdown-section h4{align-items:center;border-bottom:2px solid #f3f4f6;display:flex;font-size:16px;font-weight:700;gap:10px;margin:0 0 18px;padding-bottom:12px}.breakdown-section h4 svg{height:18px;width:18px}.breakdown-section .breakdown-item{border-bottom:1px dashed #e5e7eb;display:flex;font-size:14px;justify-content:space-between;padding:10px 0}.breakdown-section .breakdown-item:last-of-type{border-bottom:none}.breakdown-section .breakdown-item.total{border-bottom:none;border-top:2px solid #e5e7eb;font-weight:700;margin-top:12px;padding-top:12px}.breakdown-section .positive{color:#059669;font-weight:600}.breakdown-section .negative{color:#dc2626;font-weight:600}.payment-history{background:#fff;border-radius:20px;box-shadow:0 4px 12px #0000000f;margin-top:24px;padding:32px}.payment-history .history-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:24px}.payment-history .history-header h2{align-items:center;color:#1f2937;display:flex;font-size:22px;font-weight:700;gap:12px;margin:0}.payment-history .year-select{background:#fff;border:2px solid #e5e7eb;border-radius:10px;color:#1f2937;cursor:pointer;font-size:15px;font-weight:600;padding:10px 18px}.history-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.history-card{background:linear-gradient(135deg,#f9fafb,#fff);border:2px solid #e5e7eb;border-radius:16px;padding:20px;transition:all .3s ease}.history-card:hover{border-color:#667eea;box-shadow:0 8px 20px #667eea26;transform:translateY(-4px)}.history-card-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.history-card-header .month{color:#1f2937;font-size:16px;font-weight:600}.history-card-amount{color:#10b981;font-size:28px;font-weight:800;margin-bottom:12px}.history-card-details{color:#6b7280;display:flex;font-size:13px;gap:16px;margin-bottom:16px}.history-card .download-btn{align-items:center;background:#fff;border:2px solid #667eea;border-radius:10px;color:#667eea;cursor:pointer;display:flex;font-size:13px;font-weight:600;gap:8px;justify-content:center;padding:10px;transition:all .3s ease;width:100%}.history-card .download-btn:hover{background:#667eea;color:#fff}.history-card .download-btn.small{padding:8px 12px}.empty-history{align-items:center;color:#9ca3af;display:flex;flex-direction:column;grid-column:1/-1;justify-content:center;padding:60px 20px}.empty-history svg{margin-bottom:16px;opacity:.5}.empty-history p{font-size:16px;margin:0}.empty-row{color:#9ca3af;padding:60px 20px!important;text-align:center}.empty-row svg{margin-bottom:12px;opacity:.5}.empty-row p{font-size:15px;margin:0}@media (max-width:768px){.payroll-page{padding:16px}.payroll-header{align-items:flex-start;flex-direction:column;gap:16px}.tabs{width:100%}.tab{flex:1 1;justify-content:center}.form-row{grid-template-columns:1fr}.attendance-cards{grid-template-columns:repeat(2,1fr)}.payslip-breakdown{grid-template-columns:1fr}.breakdown-column.earnings{border-bottom:1px solid #e5e7eb;border-right:none}.summary-grid{grid-template-columns:repeat(2,1fr)}.salary-details-grid{grid-template-columns:1fr}.btn-primary{justify-content:center;width:100%}.salary-amount{font-size:42px}.admin-stats,.payslips-grid,.salary-breakdown{grid-template-columns:1fr}.payroll-controls{flex-direction:column}.search-box{width:100%}.filter-group{justify-content:space-between;width:100%}.payroll-table-container{overflow-x:auto}.payroll-table{min-width:900px}.modal-content{max-height:95vh;max-width:100%}.modal-actions{flex-direction:column-reverse}.btn-primary,.btn-secondary{width:100%}.generator-actions{flex-direction:column}.attendance-mini-cards{justify-content:center}}@media print{.payroll-page{background:#fff}.download-btn,.page-header button,.payroll-controls{display:none}}.employee-list-page{margin:0 auto;max-width:1400px}.employee-count{border-radius:8px;color:#1f2937;font-weight:600;gap:8px;padding:12px 20px}.employee-count,.search-bar{align-items:center;background:#fff;box-shadow:0 1px 3px #0000001a;display:flex}.search-bar{border-radius:12px;gap:12px;margin-bottom:16px;padding:16px 20px}.search-bar input{border:none;color:#1f2937;flex:1 1;font-size:16px;outline:none}.search-bar input::placeholder{color:#9ca3af}.filter-bar{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;flex-wrap:wrap;gap:16px;margin-bottom:24px;padding:16px 20px}.filter-bar,.filter-group{align-items:center;display:flex}.filter-group{gap:8px}.filter-select{background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#1f2937;cursor:pointer;font-size:14px;outline:none;padding:8px 16px;transition:border-color .2s}.filter-select:hover{border-color:#667eea}.filter-select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.filter-results{color:#6b7280;font-size:14px;font-weight:500;margin-left:auto}.employee-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.employee-card{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px #00000014;cursor:pointer;display:flex;gap:14px;padding:16px 20px;position:relative;transition:all .2s ease}.employee-card:hover{border-color:#667eea;box-shadow:0 4px 12px #0000001a}.status-indicator{align-items:center;border-radius:50%;box-shadow:0 1px 3px #0003;display:flex;height:12px;justify-content:center;position:absolute;right:12px;top:12px;width:12px}.status-indicator.status-present{background:#10b981}.status-indicator.status-absent{background:#fbbf24}.status-indicator.status-leave{background:#3b82f6;border-radius:4px;color:#fff;height:20px;width:20px}@keyframes pulse-green{0%{box-shadow:0 0 0 0 #10b981b3}70%{box-shadow:0 0 0 8px #10b98100}to{box-shadow:0 0 0 0 #10b98100}}.employee-avatar{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:10px;color:#fff;display:flex;flex-shrink:0;font-size:16px;font-weight:600;height:48px;justify-content:center;overflow:hidden;width:48px}.employee-avatar .avatar-image{height:100%;object-fit:cover;width:100%}.employee-info{flex:1 1;min-width:0}.employee-name{color:#1f2937;font-size:15px;font-weight:600;margin:0 0 2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-id{color:#6b7280;font-size:12px;margin:0}.employee-role{margin-bottom:12px}.role-badge{align-items:center;border-radius:20px;display:inline-flex;flex-shrink:0;font-size:11px;font-weight:600;padding:4px 12px;white-space:nowrap}.role-badge.role-admin{background:#fef3c7;color:#d97706}.role-badge.role-hr{background:#dbeafe;color:#2563eb}.role-badge.role-employee{background:#dcfce7;color:#16a34a}.employee-details{display:flex;flex-direction:column;gap:8px;padding-right:200px}.detail-row{align-items:center;display:flex;font-size:13px;justify-content:space-between;justify-content:left;position:relative;right:80px}.detail-label{color:#6b7280;font-weight:500}.detail-value{color:#1f2937;font-size:15px;font-weight:600;max-width:70%;padding-left:10px;padding-right:20px;text-align:left}.status-badge{border-radius:10px;font-size:11px;font-weight:600;padding:3px 10px}.status-badge.active{background:#dcfce7;color:#10b981}.status-badge.inactive{background:#fee2e2;color:#dc2626}.empty-state-full{align-items:center;color:#6b7280;display:flex;flex-direction:column;grid-column:1/-1;justify-content:center;padding:60px 20px;text-align:center}.empty-state-full p{font-size:16px;margin-top:16px}@media (max-width:768px){.employee-grid{grid-template-columns:1fr}.employee-card{padding:14px 16px}.employee-count{justify-content:center;margin-top:12px;width:100%}.page-header{align-items:flex-start;flex-direction:column}}.employee-detail-page{margin:0 auto;max-width:1200px;padding:20px}.detail-header{margin-bottom:24px}.back-button{align-items:center;background-color:#f3f4f6;border:none;border-radius:8px;color:#374151;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:10px 20px;transition:all .3s ease}.back-button:hover{background-color:#e5e7eb;transform:translateX(-4px)}.profile-container{background:#fff;border-radius:16px;box-shadow:0 4px 6px #00000012;overflow:hidden}.profile-header{align-items:flex-start;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:space-between;padding:40px;position:relative}.profile-avatar-section{align-items:center;display:flex;gap:24px}.profile-avatar{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border:4px solid #ffffff4d;border-radius:50%;box-shadow:0 8px 20px #0003;color:#fff;display:flex;flex-shrink:0;font-size:48px;font-weight:700;height:120px;justify-content:center;width:120px}.profile-header-info{color:#fff}.profile-name{color:#fff;font-size:32px;font-weight:700;margin:0 0 8px}.profile-designation{color:#ffffffe6;font-size:16px;font-weight:500;margin:0 0 16px}.profile-meta{display:flex;flex-wrap:wrap;gap:20px;margin-top:16px}.profile-meta-item{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border-radius:6px;color:#fffffff2;display:flex;font-size:14px;gap:6px;padding:6px 12px}.profile-status-badges{align-items:flex-end;display:flex;flex-direction:column;gap:10px}.profile-status-badge{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border-radius:20px;box-shadow:0 2px 8px #0000001a;display:inline-flex;font-size:13px;font-weight:600;gap:6px;letter-spacing:.5px;padding:8px 16px;text-transform:uppercase}.profile-status-badge.active{color:#10b981}.profile-status-badge.inactive{color:#ef4444}.profile-role-badge{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff2;border-radius:20px;box-shadow:0 2px 8px #0000001a;display:inline-flex;font-size:13px;font-weight:600;gap:6px;letter-spacing:.5px;padding:8px 16px;text-transform:uppercase}.profile-role-badge.role-employee{color:#3b82f6}.profile-role-badge.role-hr{color:#f59e0b}.profile-role-badge.role-admin{color:#ef4444}.profile-tabs{background:#f9fafb;border-bottom:2px solid #e5e7eb;display:flex;gap:0;padding:0 40px}.tab-button{align-items:center;background:#0000;border:none;border-bottom:3px solid #0000;color:#6b7280;cursor:pointer;display:flex;font-size:15px;font-weight:500;gap:8px;padding:16px 24px;position:relative;top:2px;transition:all .3s ease}.tab-button:hover{background:#667eea0d;color:#667eea}.tab-button.active{background:#fff;border-bottom-color:#667eea;color:#667eea}.tab-content{padding:40px}.tab-panel{animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.info-section{margin-bottom:40px}.info-section:last-child{margin-bottom:0}.section-heading{align-items:center;border-bottom:2px solid #f3f4f6;color:#111827;display:flex;font-size:20px;font-weight:700;gap:10px;margin:0 0 24px;padding-bottom:12px}.info-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.info-item{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;padding:16px 20px;transition:all .3s ease}.info-item:hover{background:#f3f4f6;border-color:#d1d5db;transform:translateY(-2px)}.info-item label{color:#6b7280;display:block;font-size:11px;font-weight:700;letter-spacing:.8px;margin-bottom:8px;text-transform:uppercase}.info-item p{color:#111827;font-size:15px;font-weight:500;margin:0;word-break:break-word}.info-item p.text-success{color:#10b981;font-weight:600}.info-item p.text-danger{color:#ef4444;font-weight:600}.salary-overview{grid-gap:24px;display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin-bottom:40px}.salary-card{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;box-shadow:0 8px 24px #667eea4d;color:#fff;padding:28px}.salary-card-header{align-items:center;display:flex;gap:16px;margin-bottom:20px}.salary-card-header svg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border-radius:12px;padding:12px}.salary-card h4{color:#ffffffe6;font-size:14px;font-weight:600;letter-spacing:.5px;margin:0 0 8px;text-transform:uppercase}.salary-amount{color:#fff;font-size:32px;font-weight:700;margin:0}.salary-period{color:#fffc;font-size:14px;font-weight:500;margin-left:4px}.salary-card-footer{border-top:1px solid #fff3;color:#ffffffe6;font-size:14px;padding-top:16px}.salary-components{grid-gap:20px;display:grid;gap:20px}.component-item{background:linear-gradient(135deg,#f9fafb,#fff);border:1px solid #e5e7eb;border-radius:12px;padding:24px;transition:all .3s ease}.component-item:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea1a;transform:translateY(-2px)}.component-item.pf-item{border-left:4px solid #3b82f6}.component-item.tax-item{border-left:4px solid #ef4444}.component-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.component-label{color:#111827;font-size:16px;font-weight:600}.component-percentage{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;color:#fff;font-size:13px;font-weight:700;padding:6px 12px}.component-value{color:#667eea;font-size:28px;font-weight:700;margin-bottom:8px}.component-period{color:#6b7280;font-size:14px;font-weight:500;margin-left:6px}.component-description{color:#6b7280;font-size:13px;line-height:1.6;margin:0}.salary-summary{background:linear-gradient(135deg,#f9fafb,#fff);border:2px solid #e5e7eb;border-radius:16px;margin-top:40px;padding:32px}.summary-item{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:16px 0}.summary-item:last-child{border-bottom:none}.summary-item.total{border-top:2px solid #667eea;margin-top:16px;padding-top:24px}.summary-label{color:#374151;font-size:16px;font-weight:600}.summary-item.total .summary-label{color:#111827;font-size:20px}.summary-value{color:#667eea;font-size:20px;font-weight:700}.summary-value.deduction{color:#ef4444}.summary-item.total .summary-value{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:32px}.loading-container{min-height:500px}.spinner{animation:spin 1s linear infinite;border:4px solid #f3f4f6;border-radius:50%;border-top-color:#667eea;height:48px;width:48px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.error-container{align-items:center;color:#ef4444;display:flex;font-size:18px;justify-content:center;min-height:500px}@media (max-width:1024px){.profile-header{flex-direction:column;gap:24px}.profile-status-badges{align-items:center;flex-direction:row}.info-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}}@media (max-width:768px){.employee-detail-page{padding:12px}.profile-header{padding:24px 20px}.profile-avatar-section{flex-direction:column;text-align:center;width:100%}.profile-avatar{font-size:40px;height:100px;width:100px}.profile-name{font-size:24px}.profile-designation{font-size:14px}.profile-meta{align-items:flex-start;flex-direction:column;gap:8px}.profile-meta-item{width:100%}.profile-tabs{-ms-overflow-style:none;overflow-x:auto;padding:0 20px;scrollbar-width:none}.profile-tabs::-webkit-scrollbar{display:none}.tab-button{font-size:13px;padding:14px 16px;white-space:nowrap}.tab-content{padding:24px 20px}.section-heading{font-size:18px}.info-grid,.salary-overview{grid-template-columns:1fr}.salary-card{padding:20px}.salary-amount{font-size:28px}.component-value{font-size:24px}.summary-item{align-items:flex-start;flex-direction:column;gap:8px}.summary-item.total .summary-value{font-size:28px}.profile-status-badges{justify-content:center;width:100%}}@media (max-width:480px){.profile-avatar{font-size:32px;height:80px;width:80px}.profile-name{font-size:20px}.tab-button{font-size:12px;padding:12px}.tab-button svg{height:16px;width:16px}.component-header{align-items:flex-start;flex-direction:column;gap:8px}}.table-container{margin-top:20px;overflow-x:auto}.data-table{background:#fff;border-collapse:collapse;width:100%}.data-table thead{background:#f9fafb}.data-table th{border-bottom:2px solid #e5e7eb;color:#6b7280;font-size:13px;font-weight:600;letter-spacing:.5px;padding:14px 16px;text-align:left;text-transform:uppercase}.data-table tbody tr{border-bottom:1px solid #f3f4f6;transition:background-color .2s ease}.data-table tbody tr:hover{background-color:#f9fafb}.data-table td{color:#374151;font-size:14px;padding:14px 16px}.badge{align-items:center;border-radius:12px;display:inline-flex;font-size:12px;font-weight:600;gap:6px;padding:6px 12px;text-transform:capitalize}.badge-success{background:#d1fae5;color:#065f46}.badge-danger{background:#fee2e2;color:#991b1b}.badge-warning{background:#fef3c7;color:#92400e}.badge-info{background:#dbeafe;color:#1e40af}.empty-state{background:#f9fafb;border-radius:12px;color:#9ca3af;font-size:15px;margin-top:20px;padding:60px 20px;text-align:center}.table-footer-note{background:#f0f9ff;border-radius:8px;color:#0369a1;font-size:13px;font-weight:500;margin-top:16px;padding:12px;text-align:center}.loading-container{align-items:center;display:flex;flex-direction:column;gap:16px;justify-content:center;padding:60px 20px}.loading-container p{color:#6b7280;font-size:14px}
/*# sourceMappingURL=main.d0672376.css.map*/