*{margin:0;padding:0;box-sizing:border-box}body{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);min-height:100vh;color:#2d3748;line-height:1.6}.hr-dashboard{max-width:1400px;margin:0 auto;padding:20px;background:#f8fafc;min-height:100vh;border-radius:20px;box-shadow:0 20px 40px rgb(0 0 0 / .1)}.hr-header{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);color:#fff;padding:25px 30px;border-radius:15px;margin-bottom:30px;box-shadow:0 10px 30px rgb(79 70 229 / .3)}.hr-header h1{font-size:28px;font-weight:700;display:flex;align-items:center;gap:15px}.hr-user-info{display:flex;align-items:center;gap:20px;font-size:16px}.hr-user-info span{background:rgb(255 255 255 / .2);padding:8px 16px;border-radius:50px;backdrop-filter:blur(10px)}.hr-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 24px;background:#4f46e5;color:#fff;text-decoration:none;border:none;border-radius:12px;font-weight:600;font-size:14px;cursor:pointer;transition:all 0.3s ease;text-align:center}.hr-btn:hover{background:#4338ca;transform:translateY(-2px);box-shadow:0 8px 25px rgb(79 70 229 / .4);color:#fff}.hr-btn-primary{background:linear-gradient(135deg,#10b981 0%,#059669 100%)}.hr-btn-primary:hover{background:linear-gradient(135deg,#059669 0%,#047857 100%);box-shadow:0 8px 25px rgb(16 185 129 / .4)}.hr-btn-success{background:linear-gradient(135deg,#f59e0b 0%,#d97706 100%)}.hr-btn-success:hover{background:linear-gradient(135deg,#d97706 0%,#b45309 100%);box-shadow:0 8px 25px rgb(245 158 11 / .4)}.hr-btn-outline{background:#fff0;border:2px solid rgb(255 255 255 / .3);backdrop-filter:blur(10px)}.hr-btn-outline:hover{background:rgb(255 255 255 / .2);transform:translateY(-2px)}.hr-btn-small{padding:8px 16px;font-size:12px;border-radius:8px}.hr-btn:disabled{opacity:.6;cursor:not-allowed;transform:none!important}.hr-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-bottom:40px}.hr-stat-card{background:#fff;padding:25px;border-radius:16px;display:flex;align-items:center;gap:20px;box-shadow:0 8px 30px rgb(0 0 0 / .08);transition:transform 0.3s ease,box-shadow 0.3s ease;position:relative;overflow:hidden}.hr-stat-card:hover{transform:translateY(-5px);box-shadow:0 15px 40px rgb(0 0 0 / .15)}.hr-stat-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#4f46e5,#7c3aed)}.hr-card-blue::before{background:linear-gradient(90deg,#3b82f6,#1d4ed8)}.hr-card-green::before{background:linear-gradient(90deg,#10b981,#059669)}.hr-card-purple::before{background:linear-gradient(90deg,#8b5cf6,#7c3aed)}.hr-card-orange::before{background:linear-gradient(90deg,#f59e0b,#d97706)}.hr-stat-icon{font-size:48px;width:80px;height:80px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f8fafc,#e2e8f0);border-radius:20px}.hr-stat-content h3{font-size:36px;font-weight:800;color:#1a202c;margin-bottom:5px}.hr-stat-content p{color:#718096;font-weight:500;font-size:14px}.hr-main-content{display:flex;flex-direction:column;gap:40px}.hr-content-section{background:#fff;border-radius:16px;padding:30px;box-shadow:0 8px 30px rgb(0 0 0 / .08)}.hr-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;padding-bottom:15px;border-bottom:2px solid #f1f5f9}.hr-section-header h2{font-size:24px;font-weight:700;color:#1a202c;display:flex;align-items:center;gap:10px}.hr-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.hr-business-card,.hr-branch-card{background:linear-gradient(135deg,#f8fafc 0%,#ffffff 100%);border:2px solid #e2e8f0;border-radius:12px;padding:25px;text-align:center;transition:all 0.3s ease;position:relative;overflow:hidden}.hr-business-card:hover,.hr-branch-card:hover{transform:translateY(-8px);box-shadow:0 20px 40px rgb(0 0 0 / .1);border-color:#4f46e5}.hr-business-icon,.hr-branch-icon{font-size:48px;margin-bottom:15px;height:80px;display:flex;align-items:center;justify-content:center}.hr-business-card h3,.hr-branch-card h3{font-size:20px;font-weight:700;color:#1a202c;margin-bottom:8px}.hr-business-card p,.hr-branch-card p{color:#718096;margin-bottom:15px;font-size:14px}.hr-card-actions{display:flex;gap:10px;justify-content:center;margin-top:15px}.hr-status{display:inline-block;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.hr-status-active{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.hr-status-draft{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.hr-rota-controls{display:flex;align-items:center;gap:15px}.hr-current-week{font-weight:600;font-size:16px;background:linear-gradient(135deg,#f1f5f9,#e2e8f0);padding:10px 20px;border-radius:25px;color:#4a5568}.hr-rota-table{overflow-x:auto;background:#fff;border-radius:12px;box-shadow:0 4px 20px rgb(0 0 0 / .08);margin-top:20px}.hr-rota-table table{width:100%;border-collapse:collapse;font-size:13px}.hr-rota-table th{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;padding:15px 10px;text-align:center;font-weight:600;font-size:12px}.hr-employee-col{min-width:150px;text-align:left!important}.hr-day-col{min-width:120px}.hr-employee-name{padding:15px;background:#f8fafc;border-right:3px solid #e2e8f0}.hr-employee-info strong{display:block;font-weight:600;color:#1a202c;margin-bottom:2px}.hr-employee-info small{color:#718096;font-size:11px;text-transform:uppercase;letter-spacing:.5px}.hr-shift-cell{padding:8px;text-align:center;background:#fff;border-bottom:1px solid #f1f5f9;display:flex;flex-direction:column;gap:5px}.hr-time-input{border:2px solid #e2e8f0;border-radius:6px;padding:8px;font-size:12px;text-align:center;transition:all 0.3s ease}.hr-time-input:focus{border-color:#4f46e5;outline:none;box-shadow:0 0 0 3px rgb(79 70 229 / .1)}.hr-time-input:not(:placeholder-shown){background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-color:#0284c7}.hr-shift-hours{font-size:10px;color:#059669;font-weight:600;background:linear-gradient(135deg,#d1fae5,#a7f3d0);padding:2px 6px;border-radius:4px;text-align:center;margin-top:4px}.hr-editing{background:linear-gradient(135deg,#fef3c7,#fde68a)!important;box-shadow:0 0 0 2px #f59e0b!important}.hr-error{border-color:#ef4444!important;background:#fef2f2!important}.hr-staff-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.hr-staff-card{background:#fff;border:2px solid #f1f5f9;border-radius:12px;padding:20px;display:flex;align-items:center;gap:15px;transition:all 0.3s ease}.hr-staff-card:hover{border-color:#4f46e5;transform:translateY(-3px);box-shadow:0 10px 30px rgb(0 0 0 / .1)}.hr-staff-avatar{font-size:36px;width:60px;height:60px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f8fafc,#e2e8f0);border-radius:50%}.hr-staff-info h4{font-size:16px;font-weight:600;color:#1a202c;margin-bottom:4px}.hr-staff-info p{color:#718096;font-size:13px;margin-bottom:8px}.hr-staff-schedule{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.hr-schedule-day{background:linear-gradient(135deg,#ffffff,#f8fafc);border:2px solid #e2e8f0;border-radius:12px;padding:20px;transition:all 0.3s ease}.hr-schedule-day:hover{transform:translateY(-5px);box-shadow:0 15px 35px rgb(0 0 0 / .1);border-color:#4f46e5}.hr-no-shift{opacity:.6;background:linear-gradient(135deg,#f9fafb,#f3f4f6)}.hr-day-header{text-align:center;margin-bottom:15px;padding-bottom:10px;border-bottom:2px solid #f1f5f9}.hr-day-header h3{font-size:18px;font-weight:700;color:#1a202c;margin-bottom:4px}.hr-date{color:#718096;font-size:14px;font-weight:500}.hr-shift-time{font-size:20px;font-weight:700;color:#4f46e5;margin-bottom:8px;text-align:center}.hr-shift-location{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);color:#0284c7;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:600;text-align:center;margin-bottom:8px}.hr-shift-hours{color:#718096;font-size:14px;text-align:center}.hr-no-shift-text{text-align:center;color:#9ca3af;font-style:italic;font-size:16px;padding:20px}.hr-activity-item{display:flex;align-items:flex-start;gap:15px;padding:20px;background:linear-gradient(135deg,#f8fafc,#ffffff);border-radius:12px;margin-bottom:15px;border-left:4px solid #e2e8f0;transition:all 0.3s ease}.hr-activity-item:hover{border-left-color:#4f46e5;transform:translateX(5px);box-shadow:0 8px 25px rgb(0 0 0 / .08)}.hr-activity-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:16px}.hr-icon-success{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.hr-icon-info{background:linear-gradient(135deg,#3b82f6,#1d4ed8);color:#fff}.hr-activity-content strong{display:block;font-weight:600;color:#1a202c;margin-bottom:4px}.hr-activity-content p{color:#718096;margin-bottom:8px;font-size:14px}.hr-activity-content small{color:#9ca3af;font-size:12px}.hr-login-required{text-align:center;padding:60px 20px;background:#fff;border-radius:16px;max-width:500px;margin:100px auto;box-shadow:0 20px 40px rgb(0 0 0 / .1)}.hr-login-required h2{font-size:28px;color:#1a202c;margin-bottom:15px}.hr-login-required p{color:#718096;margin-bottom:30px;font-size:16px}.hr-toast{position:fixed;top:20px;right:20px;background:#4f46e5;color:#fff;padding:15px 20px;border-radius:8px;box-shadow:0 8px 25px rgb(0 0 0 / .2);z-index:10000;transform:translateX(400px);transition:transform 0.3s ease;font-weight:500}.hr-toast-show{transform:translateX(0)}.hr-toast-success{background:linear-gradient(135deg,#10b981,#059669)}.hr-toast-error{background:linear-gradient(135deg,#ef4444,#dc2626)}.hr-toast-info{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.hr-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgb(0 0 0 / .5);z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px}.hr-modal{background:#fff;border-radius:16px;max-width:500px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 40px rgb(0 0 0 / .2)}.hr-modal-header{padding:25px 30px 20px;border-bottom:2px solid #f1f5f9;display:flex;justify-content:space-between;align-items:center}.hr-modal-header h3{font-size:24px;font-weight:700;color:#1a202c}.hr-modal-close{background:none;border:none;font-size:24px;cursor:pointer;color:#718096;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all 0.3s ease}.hr-modal-close:hover{background:#f1f5f9;color:#1a202c}.hr-modal-content{padding:25px 30px 30px}.hr-form-group{margin-bottom:20px}.hr-form-group label{display:block;margin-bottom:8px;font-weight:600;color:#374151}.hr-form-group input,.hr-form-group select,.hr-form-group textarea{width:100%;padding:12px 16px;border:2px solid #e5e7eb;border-radius:8px;font-size:14px;transition:all 0.3s ease}.hr-form-group input:focus,.hr-form-group select:focus,.hr-form-group textarea:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px rgb(79 70 229 / .1)}.hr-form-actions{display:flex;gap:15px;justify-content:flex-end;margin-top:30px;padding-top:20px;border-top:2px solid #f1f5f9}@media (max-width:768px){.hr-dashboard{padding:15px;border-radius:0}.hr-header{flex-direction:column;gap:15px;text-align:center;padding:20px}.hr-header h1{font-size:24px}.hr-stats-grid{grid-template-columns:1fr;gap:15px}.hr-stat-card{padding:20px}.hr-stat-icon{font-size:36px;width:60px;height:60px}.hr-section-header{flex-direction:column;gap:15px;align-items:stretch}.hr-rota-controls{flex-direction:column;gap:10px}.hr-cards-grid{grid-template-columns:1fr}.hr-staff-schedule{grid-template-columns:1fr}.hr-rota-table{font-size:11px}.hr-time-input{padding:6px;font-size:11px}.hr-modal{margin:10px;max-width:none;width:calc(100% - 20px)}.hr-modal-header,.hr-modal-content{padding:20px}.hr-form-actions{flex-direction:column}.hr-form-actions .hr-btn{width:100%;margin-bottom:10px}}@media (max-width:480px){.hr-user-info{flex-direction:column;gap:10px}.hr-stat-content h3{font-size:28px}.hr-employee-col{min-width:120px}.hr-day-col{min-width:100px}.hr-form-group input,.hr-form-group select,.hr-form-group textarea{font-size:16px}}