.login-container{display:flex;height:100vh;width:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;position:relative;overflow:hidden;background:linear-gradient(180deg,#f0f4ff,#e0e7ff)}.geometric-bg{position:absolute;width:100%;height:100%;z-index:0;pointer-events:none}.shape{position:absolute;background:linear-gradient(135deg,#16a34a,#9333ea,#2563eb);opacity:.8;transition:transform .5s ease,opacity .5s ease;pointer-events:auto;box-shadow:0 8px 20px #0000004d,0 4px 10px #0003}.shape:hover{opacity:.45;transform:scale(1.2) rotate(15deg)}.shape-1{width:250px;height:250px;border-radius:50%;top:5%;left:5%;animation:float 7s infinite ease-in-out}.shape-2{width:180px;height:180px;clip-path:polygon(50% 0%,100% 50%,50% 100%,0% 50%);bottom:5%;left:95%;animation:float 11s infinite ease-in-out 1s}.shape-3{width:160px;height:160px;clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);top:30%;left:90%;animation:float 13s infinite ease-in-out 3s}.shape-4{width:200px;height:200px;border-radius:25px;transform:rotate(30deg);bottom:15%;left:10%;animation:float 15s infinite ease-in-out 5s}.shape-5{width:140px;height:140px;border-radius:50%;top:45%;left:20%;animation:float 10s infinite ease-in-out 2s}.shape-6{width:170px;height:170px;clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);bottom:30%;left:30%;animation:float 12s infinite ease-in-out 4s}.shape-7{width:150px;height:150px;clip-path:polygon(50% 0%,100% 50%,50% 100%,0% 50%);top:60%;left:40%;animation:float 14s infinite ease-in-out 6s}.shape-8{width:190px;height:190px;border-radius:50%;bottom:10%;left:50%;animation:float 16s infinite ease-in-out 8s}.shape-9{width:120px;height:120px;clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);top:50%;left:60%;animation:float-horizontal 11s infinite ease-in-out 0s}.shape-10{width:160px;height:160px;border-radius:25px;transform:rotate(30deg);top:70%;left:70%;animation:float-horizontal 13s infinite ease-in-out 2s}.shape-11{width:130px;height:130px;clip-path:polygon(50% 0%,83% 12%,100% 43%,94% 78%,68% 100%,32% 100%,6% 78%,0% 43%,17% 12%);top:20%;left:80%;animation:float 9s infinite ease-in-out 4s}.shape-12{width:110px;height:110px;border-radius:50% 20%/10% 40%;bottom:20%;left:85%;animation:float-horizontal 15s infinite ease-in-out 6s}@keyframes float{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-30px) rotate(15deg)}}@keyframes float-horizontal{0%,to{transform:translate(0) rotate(0)}50%{transform:translate(-25px) rotate(15deg)}}.login-left-panel{flex:1;background:linear-gradient(135deg,#1e3a8a,#3b82f6);color:#fff;padding:2rem;display:flex;flex-direction:column;justify-content:space-between;position:relative;z-index:1;min-width:0}.login-left-panel:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.2) 0%,transparent 30%);z-index:-1}.login-brand{margin-bottom:1.5rem}.logo-container{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.logo-icon{width:56px;height:56px;background:#ffffff40;border-radius:12px;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px #0003}.login-brand h1{font-size:2rem;font-weight:800;margin-bottom:.5rem}.login-brand h2{font-size:1.4rem;font-weight:600;margin-bottom:.8rem;opacity:.95}.login-brand p{font-size:1rem;opacity:.9}.login-features{display:flex;flex-direction:column;gap:1.2rem;margin-bottom:1.5rem}.feature-item{display:flex;align-items:center;gap:1rem;padding:.8rem;background:#ffffff26;border-radius:10px;border:1px solid rgba(255,255,255,.2);transition:transform .3s ease,background .3s ease}.feature-item:hover{transform:translateY(-3px);background:#fff3}.feature-icon{width:44px;height:44px;background:#fff3;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.feature-text h4{font-size:1rem;font-weight:600;margin-bottom:.2rem}.feature-text p{font-size:.9rem;opacity:.9}.management-badge{display:flex;align-items:center;gap:.75rem;padding:.6rem 1rem;background:#ffffff26;border-radius:8px;border:1px solid rgba(255,255,255,.2);font-size:.9rem;width:fit-content;margin-top:auto;margin-bottom:0}.login-form-container{flex:1;display:flex;align-items:center;justify-content:center;background:#fffc;padding:1.5rem;position:relative;z-index:1;min-width:0}.form-pattern{position:absolute;inset:0;z-index:0;opacity:.15}.pattern-circle{width:130px;height:130px;border-radius:50%;background:linear-gradient(135deg,#16a34a,#6433ea);top:5%;left:5%;animation:float 10s infinite ease-in-out 1s;box-shadow:0 6px 15px #00000040,0 3px 8px #00000026}.pattern-square{width:100px;height:100px;transform:rotate(30deg);background:linear-gradient(135deg,#2563eb,#9333ea);bottom:5%;left:95%;animation:float 12s infinite ease-in-out 3s;box-shadow:0 6px 15px #00000040,0 3px 8px #00000026}.pattern-triangle{width:0;height:0;border-left:70px solid transparent;border-right:70px solid transparent;border-bottom:110px solid #3b82f6;top:25%;left:90%;animation:float 14s infinite ease-in-out 5s}.pattern-hexagon{width:110px;height:110px;clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);top:15%;left:10%;animation:float 11s infinite ease-in-out 2s}.pattern-diamond{width:90px;height:90px;clip-path:polygon(50% 0%,100% 50%,50% 100%,0% 50%);bottom:15%;left:15%;animation:float 13s infinite ease-in-out 4s}.pattern-circle-2{width:150px;height:150px;border-radius:50%;top:35%;left:25%;animation:float-horizontal 9s infinite ease-in-out 0s}.pattern-triangle-2{width:0;height:0;border-left:60px solid transparent;border-right:60px solid transparent;border-bottom:90px solid #22c55e;bottom:5%;left:35%;animation:float-horizontal 15s infinite ease-in-out 6s}.pattern-hexagon-2{width:120px;height:120px;clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);top:45%;left:45%;animation:float 12s infinite ease-in-out 3s}.pattern-square-2{width:110px;height:110px;transform:rotate(30deg);bottom:25%;left:55%;animation:float-horizontal 14s infinite ease-in-out 5s}.pattern-diamond-2{width:80px;height:80px;clip-path:polygon(50% 0%,100% 50%,50% 100%,0% 50%);top:55%;left:65%;animation:float 16s infinite ease-in-out 7s}.pattern-star{width:100px;height:100px;clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);top:20%;left:75%;animation:float 10s infinite ease-in-out 4s}.pattern-ellipse{width:140px;height:80px;border-radius:50%;bottom:30%;left:85%;animation:float-horizontal 12s infinite ease-in-out 6s}.login-form{width:100%;max-width:420px;background:#fff;padding:2.5rem;border-radius:16px;box-shadow:0 15px 40px #0000001f;position:relative;z-index:2}.form-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.form-logo{width:50px;height:50px;background:linear-gradient(135deg,#047fbb,#ee2346);border-radius:12px;display:flex;align-items:center;justify-content:center}.login-header h2{font-size:1.8rem;font-weight:700;color:#1e293b;margin-bottom:.3rem}.login-header p{color:#475569;font-size:.95rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:#374151;font-size:.9rem}.input-with-icon{position:relative}.input-with-icon svg{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:#475569;width:22px;height:22px}.input-with-icon input{width:100%;padding:.8rem 1rem .8rem 2.8rem;border:1px solid #d1d5db;border-radius:10px;font-size:1rem;transition:all .3s ease}.input-with-icon input:focus{outline:none;border-color:#6b21a8;box-shadow:0 0 0 3px #6b21a81a}.form-options{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.remember-me{display:flex;align-items:center;gap:.5rem}.remember-me label{font-size:.9rem;color:#475569}.forgot-password{color:#6b21a8;text-decoration:none;font-size:.9rem}.forgot-password:hover{text-decoration:underline;color:#4c1d95}.login-button{width:100%;padding:.9rem;background:linear-gradient(to right,#047fbb,#ee2346);color:#fff;border:none;border-radius:10px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:.5rem}.login-button:hover{transform:translateY(-2px);box-shadow:0 8px 20px #6b21a840}.login-button:disabled{opacity:.65;cursor:not-allowed;transform:none}.login-button svg{width:22px;height:22px}.spinner{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.security-notice{display:flex;align-items:center;gap:.5rem;margin-top:1.5rem;padding:.8rem;background:#f8fafc;border-radius:8px;font-size:.85rem;color:#475569}.security-notice svg{width:18px;height:18px;color:#6b21a8}.error-message{background-color:#fee2e2;color:#dc2626;padding:.8rem;border-radius:8px;margin-bottom:1.5rem;font-size:.9rem;border-left:4px solid #dc2626;display:flex;align-items:center;gap:.5rem}.error-message svg{width:20px;height:20px}@media (max-width: 968px){.login-container{flex-direction:column;height:auto;min-height:100vh}.login-left-panel{padding:1.5rem;flex:0 0 auto}.login-form-container{padding:1rem;flex:0 0 auto}.shape-1,.shape-2,.shape-3,.shape-4,.shape-5,.shape-6,.shape-7,.shape-8,.shape-9,.shape-10,.shape-11,.shape-12{transform:scale(.8);opacity:.2}.pattern-circle,.pattern-square,.pattern-triangle,.pattern-hexagon,.pattern-diamond,.pattern-circle-2,.pattern-triangle-2,.pattern-hexagon-2,.pattern-square-2,.pattern-diamond-2,.pattern-star,.pattern-ellipse{transform:scale(.8)}.management-badge{margin-bottom:.5rem}}@media (max-width: 640px){.login-brand h1{font-size:1.6rem}.login-brand h2{font-size:1.2rem}.login-form{padding:2rem}.form-options{flex-direction:column;align-items:flex-start;gap:.75rem}.feature-item{flex-direction:column;text-align:center;padding:.75rem}.shape-5,.shape-6,.shape-7,.shape-8,.shape-9,.shape-10,.shape-11,.shape-12,.pattern-hexagon-2,.pattern-square-2,.pattern-diamond-2,.pattern-star,.pattern-ellipse{display:none}.shape-1,.shape-2,.shape-3,.shape-4,.pattern-circle,.pattern-square,.pattern-triangle,.pattern-hexagon,.pattern-diamond,.pattern-circle-2,.pattern-triangle-2{transform:scale(.6)}.management-badge{font-size:.85rem;padding:.5rem .8rem}}.login-with-bg{background-image:url(https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80);background-size:cover;background-position:center}.login-with-bg .login-left-panel{background:#047fbb}.login-with-bg .login-form-container{background:#fffffff2}.pattern-circle:hover,.pattern-square:hover,.pattern-triangle:hover,.pattern-hexagon:hover,.pattern-diamond:hover,.pattern-circle-2:hover,.pattern-triangle-2:hover,.pattern-hexagon-2:hover,.pattern-square-2:hover,.pattern-diamond-2:hover,.pattern-star:hover,.pattern-ellipse:hover{opacity:.6;transform:scale(1.15) rotate(10deg);box-shadow:0 10px 20px #00000059,0 5px 10px #00000040}.life-container{padding:20px;max-width:1400px;margin:0 auto}.life-header{text-align:center;margin-bottom:30px}.life-header h1{color:#2c3e50;margin-bottom:10px}.life-header p{color:#7f8c8d;font-size:16px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:30px}.stat-card{background:#fff;padding:20px;border-radius:12px;box-shadow:0 2px 10px #0000001a;display:flex;align-items:center;gap:15px}.stat-icon{font-size:2em}.stat-info h3{margin:0;font-size:1.8em;color:#2c3e50}.stat-info p{margin:5px 0 0;color:#7f8c8d}.filters-container{background:#fff;padding:20px;border-radius:12px;box-shadow:0 2px 10px #0000001a;margin-bottom:30px}.filters-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px}.filter-group label{display:block;margin-bottom:5px;font-weight:600;color:#2c3e50}.filter-group select{width:100%;padding:8px 12px;border:1px solid #ddd;border-radius:6px;background:#fff}.clear-filters{background:#e74c3c;color:#fff;border:none;padding:8px 16px;border-radius:6px;cursor:pointer}.main-content{display:grid;grid-template-columns:1fr 400px;gap:30px}.employee-list-container{background:#fff;border-radius:12px;box-shadow:0 2px 10px #0000001a;overflow:hidden}.section-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #eee}.count-badge{background:#3498db;color:#fff;padding:4px 12px;border-radius:20px;font-size:14px}.employee-scroll-container{max-height:600px;overflow-y:auto}.employee-card{display:flex;align-items:center;padding:15px 20px;border-bottom:1px solid #f8f9fa;cursor:pointer;transition:background-color .2s}.employee-card:hover{background:#f8f9fa}.employee-card.selected{background:#e3f2fd;border-left:4px solid #2196f3}.employee-avatar{width:40px;height:40px;background:#3498db;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;margin-right:15px}.employee-info{flex:1}.employee-info h4{margin:0 0 5px;color:#2c3e50}.employee-details{margin:0;font-size:14px;color:#7f8c8d}.employee-id{margin:0;font-size:12px;color:#bdc3c7}.life-points-section{display:flex;align-items:center;gap:15px}.life-points-display{text-align:center}.points{display:block;font-size:1.5em;font-weight:700;color:#27ae60}.points-label{font-size:12px;color:#7f8c8d}.points-controls{display:flex;gap:5px}.points-btn{width:30px;height:30px;border:none;border-radius:50%;cursor:pointer;font-weight:700;display:flex;align-items:center;justify-content:center}.points-btn.plus{background:#27ae60;color:#fff}.points-btn.minus{background:#e74c3c;color:#fff}.promo-manager{background:#fff;border-radius:12px;box-shadow:0 2px 10px #0000001a;padding:20px;height:fit-content}.promo-controls{margin-bottom:20px}.cutoff-section{margin-bottom:15px}.cutoff-slider{width:100%;margin:10px 0}.cutoff-value{display:block;text-align:center;font-weight:700;color:#27ae60}.scope-selector{margin-bottom:15px}.scope-selector label{display:block;margin-bottom:8px;cursor:pointer}.generate-btn{width:100%;background:#9b59b6;color:#fff;border:none;padding:12px;border-radius:6px;font-size:16px;cursor:pointer}.generate-btn:disabled{background:#bdc3c7;cursor:not-allowed}.promo-result{background:#f8f9fa;padding:15px;border-radius:8px;margin-top:20px}.promo-code-display{background:#fff;padding:15px;border:2px dashed #3498db;border-radius:8px;text-align:center;font-size:1.5em;font-weight:700;color:#2c3e50;margin:10px 0}.eligible-list{margin-top:20px}.eligible-scroll{max-height:200px;overflow-y:auto}.eligible-item{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #eee}.points-badge{background:#27ae60;color:#fff;padding:2px 8px;border-radius:12px;font-size:12px}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:200px}.spinner{border:4px solid #f3f3f3;border-top:4px solid #3498db;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite;margin-bottom:10px}@media (max-width: 1024px){.main-content{grid-template-columns:1fr}}@media (max-width: 768px){.stats-grid{grid-template-columns:repeat(2,1fr)}.filter-grid{grid-template-columns:1fr}}.employee-list-container{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;height:100%;display:flex;flex-direction:column}.section-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e9ecef}.section-header h2{margin:0;color:#2c3e50}.count-badge{background:#007bff;color:#fff;padding:.25rem .75rem;border-radius:20px;font-size:.875rem;font-weight:500}.employee-scroll-container{flex:1;overflow-y:auto;padding:1rem}.employee-card{display:flex;align-items:center;padding:1rem;border:2px solid transparent;border-radius:8px;margin-bottom:1rem;cursor:pointer;transition:all .3s ease;background:#f8f9fa;gap:1rem}.employee-card:hover{background:#e9ecef;transform:translateY(-2px);box-shadow:0 2px 4px #0000001a}.employee-card.selected{border-color:#007bff;background:#e3f2fd}.employee-avatar{width:50px;height:50px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:1.2rem;flex-shrink:0}.employee-info{flex:1;min-width:0}.employee-info h4{margin:0 0 .25rem;color:#2c3e50;font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.employee-details{margin:0 0 .125rem;font-size:.875rem;color:#495057;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.employee-id{margin:0;font-size:.8rem;color:#6c757d}.points-section{display:flex;flex-direction:column;gap:.75rem;min-width:200px}.points-group{display:flex;align-items:center;justify-content:space-between;padding:.5rem;border-radius:8px;border:1px solid #e9ecef}.points-display{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem}.points-label{font-size:.75rem;font-weight:600;color:#495057}.points-value{font-size:1.1rem;font-weight:700;padding:.25rem .5rem;border-radius:6px;transition:all .3s ease}.points-value.pending{background:#fff3cd!important;color:#856404!important;border:1px solid #ffeaa7!important}.red-points{background:#fff5f5}.red-points .points-value{background:#ffe6e6;color:#dc3545;border:1px solid #f5c6cb}.green-points{background:#f8fff8}.green-points .points-value{background:#e6ffe6;color:#28a745;border:1px solid #c3e6cb}.points-controls{display:flex;gap:.25rem}.points-btn{width:32px;height:32px;border:none;border-radius:6px;font-size:1rem;font-weight:700;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.points-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.points-btn.minus{background:#ffe6e6;color:#dc3545;border:1px solid #f5c6cb}.points-btn.minus:hover:not(:disabled){background:#f8d7da;transform:scale(1.1)}.points-btn.plus{background:#e6ffe6;color:#28a745;border:1px solid #c3e6cb}.points-btn.plus:hover:not(:disabled){background:#d4edda;transform:scale(1.1)}.adjustment-actions{background:#f8f9fa;padding:.75rem;border-radius:8px;border:1px solid #e9ecef;margin-top:.5rem}.reason-input{margin-bottom:.75rem}.reason-input-field{width:100%;padding:.5rem;border:1px solid #ced4da;border-radius:4px;font-size:.875rem}.reason-input-field:focus{outline:none;border-color:#007bff}.action-buttons{display:flex;gap:.5rem;justify-content:flex-end}.cancel-btn{padding:.5rem 1rem;border:1px solid #6c757d;border-radius:4px;background:#fff;color:#6c757d;font-size:.875rem;cursor:pointer;transition:all .2s ease}.save-btn{padding:.5rem 1rem;border:none;border-radius:4px;background:#007bff;color:#fff;font-size:.875rem;cursor:pointer;transition:all .2s ease}.save-btn:hover:not(:disabled){background:#0056b3}.save-btn:disabled{background:#6c757d;cursor:not-allowed}@media (max-width: 768px){.employee-card{flex-direction:column;text-align:center;gap:1rem}.points-section{width:100%;min-width:auto}.points-group{flex-direction:column;gap:.5rem}.points-display{align-items:center}}.adjustment-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.adjustment-modal{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 10px 25px #0003;width:90%;max-width:500px;max-height:80vh;overflow-y:auto}.adjustment-modal h3{margin:0 0 1rem;color:#2c3e50;font-size:1.5rem}.adjustment-modal p{margin:0 0 .5rem;color:#495057;font-weight:500}.modal-form{margin-top:1.5rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#495057}.points-input{width:100%;padding:.75rem;border:2px solid #e9ecef;border-radius:6px;font-size:1rem}.points-input:focus{outline:none;border-color:#007bff}.reason-textarea{width:100%;padding:.75rem;border:2px solid #e9ecef;border-radius:6px;font-size:1rem;font-family:inherit;resize:vertical;min-height:80px}.reason-textarea:focus{outline:none;border-color:#007bff}.preview{background:#f8f9fa;padding:1rem;border-radius:6px;border:1px solid #e9ecef;margin-bottom:1.5rem;color:#495057}.modal-actions{display:flex;gap:1rem;justify-content:flex-end}.cancel-btn{padding:.75rem 1.5rem;border:2px solid #6c757d;border-radius:6px;background:#fff;color:#6c757d;font-weight:600;cursor:pointer;transition:all .2s ease}.cancel-btn:hover{background:#6c757d;color:#fff}.save-btn{padding:.75rem 1.5rem;border:none;border-radius:6px;background:#007bff;color:#fff;font-weight:600;cursor:pointer;transition:all .2s ease}.save-btn:hover:not(:disabled){background:#0056b3;transform:translateY(-1px)}.save-btn:disabled{background:#6c757d;cursor:not-allowed;transform:none}.points-btn{width:40px;height:40px;border:none;border-radius:6px;font-size:1.2rem;font-weight:700;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.points-btn.decrease{background:#ffe6e6;color:#dc3545;border:1px solid #f5c6cb}.points-btn.decrease:hover{background:#f8d7da;transform:scale(1.1)}.points-btn.increase{background:#e6ffe6;color:#28a745;border:1px solid #c3e6cb}.points-btn.increase:hover{background:#d4edda;transform:scale(1.1)}.employee-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.25rem}.history-icon{background:none;border:none;font-size:1.2rem;cursor:pointer;padding:.25rem;border-radius:50%;transition:all .2s ease}.history-icon:hover{background:#e9ecef;transform:scale(1.1)}.history-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.history-modal{background:#fff;padding:0;border-radius:12px;box-shadow:0 10px 25px #0003;width:90%;max-width:600px;max-height:80vh;overflow:hidden}.history-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e9ecef;background:#f8f9fa}.history-header h3{margin:0;color:#2c3e50}.close-btn{background:none;border:none;font-size:1.5rem;cursor:pointer;padding:.25rem;border-radius:4px;transition:all .2s ease}.close-btn:hover{background:#e9ecef}.history-content{padding:1.5rem;max-height:60vh;overflow-y:auto}.loading-history{text-align:center;padding:2rem;color:#6c757d}.loading-history .spinner{width:30px;height:30px;border:3px solid #e9ecef;border-left:3px solid #007bff;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.history-list{display:flex;flex-direction:column;gap:1rem}.history-item{display:flex;gap:1rem;padding:1rem;border:1px solid #e9ecef;border-radius:8px;background:#f8f9fa}.history-points{flex-shrink:0}.point-change{font-weight:700;padding:.5rem .75rem;border-radius:20px;font-size:.9rem}.point-change.red{background:#ffe6e6;color:#dc3545}.point-change.green{background:#e6ffe6;color:#28a745}.history-details{flex:1}.history-reason{margin:0 0 .5rem;color:#495057;font-weight:500}.history-date{margin:0 0 .25rem;font-size:.8rem;color:#6c757d}.history-changed-by{margin:0;font-size:.8rem;color:#6c757d;font-style:italic}.no-history{text-align:center;padding:2rem;color:#6c757d}.adjustment-modal-overlay,.history-modal-overlay{z-index:1000}.promo-manager{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 4px 6px #0000001a;height:100%;display:flex;flex-direction:column}.section-header h2{margin:0 0 1.5rem;color:#2c3e50;border-bottom:2px solid #e9ecef;padding-bottom:.5rem}.promo-controls{display:flex;flex-direction:column;gap:1.5rem;margin-bottom:1.5rem}.cutoff-section{display:flex;flex-direction:column;gap:.5rem}.cutoff-section label{font-weight:600;color:#495057}.cutoff-control{display:flex;align-items:center;gap:1rem}.cutoff-slider{flex:1;height:6px;border-radius:3px;background:#e9ecef;outline:none}.cutoff-slider::-webkit-slider-thumb{appearance:none;width:20px;height:20px;border-radius:50%;background:#28a745;cursor:pointer}.cutoff-slider::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#28a745;cursor:pointer;border:none}.cutoff-value{font-weight:600;color:#28a745;min-width:80px}.cutoff-section small{color:#6c757d;font-size:.8rem}.scope-selector{display:flex;flex-direction:column;gap:.75rem}.radio-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;padding:.5rem;border-radius:6px;transition:background-color .2s ease}.radio-label:hover{background:#f8f9fa}.radio-label input[type=radio]{margin:0}.radio-text{font-weight:500;color:#495057}.generate-btn{padding:1rem 1.5rem;border:none;border-radius:8px;background:linear-gradient(135deg,#28a745,#20c997);color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.generate-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 8px #28a7454d}.generate-btn:disabled{background:#6c757d;cursor:not-allowed;transform:none;box-shadow:none}.promo-result{background:#f8fff9;border:1px solid #c3e6cb;border-radius:8px;padding:1.5rem;margin-bottom:1.5rem}.promo-result h3{margin:0 0 1rem;color:#155724}.promo-code-display{font-size:2rem;font-weight:700;text-align:center;color:#155724;background:#fff;padding:1rem;border-radius:8px;border:2px dashed #28a745;margin-bottom:1rem;font-family:Courier New,monospace}.promo-info{margin:0;color:#155724;text-align:center}.eligible-list{flex:1;display:flex;flex-direction:column}.eligible-list h4{margin:0 0 1rem;color:#495057;font-size:1rem}.eligible-scroll{flex:1;overflow-y:auto;border:1px solid #e9ecef;border-radius:8px;padding:.5rem}.eligible-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;border-bottom:1px solid #f8f9fa;transition:background-color .2s ease}.eligible-item:hover{background:#f8f9fa}.eligible-item:last-child{border-bottom:none}.employee-info{display:flex;flex-direction:column;gap:.25rem}.employee-name{font-weight:600;color:#495057}.employee-details{font-size:.8rem;color:#6c757d}.points-badge{background:#e6ffe6;color:#28a745;padding:.25rem .75rem;border-radius:20px;font-weight:600;font-size:.875rem;border:1px solid #c3e6cb}.no-eligible{text-align:center;padding:2rem;color:#6c757d;font-style:italic}.App{min-height:100vh;width:100%}:root{font-family:Inter,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#1e293b;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,sans-serif;background-color:#f8fafc;color:#1e293b;margin:0;min-height:100vh}#root{width:100%;min-height:100vh}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#f1f5f9}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}
