:root{--primary-blue: #1e3a5f;--secondary-cyan: #00b9e4;--accent-cyan: #5bc0de;--text-dark: #1a202c;--text-gray: #718096;--bg-white: #ffffff;--bg-light: #f7fafc;--shadow-sm: 0 2px 8px rgba(0, 0, 0, .08);--shadow-md: 0 4px 16px rgba(0, 0, 0, .12);--shadow-lg: 0 8px 32px rgba(0, 0, 0, .16);--gradient-primary: linear-gradient(135deg, #96b0d1 0%, #2c4a6e 50%, #3d5a7e 100%);--gradient-accent: linear-gradient(135deg, #00b9e4 0%, #5bc0de 100%)}body{font-family:Segoe UI,Inter,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--text-dark);background:var(--bg-light);overflow-x:hidden}.home-container{width:100%;overflow-x:hidden}.home-navbar{position:fixed;top:0;left:0;right:0;z-index:1000;padding:1.5rem 2rem;transition:all .3s ease;background:transparent}.home-navbar.scrolled{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:var(--shadow-md);padding:1rem 2rem}.navbar-content{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between}.navbar-brand{display:flex;align-items:center;gap:1rem}.navbar-logo{height:50px;width:auto;object-fit:contain}.navbar-brand-text{font-size:1.5rem;font-weight:800;color:var(--primary-blue)}.navbar-menu{display:flex;align-items:center;gap:2.5rem;list-style:none}.nav-link{color:var(--text-dark);text-decoration:none;font-weight:600;font-size:1rem;transition:color .2s ease;position:relative}.nav-link:after{content:"";position:absolute;bottom:-4px;left:0;width:0;height:2px;background:var(--primary-blue);transition:width .3s ease}.nav-link:hover{color:var(--primary-blue)}.nav-link:hover:after{width:100%}.navbar-login-btn{display:flex;align-items:center;gap:.5rem;background:var(--gradient-accent);color:#fff;padding:.75rem 1.75rem;border-radius:30px;border:none;font-weight:600;font-size:1rem;cursor:pointer;box-shadow:var(--shadow-sm);transition:all .3s ease}.navbar-login-btn:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.btn-icon{font-size:1.2rem}.hero-section-modern{min-height:100vh;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;padding:8rem 2rem 4rem}.hero-background{position:absolute;inset:0;z-index:0}.hero-gradient{position:absolute;inset:0;background:var(--gradient-primary)}.hero-pattern{position:absolute;inset:0;background-image:radial-gradient(circle at 25px 25px,rgba(255,255,255,.2) 2%,transparent 0%),radial-gradient(circle at 75px 75px,rgba(255,255,255,.2) 2%,transparent 0%);background-size:100px 100px;opacity:.3}.hero-content-wrapper{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center;position:relative;z-index:1}.hero-text-content{color:#fff}.hero-badge{display:inline-flex;align-items:center;gap:.75rem;background:#fff3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:.5rem 1.25rem;border-radius:30px;font-weight:600;font-size:.875rem;margin-bottom:2rem;border:1px solid rgba(255,255,255,.3);animation:fadeInDown .8s ease-out}.badge-pulse{width:8px;height:8px;background:#4ade80;border-radius:50%;animation:pulse 2s ease-in-out infinite}.hero-title-modern{font-size:3.5rem;font-weight:900;line-height:1.1;margin-bottom:1.5rem;animation:fadeInUp .8s ease-out .2s both}.hero-title-highlight{display:block;background:var(--gradient-accent);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.hero-description-modern{font-size:1.25rem;line-height:1.7;margin-bottom:2.5rem;opacity:.95;animation:fadeInUp .8s ease-out .4s both}.hero-cta-group{display:flex;gap:1.5rem;margin-bottom:3rem;animation:fadeInUp .8s ease-out .6s both}.hero-btn-primary{display:inline-flex;align-items:center;gap:.75rem;background:#fff;color:var(--primary-blue);padding:1rem 2.5rem;border-radius:30px;font-weight:700;font-size:1.125rem;text-decoration:none;box-shadow:var(--shadow-lg);transition:all .3s ease}.hero-btn-primary:hover{transform:translateY(-4px);box-shadow:0 12px 40px #00000040}.hero-btn-secondary{display:inline-flex;align-items:center;gap:.75rem;background:#ffffff26;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;padding:1rem 2.5rem;border-radius:30px;font-weight:700;font-size:1.125rem;text-decoration:none;border:2px solid rgba(255,255,255,.3);transition:all .3s ease}.hero-btn-secondary:hover{background:#ffffff40;transform:translateY(-2px)}.hero-stats{display:flex;align-items:center;gap:2rem;animation:fadeInUp .8s ease-out .8s both}.stat-item{text-align:center}.stat-number{font-size:2.5rem;font-weight:900;display:block;margin-bottom:.25rem}.stat-label{font-size:.875rem;opacity:.9}.stat-divider{width:1px;height:40px;background:#ffffff4d}.hero-image-content{position:relative;animation:fadeInRight .8s ease-out .4s both}.hero-image-wrapper{position:relative;border-radius:24px;overflow:hidden}.image-glow{position:absolute;inset:-20px;background:radial-gradient(circle,rgba(255,255,255,.3) 0%,transparent 70%);z-index:-1;filter:blur(40px)}.hero-main-image{width:100%;height:auto;border-radius:24px;box-shadow:0 20px 60px #0000004d}.floating-card{position:absolute;background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1rem 1.5rem;border-radius:16px;box-shadow:var(--shadow-lg);display:flex;align-items:center;gap:1rem;animation:float 3s ease-in-out infinite}.card-1{top:10%;left:-10%;animation-delay:0s}.card-2{bottom:15%;right:-10%;animation-delay:1.5s}.card-icon{font-size:2rem}.card-title{font-weight:700;color:var(--text-dark);font-size:.875rem}.card-subtitle{font-size:.75rem;color:var(--text-gray)}.services-section-modern{padding:6rem 2rem;background:#fff}.section-header-modern{text-align:center;margin-bottom:4rem}.section-badge{display:inline-block;background:linear-gradient(135deg,#00b9e426,#5bc0de26);color:var(--secondary-cyan);padding:.5rem 1.25rem;border-radius:30px;font-weight:600;font-size:.875rem;margin-bottom:1rem}.section-title-modern{font-size:2.75rem;font-weight:900;color:var(--text-dark);margin-bottom:1rem}.section-description-modern{font-size:1.125rem;color:var(--text-gray);max-width:700px;margin:0 auto;line-height:1.7}.services-grid-modern{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:2.5rem;max-width:1200px;margin:0 auto}.service-card-modern{background:#fff;border-radius:24px;padding:2.5rem;box-shadow:var(--shadow-md);transition:all .3s ease;border:2px solid #e2e8f0;position:relative;overflow:hidden}.service-card-modern:hover{transform:translateY(-10px);box-shadow:var(--shadow-lg);border-color:var(--primary-blue)}.service-card-modern.featured{border-color:var(--secondary-cyan);background:linear-gradient(135deg,#00b9e40d,#fff)}.featured-badge{position:absolute;top:20px;right:-30px;background:var(--gradient-accent);color:#fff;padding:.4rem 2.5rem;font-weight:700;font-size:.75rem;transform:rotate(45deg);box-shadow:var(--shadow-sm)}.service-icon-wrapper{position:relative;width:80px;height:80px;margin:0 auto 1.5rem;display:flex;align-items:center;justify-content:center}.service-icon-bg{position:absolute;inset:0;background:var(--gradient-accent);border-radius:20px;opacity:.15}.service-icon{color:var(--secondary-cyan);position:relative;z-index:1}.service-title-modern{font-size:1.5rem;font-weight:700;color:var(--text-dark);margin-bottom:1rem;text-align:center}.service-description-modern{color:var(--text-gray);line-height:1.7;margin-bottom:1.5rem;text-align:center}.service-features{list-style:none;margin-bottom:1.5rem}.service-features li{display:flex;align-items:center;gap:.75rem;padding:.5rem 0;color:var(--text-gray);font-size:.95rem}.service-features svg{color:var(--secondary-cyan);flex-shrink:0}.service-link{display:inline-flex;align-items:center;gap:.5rem;color:var(--secondary-cyan);text-decoration:none;font-weight:600;transition:all .2s ease}.service-link:hover{gap:.75rem}.promotions-section-modern{padding:6rem 2rem;background:linear-gradient(135deg,#f7fafc,#edf2f7)}.promotions-grid-modern{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:3rem;max-width:1200px;margin:3rem auto 0}.promotion-card-modern{background:#fff;border-radius:24px;overflow:hidden;box-shadow:var(--shadow-lg);transition:all .3s ease;position:relative}.promotion-card-modern:hover{transform:translateY(-10px) scale(1.02);box-shadow:0 20px 60px #0003}.promotion-ribbon{position:absolute;top:20px;right:-35px;background:linear-gradient(135deg,#ff6b6b,#ee5a6f);color:#fff;padding:.5rem 3rem;font-weight:700;font-size:.875rem;transform:rotate(45deg);box-shadow:var(--shadow-sm);z-index:10}.promotion-image-wrapper{position:relative;height:280px;background:var(--gradient-primary);display:flex;align-items:center;justify-content:center;overflow:hidden}.promotion-image-modern{width:100%;height:100%;object-fit:contain;padding:1rem}.promotion-content{padding:2rem}.promotion-title{font-size:1.75rem;font-weight:800;color:var(--text-dark);margin-bottom:.75rem}.promotion-description{color:var(--text-gray);margin-bottom:1.5rem;line-height:1.6}.promotion-price{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap}.price-old{font-size:1.25rem;color:var(--text-gray);text-decoration:line-through}.price-current{font-size:2.5rem;font-weight:900;color:var(--secondary-cyan)}.price-period{font-size:1rem;color:var(--text-gray)}.promotion-btn-modern{display:inline-flex;align-items:center;justify-content:center;gap:.75rem;background:linear-gradient(135deg,#25d366,#128c7e);color:#fff;padding:1rem 2rem;border-radius:16px;font-weight:700;font-size:1.125rem;text-decoration:none;width:100%;transition:all .3s ease;box-shadow:var(--shadow-sm)}.promotion-btn-modern:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)}.about-section-modern{padding:6rem 2rem;background:#fff}.about-content-wrapper{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}.about-image-side{position:relative}.about-image-card{background:linear-gradient(135deg,#1e3a5f1a,#00b9e41a);padding:3rem;border-radius:24px;text-align:center;box-shadow:var(--shadow-md)}.about-logo{width:100%;max-width:300px;height:auto}.about-stats-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-top:2rem}.stat-card{background:#fff;padding:1.5rem;border-radius:16px;text-align:center;box-shadow:var(--shadow-md);border:2px solid #e2e8f0;transition:all .3s ease}.stat-card:hover{border-color:var(--primary-blue);transform:translateY(-4px)}.stat-card-icon{font-size:2rem;margin-bottom:.5rem}.stat-card-number{font-size:2rem;font-weight:900;color:var(--secondary-cyan);margin-bottom:.25rem}.stat-card-label{font-size:.875rem;color:var(--text-gray)}.about-text-side{text-align:left}.about-paragraph{font-size:1.125rem;color:var(--text-gray);line-height:1.8;margin-bottom:1.5rem}.about-features-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-top:2rem}.about-feature{display:flex;gap:1rem;padding:1.5rem;background:linear-gradient(135deg,#f7fafc,#fff);border-radius:16px;border:2px solid #e2e8f0;transition:all .3s ease}.about-feature:hover{border-color:var(--primary-blue);transform:translateY(-4px);box-shadow:var(--shadow-md)}.about-feature-icon{width:40px;height:40px;background:var(--gradient-accent);color:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:700;flex-shrink:0}.about-feature-text h4{font-size:1.125rem;font-weight:700;color:var(--text-dark);margin-bottom:.25rem}.about-feature-text p{font-size:.875rem;color:var(--text-gray);margin:0}.contact-section-modern{padding:6rem 2rem;background:var(--gradient-primary);color:#fff}.contact-section-modern .section-badge{background:#fff3;color:#fff}.contact-section-modern .section-title-modern,.contact-section-modern .section-description-modern{color:#fff}.contact-grid-modern{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2.5rem;max-width:1200px;margin:3rem auto 0}.contact-card-modern{background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:2px solid rgba(255,255,255,.2);border-radius:24px;padding:2.5rem;text-align:center;transition:all .3s ease}.contact-card-modern:hover{background:#ffffff26;transform:translateY(-8px);box-shadow:var(--shadow-lg)}.contact-icon{width:70px;height:70px;background:#fff3;border-radius:16px;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;color:#fff}.contact-card-title{font-size:1.5rem;font-weight:700;margin-bottom:1rem;color:#fff}.contact-card-text{font-size:1.125rem;margin-bottom:1.5rem;opacity:.95}.contact-card-link{display:inline-block;background:#fff;color:var(--secondary-cyan);padding:.875rem 1.75rem;border-radius:12px;font-weight:600;text-decoration:none;transition:all .3s ease;box-shadow:var(--shadow-sm)}.contact-card-link:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);background:var(--bg-light)}.footer-modern{background:var(--text-dark);color:#fff;padding:4rem 2rem 2rem}.footer-content{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:2fr 3fr;gap:4rem;margin-bottom:3rem}.footer-brand-section{text-align:left}.footer-logo{height:60px;width:auto;margin-bottom:1rem}.footer-brand-name{font-size:1.75rem;font-weight:800;margin-bottom:1rem;color:#fff}.footer-brand-text{color:#ffffffb3;line-height:1.7;margin-bottom:1.5rem}.footer-social{display:flex;gap:1rem}.social-link{width:40px;height:40px;background:#ffffff1a;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;transition:all .3s ease}.social-link:hover{background:var(--secondary-cyan);transform:translateY(-4px)}.footer-links-section{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}.footer-links-column{display:flex;flex-direction:column;gap:.75rem}.footer-column-title{font-size:1.125rem;font-weight:700;margin-bottom:.5rem;color:#fff}.footer-link{color:#ffffffb3;text-decoration:none;transition:color .2s ease;font-size:.95rem}.footer-link:hover{color:var(--secondary-cyan)}.footer-contact-item{color:#ffffffb3;font-size:.95rem;line-height:1.7;margin-bottom:.5rem}.footer-bottom{max-width:1200px;margin:0 auto;padding-top:2rem;border-top:1px solid rgba(255,255,255,.1);text-align:center;color:#fff9;font-size:.875rem}.footer-bottom p{margin-bottom:.5rem}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInRight{0%{opacity:0;transform:translate(40px)}to{opacity:1;transform:translate(0)}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.5)}}@media(max-width:1024px){.navbar-menu{display:none}.hero-content-wrapper{grid-template-columns:1fr;gap:3rem}.hero-title-modern{font-size:2.75rem}.about-content-wrapper,.footer-content{grid-template-columns:1fr;gap:3rem}}@media(max-width:768px){.hero-section-modern{padding:6rem 1.5rem 3rem}.hero-title-modern{font-size:2.25rem}.hero-description-modern{font-size:1.125rem}.hero-cta-group{flex-direction:column;align-items:stretch}.hero-stats{flex-wrap:wrap;gap:1.5rem}.stat-divider{display:none}.section-title-modern{font-size:2rem}.services-grid-modern,.promotions-grid-modern,.contact-grid-modern,.about-features-grid,.footer-links-section{grid-template-columns:1fr}}@media(max-width:480px){.navbar-logo{height:40px}.navbar-brand-text{font-size:1.25rem}.hero-title-modern{font-size:1.875rem}.hero-btn-primary,.hero-btn-secondary{padding:.875rem 1.75rem;font-size:1rem}.stat-number{font-size:2rem}.floating-card{display:none}}.navbar{position:fixed;top:0;left:0;right:0;height:64px;background:#15c7be;border-bottom:1px solid #e5e7eb;z-index:1000;box-shadow:0 1px 3px #0000001a}.navbar-content{height:100%;max-width:100%;margin:0 auto;padding:0 24px;display:flex;justify-content:space-between;align-items:center}.navbar-left{display:flex;align-items:center}.navbar-title{font-size:20px;font-weight:700;color:#1f2937;margin:0;letter-spacing:.5px}.navbar-right{display:flex;align-items:center;gap:16px}.user-info{display:flex;align-items:center;gap:12px;padding:8px 16px;border-radius:8px;background:#f9fafb}.user-details{display:flex;flex-direction:column;gap:2px}.user-name{font-size:14px;font-weight:600;color:#1f2937;line-height:1.2}.user-role{font-size:12px;color:#6b7280;text-transform:capitalize;line-height:1.2}.btn{padding:8px 16px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.btn-secondary{background:#f3f4f6;color:#374151;border:1px solid #d1d5db}.btn-secondary:hover:not(:disabled){background:#e5e7eb;border-color:#9ca3af}.btn-secondary:disabled{background:#f3f4f6;color:#9ca3af;cursor:not-allowed;opacity:.6}.btn-danger{background:#dc2626;color:#fff;border:none;padding:10px 20px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.btn-danger:hover:not(:disabled){background:#b91c1c;transform:translateY(-1px);box-shadow:0 4px 6px #dc262633}.btn-danger:disabled{background:#9ca3af;cursor:not-allowed;opacity:.6}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:9999;animation:fadeIn .2s ease-in}.modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.logout-modal{max-width:450px;width:90%}.modal-header{padding:20px 24px;border-bottom:1px solid #e5e7eb}.modal-header h2{margin:0;font-size:20px;font-weight:600;color:#1f2937}.modal-body p{font-size:16px;color:#374151;margin:0 0 12px;line-height:1.5}.logout-warning{background:#fef3c7;border-left:4px solid #f59e0b;padding:12px 16px;border-radius:4px;font-size:14px!important;color:#92400e!important;margin-top:16px!important;line-height:1.5}.modal-actions{display:flex;gap:12px;justify-content:flex-end;padding:16px 24px;border-top:1px solid #e5e7eb}.modal-actions .btn{min-width:120px}@media(max-width:768px){.navbar-content{padding:0 16px}.navbar-title{font-size:16px}.user-info{padding:6px 12px}.user-avatar{width:36px;height:36px}.user-details{display:none}.btn{padding:6px 12px;font-size:13px}.logout-modal{max-width:90%;margin:16px}.modal-header{padding:16px 20px}.modal-header h2{font-size:18px}.modal-body{padding:20px}.modal-body p{font-size:14px}.logout-warning{font-size:13px!important;padding:10px 12px}.modal-actions{flex-direction:column-reverse;padding:12px 20px}.modal-actions .btn{width:100%;min-width:unset}}@media(max-width:480px){.navbar-title{font-size:14px}.user-info{padding:4px 8px}.user-avatar{width:32px;height:32px}}.sidebar{position:fixed;top:64px;left:0;width:260px;height:calc(100vh - 64px);background:#15c7be;overflow-y:auto;z-index:900;box-shadow:2px 0 8px #0000001a}.sidebar-header{padding:24px 20px;border-bottom:1px solid rgba(255,255,255,.1)}.logo{display:flex;align-items:center;gap:12px}.logo-icon{width:100px;height:100px;object-fit:contain}.logo-text{font-size:18px;font-weight:700;color:#fff;letter-spacing:1px}.sidebar-nav{padding:20px 0}.sidebar-item{display:flex;align-items:center;gap:12px;padding:12px 20px;margin:4px 12px;color:#fff;text-decoration:none;border-radius:8px;font-size:15px;font-weight:500;transition:all .2s;cursor:pointer}.sidebar-item:hover{background:#ffffff1a;color:#fff}.sidebar-item.active{background:#02317e;color:#fff}.sidebar-icon{font-size:20px;width:24px;display:flex;align-items:center;justify-content:center}.sidebar-label{flex:1}.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-track{background:#ffffff0d}.sidebar::-webkit-scrollbar-thumb{background:#fff3;border-radius:3px}.sidebar::-webkit-scrollbar-thumb:hover{background:#ffffff4d}@media(max-width:768px){.sidebar{transform:translate(-100%);transition:transform .3s ease}.sidebar.open{transform:translate(0)}}:root{--primary-color: #0066cc;--secondary-color: #003d7a;--accent-color: #ff8c00;--text-dark: #1a202c;--text-gray: #718096;--bg-white: #ffffff;--error-color: #f56565;--success-color: #48bb78}.login-container-modern{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;position:relative;overflow:hidden}.login-background{position:absolute;inset:0;z-index:0;background:linear-gradient(135deg,#06c,#003d7a,#ff8c00);overflow:hidden}.blob{position:absolute;border-radius:50%;filter:blur(60px);opacity:.7;animation:float 20s ease-in-out infinite}.blob-1{width:400px;height:400px;background:#0066cc80;top:-100px;left:-100px}.blob-2{width:500px;height:500px;background:#003d7a66;bottom:-150px;right:-150px;animation-delay:7s}.blob-3{width:350px;height:350px;background:#ff8c004d;top:50%;left:50%;transform:translate(-50%,-50%);animation-delay:14s}@keyframes float{0%,to{transform:translate(0) scale(1)}33%{transform:translate(50px,-50px) scale(1.1)}66%{transform:translate(-50px,50px) scale(.9)}}.login-card-modern{position:relative;z-index:1;background:#fff;display:flex;flex-direction:column;justify-content:center;padding:4rem 3rem;overflow-y:auto}.login-header-modern{text-align:center;margin-bottom:2.5rem}.login-logo-wrapper{display:flex;justify-content:center;margin-bottom:1.5rem}.logo-circle{width:80px;height:80px;background:linear-gradient(135deg,var(--primary-color) 0%,var(--secondary-color) 100%);border-radius:20px;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 10px 25px #0066cc4d;animation:fadeIn .6s ease-out}.login-logo-img{width:120px;height:auto;animation:fadeIn .6s ease-out}@keyframes fadeIn{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.login-title-modern{font-size:2rem;font-weight:800;background:linear-gradient(135deg,var(--primary-color) 0%,var(--secondary-color) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:.5rem}.login-subtitle-modern{color:var(--text-gray);font-size:1rem;font-weight:500}.header-divider{width:60px;height:3px;background:linear-gradient(90deg,var(--primary-color) 0%,var(--secondary-color) 100%);margin:1.5rem auto 0;border-radius:2px}.login-form-modern{display:flex;flex-direction:column;gap:1.5rem;max-width:400px;margin:0 auto;width:100%}.alert-modern{display:flex;align-items:center;gap:.75rem;padding:1rem;border-radius:12px;font-size:.875rem;animation:slideDown .3s ease-out}.alert-error-modern{background:#fed7d7;color:#c53030;border:1px solid #fc8181}.form-group-modern{display:flex;flex-direction:column;gap:.5rem}.form-label-modern{display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:600;color:var(--text-dark)}.form-label-modern svg{color:var(--primary-color)}.input-wrapper-modern{position:relative}.input-modern{width:100%;padding:.875rem 1rem;border:2px solid #e2e8f0;border-radius:12px;font-size:1rem;transition:all .3s;background:#fff}.input-modern:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #667eea1a}.input-modern:disabled{background:#f7fafc;cursor:not-allowed;opacity:.6}.password-wrapper{position:relative}.password-toggle{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:none;color:var(--text-gray);cursor:pointer;padding:.5rem;display:flex;align-items:center;justify-content:center;transition:color .2s}.password-toggle:hover{color:var(--primary-color)}.password-toggle:disabled{cursor:not-allowed;opacity:.5}.btn-primary-modern{display:flex;align-items:center;justify-content:center;gap:.75rem;background:linear-gradient(135deg,var(--primary-color) 0%,var(--secondary-color) 100%);color:#fff;border:none;padding:1rem;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 4px 15px #667eea4d}.btn-primary-modern:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.btn-primary-modern:active:not(:disabled){transform:translateY(0)}.btn-primary-modern:disabled{cursor:not-allowed;opacity:.6}.btn-login-modern{margin-top:.5rem}.spinner-modern{width:20px;height:20px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.dev-credentials-modern{max-width:400px;margin:2rem auto 0;width:100%}.credentials-header{display:flex;align-items:center;justify-content:center;gap:.5rem;color:var(--text-gray);font-size:.875rem;font-weight:600;margin-bottom:1rem}.credentials-grid{display:grid;gap:.75rem}.credential-btn{background:#fff;border:2px solid #e2e8f0;border-radius:12px;padding:1rem;cursor:pointer;transition:all .3s;text-align:left}.credential-btn:hover:not(:disabled){border-color:var(--primary-color);background:#667eea0d;transform:translate(4px)}.credential-btn:disabled{opacity:.5;cursor:not-allowed}.credential-role{font-weight:600;color:var(--text-dark);margin-bottom:.25rem}.credential-email{font-size:.875rem;color:var(--text-gray)}.login-footer-modern{max-width:400px;margin:2rem auto 0;text-align:center;font-size:.875rem;color:var(--text-gray)}.footer-links{display:flex;align-items:center;justify-content:center;gap:.75rem;margin-top:.5rem}.footer-links a{color:var(--primary-color);text-decoration:none;font-weight:500;transition:color .2s}.footer-links a:hover{color:var(--secondary-color)}.login-side-panel{position:relative;z-index:1;background:linear-gradient(135deg,#667eeaf2,#764ba2f2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;padding:4rem 3rem;color:#fff}.side-content{max-width:500px}.side-icon{display:flex;justify-content:center;margin-bottom:2rem;color:#fff;opacity:.9}.side-title{font-size:2.5rem;font-weight:800;margin-bottom:1.5rem;line-height:1.2}.side-description{font-size:1.125rem;line-height:1.7;opacity:.9;margin-bottom:2.5rem}.side-features{list-style:none;display:flex;flex-direction:column;gap:1rem}.side-features li{display:flex;align-items:center;gap:.75rem;font-size:1.05rem;opacity:.95}.side-features svg{flex-shrink:0}@media(max-width:1024px){.login-container-modern{grid-template-columns:1fr}.login-side-panel{display:none}.login-card-modern{padding:3rem 2rem}}@media(max-width:768px){.login-card-modern{padding:2.5rem 2rem}.login-logo-img{width:100px}.login-title-modern{font-size:2rem}.login-subtitle-modern{font-size:.95rem}.form-group-modern{margin-bottom:1.25rem}.btn-login-modern{padding:.9rem 1.5rem;font-size:1rem}.side-features{font-size:.95rem}}@media(max-width:640px){.login-card-modern{padding:2rem 1.5rem}.login-logo-img{width:80px}.login-title-modern{font-size:1.75rem}.login-subtitle-modern{font-size:.9rem}.logo-circle{width:70px;height:70px}.credentials-grid{grid-template-columns:1fr}.form-label-modern{font-size:.9rem}.input-modern{padding:.8rem 1rem;font-size:.95rem}.btn-login-modern{padding:.85rem 1.25rem;font-size:.95rem}.login-footer-modern{font-size:.85rem}.footer-links{font-size:.8rem}}@media(max-width:480px){.login-card-modern{padding:1.5rem 1rem}.login-header-modern{margin-bottom:1.5rem}.login-logo-img{width:70px}.login-title-modern{font-size:1.5rem}.login-subtitle-modern{font-size:.85rem}.blob{filter:blur(40px)}.blob-1,.blob-2,.blob-3{width:250px;height:250px}}.dashboard{margin-top:64px;margin-left:260px;min-height:calc(100vh - 64px);background:#f9fafb;padding:32px}.dashboard-header{margin-bottom:32px}.dashboard-header h1{font-size:28px;font-weight:700;color:#1f2937;margin:0 0 8px}.dashboard-subtitle{font-size:14px;color:#6b7280;margin:0}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-bottom:32px}.stat-card{background:#fff;border-radius:12px;padding:24px;display:flex;gap:16px;align-items:flex-start;box-shadow:0 1px 3px #0000001a;transition:transform .2s,box-shadow .2s}.stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.stat-icon{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0}.stat-label{font-size:14px;color:#6b7280;margin:0 0 8px;font-weight:500}.stat-value{font-size:32px;font-weight:700;color:#1f2937;margin:0 0 4px;line-height:1}.stat-detail{font-size:13px;color:#9ca3af;margin:0}.card{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 1px 3px #0000001a}.card-title{font-size:18px;font-weight:700;color:#1f2937;margin:0 0 20px}.table-container{overflow-x:auto}.table thead{background:#f9fafb;border-bottom:2px solid #e5e7eb}.table th{padding:12px 16px;text-align:left;font-size:13px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.table tbody tr{border-bottom:1px solid #e5e7eb;transition:background .15s}.table td{padding:16px;font-size:14px;color:#1f2937}.badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;text-transform:capitalize}.badge-green{background:#d1fae5;color:#065f46}.badge-blue{background:#dbeafe;color:#1e40af}.badge-yellow{background:#fef3c7;color:#92400e}.badge-red{background:#fee2e2;color:#991b1b}.progress-container{position:relative;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden}.progress-bar{height:100%;background:linear-gradient(90deg,#3b82f6,#2563eb);border-radius:4px;transition:width .3s ease}.progress-warning{background:linear-gradient(90deg,#f59e0b,#d97706)}.progress-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:11px;font-weight:600;color:#1f2937;white-space:nowrap}.btn-icon{background:none;border:none;padding:8px;cursor:pointer;font-size:16px;border-radius:6px;transition:background .15s}.btn-icon:hover{background:#f3f4f6}.numbers-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.number-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;transition:transform .2s,box-shadow .2s}.number-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.number-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.number-phone{font-size:15px;font-weight:600;color:#1f2937}.number-stats{display:flex;justify-content:space-between;margin-bottom:12px}.number-stat{display:flex;flex-direction:column;gap:4px}.number-stat-label{font-size:12px;color:#6b7280;font-weight:500}.number-stat-value{font-size:16px;font-weight:700;color:#1f2937}.text-success{color:#059669}.text-warning{color:#d97706}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:calc(100vh - 64px);gap:16px}.loading-spinner{width:48px;height:48px;border:4px solid #f3f4f6;border-top:4px solid #3b82f6;border-radius:50%;animation:spin 1s linear infinite}.alert{padding:12px 16px;border-radius:8px;font-size:14px;margin-bottom:20px}.promo-uploader-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #00000014;padding:32px 24px;margin-bottom:32px;max-width:480px;margin-left:auto;margin-right:auto}.promo-uploader-card h3{font-size:20px;font-weight:700;color:#1f2937;margin-bottom:18px}.promo-uploader-form{display:flex;flex-direction:column;gap:16px}.promo-uploader-form input[type=file]{padding:8px;border-radius:8px;border:1px solid #e5e7eb;background:#f9fafb}.promo-uploader-form textarea{min-height:60px;border-radius:8px;border:1px solid #e5e7eb;padding:10px;font-size:15px;background:#f9fafb;resize:vertical}.promo-uploader-form button{background:#0074d9;color:#fff;border:none;border-radius:8px;padding:12px 0;font-size:16px;font-weight:600;cursor:pointer;transition:background .2s}.promo-uploader-form button:disabled{background:#b3c2d6;cursor:not-allowed}.success-msg{color:#059669;font-weight:600;margin-top:8px}.error-msg{color:#d97706;font-weight:600;margin-top:8px}@media(max-width:768px){.dashboard{margin-left:0;padding:20px 16px}.stats-grid,.numbers-grid{grid-template-columns:1fr}}.campaign-manager{padding:20px 0;margin-top:64px;margin-left:290px}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.page-header h1{font-size:28px;font-weight:700;color:#1f2937;margin-bottom:4px}.page-subtitle{color:#6b7280;font-size:14px}.campaigns-list{display:flex;flex-direction:column;gap:20px}.campaign-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #0000001a;transition:transform .2s,box-shadow .2s}.campaign-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.campaign-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.campaign-name{font-size:20px;font-weight:600;color:#1f2937;margin-bottom:8px}.campaign-actions{display:flex;gap:8px}.btn-sm{padding:6px 12px;font-size:13px}.campaign-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:20px;padding:16px;background:#f9fafb;border-radius:8px}.campaign-stat{display:flex;flex-direction:column;align-items:center;text-align:center}.campaign-stat-label{font-size:12px;color:#6b7280;margin-bottom:4px}.campaign-stat-value{font-size:24px;font-weight:700;color:#1f2937}.text-blue{color:#3b82f6!important}.text-green{color:#10b981!important}.campaign-progress{display:flex;align-items:center;gap:12px;margin-bottom:16px}.campaign-progress .progress-container{flex:1}.progress-percentage{font-size:14px;font-weight:600;color:#6b7280;min-width:40px;text-align:right}.campaign-footer{display:flex;justify-content:space-between;padding-top:16px;border-top:1px solid #e5e7eb;font-size:13px;color:#6b7280}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal{background:#fff;border-radius:16px;width:100%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid #e5e7eb}.modal-header h2{font-size:20px;font-weight:600;color:#1f2937}.modal-close{background:none;border:none;font-size:24px;color:#6b7280;cursor:pointer;padding:4px;line-height:1}.modal-close:hover{color:#1f2937}.modal-body{padding:24px}.form-help{display:block;margin-top:4px;font-size:12px;color:#6b7280}.modal-footer{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.alert-warning{background:#fef3c7;color:#92400e;border:1px solid #fde68a;padding:12px 16px;border-radius:8px;font-size:14px}.btn:disabled{opacity:.5;cursor:not-allowed}.numbers-config{margin-top:64px;margin-left:290px}.limit-card{display:flex;align-items:center;gap:16px}.limit-icon{font-size:32px;flex-shrink:0}.limit-content{flex:1}.number-card-modern{background:#fff;border-radius:16px;padding:24px;box-shadow:0 2px 8px #00000014;transition:all .3s ease;border:1px solid #f3f4f6;display:flex;flex-direction:column;gap:20px}.number-card-modern:hover{box-shadow:0 8px 24px #0000001f;transform:translateY(-2px)}.card-header-modern{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:16px;border-bottom:1px solid #f3f4f6}.number-info{flex:1}.phone-number{font-size:20px;font-weight:700;color:#1f2937;margin:0 0 6px;letter-spacing:-.5px}.phone-label{font-size:14px;color:#6b7280;margin:0;font-weight:500}.tier-badge-modern{padding:6px 14px;border-radius:20px;font-size:12px;font-weight:700;color:#fff;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}.metrics-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.metric-box{background:#f9fafb;padding:14px;border-radius:10px;transition:all .2s ease}.metric-box:hover{background:#f3f4f6;transform:scale(1.02)}.metric-label{font-size:12px;color:#6b7280;font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px}.metric-value{font-size:24px;font-weight:700;color:#1f2937;line-height:1}.metric-limit{font-size:14px;color:#9ca3af;font-weight:500;margin-left:4px}.metric-value.quality-high{color:#10b981}.metric-value.quality-medium{color:#f59e0b}.metric-value.quality-low{color:#ef4444}.progress-section{display:flex;flex-direction:column;gap:8px}.progress-info{display:flex;justify-content:space-between;align-items:center}.progress-label{font-size:13px;color:#6b7280;font-weight:600}.progress-percentage{font-size:13px;font-weight:700;color:#1f2937}.progress-track{height:8px;background:#e5e7eb;border-radius:10px;overflow:hidden;position:relative}.progress-fill{height:100%;border-radius:10px;transition:width .6s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.progress-fill:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);animation:shimmer 2s infinite}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.progress-fill.progress-success{background:linear-gradient(90deg,#10b981,#059669)}.progress-fill.progress-warning{background:linear-gradient(90deg,#f59e0b,#d97706)}.progress-fill.progress-danger{background:linear-gradient(90deg,#ef4444,#dc2626)}.card-footer-modern{display:flex;justify-content:space-between;align-items:center;padding-top:16px;border-top:1px solid #f3f4f6}.status-info{display:flex;align-items:center;gap:8px}.status-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.status-dot.active{background:#10b981;box-shadow:0 0 0 3px #10b98133;animation:pulse-dot 2s infinite}.status-dot.paused{background:#f59e0b;box-shadow:0 0 0 3px #f59e0b33}@keyframes pulse-dot{0%,to{opacity:1}50%{opacity:.6}}.status-text{font-size:13px;color:#6b7280;font-weight:500}.btn-icon{width:36px;height:36px;border-radius:8px;border:1px solid #e5e7eb;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;color:#6b7280}.btn-icon:hover{background:#f9fafb;border-color:#d1d5db;color:#1f2937;transform:scale(1.05)}.btn-icon:active{transform:scale(.95)}.btn-icon.btn-pause{color:#f59e0b;border-color:#fef3c7;background:#fffbeb}.btn-icon.btn-pause:hover{background:#fef3c7;border-color:#fde68a}.btn-icon.btn-play{color:#10b981;border-color:#d1fae5;background:#f0fdf4}.btn-icon.btn-play:hover{background:#d1fae5;border-color:#a7f3d0}.btn-icon.btn-edit{color:#3b82f6;border-color:#dbeafe;background:#eff6ff}.btn-icon.btn-edit:hover{background:#dbeafe;border-color:#bfdbfe}.btn-icon.btn-delete{color:#ef4444;border-color:#fee2e2;background:#fef2f2}.btn-icon.btn-delete:hover{background:#fee2e2;border-color:#fecaca}.btn-icon svg{width:18px;height:18px;stroke-width:2}@media(max-width:768px){.number-card-modern{padding:18px;gap:16px}.phone-number{font-size:18px}.metrics-grid{grid-template-columns:repeat(2,1fr);gap:10px}.metric-box{padding:12px}.metric-value{font-size:20px}.card-footer-modern{flex-direction:column;align-items:flex-start;gap:12px}.action-buttons{width:100%;justify-content:flex-end}}.numbers-grid-config{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px;margin-top:24px}@media(max-width:1400px){.numbers-grid-config{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}@media(max-width:768px){.numbers-grid-config{grid-template-columns:1fr}}.clients-uploader{padding:20px 0;margin-top:64px;margin-left:290px}.steps-indicator{display:flex;align-items:center;justify-content:center;margin:40px 0}.step{display:flex;flex-direction:column;align-items:center;gap:8px}.step-number{width:40px;height:40px;border-radius:50%;background:#e5e7eb;color:#6b7280;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px;transition:all .3s}.step.active .step-number{background:#3b82f6;color:#fff}.step-label{font-size:13px;color:#6b7280;font-weight:500}.step.active .step-label{color:#1f2937;font-weight:600}.step-line{width:80px;height:2px;background:#e5e7eb;margin:0 10px;transition:all .3s}.step-line.active{background:#3b82f6}.upload-area{min-height:400px;display:flex;align-items:center;justify-content:center}.upload-content{text-align:center;max-width:500px}.upload-icon{font-size:64px;margin-bottom:20px}.upload-content h3{font-size:24px;font-weight:600;color:#1f2937;margin-bottom:8px}.upload-description{color:#6b7280;margin-bottom:24px;font-size:14px}.btn-upload{margin-bottom:24px;cursor:pointer;display:inline-block}.upload-info{background:#f9fafb;border-radius:8px;padding:16px;text-align:left;font-size:13px}.upload-info strong{display:block;margin-bottom:8px;color:#1f2937}.upload-info ul{margin:0;padding-left:20px;color:#6b7280}.upload-info li{margin-bottom:4px}.summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:30px}.summary-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 1px 3px #0000001a;display:flex;gap:16px}.summary-icon{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:28px}.summary-content h3{font-size:24px;font-weight:700;color:#1f2937;margin-bottom:4px}.summary-content p{font-size:13px;color:#6b7280}.errors-section{background:#fef2f2;border:1px solid #fecaca;margin-bottom:20px}.errors-title{color:#991b1b;font-size:16px;font-weight:600;margin-bottom:12px}.errors-list{background:#fff;border-radius:8px;padding:12px;max-height:200px;overflow-y:auto;margin-bottom:12px}.error-item{padding:8px;font-size:13px;color:#991b1b;border-bottom:1px solid #fecaca}.error-item:last-child{border-bottom:none}.errors-note{font-size:13px;color:#991b1b;font-style:italic}.table-footer{padding:12px;text-align:center;background:#f9fafb;border-top:1px solid #e5e7eb;font-size:13px;color:#6b7280}.actions-footer{display:flex;justify-content:space-between;margin-top:30px}.success-card{text-align:center;padding:60px 40px;min-height:400px;display:flex;flex-direction:column;align-items:center;justify-content:center}.success-icon{font-size:80px;margin-bottom:20px}.success-card h2{font-size:28px;font-weight:700;color:#1f2937;margin-bottom:12px}.success-message{font-size:16px;color:#6b7280;margin-bottom:32px}.success-actions{display:flex;gap:12px}.chat-window{display:flex;flex-direction:column;height:100%}.chat-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e5e7eb;background:#f9fafb}.chat-header-left{display:flex;align-items:center;gap:12px}.chat-avatar{width:48px;height:48px;border-radius:50%;border:2px solid #e5e7eb}.chat-client-name{font-size:16px;font-weight:600;color:#1f2937;margin-bottom:2px}.chat-client-phone{font-size:13px;color:#6b7280}.chat-header-right{display:flex;align-items:center;gap:12px}.chat-duration{font-size:14px;font-weight:600;color:#6b7280;padding:6px 12px;background:#fff;border-radius:6px;border:1px solid #e5e7eb}.chat-message{display:flex;margin-bottom:12px}.message-bubble{max-width:70%;padding:10px 14px;border-radius:12px;position:relative}.message-received .message-bubble{background:#fff;border:1px solid #e5e7eb;color:#1f2937}.message-sent .message-bubble{background:#dcf8c6;border:1px solid #c5e1a5;color:#1f2937}.message-text{font-size:14px;line-height:1.5;margin-bottom:4px;word-wrap:break-word}.message-footer{display:flex;align-items:center;gap:6px;justify-content:flex-end;margin-top:4px}.message-time{font-size:11px;opacity:.6;color:#6b7280}.message-status{font-size:12px;color:#10b981}.message-sent .message-time{color:#4b5563}.message-sent .message-status{color:#059669}.status-read{color:#3b82f6!important}.typing-indicator{display:flex;gap:4px;padding:12px 16px}.typing-indicator span{width:8px;height:8px;background:#9ca3af;border-radius:50%;animation:typing 1.4s infinite}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{transform:translateY(0);opacity:.7}30%{transform:translateY(-10px);opacity:1}}.chat-input-area{display:flex;align-items:center;gap:8px;padding:16px 20px;border-top:1px solid #e5e7eb;background:#fff}.chat-emoji-btn,.chat-attach-btn{background:none;border:none;font-size:20px;cursor:pointer;padding:8px;border-radius:8px;transition:background .2s}.chat-emoji-btn:hover,.chat-attach-btn:hover{background:#f3f4f6}.chat-input{flex:1;border:1px solid #e5e7eb;border-radius:24px;padding:10px 16px;font-size:14px;outline:none;transition:border-color .3s}.chat-input:focus{border-color:#3b82f6}.chat-send-btn{width:40px;height:40px;min-width:40px;min-height:40px;border-radius:50%;background:#3b82f6;color:#fff;border:none;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .3s;flex-shrink:0;padding:0}.chat-send-btn:hover:not(:disabled){background:#2563eb}.chat-send-btn:disabled{background:#9ca3af;cursor:not-allowed;opacity:.6}.chat-send-btn:active:not(:disabled){transform:scale(.95)}.quick-responses{display:flex;gap:8px;padding:12px 20px;border-top:1px solid #e5e7eb;background:#fff;overflow-x:auto}.quick-response-btn{padding:8px 16px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:20px;font-size:13px;font-weight:500;white-space:nowrap;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 4px #667eea33}.quick-response-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 8px #667eea4d}.quick-response-btn:active:not(:disabled){transform:translateY(0)}.quick-response-btn:disabled{opacity:.5;cursor:not-allowed}.message-bubble[data-estado=enviando]{opacity:.7}.message-bubble[data-estado=fallido]{background:#fee2e2!important;border-color:#fca5a5!important}.message-bubble[data-estado=fallido] .message-text{color:#dc2626}.loading-messages{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:12px;color:#6b7280}.loading-spinner{width:40px;height:40px;border:3px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}@media(max-width:1024px){.chat-header{padding:14px 16px}.chat-messages{padding:16px}.chat-input-area{padding:14px 16px}.quick-responses{padding:10px 16px}}@media(max-width:768px){.chat-header{padding:12px;flex-wrap:wrap}.chat-header-left{flex:1;min-width:0}.chat-header-actions{display:flex;gap:8px;align-items:center;width:100%;margin-top:8px;justify-content:space-between}.chat-avatar{width:40px;height:40px}.chat-client-name{font-size:14px}.chat-client-phone{font-size:12px}.chat-duration{font-size:12px;padding:4px 8px}.chat-messages{padding:12px}.message-bubble{max-width:85%}.message-text{font-size:13px}.chat-input-area{padding:12px;gap:6px}.chat-emoji-btn,.chat-attach-btn{font-size:18px;padding:6px}.chat-input{font-size:13px;padding:9px 14px}.chat-send-btn{width:38px;height:38px;min-width:38px;min-height:38px;font-size:16px}.quick-responses{padding:10px 12px;gap:6px}.quick-response-btn{padding:6px 12px;font-size:12px}}@media(max-width:480px){.chat-header{padding:10px}.chat-avatar{width:36px;height:36px}.chat-client-name{font-size:13px}.chat-client-phone{font-size:11px}.chat-messages{padding:10px}.message-bubble{max-width:90%;padding:8px 12px}.message-text{font-size:12px}.message-time{font-size:10px}.chat-input-area{padding:10px;gap:4px}.chat-emoji-btn,.chat-attach-btn{font-size:16px;padding:4px}.chat-input{font-size:12px;padding:8px 12px}.chat-send-btn{width:36px;height:36px;min-width:36px;min-height:36px;font-size:14px}.quick-responses{padding:8px 10px;gap:4px}.quick-response-btn{padding:6px 10px;font-size:11px}}@media(max-width:360px){.chat-header{padding:8px}.chat-avatar{width:32px;height:32px}.chat-client-name{font-size:12px}.chat-duration{font-size:11px;padding:3px 6px}.chat-input-area{padding:8px}.chat-send-btn{width:34px;height:34px;min-width:34px;min-height:34px;font-size:13px}}.call-window{display:flex;flex-direction:column;height:100%}.call-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e5e7eb;background:#f9fafb}.call-client-info{display:flex;align-items:center;gap:12px}.call-avatar{width:48px;height:48px;border-radius:50%;border:2px solid #e5e7eb}.call-client-name{font-size:16px;font-weight:600;color:#1f2937;margin-bottom:2px}.call-client-phone{font-size:13px;color:#6b7280}.call-status{padding:8px 16px;border-radius:20px;font-size:14px;font-weight:600}.status-active{background:#d1fae5;color:#065f46}.status-hold{background:#fef3c7;color:#92400e}.call-body{flex:1;display:flex;flex-direction:column;padding:40px;overflow-y:auto}.call-animation{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-bottom:40px;position:relative}.call-wave{position:absolute;width:200px;height:200px;display:flex;align-items:center;justify-content:center}.call-wave.active .wave-circle{animation:wave 2s infinite}.wave-circle{position:absolute;width:100%;height:100%;border:2px solid #3b82f6;border-radius:50%;opacity:0}.wave-1{animation-delay:0s}.wave-2{animation-delay:.7s}.wave-3{animation-delay:1.4s}@keyframes wave{0%{transform:scale(.5);opacity:.8}to{transform:scale(1.5);opacity:0}}.call-avatar-large{width:120px;height:120px;border-radius:50%;border:4px solid #3b82f6;overflow:hidden;z-index:1;background:#fff;margin-bottom:20px}.call-avatar-large img{width:100%;height:100%;object-fit:cover}.call-duration{font-size:36px;font-weight:700;color:#1f2937;z-index:1}.hold-message{margin-top:12px;padding:8px 20px;background:#fef3c7;border-radius:20px;color:#92400e;font-size:14px;font-weight:600;z-index:1}.call-controls{display:flex;justify-content:center;gap:20px;margin-bottom:40px}.call-control-btn{display:flex;flex-direction:column;align-items:center;gap:8px;padding:16px;background:#f3f4f6;border:2px solid #e5e7eb;border-radius:16px;cursor:pointer;transition:all .3s;min-width:100px}.call-control-btn:hover{background:#e5e7eb;transform:translateY(-2px)}.call-control-btn.active{background:#3b82f6;border-color:#3b82f6;color:#fff}.call-control-btn.btn-hangup{background:#fee2e2;border-color:#fecaca}.call-control-btn.btn-hangup:hover{background:#fecaca}.call-control-btn.btn-hangup .control-icon{transform:rotate(135deg)}.control-icon{font-size:32px}.control-label{font-size:12px;font-weight:600}.call-notes-section{background:#f9fafb;border-radius:12px;padding:20px;border:1px solid #e5e7eb}.call-notes-section h4{font-size:14px;font-weight:600;color:#1f2937;margin-bottom:12px}.call-notes-input{width:100%;padding:12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;font-family:inherit;resize:vertical;margin-bottom:12px}.call-notes-input:focus{outline:none;border-color:#3b82f6}.call-notes-actions{display:flex;justify-content:flex-end}.modal-small{max-width:500px}.transfer-info{margin-bottom:20px;color:#6b7280;font-size:14px}.transfer-options{display:flex;flex-direction:column;gap:12px}.transfer-option{display:flex;align-items:center;gap:16px;padding:16px;background:#f9fafb;border:2px solid #e5e7eb;border-radius:12px;cursor:pointer;transition:all .3s}.transfer-option:hover{background:#fff;border-color:#3b82f6;transform:translate(4px)}.transfer-icon{width:48px;height:48px;background:#fff;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px;border:1px solid #e5e7eb}.transfer-details h4{font-size:15px;font-weight:600;color:#1f2937;margin-bottom:2px}.transfer-details p{font-size:13px;color:#6b7280}.client-info{display:flex;flex-direction:column;gap:16px;height:100%;overflow-y:auto}.client-info-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#9ca3af}.loading-spinner{width:40px;height:40px;border:4px solid #f3f4f6;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:12px}.client-info-header{text-align:center;padding-bottom:16px;border-bottom:2px solid #e5e7eb}.client-info-avatar{width:80px;height:80px;border-radius:50%;border:3px solid #3b82f6;margin-bottom:12px}.client-info-name{font-size:18px;font-weight:700;color:#1f2937;margin-bottom:8px}.client-segment-badge{display:inline-block;padding:6px 16px;background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;border-radius:20px;font-size:12px;font-weight:600}.client-info-section{background:#f9fafb;border-radius:8px;padding:12px}.section-title{font-size:13px;font-weight:600;color:#1f2937;margin-bottom:12px;text-transform:uppercase;letter-spacing:.5px}.info-items{display:flex;flex-direction:column;gap:10px}.info-item{display:flex;flex-direction:column;gap:4px}.info-label{font-size:11px;color:#6b7280;font-weight:600}.info-value{font-size:13px;color:#1f2937;word-wrap:break-word}.service-card{background:#fff;border-radius:8px;padding:12px;border:1px solid #e5e7eb}.service-header{display:flex;align-items:center;gap:8px;margin-bottom:8px}.service-icon{font-size:20px}.service-name{font-size:14px;font-weight:600;color:#1f2937}.service-description{font-size:12px;color:#6b7280;margin-bottom:10px;line-height:1.4}.service-price{display:flex;justify-content:space-between;align-items:center;padding-top:10px;border-top:1px solid #e5e7eb}.price-label{font-size:12px;color:#6b7280}.price-value{font-size:16px;font-weight:700;color:#3b82f6}.account-status{display:flex;flex-direction:column;gap:10px}.status-item{display:flex;justify-content:space-between;align-items:center}.status-label{font-size:12px;color:#6b7280;font-weight:500}.status-badge{padding:4px 10px;border-radius:12px;font-size:11px;font-weight:600}.status-ok{background:#d1fae5;color:#065f46}.status-value{font-size:12px;color:#1f2937;font-weight:600}.client-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}.client-stat{background:#fff;border-radius:8px;padding:12px;text-align:center;border:1px solid #e5e7eb}.stat-value{display:block;font-size:20px;font-weight:700;color:#1f2937;margin-bottom:4px}.stat-label{display:block;font-size:11px;color:#6b7280}.stat-detail{display:flex;justify-content:space-between;font-size:11px;padding-top:10px;border-top:1px solid #e5e7eb}.stat-detail-label{color:#6b7280}.stat-detail-value{color:#1f2937;font-weight:600}.important-notes{display:flex;flex-direction:column;gap:8px}.note-item{display:flex;align-items:flex-start;gap:8px;background:#fff;padding:10px;border-radius:6px;border:1px solid #e5e7eb}.note-icon{font-size:14px;flex-shrink:0}.note-text{font-size:12px;color:#1f2937;line-height:1.4}.conversation-history{display:flex;flex-direction:column;gap:10px;max-height:300px;overflow-y:auto}.history-conversation{background:#fff;border-radius:8px;padding:12px;border:1px solid #e5e7eb}.history-conv-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.history-conv-date{font-size:11px;color:#6b7280;font-weight:600}.history-conv-channel{font-size:14px}.history-conv-agent,.history-conv-reason{font-size:12px;color:#6b7280;margin-bottom:4px}.history-conv-reason{color:#1f2937;font-weight:500}.history-conv-footer{display:flex;justify-content:space-between;align-items:center;margin-top:8px;padding-top:8px;border-top:1px solid #f3f4f6;font-size:11px}.history-conv-duration{color:#6b7280}.history-conv-rating{color:#f59e0b;font-weight:600}.client-actions{display:flex;flex-direction:column;gap:8px;padding-top:12px;border-top:2px solid #e5e7eb}.action-btn{width:100%;padding:10px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;font-size:13px;font-weight:500;color:#1f2937;cursor:pointer;transition:all .2s}.action-btn:hover{background:#f9fafb;border-color:#3b82f6;color:#3b82f6}.agent-dashboard{padding:20px;margin-top:64px;margin-left:290px;max-width:100%;box-sizing:border-box}.agent-header{background:#fff;border-radius:12px;padding:24px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 1px 3px #0000001a;flex-wrap:wrap;gap:16px}.agent-info{display:flex;align-items:center;gap:16px}.agent-avatar-large{width:64px;height:64px;border-radius:50%;border:3px solid #e5e7eb;object-fit:cover}.agent-info h2{font-size:24px;font-weight:700;color:#1f2937;margin-bottom:4px}.agent-subtitle{color:#6b7280;font-size:14px}.agent-status-control{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.agent-status-control label{font-size:14px;font-weight:600;color:#6b7280}.status-select{padding:10px 16px;border:2px solid;border-radius:8px;font-size:14px;font-weight:600;background:#fff;cursor:pointer;transition:all .3s;min-width:150px}.status-select:focus{outline:none;box-shadow:0 0 0 3px #3b82f61a}.agent-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:20px}.agent-stat-card{background:#fff;border-radius:12px;padding:16px;display:flex;align-items:center;gap:12px;box-shadow:0 1px 3px #0000001a}.agent-stat-icon{width:48px;height:48px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0}.agent-stat-content{flex:1;min-width:0}.agent-stat-label{font-size:12px;color:#6b7280;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agent-stat-value{font-size:24px;font-weight:700;color:#1f2937}.agent-layout{display:grid;grid-template-columns:320px 1fr 300px;gap:20px;height:calc(100vh - 280px);min-height:600px}.agent-sidebar{display:flex;flex-direction:column;gap:16px;overflow:hidden}.queue-section{background:#fff;border-radius:12px;padding:16px;box-shadow:0 1px 3px #0000001a;display:flex;flex-direction:column;flex:1;overflow:hidden;min-height:0}.queue-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid #e5e7eb;flex-shrink:0}.queue-header h3{font-size:16px;font-weight:600;color:#1f2937}.queue-warning{font-size:12px;color:#f59e0b;font-weight:600}.queue-list{flex:1;overflow-y:auto;min-height:0}.empty-queue{display:flex;align-items:center;justify-content:center;height:200px;color:#9ca3af;font-size:14px;text-align:center;padding:20px}.queue-item{display:flex;gap:12px;padding:12px;border-radius:8px;margin-bottom:8px;cursor:pointer;transition:all .2s;border:1px solid #e5e7eb}.queue-item:hover{background:#f9fafb;border-color:#3b82f6}.queue-item.active{background:#eff6ff;border-color:#3b82f6;border-width:2px;box-shadow:0 0 0 3px #3b82f61a}.queue-avatar{width:48px;height:48px;border-radius:50%;border:2px solid #e5e7eb;flex-shrink:0;object-fit:cover}.queue-info{flex:1;min-width:0}.queue-name-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.queue-name{font-size:14px;font-weight:600;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.queue-channel{font-size:16px;flex-shrink:0}.queue-message{font-size:13px;color:#6b7280;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.queue-meta{display:flex;justify-content:space-between;font-size:11px;color:#9ca3af}.queue-waiting{color:#f59e0b;font-weight:600}.history-section{background:#fff;border-radius:12px;padding:16px;box-shadow:0 1px 3px #0000001a;max-height:250px;min-height:200px;display:flex;flex-direction:column;flex-shrink:0;overflow:hidden}.history-section h3{font-size:14px;font-weight:600;color:#1f2937;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #e5e7eb;flex-shrink:0}.history-list{flex:1;overflow-y:auto;min-height:0}.history-item{padding:10px;border-bottom:1px solid #f3f4f6}.history-item:last-child{border-bottom:none}.history-info{display:flex;justify-content:space-between;margin-bottom:4px}.history-name{font-size:13px;font-weight:600;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;margin-right:8px}.history-duration{font-size:12px;color:#6b7280;flex-shrink:0}.history-meta{display:flex;justify-content:space-between;font-size:11px;color:#9ca3af}.history-rating{color:#f59e0b;font-weight:600}.history-notes{margin-top:4px}.history-notes small{font-size:11px;color:#6b7280;font-style:italic;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agent-main{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden;display:flex;flex-direction:column;min-height:0}.no-conversation{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:40px;text-align:center}.no-conversation-icon{font-size:80px;margin-bottom:20px;opacity:.3}.no-conversation h3{font-size:20px;font-weight:600;color:#1f2937;margin-bottom:8px}.no-conversation p{color:#6b7280;font-size:14px;max-width:400px}.agent-right-sidebar{background:#fff;border-radius:12px;padding:16px;box-shadow:0 1px 3px #0000001a;overflow-y:auto;min-height:0}.no-client-info{display:flex;align-items:center;justify-content:center;height:200px;text-align:center;color:#9ca3af;font-size:14px;padding:20px}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:400px;color:#6b7280}.loading-spinner{width:50px;height:50px;border:4px solid #f3f4f6;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}@media(max-width:1280px){.agent-layout{grid-template-columns:280px 1fr 280px;gap:16px}.agent-stat-card{padding:12px}.agent-stat-value{font-size:20px}}@media(max-width:1024px){.agent-dashboard{margin-left:0;padding:16px;margin-top:60px}.agent-header{padding:16px}.agent-avatar-large{width:56px;height:56px}.agent-info h2{font-size:20px}.agent-stats{grid-template-columns:repeat(2,1fr)}.agent-layout{grid-template-columns:1fr;grid-template-rows:auto 1fr auto;height:auto;min-height:calc(100vh - 300px)}.agent-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:12px;order:3}.queue-section,.history-section{max-height:350px}.agent-main{order:1;min-height:500px}.agent-right-sidebar{order:2;max-height:300px}}@media(max-width:768px){.agent-dashboard{padding:12px;margin-top:56px}.agent-header{flex-direction:column;align-items:flex-start;padding:12px}.agent-info{width:100%}.agent-status-control{width:100%;justify-content:flex-start}.status-select{flex:1;min-width:auto}.agent-stats{grid-template-columns:1fr;gap:12px}.agent-layout{grid-template-columns:1fr;grid-template-rows:auto 1fr auto;gap:12px}.agent-sidebar{display:flex;flex-direction:column;order:3}.queue-section{max-height:300px}.history-section{max-height:250px;min-height:150px}.agent-main{order:1;min-height:450px}.agent-right-sidebar{order:2;max-height:250px}.queue-item{padding:10px}.queue-avatar{width:40px;height:40px}.queue-name{font-size:13px}.queue-message{font-size:12px}}@media(max-width:480px){.agent-dashboard{padding:8px;margin-top:56px}.agent-header{padding:12px;border-radius:8px}.agent-avatar-large{width:48px;height:48px}.agent-info h2{font-size:18px}.agent-subtitle{font-size:12px}.agent-status-control{flex-direction:column;align-items:stretch;gap:8px}.agent-status-control label{font-size:13px}.status-select{width:100%;padding:8px 12px;font-size:13px}.agent-stats{gap:8px}.agent-stat-card{padding:12px;gap:10px}.agent-stat-icon{width:40px;height:40px;font-size:20px}.agent-stat-label{font-size:11px}.agent-stat-value{font-size:18px}.agent-layout{gap:8px}.agent-main{min-height:400px;border-radius:8px}.queue-section,.history-section,.agent-right-sidebar{border-radius:8px;padding:12px}.queue-section{max-height:280px}.history-section{max-height:200px;min-height:120px}.queue-header h3,.history-section h3{font-size:14px}.queue-item{padding:8px;gap:8px}.queue-avatar{width:36px;height:36px}.queue-name{font-size:12px}.queue-message{font-size:11px}.queue-meta{font-size:10px}.history-name{font-size:12px}.history-duration{font-size:11px}.history-meta{font-size:10px}.no-conversation{padding:20px}.no-conversation-icon{font-size:60px}.no-conversation h3{font-size:18px}.no-conversation p{font-size:13px}}@media(max-width:360px){.agent-dashboard{padding:6px}.agent-header{padding:10px}.agent-info{gap:10px}.agent-avatar-large{width:44px;height:44px}.agent-info h2{font-size:16px}.agent-stat-card{padding:10px}.agent-stat-icon{width:36px;height:36px;font-size:18px}.agent-stat-value{font-size:16px}}.real-time-monitor{display:flex;flex-direction:column;gap:24px}.metrics-header{display:flex;align-items:center;gap:12px;margin-bottom:20px}.metrics-icon{font-size:24px}.metrics-title{font-size:20px;font-weight:700;color:#1f2937;margin:0}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:30px}.metric-card{background:#fff;padding:20px;border-radius:8px;box-shadow:0 1px 3px #0000001a}.metric-label{font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px;display:block}.metric-value{font-size:32px;font-weight:700;color:#1f2937;margin-bottom:8px;display:block}.metric-stars{font-size:20px;color:#fbbf24}.metric-bar{width:100%;height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden;margin-top:8px;position:relative}.metric-bar-fill{height:100%;border-radius:4px;transition:width .3s ease;position:absolute;top:0;left:0;min-width:0}.monitor-filters{display:flex;gap:12px;flex-wrap:wrap}.filter-btn{padding:10px 20px;background:#fff;border:2px solid #e5e7eb;border-radius:8px;font-size:14px;font-weight:600;color:#6b7280;cursor:pointer;transition:all .3s}.filter-btn:hover{border-color:#3b82f6;color:#3b82f6}.filter-btn.active{background:#3b82f6;border-color:#3b82f6;color:#fff}.agents-monitor-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}.agent-monitor-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 1px 3px #0000001a;transition:transform .2s,box-shadow .2s}.agent-monitor-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.agent-monitor-header{display:flex;gap:12px;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #e5e7eb}.agent-monitor-avatar-container{position:relative}.agent-monitor-avatar{width:56px;height:56px;border-radius:50%;border:3px solid #e5e7eb}.agent-status-indicator{position:absolute;bottom:2px;right:2px;width:16px;height:16px;border-radius:50%;border:3px solid white}.agent-monitor-info{flex:1;display:flex;flex-direction:column;gap:2px}.agent-monitor-name{font-size:16px;font-weight:600;color:#1f2937}.agent-monitor-status{font-size:13px;font-weight:600}.agent-monitor-time{font-size:12px;color:#6b7280;margin-top:4px}.agent-current-interaction{background:#f9fafb;border-radius:8px;padding:12px;margin-bottom:16px;border:1px solid #e5e7eb}.interaction-header{display:flex;align-items:center;gap:8px}.interaction-icon{font-size:18px}.interaction-client{font-size:14px;font-weight:600;color:#1f2937}.agent-monitor-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.agent-stat-item{display:flex;flex-direction:column;align-items:center;text-align:center;padding:10px;background:#f9fafb;border-radius:8px}.stat-item-label{font-size:11px;color:#6b7280;margin-bottom:4px;text-transform:uppercase}.stat-item-value{font-size:16px;font-weight:700;color:#1f2937}.agent-monitor-actions{display:flex;gap:8px}.monitor-action-btn{flex:1;padding:8px 12px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:6px;font-size:13px;font-weight:600;color:#1f2937;cursor:pointer;transition:all .2s}.monitor-action-btn:hover{background:#e5e7eb;border-color:#3b82f6;color:#3b82f6}.monitor-modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;justify-content:center;align-items:center;z-index:9999;padding:20px}.monitor-modal{background:#fff;border-radius:12px;max-width:600px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px -5px #0000001a}.monitor-modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e5e7eb}.monitor-modal-header h3{font-size:20px;font-weight:600;color:#1f2937;margin:0}.monitor-modal-close{background:none;border:none;font-size:24px;color:#6b7280;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.monitor-modal-close:hover{background:#f3f4f6;color:#1f2937}.monitor-modal-body{padding:24px}.agent-detail-info{display:flex;gap:16px;align-items:center;margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid #e5e7eb}.agent-detail-avatar{width:64px;height:64px;border-radius:50%;object-fit:cover;border:2px solid #e5e7eb}.agent-detail-info h4{font-size:18px;font-weight:600;color:#1f2937;margin:0 0 4px}.agent-detail-info p{font-size:14px;color:#6b7280;margin:0}.agent-detail-stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.detail-stat{text-align:center;padding:16px;background:#f9fafb;border-radius:8px}.detail-stat-label{display:block;font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;margin-bottom:8px}.detail-stat-value{display:block;font-size:24px;font-weight:700;color:#1f2937}.current-interaction-detail{background:#f3f4f6;padding:16px;border-radius:8px;margin-bottom:24px}.current-interaction-detail h4{font-size:16px;font-weight:600;color:#1f2937;margin:0 0 12px}.current-interaction-detail p{font-size:14px;color:#374151;margin:0 0 8px}.interaction-actions{display:flex;gap:8px;margin-top:12px}.agent-actions-section{margin-bottom:24px}.agent-actions-section h4{font-size:16px;font-weight:600;color:#1f2937;margin:0 0 12px}.agent-actions-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.agent-historial-section{margin-top:24px;padding-top:24px;border-top:1px solid #e5e7eb}.agent-historial-section h4{font-size:16px;font-weight:600;color:#1f2937;margin:0 0 12px}.historial-list{max-height:200px;overflow-y:auto}.historial-item{padding:12px;background:#f9fafb;border-radius:6px;margin-bottom:8px}.historial-item p{font-size:14px;color:#374151;margin:0}.btn{padding:8px 16px;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.btn-primary{background:#3b82f6;color:#fff}.btn-primary:hover{background:#2563eb}.btn-secondary{background:#f3f4f6;color:#374151;border:1px solid #e5e7eb}.btn-secondary:hover{background:#e5e7eb}.empty-state{text-align:center;padding:60px 20px;color:#6b7280}.empty-state p{font-size:16px;margin:0}@media(max-width:768px){.metrics-grid,.agents-monitor-grid,.agent-detail-stats-grid,.agent-actions-grid{grid-template-columns:1fr}.monitor-filters{flex-direction:column}.filter-btn{width:100%}}.reports-container{display:flex;flex-direction:column;gap:24px}.reports-header{background:#fff;border-radius:12px;padding:20px;box-shadow:0 1px 3px #0000001a;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.reports-filters{display:flex;gap:16px;flex-wrap:wrap;align-items:center}.filter-group{display:flex;align-items:center;gap:8px}.filter-group label{font-size:14px;font-weight:600;color:#6b7280}.filter-select,.filter-input{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;min-width:150px}.filter-select:focus,.filter-input:focus{outline:none;border-color:#3b82f6}.reports-actions{display:flex;gap:12px}.report-section{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #0000001a}.report-title{font-size:20px;font-weight:700;color:#1f2937;margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid #e5e7eb}.report-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-bottom:24px}.report-stat-card{display:flex;gap:16px;padding:20px;background:#f9fafb;border-radius:12px;border:1px solid #e5e7eb}.report-stat-icon{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:28px;flex-shrink:0}.report-stat-content{flex:1}.report-stat-content h4{font-size:13px;color:#6b7280;margin-bottom:8px;font-weight:600}.report-stat-value{font-size:32px;font-weight:700;color:#1f2937;line-height:1;margin-bottom:8px}.report-stat-breakdown{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#6b7280}.report-time-values{display:flex;flex-direction:column;gap:8px}.time-value{display:flex;justify-content:space-between;align-items:center}.time-label{font-size:13px;color:#6b7280}.time-number{font-size:18px;font-weight:700;color:#1f2937}.star-rating{font-size:18px}.report-details-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.report-detail-card{padding:20px;background:#f9fafb;border-radius:12px;border:1px solid #e5e7eb}.report-detail-card h4{font-size:14px;color:#6b7280;margin-bottom:12px;font-weight:600}.detail-value-container{display:flex;align-items:baseline;gap:8px}.detail-main-value{font-size:36px;font-weight:700;color:#1f2937}.detail-percentage{font-size:18px;color:#6b7280}.peak-hours{display:flex;gap:8px;flex-wrap:wrap}.peak-hour-badge{padding:8px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:20px;font-size:14px;font-weight:600;color:#1f2937}.report-table{width:100%;border-collapse:collapse}.report-table thead{background:#f9fafb}.report-table th{padding:12px;text-align:left;font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;border-bottom:2px solid #e5e7eb}.report-table td{padding:16px 12px;border-bottom:1px solid #e5e7eb}.agent-name-cell{font-weight:600;color:#1f2937}.number-cell{text-align:center;font-weight:600;color:#1f2937}.time-cell{text-align:center;color:#6b7280}.rating-cell{text-align:center}.rating-badge{padding:4px 12px;background:#fef3c7;color:#92400e;border-radius:12px;font-size:13px;font-weight:600}.percentage-cell{padding:8px 12px}.percentage-bar-container{position:relative;height:24px;background:#e5e7eb;border-radius:12px;overflow:hidden}.percentage-bar{height:100%;border-radius:12px;transition:width .5s ease}.percentage-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:12px;font-weight:700;color:#1f2937;z-index:1}.agents-summary{display:flex;justify-content:space-around;padding:20px;margin-top:24px;background:#f9fafb;border-radius:12px;border:1px solid #e5e7eb}.summary-item{display:flex;flex-direction:column;align-items:center;gap:8px}.summary-label{font-size:13px;color:#6b7280;font-weight:500}.summary-value{font-size:24px;font-weight:700;color:#1f2937}.campaign-report-card{padding:24px;background:#f9fafb;border-radius:12px;border:1px solid #e5e7eb;margin-bottom:20px}.campaign-report-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;border-bottom:2px solid #e5e7eb}.campaign-report-header h4{font-size:18px;font-weight:600;color:#1f2937}.campaign-roi-badge{padding:8px 16px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border-radius:20px;font-size:14px;font-weight:700}.campaign-report-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin-bottom:24px}.campaign-report-stat{text-align:center;padding:16px;background:#fff;border-radius:8px;border:1px solid #e5e7eb}.stat-label{display:block;font-size:12px;color:#6b7280;margin-bottom:8px;font-weight:500}.stat-value{display:block;font-size:24px;font-weight:700;color:#1f2937;margin-bottom:4px}.stat-percentage{display:block;font-size:13px;color:#6b7280;font-weight:600}.campaign-report-funnel{display:flex;flex-direction:column;gap:8px}.funnel-stage{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:linear-gradient(90deg,#3b82f6,#8b5cf6);color:#fff;border-radius:8px;font-size:14px;font-weight:600;transition:width .5s ease}.funnel-label{font-weight:600}.funnel-value{font-weight:700}.conversations-monitor{padding:20px;height:calc(100vh - 120px);display:flex;flex-direction:column}.monitor-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:15px;border-bottom:2px solid #e5e7eb}.monitor-header h2{margin:0;color:#1f2937;font-size:24px}.monitor-content{display:grid;grid-template-columns:380px 1fr;gap:20px;flex:1;overflow:hidden}.conversations-list{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;overflow-y:auto;padding:10px}.conversation-item{padding:15px;border-radius:8px;margin-bottom:10px;cursor:pointer;transition:all .2s;border:2px solid transparent;position:relative}.conversation-item:hover{background:#f9fafb;border-color:#3b82f6}.conversation-item.active{background:#eff6ff;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.conv-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.conv-client{display:flex;flex-direction:column}.conv-name{font-weight:600;color:#1f2937;font-size:15px}.conv-phone{font-size:12px;color:#6b7280;margin-top:2px}.conv-duration{font-size:12px;color:#6b7280;background:#f3f4f6;padding:4px 8px;border-radius:4px}.conv-body{display:flex;flex-direction:column;gap:4px}.conv-agent{font-size:12px;color:#3b82f6;font-weight:500}.conv-last-message{font-size:13px;color:#6b7280;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conv-badge{position:absolute;top:10px;right:10px;background:#ef4444;color:#fff;border-radius:50%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}.chat-viewer{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;display:flex;flex-direction:column;overflow:hidden}.chat-viewer-header{padding:20px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center;background:#f9fafb}.chat-info h3{margin:0 0 5px;color:#1f2937;font-size:18px}.chat-info p{margin:0 0 8px;color:#6b7280;font-size:14px}.agent-tag{display:inline-block;background:#dbeafe;color:#1e40af;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:500}.chat-actions{display:flex;gap:10px}.chat-messages{flex:1;overflow-y:auto;padding:20px;background:#f9fafb}.chat-message{display:flex;margin-bottom:16px}.chat-message.message-sent{justify-content:flex-end}.chat-message.message-received{justify-content:flex-start}.message-bubble{max-width:70%;padding:12px 16px;border-radius:12px;box-shadow:0 1px 2px #0000001a}.message-sent .message-bubble{background:#dcfce7;border-bottom-right-radius:4px}.message-received .message-bubble{background:#fff;border-bottom-left-radius:4px}.message-text{margin:0 0 6px;color:#1f2937;line-height:1.5;word-wrap:break-word}.message-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:4px}.message-time{font-size:11px;color:#6b7280}.message-sender{font-size:10px;color:#9ca3af;font-weight:500}.chat-footer{padding:15px 20px;border-top:1px solid #e5e7eb;background:#f9fafb}.read-only-notice{text-align:center;color:#6b7280;font-size:14px;font-style:italic}.chat-viewer-empty{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.empty-icon{font-size:64px;margin-bottom:16px;opacity:.3}.chat-viewer-empty p{color:#6b7280;font-size:16px}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;padding:24px;max-width:500px;width:90%;max-height:80vh;overflow-y:auto}.modal-content h3{margin:0 0 10px;color:#1f2937}.modal-content p{margin:0 0 20px;color:#6b7280}.agents-list{display:flex;flex-direction:column;gap:10px;margin-bottom:20px;max-height:400px;overflow-y:auto}.agent-option{padding:15px;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s}.agent-option:hover{border-color:#3b82f6;background:#eff6ff}.agent-info{display:flex;justify-content:space-between;align-items:center}.agent-name{font-weight:600;color:#1f2937}.agent-status{padding:4px 10px;border-radius:6px;font-size:12px;font-weight:500}.agent-status.online,.agent-status.disponible{background:#d1fae5;color:#065f46}.agent-status.busy,.agent-status.ocupado{background:#fee2e2;color:#991b1b}.agent-status.away,.agent-status.ausente{background:#fef3c7;color:#92400e}.agent-status.offline{background:#f3f4f6;color:#6b7280}.empty-state{padding:40px;text-align:center;color:#6b7280}.loading-messages{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:40px}.loading-spinner{border:4px solid #f3f4f6;border-top:4px solid #3b82f6;border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(max-width:1024px){.monitor-content{grid-template-columns:1fr}.conversations-list{max-height:300px}}.supervisor-dashboard{padding:20px;margin-top:64px;margin-left:290px}.tabs-container{display:flex;gap:8px;margin-bottom:30px;border-bottom:2px solid #e5e7eb;padding-bottom:10px}.tab{padding:10px 20px;background:transparent;border:none;border-bottom:3px solid transparent;font-size:14px;font-weight:600;color:#6b7280;cursor:pointer;transition:all .2s;position:relative;top:2px}.tab:hover{color:#3b82f6}.tab.active{color:#3b82f6;border-bottom-color:#3b82f6}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:20px}.loading-spinner{width:48px;height:48px;border:4px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite}.loading-container p{font-size:16px;color:#6b7280}.alert{padding:16px 20px;border-radius:8px;font-size:14px;margin-bottom:20px}.alert-warning{background:#fef3c7;color:#92400e;border-left:4px solid #f59e0b}@media(max-width:1200px){.supervisor-dashboard{margin-left:0;padding:20px}}@media(max-width:768px){.supervisor-dashboard{padding:16px;margin-top:60px}.tabs-container{flex-direction:column;gap:4px}.tab{width:100%;text-align:left;border-bottom:none;border-left:3px solid transparent;top:0}.tab.active{border-bottom-color:transparent;border-left-color:#3b82f6}}.user-management{padding:32px;max-width:1400px;margin-top:64px;margin-left:290px;min-height:calc(100vh - 64px);background:#f9fafb}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px;background:#fff;padding:24px;border-radius:12px;box-shadow:0 1px 3px #0000001a}.page-header h1{font-size:32px;font-weight:700;color:#111827;margin:0 0 6px;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.page-subtitle{font-size:15px;color:#6b7280;margin:0;font-weight:400}.stats-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-bottom:32px}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px;display:flex;align-items:center;gap:20px;transition:all .3s ease;box-shadow:0 1px 3px #0000000d}.stat-card:hover{transform:translateY(-4px);box-shadow:0 10px 20px #0000001a}.stat-icon{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:28px;flex-shrink:0}.stat-content{flex:1}.stat-label{font-size:13px;color:#6b7280;margin:0 0 6px;text-transform:uppercase;font-weight:600;letter-spacing:.5px}.stat-value{font-size:32px;font-weight:700;color:#111827;margin:0;line-height:1}.card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 1px 3px #0000000d}.card-title{font-size:20px;font-weight:700;color:#111827;margin:0 0 20px;padding-bottom:16px;border-bottom:2px solid #f3f4f6}.empty-state{padding:80px 20px;text-align:center;color:#6b7280;background:#f9fafb;border-radius:8px}.empty-state p{margin:0 0 20px;font-size:16px;font-weight:500}.table-container{overflow-x:auto;border-radius:8px;border:1px solid #e5e7eb}.table{width:100%;border-collapse:collapse}.table thead{background:linear-gradient(135deg,#667eea,#764ba2)}.table th{padding:16px 20px;text-align:left;font-size:13px;font-weight:700;color:#fff;text-transform:uppercase;letter-spacing:.5px;border:none}.table tbody tr{border-bottom:1px solid #f3f4f6;transition:background .2s ease}.table tbody tr:hover{background:#f9fafb}.table td{padding:16px 20px;font-size:14px;color:#374151;vertical-align:middle}.table tbody tr:last-child{border-bottom:none}.user-cell{display:flex;align-items:center;gap:14px}.user-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;border:2px solid #e5e7eb}.action-buttons{display:flex;gap:8px}.btn-icon{background:#f9fafb;border:1px solid #e5e7eb;cursor:pointer;font-size:16px;padding:8px 12px;border-radius:8px;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center}.btn-icon:hover{background:#f3f4f6;transform:translateY(-2px);box-shadow:0 4px 8px #0000001a}.btn-icon.btn-danger:hover{background:#fee2e2;border-color:#fecaca;color:#dc2626}.badge{display:inline-block;padding:6px 14px;border-radius:16px;font-size:12px;font-weight:600;letter-spacing:.3px}.badge-green{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.badge-red{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.badge-blue{background:#dbeafe;color:#1e40af;border:1px solid #bfdbfe}.badge-yellow{background:#fef3c7;color:#92400e;border:1px solid #fde68a}.btn{padding:12px 24px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;gap:8px;box-shadow:0 2px 4px #0000000d}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 12px #667eea66}.btn-primary:disabled{background:#93c5fd;cursor:not-allowed;transform:none;box-shadow:none}.btn-secondary{background:#fff;color:#374151;border:1px solid #d1d5db}.btn-secondary:hover{background:#f9fafb;border-color:#9ca3af}.alert{padding:14px 18px;border-radius:8px;margin-bottom:20px;display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500;animation:slideDown .3s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.alert-success{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.alert-danger{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.alert-warning{background:#fef3c7;color:#92400e;border:1px solid #fde68a}.modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:16px;width:100%;max-width:550px;max-height:90vh;overflow-y:auto;animation:modalSlideUp .3s ease;box-shadow:0 20px 60px #0000004d}@keyframes modalSlideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.modal-header{padding:24px 28px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px 16px 0 0}.modal-header h2{font-size:22px;font-weight:700;color:#fff;margin:0}.modal-close{background:#fff3;border:none;font-size:24px;cursor:pointer;color:#fff;padding:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s ease}.modal-close:hover{background:#ffffff4d;transform:rotate(90deg)}.modal-content form{padding:28px}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:28px;padding-top:20px;border-top:1px solid #e5e7eb}.form-group{margin-bottom:20px}.form-group label{display:block;font-size:14px;font-weight:600;color:#374151;margin-bottom:8px}.form-group input,.form-group select{width:100%;padding:12px 16px;border:2px solid #e5e7eb;border-radius:8px;font-size:14px;transition:all .2s ease;background:#fff}.form-group input:focus,.form-group select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group input.error,.form-group select.error{border-color:#ef4444}.form-group input:disabled{background:#f9fafb;cursor:not-allowed;color:#9ca3af}.error-message{display:block;font-size:13px;color:#ef4444;margin-top:6px;font-weight:500}.checkbox-label{display:flex;align-items:center;gap:10px;cursor:pointer;-webkit-user-select:none;user-select:none}.checkbox-label input[type=checkbox]{width:20px;height:20px;cursor:pointer;accent-color:#667eea}.checkbox-label span{font-size:14px;color:#374151;font-weight:500}@media(max-width:1024px){.user-management{margin-left:0;padding:24px}}@media(max-width:768px){.user-management{padding:16px;margin-top:60px}.page-header{flex-direction:column;align-items:flex-start;gap:16px;padding:20px}.page-header h1{font-size:26px}.stats-row{grid-template-columns:1fr}.table-container{overflow-x:scroll}.table{min-width:700px}.modal-content{max-width:100%;margin:0;border-radius:16px;max-height:100vh}.modal-content form{padding:20px}}.loading-spinner{display:inline-block;width:20px;height:20px;border:3px solid #f3f4f6;border-top-color:#667eea;border-radius:50%;animation:spin .8s linear infinite}.tickets-container{padding:2rem;max-width:1400px;margin:64px auto 0 290px}.tickets-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.tickets-title{font-size:2rem;font-weight:800;color:#1a202c;margin:0 0 .5rem}.tickets-subtitle{font-size:1rem;color:#718096;margin:0}.btn-crear-ticket{background:linear-gradient(135deg,#00b9e4,#5bc0de);color:#fff;padding:.875rem 1.75rem;border:none;border-radius:12px;font-weight:600;font-size:1rem;cursor:pointer;box-shadow:0 4px 16px #00b9e433;transition:all .3s ease}.btn-crear-ticket:hover{transform:translateY(-2px);box-shadow:0 6px 20px #00b9e44d}.tickets-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;margin-bottom:2rem}.tickets-filters{display:flex;gap:1rem;margin-bottom:2rem;flex-wrap:wrap}.filter-search:focus{outline:none;border-color:#00b9e4;box-shadow:0 0 0 3px #00b9e41a}.filter-select:focus{outline:none;border-color:#00b9e4}.tickets-table-container{background:#fff;border-radius:16px;box-shadow:0 2px 8px #00000014;overflow:hidden}.tickets-table{width:100%;border-collapse:collapse}.tickets-table thead{background:#f7fafc;border-bottom:2px solid #e2e8f0}.tickets-table th{padding:1rem;text-align:left;font-weight:700;color:#1a202c;font-size:.875rem;text-transform:uppercase;letter-spacing:.05em}.tickets-table tbody tr{border-bottom:1px solid #e2e8f0;transition:background .2s ease}.tickets-table tbody tr:hover{background:#f7fafc}.tickets-table td{padding:1rem;font-size:.9375rem;color:#4a5568}.ticket-numero{font-family:Courier New,monospace;font-weight:700;color:#00b9e4;background:#00b9e41a;padding:.25rem .5rem;border-radius:6px;font-size:.875rem}.ticket-titulo-cell{display:flex;flex-direction:column;gap:.25rem}.ticket-categoria{font-size:.75rem;color:#718096;background:#f7fafc;padding:.125rem .5rem;border-radius:4px;width:fit-content}.badge{padding:.375rem .75rem;border-radius:8px;font-size:.8125rem;font-weight:600;color:#fff;text-transform:capitalize;display:inline-block}.badge-estado{min-width:100px;text-align:center}.prioridad-select,.agente-select{padding:.5rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.875rem;background:#fff;cursor:pointer;font-weight:600;transition:all .2s ease}.prioridad-select:hover,.agente-select:hover{border-color:#00b9e4}.prioridad-select:focus,.agente-select:focus{outline:none;border-color:#00b9e4;box-shadow:0 0 0 3px #00b9e41a}.ticket-actions{display:flex;gap:.5rem}.btn-cerrar{background:#10b981;color:#fff}.btn-cerrar:hover{background:#059669;transform:scale(1.1)}.btn-reabrir{background:#f59e0b;color:#fff}.btn-reabrir:hover{background:#d97706;transform:scale(1.1)}.spinner{width:50px;height:50px;border:4px solid #f3f4f6;border-top-color:#00b9e4;border-radius:50%;animation:spin 1s linear infinite}.modal-content{background:#fff;border-radius:20px;box-shadow:0 20px 60px #0000004d;max-width:600px;width:100%;max-height:90vh;overflow:auto;animation:modalSlideIn .3s ease-out}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#00b9e4;box-shadow:0 0 0 3px #00b9e41a}.btn-guardar{background:linear-gradient(135deg,#00b9e4,#5bc0de);color:#fff;box-shadow:0 4px 16px #00b9e433}.btn-guardar:hover{transform:translateY(-2px);box-shadow:0 6px 20px #00b9e44d}.ticket-detalle{max-height:70vh;overflow-y:auto}.detalle-header{display:flex;gap:.75rem;margin-bottom:1.5rem}.detalle-descripcion{color:#4a5568;line-height:1.7;margin:1rem 0 1.5rem;padding:1rem;background:#f7fafc;border-radius:12px}.detalle-info{display:grid;gap:1rem;background:#fff;padding:1.5rem;border:2px solid #e2e8f0;border-radius:12px;margin-bottom:1.5rem}@media(max-width:1024px){.tickets-stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.tickets-container{padding:1rem}.tickets-header{flex-direction:column;align-items:flex-start;gap:1rem}.btn-crear-ticket{width:100%}.tickets-stats{grid-template-columns:1fr}.tickets-filters{flex-direction:column}.filter-search{width:100%}.tickets-table-container{overflow-x:auto}.tickets-table{min-width:900px}.form-row{grid-template-columns:1fr}.modal-content{margin:.5rem;max-width:100%}}.ratings-container{padding:2rem;max-width:1400px;margin:64px auto 0 290px}.ratings-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.ratings-title{font-size:2rem;font-weight:800;color:#1a202c;margin:0 0 .5rem}.ratings-subtitle{font-size:1rem;color:#718096;margin:0}.btn-crear-rating{background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff;padding:.875rem 1.75rem;border:none;border-radius:12px;font-weight:600;font-size:1rem;cursor:pointer;box-shadow:0 4px 16px #f093fb4d;transition:all .3s ease}.btn-crear-rating:hover{transform:translateY(-2px);box-shadow:0 6px 20px #f093fb66}.ratings-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;margin-bottom:2rem}.ratings-filters{display:flex;gap:1rem;margin-bottom:2rem;flex-wrap:wrap}.filter-search{flex:1;min-width:250px;padding:.75rem 1rem;border:2px solid #e2e8f0;border-radius:12px;font-size:1rem;transition:all .3s ease}.filter-search:focus{outline:none;border-color:#f093fb;box-shadow:0 0 0 3px #f093fb1a}.filter-select:focus{outline:none;border-color:#f093fb}.ratings-table-container{background:#fff;border-radius:16px;box-shadow:0 2px 8px #00000014;overflow:hidden}.ratings-table{width:100%;border-collapse:collapse}.ratings-table thead{background:#f7fafc;border-bottom:2px solid #e2e8f0}.ratings-table th{padding:1rem;text-align:left;font-weight:700;color:#1a202c;font-size:.875rem;text-transform:uppercase;letter-spacing:.05em}.ratings-table tbody tr{border-bottom:1px solid #e2e8f0;transition:background .2s ease}.ratings-table tbody tr:hover{background:#f7fafc}.ratings-table td{padding:1rem;font-size:.9375rem;color:#4a5568}.estrellas{display:flex;gap:.125rem;font-size:1.25rem}.estrella-llena{color:#fbbf24}.estrella-vacia{color:#d1d5db}.puntuacion{padding:.375rem .75rem;border-radius:8px;font-weight:700;font-size:.9375rem;color:#fff;display:inline-block}.puntuacion-excelente{background:linear-gradient(135deg,#10b981,#059669)}.puntuacion-bueno{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.puntuacion-regular{background:linear-gradient(135deg,#f59e0b,#d97706)}.puntuacion-malo{background:linear-gradient(135deg,#ef4444,#dc2626)}.rating-actions{display:flex;gap:.5rem}.btn-ver{background:#3b82f6;color:#fff}.btn-ver:hover{background:#2563eb;transform:scale(1.1)}.spinner{width:50px;height:50px;border:4px solid #f3f4f6;border-top-color:#f093fb;border-radius:50%;animation:spin 1s linear infinite}.modal-content{background:#fff;border-radius:20px;box-shadow:0 20px 60px #0000004d;max-width:700px;width:100%;max-height:90vh;overflow:auto;animation:modalSlideIn .3s ease-out}.form-section{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid #e2e8f0}.form-section:last-child{border-bottom:none}.form-section h3{font-size:1.125rem;font-weight:700;color:#1a202c;margin:0 0 1rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;font-weight:600;color:#1a202c;margin-bottom:.5rem;font-size:.9375rem}.form-group input,.form-group textarea,.form-group select{width:100%;padding:.75rem;border:2px solid #e2e8f0;border-radius:12px;font-size:1rem;transition:all .3s ease}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#f093fb;box-shadow:0 0 0 3px #f093fb1a}.form-group textarea{resize:vertical;font-family:inherit}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.criterio-group{margin-bottom:1rem;padding:1rem;background:#f7fafc;border-radius:12px}.criterio-label{display:block;font-weight:600;color:#1a202c;margin-bottom:.5rem}.rating-input{display:flex;align-items:center;gap:.5rem}.btn-star{background:none;border:none;font-size:2rem;color:#d1d5db;cursor:pointer;transition:all .2s ease;padding:0}.btn-star:hover{transform:scale(1.2)}.btn-star.active{color:#fbbf24}.rating-value{font-weight:700;color:#1a202c;margin-left:.5rem;font-size:1.125rem}.rating-detalle{max-height:70vh;overflow-y:auto}.detalle-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #e2e8f0}.detalle-header h3{font-size:1.25rem;font-weight:800;color:#1a202c;margin:0}.puntuacion-grande{font-size:2rem;font-weight:800;padding:.5rem 1rem;border-radius:12px}.detalle-info{display:grid;gap:1rem;background:#f7fafc;padding:1.5rem;border-radius:12px;margin:1.5rem 0}.info-item{display:flex;gap:.5rem;font-size:.9375rem}.info-item strong{color:#1a202c;min-width:120px}.criterios-detalle{margin:1.5rem 0}.criterios-detalle h4{font-size:1rem;font-weight:700;color:#1a202c;margin:0 0 1rem}.criterio-detalle{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:#f7fafc;border-radius:8px;margin-bottom:.5rem}.criterio-nombre{font-weight:600;color:#1a202c}.criterio-valor{display:flex;align-items:center;gap:.5rem}.valor-numerico{font-weight:700;color:#4a5568;margin-left:.5rem}.seccion-comentario{margin:1.5rem 0;padding:1rem;border-left:4px solid #cbd5e0;background:#f7fafc;border-radius:8px}.seccion-comentario h4{font-size:1rem;font-weight:700;color:#1a202c;margin:0 0 .75rem}.seccion-comentario p{color:#4a5568;line-height:1.6;margin:0}.seccion-comentario.positivos{border-left-color:#10b981;background:#d1fae5}.seccion-comentario.mejorar{border-left-color:#f59e0b;background:#fef3c7}.modal-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:1.5rem;border-top:2px solid #e2e8f0}.btn-cancelar,.btn-guardar{padding:.875rem 1.75rem;border:none;border-radius:12px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .3s ease}.btn-cancelar{background:#f3f4f6;color:#4a5568}.btn-cancelar:hover{background:#e5e7eb}.btn-guardar{background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff;box-shadow:0 4px 16px #f093fb33}.btn-guardar:hover{transform:translateY(-2px);box-shadow:0 6px 20px #f093fb4d}@media(max-width:1024px){.ratings-stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.ratings-container{padding:1rem}.ratings-header{flex-direction:column;align-items:flex-start;gap:1rem}.btn-crear-rating{width:100%}.ratings-stats{grid-template-columns:1fr}.ratings-filters{flex-direction:column}.filter-search{width:100%}.ratings-table-container{overflow-x:auto}.ratings-table{min-width:900px}.form-row{grid-template-columns:1fr}.modal-content{margin:.5rem;max-width:100%}}.recordings-container{padding:2rem;max-width:1400px;margin:64px auto 0 290px}.recordings-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.recordings-title{font-size:2rem;font-weight:800;color:#1a202c;margin:0 0 .5rem}.recordings-subtitle{font-size:1rem;color:#718096;margin:0}.recordings-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:#fff;padding:1.5rem;border-radius:16px;box-shadow:0 2px 8px #00000014;display:flex;align-items:center;gap:1rem;transition:all .3s ease}.stat-card:hover{transform:translateY(-4px);box-shadow:0 4px 16px #0000001f}.stat-icon{width:60px;height:60px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:#fff}.stat-info{display:flex;flex-direction:column}.stat-value{font-size:1.75rem;font-weight:800;color:#1a202c}.stat-label{font-size:.875rem;color:#718096;font-weight:500}.recordings-filters{display:flex;gap:1rem;margin-bottom:2rem;flex-wrap:wrap;align-items:center}.search-box{flex:1;min-width:300px;display:flex;gap:.5rem}.filter-search{flex:1;padding:.75rem 1rem;border:2px solid #e2e8f0;border-radius:12px;font-size:1rem;transition:all .3s ease}.filter-search:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.btn-buscar{padding:.75rem 1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:12px;font-weight:600;cursor:pointer;transition:all .3s ease;white-space:nowrap}.btn-buscar:hover{transform:translateY(-2px);box-shadow:0 4px 16px #667eea4d}.filter-select{padding:.75rem 1rem;border:2px solid #e2e8f0;border-radius:12px;font-size:1rem;background:#fff;cursor:pointer;transition:all .3s ease}.filter-select:focus{outline:none;border-color:#667eea}.btn-limpiar-filtros{padding:.75rem 1.5rem;background:#f3f4f6;border:none;border-radius:12px;font-weight:600;cursor:pointer;transition:all .3s ease}.btn-limpiar-filtros:hover{background:#e5e7eb}.recordings-table-container{background:#fff;border-radius:16px;box-shadow:0 2px 8px #00000014;overflow:hidden}.recordings-table{width:100%;border-collapse:collapse}.recordings-table thead{background:#f7fafc;border-bottom:2px solid #e2e8f0}.recordings-table th{padding:1rem;text-align:left;font-weight:700;color:#1a202c;font-size:.875rem;text-transform:uppercase;letter-spacing:.05em}.recordings-table tbody tr{border-bottom:1px solid #e2e8f0;transition:background .2s ease}.recordings-table tbody tr:hover{background:#f7fafc}.recordings-table td{padding:1rem;font-size:.9375rem;color:#4a5568}.cliente-info{display:flex;flex-direction:column;gap:.25rem}.cliente-telefono{font-size:.8125rem;color:#718096;font-family:Courier New,monospace}.badge{padding:.375rem .75rem;border-radius:8px;font-size:.8125rem;font-weight:600;color:#fff;display:inline-block;text-transform:capitalize}.badge-direccion{min-width:100px;text-align:center}.badge-inbound{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.badge-outbound{background:linear-gradient(135deg,#8b5cf6,#6d28d9)}.badge-estado{text-align:center}.badge-disponible{background:linear-gradient(135deg,#10b981,#059669)}.badge-procesando{background:linear-gradient(135deg,#f59e0b,#d97706)}.badge-error{background:linear-gradient(135deg,#ef4444,#dc2626)}.duracion,.reproducciones{font-family:Courier New,monospace;font-weight:700;color:#667eea;background:#667eea1a;padding:.25rem .5rem;border-radius:6px;font-size:.875rem}.reproducciones{color:#10b981;background:#10b9811a}.recording-actions{display:flex;gap:.5rem}.btn-action{padding:.5rem .75rem;border:none;border-radius:8px;cursor:pointer;font-size:1rem;transition:all .2s ease}.btn-play{background:#667eea;color:#fff}.btn-play:hover{background:#5568d3;transform:scale(1.1)}.btn-eliminar{background:#ef4444;color:#fff}.btn-eliminar:hover{background:#dc2626;transform:scale(1.1)}.loading-state,.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;background:#fff;border-radius:16px;box-shadow:0 2px 8px #00000014}.spinner{width:50px;height:50px;border:4px solid #f3f4f6;border-top-color:#667eea;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-state p{font-size:1.125rem;color:#718096;margin-top:1rem}.error-message{background:#fee2e2;color:#dc2626;padding:1rem;border-radius:12px;margin-bottom:1rem;border-left:4px solid #dc2626}.modal-overlay{position:fixed;inset:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:#fff;border-radius:20px;box-shadow:0 20px 60px #0000004d;max-width:800px;width:100%;max-height:90vh;overflow:auto;animation:modalSlideIn .3s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:2px solid #e2e8f0}.modal-header h2{font-size:1.5rem;font-weight:800;color:#1a202c;margin:0}.modal-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:#718096;transition:color .2s ease}.modal-close:hover{color:#ef4444}.modal-body{padding:2rem}.recording-detalle{display:flex;flex-direction:column;gap:2rem}.info-section h3{font-size:1.125rem;font-weight:700;color:#1a202c;margin:0 0 1rem}.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;background:#f7fafc;padding:1.5rem;border-radius:12px}.info-item{display:flex;flex-direction:column;gap:.25rem}.info-item strong{font-size:.8125rem;color:#718096;text-transform:uppercase;letter-spacing:.05em}.info-item span{font-size:1rem;color:#1a202c;font-weight:600}.audio-player-section{background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem;border-radius:16px;color:#fff}.audio-player-section h3{font-size:1.125rem;font-weight:700;margin:0 0 1rem;color:#fff}.audio-player{width:100%;margin-bottom:1rem;border-radius:8px}.audio-url{font-size:.8125rem;margin:0;word-break:break-all}.audio-url a{color:#fff;text-decoration:underline;opacity:.9}.audio-url a:hover{opacity:1}.transcripcion-section{background:#f0f9ff;padding:1.5rem;border-radius:12px;border-left:4px solid #3b82f6}.transcripcion-section h3{font-size:1rem;font-weight:700;color:#1e40af;margin:0 0 .75rem}.transcripcion-text{color:#1e3a8a;line-height:1.7;font-size:.9375rem}.notas-section{background:#fffbeb;padding:1.5rem;border-radius:12px;border-left:4px solid #f59e0b}.notas-section h3{font-size:1rem;font-weight:700;color:#d97706;margin:0 0 .75rem}.notas-text{color:#92400e;line-height:1.7;font-size:.9375rem}@media(max-width:1024px){.recordings-stats{grid-template-columns:repeat(2,1fr)}.info-grid{grid-template-columns:1fr}}@media(max-width:768px){.recordings-container{padding:1rem}.recordings-header{flex-direction:column;align-items:flex-start;gap:1rem}.recordings-stats{grid-template-columns:1fr}.recordings-filters{flex-direction:column}.search-box{width:100%;flex-direction:column}.filter-search,.btn-buscar{width:100%}.recordings-table-container{overflow-x:auto}.recordings-table{min-width:900px}.modal-content{margin:.5rem;max-width:100%}.info-grid{grid-template-columns:1fr}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f7fa}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.container{max-width:1400px;margin:0 auto;padding:20px}.card{background:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 4px #0000001a;margin-bottom:20px}.btn{padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .3s ease}.btn-primary{background-color:#3b82f6;color:#fff}.btn-primary:hover{background-color:#2563eb}.btn-secondary{background-color:#6b7280;color:#fff}.btn-secondary:hover{background-color:#4b5563}.btn-success{background-color:#10b981;color:#fff}.btn-success:hover{background-color:#059669}.btn-danger{background-color:#ef4444;color:#fff}.btn-danger:hover{background-color:#dc2626}.input{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;transition:border-color .3s}.input:focus{outline:none;border-color:#3b82f6}.badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:500}.badge-green{background-color:#d1fae5;color:#065f46}.badge-yellow{background-color:#fef3c7;color:#92400e}.badge-red{background-color:#fee2e2;color:#991b1b}.badge-blue{background-color:#dbeafe;color:#1e40af}:root{--mobile-padding: 1rem;--tablet-padding: 1.5rem;--desktop-padding: 2rem}@media(max-width:768px){.hide-mobile{display:none!important}}@media(min-width:769px){.hide-desktop{display:none!important}}@media(max-width:1024px){table{font-size:.9rem}table th,table td{padding:.75rem .5rem}}@media(max-width:768px){.table-container{overflow-x:auto;-webkit-overflow-scrolling:touch}table{font-size:.85rem;min-width:600px}table th,table td{padding:.6rem .4rem}}@media(max-width:1200px){.stats-grid,.cards-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.25rem}}@media(max-width:768px){.stats-grid,.cards-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.card{padding:1.25rem}}@media(max-width:640px){.stats-grid{grid-template-columns:repeat(2,1fr);gap:.75rem}.cards-grid{grid-template-columns:1fr}.card{padding:1rem}.card-header h3{font-size:1rem}}@media(max-width:768px){.btn{padding:.65rem 1.25rem;font-size:.9rem}.btn-sm{padding:.45rem .9rem;font-size:.8rem}.btn-lg{padding:.85rem 1.5rem;font-size:1rem}}@media(max-width:480px){.btn{padding:.6rem 1rem;font-size:.85rem}.btn-sm{padding:.4rem .75rem;font-size:.75rem}.btn-mobile-full{width:100%;justify-content:center}}@media(max-width:768px){.modal{width:95%;max-width:none;max-height:90vh;margin:1rem}.modal-header{padding:1.25rem 1rem}.modal-header h2{font-size:1.25rem}.modal-body{padding:1.25rem 1rem;max-height:calc(90vh - 180px)}.modal-footer{padding:1rem;flex-direction:column-reverse;gap:.75rem}.modal-footer .btn{width:100%}}@media(max-width:480px){.modal{width:100%;height:100%;max-height:100vh;margin:0;border-radius:0}.modal-body{max-height:calc(100vh - 180px)}}@media(max-width:768px){.form-group{margin-bottom:1.25rem}.form-group label{font-size:.9rem}.input,select,textarea{padding:.75rem;font-size:.95rem}.form-help{font-size:.8rem}}@media(max-width:480px){.form-group{margin-bottom:1rem}.input,select,textarea{padding:.65rem;font-size:.9rem}.form-row{flex-direction:column}.form-row .form-group{width:100%}}@media(max-width:1024px){.sidebar{width:250px}.sidebar.collapsed{width:70px}}@media(max-width:768px){.sidebar{position:fixed;left:-100%;top:0;bottom:0;width:280px;z-index:1000;transition:left .3s ease;box-shadow:2px 0 10px #0000001a}.sidebar.open{left:0}.sidebar.collapsed{left:-100%}.sidebar-overlay{display:none;position:fixed;inset:0;background:#00000080;z-index:999}.sidebar-overlay.active{display:block}.main-content{margin-left:0!important;width:100%!important}.mobile-menu-btn{display:flex!important}}@media(max-width:768px){.page-header{flex-direction:column;align-items:flex-start;gap:1rem}.page-header h1{font-size:1.5rem}.page-header .page-subtitle{font-size:.9rem}.page-header>div:last-child{width:100%}.page-header .btn{width:100%}}@media(max-width:480px){.page-header h1{font-size:1.35rem}}@media(max-width:768px){.dashboard-grid{grid-template-columns:1fr;gap:1rem}.stat-card{padding:1.25rem}.stat-card-value{font-size:1.75rem}.stat-card-label{font-size:.85rem}}@media(max-width:640px){.stat-card{padding:1rem}.stat-card-value{font-size:1.5rem}}@media(max-width:768px){.campaigns-list,.items-list{gap:1rem}.campaign-card,.item-card{padding:1.25rem}.campaign-header{flex-direction:column;align-items:flex-start;gap:1rem}.campaign-actions{width:100%;flex-wrap:wrap}.campaign-actions .btn{flex:1;min-width:120px}.campaign-stats-grid{grid-template-columns:repeat(2,1fr);gap:.75rem}}@media(max-width:480px){.campaign-card,.item-card{padding:1rem}.campaign-name{font-size:1.1rem}.campaign-actions .btn{font-size:.8rem;padding:.5rem .75rem}.campaign-stats-grid{grid-template-columns:repeat(2,1fr);gap:.5rem}.campaign-stat-value{font-size:1.25rem}.campaign-stat-label{font-size:.75rem}}@media(max-width:768px){.alert{padding:.9rem 1rem;font-size:.9rem}}@media(max-width:480px){.alert{padding:.75rem;font-size:.85rem}}@media(max-width:480px){.badge{padding:.3rem .6rem;font-size:.7rem}}@media(max-width:768px){.tabs{overflow-x:auto;-webkit-overflow-scrolling:touch}.tab{padding:.75rem 1.25rem;font-size:.9rem;white-space:nowrap}}@media(max-width:480px){.progress-container{height:6px}.progress-percentage{font-size:.8rem}}@media(max-width:768px){.container{padding:var(--tablet-padding)}.section{padding:1.5rem 0}}@media(max-width:480px){.container{padding:var(--mobile-padding)}.section{padding:1rem 0}.mb-4{margin-bottom:1.5rem!important}.mb-3{margin-bottom:1rem!important}.mb-2{margin-bottom:.75rem!important}}
