.login-container{display:flex;min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}.login-left{flex:1;display:flex;flex-direction:column;justify-content:center;padding:60px;color:#fff}.login-branding{margin-bottom:60px}.brand-icon{font-size:64px;margin-bottom:20px}.login-branding h1{font-size:56px;font-weight:800;margin:0 0 8px;letter-spacing:-1px}.login-branding p{font-size:18px;opacity:.95;font-weight:500;margin:0}.brand-tagline{font-size:15px;opacity:.8;margin-top:8px;font-weight:300;letter-spacing:.5px}.trust-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.trust-badge{background:#ffffff26;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:8px 14px;border-radius:20px;font-size:12px;color:#fff;font-weight:600;border:1px solid rgba(255,255,255,.2);transition:all .3s ease}.trust-badge:hover{background:#ffffff40;transform:translateY(-2px)}.login-features{display:flex;flex-direction:column;gap:24px;margin-top:40px}.feature{display:flex;align-items:flex-start;gap:16px;padding:15px;background:#ffffff14;border-radius:12px;transition:all .3s ease;border:1px solid rgba(255,255,255,.1)}.feature:hover{background:#ffffff1f;transform:translate(5px)}.feature-icon-premium{font-size:32px;min-width:48px;height:48px;background:#ffffff26;border-radius:12px;display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.feature-title{font-size:16px;font-weight:600;margin-bottom:4px}.feature-desc{font-size:14px;opacity:.85;line-height:1.4}.enterprise-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:40px;padding-top:30px;border-top:1px solid rgba(255,255,255,.15)}.stat-item{text-align:center}.stat-number{font-size:32px;font-weight:800;color:#fff;margin-bottom:5px;background:linear-gradient(135deg,gold,#ff851b);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.stat-label{font-size:12px;color:#ffffffb3;font-weight:500}.login-right{flex:1;display:flex;align-items:flex-start;justify-content:center;background:#fff;padding:60px 40px 40px;overflow-y:auto}.login-box{width:100%;max-width:440px}.login-header h2{font-size:36px;font-weight:800;color:#1a202c;margin:0 0 8px;letter-spacing:-.5px}.login-subtitle{font-size:15px;color:#64748b;margin:0 0 15px;font-weight:400}.security-indicator{display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#48bb7815,#38a16915);border:1px solid #48bb78;padding:10px 16px;border-radius:8px;margin-bottom:32px}.security-icon{font-size:16px}.security-text{color:#38a169;font-size:13px;font-weight:600}.admin-intro{background:linear-gradient(135deg,#f7fafc,#edf2f7);border:1px solid #e2e8f0;border-radius:12px;padding:16px;margin-top:24px;margin-bottom:24px}.intro-title{font-size:15px;font-weight:700;color:#2d3748;margin:0 0 12px;text-align:center}.intro-features{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.intro-feature{display:flex;align-items:center;gap:8px;background:#fff;padding:8px 10px;border-radius:8px;border:1px solid #e2e8f0;transition:all .3s ease}.intro-feature:hover{border-color:#667eea;transform:translate(3px);box-shadow:0 2px 8px #667eea26}.intro-icon{font-size:18px}.intro-text{font-size:12px;font-weight:600;color:#4a5568}.error-message{background:linear-gradient(135deg,#fee,#fdd);color:#c33;padding:12px 16px;border-radius:8px;margin-bottom:20px;font-size:14px;border-left:4px solid #c33;display:flex;align-items:center;gap:8px}.form-group{margin-bottom:24px}.form-group label{display:block;font-size:13px;font-weight:600;color:#475569;margin-bottom:8px;letter-spacing:.3px}.form-group input{width:100%;padding:12px 16px;font-size:16px;border:2px solid #e2e8f0;border-radius:8px;transition:all .3s;box-sizing:border-box}.password-input-wrapper{position:relative;display:flex;align-items:center}.password-input-wrapper input{padding-right:48px}.password-toggle{position:absolute;right:12px;background:none;border:none;cursor:pointer;font-size:20px;padding:4px;display:flex;align-items:center;justify-content:center;opacity:.6;transition:opacity .2s}.password-toggle:hover{opacity:1}.forgot-password-link{text-align:right;margin-top:-8px;margin-bottom:20px}.forgot-password-link span{color:#667eea;font-size:14px;cursor:pointer;transition:all .3s ease}.forgot-password-link span:hover{color:#764ba2;text-decoration:underline}.forgot-password-modal{background:#fff;border-radius:20px;width:90%;max-width:500px;max-height:85vh;overflow-y:auto;animation:slideUp .3s ease;box-shadow:0 20px 60px #0000004d}.forgot-password-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:25px 30px;border-radius:20px 20px 0 0;display:flex;justify-content:space-between;align-items:center}.forgot-password-header h3{margin:0;font-size:24px;font-weight:600}.forgot-password-header button{background:#fff3;border:none;color:#fff;font-size:32px;width:40px;height:40px;border-radius:50%;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;line-height:1}.forgot-password-header button:hover{background:#ffffff4d;transform:rotate(90deg)}.forgot-password-content{padding:40px 30px;text-align:center}.forgot-password-icon{font-size:64px;margin-bottom:20px;animation:fadeIn .5s ease}.forgot-password-content h4{color:#2d3748;font-size:22px;margin-bottom:15px;font-weight:600}.forgot-password-message{color:#4a5568;font-size:16px;line-height:1.6;margin-bottom:30px}.admin-contact-box{background:linear-gradient(135deg,#667eea15,#764ba215);border:2px solid #667eea;border-radius:15px;padding:25px;margin-bottom:20px}.contact-label{color:#667eea;font-size:14px;font-weight:600;margin-bottom:10px;text-transform:uppercase;letter-spacing:1px}.admin-email{color:#2d3748;font-size:20px;font-weight:700;text-decoration:none;display:inline-block;transition:all .3s ease}.admin-email:hover{color:#667eea;transform:scale(1.05)}.forgot-password-note{background:#f7fafc;border-left:4px solid #667eea;padding:15px;border-radius:8px;color:#4a5568;font-size:14px;line-height:1.5;text-align:left}.role-info-modal{background:#fff;border-radius:20px;width:90%;max-width:700px;max-height:85vh;overflow-y:auto;animation:slideUp .3s ease;box-shadow:0 20px 60px #0000004d}.role-info-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:25px 30px;border-radius:20px 20px 0 0;display:flex;justify-content:space-between;align-items:center}.role-info-header h3{margin:0;font-size:24px;font-weight:600}.role-info-header button{background:#fff3;border:none;color:#fff;font-size:32px;width:40px;height:40px;border-radius:50%;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;line-height:1}.role-info-header button:hover{background:#ffffff4d;transform:rotate(90deg)}.role-info-content{padding:30px;display:grid;gap:20px}.role-card{border-radius:15px;padding:25px;transition:all .3s ease}.role-card.master-admin{background:linear-gradient(135deg,#ffd70015,#ff851b15);border:2px solid #ffd700}.role-card.client-admin{background:linear-gradient(135deg,#667eea15,#764ba215);border:2px solid #667eea}.role-badge{display:inline-block;padding:8px 16px;border-radius:20px;font-size:14px;font-weight:700;margin-bottom:15px}.master-admin .role-badge{background:linear-gradient(135deg,gold,#ff851b);color:#2d3748}.client-admin .role-badge{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.role-card h4{color:#2d3748;font-size:20px;margin-bottom:15px;font-weight:600}.role-card ul{list-style:none;padding:0;margin:0}.role-card ul li{color:#4a5568;font-size:15px;padding:10px 0;border-bottom:1px solid rgba(0,0,0,.05)}.role-card ul li:last-child{border-bottom:none}.form-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.btn-login{width:100%;padding:14px;font-size:16px;font-weight:600;color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;cursor:pointer;transition:all .3s;display:flex;align-items:center;justify-content:center;gap:8px}.btn-login:hover{transform:translateY(-2px);box-shadow:0 12px 24px #667eea66}.btn-login:disabled{opacity:.7;cursor:not-allowed;transform:none}.spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.login-footer{margin-top:24px;text-align:center}.compliance-badges{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}.compliance-badge{background:linear-gradient(135deg,#f7fafc,#edf2f7);border:1px solid #e2e8f0;padding:6px 12px;border-radius:6px;font-size:11px;color:#4a5568;font-weight:700;transition:all .3s ease}.compliance-badge:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.login-footer p{font-size:13px;color:#718096}.login-links{margin-bottom:8px!important;display:flex;align-items:center;justify-content:center;gap:4px}.login-links span{cursor:pointer;color:#667eea;font-size:13px;transition:color .2s}.login-links span:hover{color:#764ba2;text-decoration:underline}.copyright{font-size:12px;color:#94a3b8;margin:0;font-weight:500}.modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:9999;animation:fadeIn .2s}.policy-modal{background:#fff;border-radius:16px;width:90%;max-width:600px;max-height:80vh;overflow:hidden;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s}.policy-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#667eea,#764ba2)}.policy-header h3{margin:0;font-size:24px;font-weight:700;color:#fff}.policy-header button{background:#fff3;border:none;color:#fff;font-size:28px;width:36px;height:36px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.policy-header button:hover{background:#ffffff4d}.policy-content{padding:24px;overflow-y:auto;max-height:calc(80vh - 80px)}.policy-content h4{font-size:18px;font-weight:600;color:#2d3748;margin:24px 0 12px}.policy-content h4:first-child{margin-top:0}.policy-content p{font-size:14px;line-height:1.6;color:#4a5568;margin:0 0 16px}@media(max-width:968px){.login-container{flex-direction:column}.login-left{padding:40px 20px}.login-branding h1{font-size:36px}}*{scrollbar-width:none;-ms-overflow-style:none}*::-webkit-scrollbar{display:none}.admin-container{display:flex;height:100vh;background:#f7fafc}.sidebar{width:280px;background:linear-gradient(180deg,#1a202c,#2d3748);color:#fff;display:flex;flex-direction:column;box-shadow:4px 0 12px #0000001a}.sidebar-header{padding:24px;border-bottom:1px solid rgba(255,255,255,.1)}.brand{font-size:20px;font-weight:700;display:flex;align-items:center;gap:8px}.version-badge{font-size:11px;font-weight:600;padding:4px 10px;background:#fff3;border-radius:12px;color:#ffffffe6;letter-spacing:.5px}.sidebar-nav{flex:1;padding:20px 0;overflow-y:auto}.nav-item{width:100%;padding:14px 24px;display:flex;align-items:center;gap:12px;background:none;border:none;color:#ffffffb3;font-size:15px;cursor:pointer;transition:all .3s;text-align:left}.nav-item:hover{background:#ffffff1a;color:#fff}.nav-item.active{background:#667eea33;color:#fff;border-left:4px solid #667eea}.nav-icon{font-size:20px}.sidebar-footer{padding:20px;border-top:1px solid rgba(255,255,255,.1)}.user-info{display:flex;align-items:center;gap:12px;margin-bottom:16px}.user-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px}.user-details{flex:1}.user-name{font-weight:600;font-size:14px}.user-role{font-size:12px;opacity:.7;text-transform:capitalize}.btn-logout{width:100%;padding:10px;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff;border-radius:6px;cursor:pointer;font-size:14px;transition:all .3s}.btn-logout:hover{background:#fff3}.main-content{flex:1;display:flex;flex-direction:column;overflow:hidden}.top-header{background:#fff;padding:20px 32px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 8px #0000000d}.top-header h1{font-size:24px;font-weight:700;color:#1a202c;margin:0}.header-actions{display:flex;gap:12px}.btn-icon-header{width:40px;height:40px;border-radius:50%;background:#f7fafc;border:none;cursor:pointer;font-size:18px;transition:all .3s}.btn-icon-header:hover{background:#e2e8f0}.dashboard-content{flex:1;padding:32px;overflow-y:auto;height:100%}.dashboard-content h2{font-size:28px;font-weight:700;color:#1a202c;margin:0 0 24px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px;margin-bottom:32px}.stat-card{background:#fff;padding:24px;border-radius:12px;box-shadow:0 2px 8px #0000000d;display:flex;align-items:center;gap:16px;transition:transform .3s}.stat-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0000001a}.stat-icon{width:56px;height:56px;border-radius:12px;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:28px}.stat-info h3{font-size:32px;font-weight:700;color:#1a202c;margin:0 0 4px}.stat-info p{font-size:14px;color:#718096;margin:0}.content-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.btn-primary{padding:12px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:transform .2s}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.table-container{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000d;overflow:hidden}.data-table{width:100%;border-collapse:collapse}.data-table thead{background:#f7fafc}.data-table th{padding:16px;text-align:left;font-size:13px;font-weight:600;color:#4a5568;text-transform:uppercase;letter-spacing:.5px}.data-table td{padding:16px;border-top:1px solid #e2e8f0;font-size:14px;color:#2d3748}.data-table tbody tr:hover{background:#f7fafc}.badge{padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase}.badge-free{background:#e6fffa;color:#047857}.badge-basic{background:#dbeafe;color:#1e40af}.badge-pro{background:#fef3c7;color:#92400e}.badge-enterprise{background:#ede9fe;color:#5b21b6}.status{padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600}.status-active,.status-converted{background:#d1fae5;color:#065f46}.status-inactive,.status-lost{background:#fee2e2;color:#991b1b}.btn-icon{padding:6px 10px;background:none;border:none;cursor:pointer;font-size:16px;transition:transform .2s}.btn-icon:hover{transform:scale(1.2)}.knowledge-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}.knowledge-card{background:#fff;padding:20px;border-radius:12px;box-shadow:0 2px 8px #0000000d;transition:transform .3s}.knowledge-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0000001a}.knowledge-card h4{font-size:16px;font-weight:600;color:#1a202c;margin:0 0 12px}.knowledge-card p{font-size:14px;color:#718096;line-height:1.6;margin:0 0 16px}.knowledge-meta{display:flex;justify-content:space-between;align-items:center}.usage{font-size:12px;color:#a0aec0}.loading{text-align:center;padding:40px;font-size:18px;color:#718096}.admin-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin:32px 0}.admin-stat-card{background:linear-gradient(135deg,#667eea,#764ba2);padding:24px;border-radius:12px;color:#fff;box-shadow:0 4px 12px #667eea4d}.admin-stat-card h4{font-size:16px;margin:0 0 16px;opacity:.9}.big-number{font-size:48px;font-weight:700;margin:16px 0}.stat-subtitle{font-size:14px;opacity:.8;margin:8px 0 0}.btn-view{background:#fff3;border:1px solid rgba(255,255,255,.3);color:#fff;padding:8px 16px;border-radius:6px;cursor:pointer;font-size:14px;margin-top:12px;transition:all .3s}.btn-view:hover{background:#ffffff4d}.plan-breakdown{display:flex;flex-direction:column;gap:12px;margin-top:16px}.plan-item{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#ffffff1a;border-radius:6px}.quick-actions{margin:32px 0}.quick-actions h3{font-size:20px;font-weight:600;color:#1a202c;margin:0 0 16px}.action-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.action-btn{display:flex;align-items:center;gap:12px;padding:16px 20px;background:#fff;border:2px solid #e2e8f0;border-radius:12px;cursor:pointer;transition:all .3s;font-size:15px;font-weight:500;color:#2d3748}.action-btn:hover{border-color:#667eea;background:#f7fafc;transform:translateY(-2px);box-shadow:0 4px 12px #667eea33}.action-icon{font-size:24px}.recent-activity{background:#fff;padding:24px;border-radius:12px;box-shadow:0 2px 8px #0000000d;margin-top:32px}.recent-activity h3{font-size:20px;font-weight:600;color:#1a202c;margin:0 0 20px}.activity-list{display:flex;flex-direction:column;gap:16px}.activity-item{display:flex;align-items:center;gap:16px;padding:12px;border-radius:8px;transition:background .3s}.activity-item:hover{background:#f7fafc}.activity-icon{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}.activity-details{flex:1}.activity-details p{margin:0 0 4px;color:#2d3748;font-size:14px}.activity-time{font-size:12px;color:#a0aec0}.system-health{background:#fff;padding:20px 24px;border-radius:12px;box-shadow:0 2px 8px #0000000d;margin-bottom:24px}.system-health h3{font-size:18px;font-weight:600;color:#1a202c;margin:0 0 16px}.health-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px}.health-item{display:flex;align-items:center;gap:10px;padding:12px;background:#f7fafc;border-radius:8px;font-size:14px;font-weight:500}.health-status{width:12px;height:12px;border-radius:50%;animation:pulse 2s infinite}.health-status.online{background:#10b981;box-shadow:0 0 8px #10b98180}.health-status.offline{background:#ef4444;box-shadow:0 0 8px #ef444480}.health-status.checking{background:#f59e0b;box-shadow:0 0 8px #f59e0b80}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.performance-metrics{margin:32px 0}.performance-metrics h3{font-size:20px;font-weight:600;color:#1a202c;margin:0 0 16px}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.metric-card{background:#fff;padding:20px;border-radius:12px;box-shadow:0 2px 8px #0000000d;border-left:4px solid #667eea}.metric-label{font-size:13px;color:#718096;margin-bottom:8px}.metric-value{font-size:28px;font-weight:700;color:#1a202c;margin-bottom:8px}.metric-trend{font-size:13px;font-weight:600}.metric-trend.positive{color:#10b981}.metric-trend.negative{color:#ef4444}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .3s}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:#fff;border-radius:16px;width:90%;max-width:500px;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s}@keyframes slideUp{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid #e2e8f0}.modal-header h3{font-size:20px;font-weight:600;color:#1a202c;margin:0}.modal-close{width:32px;height:32px;border-radius:50%;border:none;background:#f7fafc;font-size:24px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s}.modal-close:hover{background:#e2e8f0}.modal-body{padding:24px}.modal-body .form-group{margin-bottom:20px}.modal-body .form-group:last-child{margin-bottom:0}.modal-body label{display:block;font-size:14px;font-weight:600;color:#2d3748;margin-bottom:8px}.modal-body input,.modal-body select{width:100%;padding:12px 16px;font-size:15px;border:2px solid #e2e8f0;border-radius:8px;transition:all .3s;box-sizing:border-box}.modal-body input:focus,.modal-body select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:24px;border-top:1px solid #e2e8f0}.btn-secondary{padding:10px 20px;background:#f7fafc;border:2px solid #e2e8f0;border-radius:8px;font-size:14px;font-weight:600;color:#2d3748;cursor:pointer;transition:all .3s}.btn-secondary:hover{background:#e2e8f0}.revenue-chart{background:#fff;padding:24px;border-radius:12px;box-shadow:0 2px 8px #0000000d;margin:32px 0}.revenue-chart h3{font-size:20px;font-weight:600;color:#1a202c;margin:0 0 24px}.chart-container{width:100%}.chart-bars{display:flex;align-items:flex-end;justify-content:space-between;height:200px;gap:12px;margin-bottom:12px}.chart-bar{flex:1;background:linear-gradient(180deg,#667eea,#764ba2);border-radius:8px 8px 0 0;position:relative;transition:all .3s;cursor:pointer;min-height:40px}.chart-bar:hover{opacity:.8;transform:translateY(-4px)}.bar-value{position:absolute;top:-24px;left:50%;transform:translate(-50%);font-size:12px;font-weight:600;color:#2d3748;white-space:nowrap}.chart-labels{display:flex;justify-content:space-between;padding:0 8px}.chart-labels span{font-size:13px;color:#718096;font-weight:500}.top-clients{background:#fff;padding:24px;border-radius:12px;box-shadow:0 2px 8px #0000000d;margin:32px 0}.top-clients h3{font-size:20px;font-weight:600;color:#1a202c;margin:0 0 20px}.clients-list{display:flex;flex-direction:column;gap:16px}.client-item{display:flex;align-items:center;gap:16px;padding:16px;background:linear-gradient(135deg,#f7fafc,#edf2f7);border-radius:12px;transition:all .3s;cursor:pointer}.client-item:hover{transform:translate(8px);box-shadow:0 4px 12px #0000001a}.client-rank{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;flex-shrink:0}.client-info{flex:1;display:flex;flex-direction:column;gap:4px}.client-info strong{font-size:16px;color:#1a202c}.client-info span{font-size:13px;color:#718096}.client-badge{padding:6px 12px;border-radius:20px;font-size:12px;font-weight:600;background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;white-space:nowrap}.notification-wrapper{position:relative}.notification-badge{position:absolute;top:-4px;right:-4px;background:#ef4444;color:#fff;font-size:10px;font-weight:700;padding:2px 6px;border-radius:10px;min-width:18px;text-align:center}.notification-dropdown{position:absolute;top:50px;right:0;width:360px;background:#fff;border-radius:12px;box-shadow:0 10px 40px #0003;z-index:100;animation:slideDown .3s}.notification-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e2e8f0}.notification-header h4{font-size:16px;font-weight:600;color:#1a202c;margin:0}.mark-read{background:none;border:none;color:#667eea;font-size:13px;font-weight:600;cursor:pointer}.mark-read:hover{text-decoration:underline}.notification-list{max-height:400px;overflow-y:auto}.notification-item{display:flex;gap:12px;padding:16px 20px;border-bottom:1px solid #f7fafc;transition:background .3s;cursor:pointer}.notification-item:hover{background:#f7fafc}.notification-item:last-child{border-bottom:none}.notif-icon{font-size:24px;flex-shrink:0}.notif-content{flex:1}.notif-content p{margin:0 0 4px;font-size:14px;color:#2d3748;line-height:1.5}.notif-content span{font-size:12px;color:#a0aec0}.notification-footer{padding:12px 20px;border-top:1px solid #e2e8f0;text-align:center}.notification-footer button{background:none;border:none;color:#667eea;font-size:14px;font-weight:600;cursor:pointer;padding:8px}.notification-footer button:hover{text-decoration:underline}.page-subtitle{font-size:14px;color:#718096;margin:4px 0 0}.clients-stats-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:24px 0}.mini-stat{background:#fff;padding:20px;border-radius:12px;box-shadow:0 2px 8px #0000000d;display:flex;align-items:center;gap:16px;transition:transform .3s}.mini-stat:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0000001a}.mini-stat-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0}.mini-stat-info{display:flex;flex-direction:column;gap:4px}.mini-stat-label{font-size:13px;color:#718096}.mini-stat-value{font-size:24px;font-weight:700;color:#1a202c}.clients-filters{display:flex;gap:16px;margin:24px 0;flex-wrap:wrap}.search-box{flex:1;min-width:300px;position:relative}.search-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);font-size:18px;color:#a0aec0}.search-box input{width:100%;padding:12px 16px 12px 48px;border:2px solid #e2e8f0;border-radius:10px;font-size:15px;transition:all .3s;box-sizing:border-box}.search-box input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.filter-buttons{display:flex;gap:8px}.filter-btn{padding:10px 20px;border:2px solid #e2e8f0;background:#fff;border-radius:10px;font-size:14px;font-weight:600;color:#2d3748;cursor:pointer;transition:all .3s}.filter-btn:hover{border-color:#667eea;color:#667eea}.filter-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;color:#fff}.clients-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px;margin-top:24px}.client-card{background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000d;overflow:hidden;transition:all .3s;border:2px solid transparent}.client-card:hover{transform:translateY(-8px);box-shadow:0 12px 24px #00000026;border-color:#667eea}.client-card-header{padding:20px;background:linear-gradient(135deg,#f7fafc,#edf2f7);display:flex;justify-content:space-between;align-items:center}.client-logo{width:60px;height:60px;border-radius:12px;overflow:hidden;box-shadow:0 4px 12px #0000001a}.client-logo img{width:100%;height:100%;object-fit:cover}.logo-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;color:#fff;background:linear-gradient(135deg,#667eea,#764ba2)}.client-status-badge{padding:6px 12px;border-radius:20px;background:#fff;font-size:12px;font-weight:600;display:flex;align-items:center;gap:6px;text-transform:capitalize}.status-dot.inactive{background:#f59e0b}.status-dot.suspended{background:#ef4444}.client-card-body{padding:20px}.client-card-body h3{font-size:20px;font-weight:700;color:#1a202c;margin:0 0 8px}.client-code{font-size:13px;color:#667eea;font-weight:600;margin:0 0 16px}.client-details{display:flex;flex-direction:column;gap:10px;margin:16px 0}.detail-item{display:flex;align-items:center;gap:10px;font-size:14px;color:#4a5568}.detail-icon{font-size:16px;width:24px;text-align:center}.client-plan{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding-top:16px;border-top:1px solid #e2e8f0}.plan-dates{font-size:12px;color:#a0aec0}.client-card-footer{padding:16px 20px;background:#f7fafc;display:flex;gap:8px;border-top:1px solid #e2e8f0}.card-action-btn{flex:1;padding:10px;border:none;background:#fff;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .3s;color:#2d3748}.card-action-btn:hover{background:#667eea;color:#fff;transform:translateY(-2px)}.card-action-btn.danger:hover{background:#ef4444}.empty-state{grid-column:1 / -1;text-align:center;padding:80px 20px}.empty-icon{font-size:80px;margin-bottom:20px;opacity:.5}.empty-state h3{font-size:24px;font-weight:700;color:#1a202c;margin:0 0 12px}.empty-state p{font-size:16px;color:#718096;margin:0 0 24px}.header-actions-group{display:flex;gap:12px;align-items:center}.view-toggle{display:flex;background:#fff;border:2px solid #e2e8f0;border-radius:10px;overflow:hidden}.toggle-btn{padding:10px 20px;border:none;background:transparent;font-size:14px;font-weight:600;color:#2d3748;cursor:pointer;transition:all .3s}.toggle-btn:hover{background:#f7fafc}.toggle-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.premium-table{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000d;overflow:hidden;margin-top:24px}.premium-table .data-table{width:100%}.premium-table .data-table thead{background:linear-gradient(135deg,#667eea,#764ba2)}.premium-table .data-table th{color:#fff;font-weight:600;text-transform:uppercase;letter-spacing:.5px;font-size:12px;padding:16px}.premium-table .data-table td{padding:16px;vertical-align:middle}.premium-table .data-table tbody tr{border-bottom:1px solid #f7fafc;transition:all .3s}.premium-table .data-table tbody tr:hover{background:linear-gradient(90deg,#f7fafc,#edf2f7);transform:scale(1.01)}.table-logo{width:40px;height:40px;border-radius:8px;overflow:hidden}.table-logo img{width:100%;height:100%;object-fit:cover}.table-logo-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;color:#fff;background:linear-gradient(135deg,#667eea,#764ba2)}.code-badge{padding:4px 10px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:6px;font-size:12px;font-weight:600;font-family:Courier New,monospace}.table-actions{display:flex;gap:8px;justify-content:center}.table-actions .btn-icon{padding:8px 12px;background:#f7fafc;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .3s}.table-actions .btn-icon:hover{background:#667eea;border-color:#667eea;transform:scale(1.1)}.lead-card{background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000d;overflow:hidden;transition:all .3s;border:2px solid transparent}.lead-card:hover{transform:translateY(-8px);box-shadow:0 12px 24px #00000026;border-color:#667eea}.lead-card-header{padding:20px;background:linear-gradient(135deg,#f7fafc,#edf2f7);display:flex;justify-content:space-between;align-items:flex-start}.lead-status-group{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.lead-avatar{width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;color:#fff;box-shadow:0 4px 12px #667eea4d}.lead-card-body{padding:20px}.lead-card-body h3{font-size:20px;font-weight:700;color:#1a202c;margin:0 0 16px}.lead-message{margin-top:12px;padding:12px;background:#f7fafc;border-radius:8px;border-left:3px solid #667eea}.lead-message strong{font-size:13px;color:#667eea;display:block;margin-bottom:6px}.lead-message p{font-size:14px;color:#4a5568;margin:0;line-height:1.6}.lead-meta{margin-top:16px;padding-top:16px;border-top:1px solid #e2e8f0}.lead-time{font-size:13px;color:#a0aec0}.lead-card-footer{padding:16px 20px;background:#f7fafc;display:flex;gap:8px;border-top:1px solid #e2e8f0}.status-dropdown{flex:1;padding:10px 32px 10px 14px;border:2px solid #e2e8f0;background:#fff;border-radius:8px;font-size:13px;font-weight:600;color:#2d3748;cursor:pointer;transition:all .3s;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}.status-dropdown:hover{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.status-dropdown:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea33}.table-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;color:#fff;flex-shrink:0}.message-preview{max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;color:#718096}.status-new{background:#dbeafe;color:#1e40af}.status-contacted{background:#fef3c7;color:#92400e}.status-qualified{background:#ede9fe;color:#5b21b6}.kb-card{background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000d;overflow:hidden;transition:all .3s;border:2px solid transparent}.kb-card:hover{transform:translateY(-8px);box-shadow:0 12px 24px #00000026;border-color:#667eea}.kb-card-header{padding:16px 20px;background:linear-gradient(135deg,#f7fafc,#edf2f7);display:flex;justify-content:space-between;align-items:center}.kb-priority{flex:1}.priority-badge{padding:6px 12px;border-radius:20px;font-size:12px;font-weight:600;display:inline-block}.priority-high{background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff}.priority-medium{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff}.priority-low{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.kb-status{display:flex;align-items:center}.kb-card-body{padding:20px}.kb-question{display:flex;gap:12px;margin-bottom:16px;align-items:flex-start}.kb-icon{font-size:20px;flex-shrink:0;margin-top:2px}.kb-question h3{font-size:18px;font-weight:700;color:#1a202c;margin:0;line-height:1.4}.kb-answer{display:flex;gap:12px;margin-bottom:16px;padding:12px;background:#f7fafc;border-radius:8px;border-left:3px solid #667eea}.kb-answer p{font-size:14px;color:#4a5568;margin:0;line-height:1.6}.kb-keywords{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.keyword-tag{padding:4px 12px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:12px;font-size:12px;font-weight:600}.kb-meta{display:flex;justify-content:space-between;align-items:center;padding-top:16px;border-top:1px solid #e2e8f0;font-size:13px;color:#718096}.kb-usage{display:flex;align-items:center;gap:6px}.kb-context{display:flex;align-items:center;gap:6px;padding:4px 10px;background:#f7fafc;border-radius:6px}.kb-card-footer{padding:16px 20px;background:#f7fafc;display:flex;gap:8px;border-top:1px solid #e2e8f0}.kb-categories-section{margin-top:48px;padding-top:32px;border-top:2px solid #e2e8f0}.kb-categories-section h3{font-size:22px;font-weight:700;color:#1a202c;margin:0 0 24px}.categories-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:20px}.category-card{background:#fff;padding:24px;border-radius:12px;box-shadow:0 2px 8px #0000000d;text-align:center;transition:all .3s;cursor:pointer;border:2px solid transparent}.category-card:hover{transform:translateY(-4px);box-shadow:0 8px 16px #0000001a;border-color:#667eea}.category-icon{font-size:48px;margin-bottom:12px}.category-card h4{font-size:18px;font-weight:700;color:#1a202c;margin:0 0 8px}.category-card p{font-size:14px;color:#718096;margin:0}.category-card.add-category{background:linear-gradient(135deg,#f7fafc,#edf2f7);border:2px dashed #cbd5e0}.category-card.add-category:hover{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea}.category-card.add-category:hover .category-icon,.category-card.add-category:hover h4{color:#fff}.date-range-picker{display:flex;gap:8px}.date-btn{padding:10px 20px;border:2px solid #e2e8f0;background:#fff;border-radius:10px;font-size:14px;font-weight:600;color:#2d3748;cursor:pointer;transition:all .3s}.date-btn:hover{border-color:#667eea}.date-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;color:#fff}.analytics-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px;margin:24px 0}.analytics-card{background:#fff;padding:24px;border-radius:16px;box-shadow:0 2px 8px #0000000d;display:flex;gap:20px;transition:all .3s}.analytics-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #0000001a}.analytics-icon{width:64px;height:64px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:32px;flex-shrink:0}.analytics-info h3{font-size:14px;color:#718096;margin:0 0 8px;font-weight:600}.analytics-value{font-size:32px;font-weight:700;color:#1a202c;margin-bottom:8px}.analytics-trend{font-size:14px;font-weight:600}.analytics-trend.positive,.analytics-trend.negative{color:#10b981}.analytics-charts{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:24px;margin:32px 0}.chart-card{background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000d;padding:24px}.chart-card.large{grid-column:1 / -1}.line-bar{flex:1;background:linear-gradient(180deg,#667eea,#764ba2);border-radius:8px 8px 0 0;position:relative;transition:all .3s;cursor:pointer;min-height:40px}.line-bar:hover{opacity:.8}.pie-chart{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.pie-item{padding:20px;border-radius:12px;text-align:center;color:#fff}.pie-label{font-size:14px;opacity:.9;margin-bottom:8px}.pie-value{font-size:32px;font-weight:700}.peak-hours{display:flex;flex-direction:column;gap:16px}.hour-item{display:flex;align-items:center;gap:12px}.hour-label{width:60px;font-size:14px;font-weight:600;color:#2d3748}.hour-bar-container{flex:1;height:32px;background:#f7fafc;border-radius:8px;overflow:hidden}.hour-bar{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);border-radius:8px;transition:width .5s}.hour-value{width:50px;text-align:right;font-size:14px;font-weight:700;color:#667eea}.analytics-tables{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:24px;margin:32px 0}.table-card{background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000d;padding:24px}.table-card h3{font-size:18px;font-weight:700;color:#1a202c;margin:0 0 20px}.top-list{display:flex;flex-direction:column;gap:16px}.top-item{display:flex;gap:16px;padding:16px;background:#f7fafc;border-radius:12px;transition:all .3s}.top-item:hover{background:linear-gradient(90deg,#f7fafc,#edf2f7);transform:translate(4px)}.top-rank{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}.top-content{flex:1}.top-question{font-size:15px;font-weight:600;color:#1a202c;margin-bottom:4px}.top-count{font-size:13px;color:#718096}.device-stats{display:flex;flex-direction:column;gap:20px}.device-item{display:flex;gap:16px;align-items:center}.device-icon{font-size:32px;width:48px;text-align:center}.device-info{flex:1}.device-name{font-size:15px;font-weight:600;color:#1a202c;margin-bottom:8px}.device-bar{height:24px;background:#f7fafc;border-radius:12px;overflow:hidden;margin-bottom:8px}.device-progress{height:100%;border-radius:12px;transition:width .5s}.device-percent{font-size:14px;font-weight:700;color:#667eea}.advanced-analytics{display:grid;grid-template-columns:repeat(auto-fit,minmax(450px,1fr));gap:24px;margin:32px 0}.analytics-section{background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000d;padding:24px}.analytics-section h3{font-size:18px;font-weight:700;color:#1a202c;margin:0 0 24px}.funnel-container{display:flex;flex-direction:column;gap:12px;align-items:center}.funnel-stage{transition:all .5s}.funnel-bar{padding:20px;border-radius:12px;display:flex;justify-content:space-between;align-items:center;color:#fff;transition:all .3s;cursor:pointer}.funnel-bar:hover{transform:scale(1.02);box-shadow:0 8px 16px #0003}.funnel-label{font-size:16px;font-weight:600}.funnel-value{font-size:24px;font-weight:700}.accuracy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.accuracy-card{text-align:center}.accuracy-circle{width:120px;height:120px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;position:relative;transition:transform .3s}.accuracy-circle:hover{transform:scale(1.1)}.accuracy-inner{width:90px;height:90px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;color:#1a202c}.accuracy-label{font-size:14px;font-weight:600;color:#4a5568}.analytics-insights{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin:32px 0}.insight-card{background:linear-gradient(135deg,#f7fafc,#edf2f7);border-radius:16px;padding:24px;display:flex;gap:16px;border-left:4px solid #667eea;transition:all .3s}.insight-card:hover{transform:translate(4px);box-shadow:0 8px 16px #0000001a}.insight-icon{font-size:40px;flex-shrink:0}.insight-content h4{font-size:16px;font-weight:700;color:#1a202c;margin:0 0 8px}.insight-content p{font-size:14px;color:#4a5568;margin:0;line-height:1.6}.export-section{background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000d;padding:24px;margin:32px 0}.export-section h3{font-size:18px;font-weight:700;color:#1a202c;margin:0 0 20px}.export-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.export-btn{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:12px;font-size:15px;font-weight:600;cursor:pointer;transition:all .3s}.export-btn:hover{transform:translateY(-4px);box-shadow:0 8px 16px #667eea4d}.export-btn span:first-child{font-size:20px}.settings-section{margin-bottom:40px}.section-header{margin-bottom:20px}.section-header h3{font-size:22px;font-weight:700;color:#1a202c;margin:0 0 8px}.section-header p{font-size:14px;color:#718096;margin:0}.settings-card{background:#fff;border-radius:16px;box-shadow:0 2px 8px #0000000d;padding:24px}.settings-card h4{font-size:16px;font-weight:700;color:#1a202c;margin:0 0 20px}.email-composer .form-group{margin-bottom:20px}.email-composer label{display:block;font-size:14px;font-weight:600;color:#2d3748;margin-bottom:8px}.form-control{width:100%;padding:12px 16px;border:2px solid #e2e8f0;border-radius:10px;font-size:15px;transition:all .3s;box-sizing:border-box}.form-control:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-control-small{width:100px;padding:8px 12px;border:2px solid #e2e8f0;border-radius:8px;font-size:14px}.email-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.payment-reminders,.admin-list,.client-controls,.backup-controls{display:flex;flex-direction:column;gap:16px}.reminder-item,.admin-item,.control-item,.backup-item{display:flex;align-items:center;gap:16px;padding:20px;background:#f7fafc;border-radius:12px;transition:all .3s}.reminder-item:hover,.admin-item:hover,.control-item:hover,.backup-item:hover{background:#edf2f7;transform:translate(4px)}.reminder-info,.admin-details,.control-info,.backup-info{flex:1}.reminder-info h4,.admin-details h4,.control-info h4,.backup-info h4{font-size:16px;font-weight:700;color:#1a202c;margin:0 0 4px}.reminder-info p,.admin-details p,.control-info p,.backup-info p{font-size:14px;color:#718096;margin:0}.btn-warning{padding:10px 20px;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s}.btn-warning:hover{transform:translateY(-2px);box-shadow:0 4px 12px #f59e0b4d}.admin-avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700}.admin-badge{padding:6px 12px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:20px;font-size:12px;font-weight:600}.btn-add-admin{width:100%;padding:16px;background:linear-gradient(135deg,#f7fafc,#edf2f7);border:2px dashed #cbd5e0;border-radius:12px;font-size:15px;font-weight:600;color:#667eea;cursor:pointer;transition:all .3s;margin-top:16px}.btn-add-admin:hover{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;color:#fff}.toggle-switch{position:relative;display:inline-block;width:56px;height:28px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;inset:0;background-color:#cbd5e0;transition:.4s;border-radius:28px}.toggle-slider:before{position:absolute;content:"";height:20px;width:20px;left:4px;bottom:4px;background-color:#fff;transition:.4s;border-radius:50%}.toggle-switch input:checked+.toggle-slider{background:linear-gradient(135deg,#667eea,#764ba2)}.toggle-switch input:checked+.toggle-slider:before{transform:translate(28px)}.toggle-switch.large{width:72px;height:36px}.toggle-switch.large .toggle-slider:before{height:28px;width:28px}.toggle-switch.large input:checked+.toggle-slider:before{transform:translate(36px)}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}.setting-item{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid #e2e8f0;gap:20px}.setting-item:last-child{border-bottom:none}.setting-item span{font-size:14px;color:#2d3748;font-weight:500;flex:1}.setting-item select,.setting-item input[type=time]{flex:0 0 auto;min-width:150px;margin-left:20px}.maintenance-card{border:2px solid #f59e0b;background:linear-gradient(135deg,#fffbeb,#fef3c7)}.maintenance-toggle{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.maintenance-message{margin-top:20px}.maintenance-message label{display:block;font-size:14px;font-weight:600;color:#2d3748;margin-bottom:8px}.settings-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:40px;padding-top:24px;border-top:2px solid #e2e8f0}.chatbot-preview-page{padding:30px;max-width:1200px;margin:0 auto}.preview-header{text-align:center;margin-bottom:40px}.preview-header h2{font-size:32px;margin-bottom:10px;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.preview-header p{color:#666;font-size:16px}.client-selector-card{background:#fff;border-radius:16px;padding:20px 30px;box-shadow:0 4px 20px #00000014;margin:0 30px 20px;flex-shrink:0}.client-selector-card label{display:block;font-weight:600;margin-bottom:12px;color:#333;font-size:15px}.client-dropdown{width:100%;padding:14px 18px;border:2px solid #e0e0e0;border-radius:10px;font-size:15px;background:#fff;cursor:pointer;transition:all .3s ease}.client-dropdown:hover{border-color:#667eea}.client-dropdown:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.client-info-preview{margin-top:25px;padding-top:25px;border-top:2px solid #f0f0f0}.info-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #f5f5f5}.info-row:last-child{border-bottom:none}.info-row .label{font-weight:600;color:#666;font-size:14px}.info-row .value{font-weight:500;color:#333;display:flex;align-items:center;gap:8px}.color-box{width:24px;height:24px;border-radius:6px;border:2px solid #e0e0e0}.preview-instructions{margin-bottom:30px}.instruction-card{background:linear-gradient(135deg,#667eea15,#764ba215);border:2px solid #667eea30;border-radius:12px;padding:20px;display:flex;align-items:center;gap:15px}.instruction-card .icon{font-size:32px}.instruction-card strong{display:block;color:#667eea;margin-bottom:5px;font-size:16px}.instruction-card p{color:#666;margin:0;font-size:14px}.chat-widget-button{position:fixed;bottom:30px;right:30px;width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 8px 24px #667eea66;transition:all .3s ease;z-index:1000;animation:pulse 2s infinite}.chat-widget-button:hover{transform:scale(1.1);box-shadow:0 12px 32px #667eea80}.chat-widget-button.open{animation:none}@keyframes pulse{0%,to{box-shadow:0 8px 24px #667eea66}50%{box-shadow:0 8px 24px #667eea66,0 0 0 10px #667eea1a}}.chat-widget-window{position:fixed;bottom:110px;right:30px;width:380px;height:550px;background:#fff;border-radius:16px;box-shadow:0 12px 48px #0003;display:flex;flex-direction:column;z-index:1000;animation:slideUp .3s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.chat-widget-header{padding:20px;border-radius:16px 16px 0 0;color:#fff;display:flex;justify-content:space-between;align-items:center}.header-content{display:flex;align-items:center;gap:12px}.chat-logo{width:40px;height:40px;border-radius:50%;object-fit:cover;background:#fff;padding:2px}.header-content h4{margin:0;font-size:16px;font-weight:600}.online-status{font-size:12px;opacity:.9}.close-chat{background:#fff3;border:none;color:#fff;width:32px;height:32px;border-radius:50%;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.close-chat:hover{background:#ffffff4d}.chat-widget-messages{flex:1;overflow-y:auto;padding:20px;background:#f8f9fa}.chat-message{margin-bottom:16px;display:flex;animation:messageSlide .4s cubic-bezier(.34,1.56,.64,1)}.chat-message.user{justify-content:flex-end}.chat-message.bot{justify-content:flex-start}.message-bubble{max-width:75%;padding:14px 18px;border-radius:18px;position:relative;word-wrap:break-word;box-shadow:0 2px 12px #00000014;transition:all .2s ease}.message-bubble:hover{transform:translateY(-2px);box-shadow:0 4px 16px #0000001f}.chat-message.user .message-bubble{color:#fff;border-bottom-right-radius:4px}.chat-message.bot .message-bubble{background:#fff;color:#333;border-bottom-left-radius:4px;box-shadow:0 2px 12px #0000001a}@keyframes messageSlide{0%{opacity:0;transform:translateY(15px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.message-time{font-size:10px;opacity:.7;display:block;margin-top:4px}.message-bubble.typing{padding:16px 20px;display:flex;gap:6px}.message-bubble.typing span{width:8px;height:8px;border-radius:50%;background:#999;animation:typing 1.4s infinite}.message-bubble.typing span:nth-child(2){animation-delay:.2s}.message-bubble.typing span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-10px)}}.chat-widget-input{padding:16px;background:#fff;border-top:1px solid #e0e0e0;display:flex;gap:10px;border-radius:0 0 16px 16px}.chat-widget-input input{flex:1;padding:12px 16px;border:2px solid #e0e0e0;border-radius:24px;font-size:14px;outline:none;transition:all .3s ease}.chat-widget-input input:focus{border-color:#667eea;box-shadow:0 0 0 4px #667eea1a;transform:scale(1.02)}.chat-widget-input button{width:44px;height:44px;border-radius:50%;border:none;color:#fff;font-size:18px;cursor:pointer;transition:all .3s cubic-bezier(.34,1.56,.64,1);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.chat-widget-input button:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:#ffffff4d;transform:translate(-50%,-50%);transition:width .6s,height .6s}.chat-widget-input button:hover:not(:disabled):before{width:100px;height:100px}.chat-widget-input button:hover:not(:disabled){transform:scale(1.1) rotate(15deg);box-shadow:0 6px 20px #667eea80}.chat-widget-input button:active:not(:disabled){transform:scale(.95)}.chat-widget-input button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:768px){.chat-widget-window{width:calc(100vw - 40px);right:20px;bottom:100px}.chat-widget-button{right:20px;bottom:20px}}.suggestions-container{display:flex;flex-wrap:wrap;gap:8px;padding:10px 20px;animation:slideIn .3s ease}.suggestion-chip{padding:10px 18px;border:2px solid;border-radius:24px;background:#fff;cursor:pointer;font-size:13px;font-weight:600;transition:all .3s cubic-bezier(.34,1.56,.64,1);position:relative;overflow:hidden}.suggestion-chip:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transition:left .5s}.suggestion-chip:hover:before{left:100%}.suggestion-chip:hover{transform:translateY(-3px) scale(1.05);box-shadow:0 6px 20px #667eea4d;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff!important;border-color:transparent!important}.suggestion-chip:active{transform:translateY(-1px) scale(1.02)}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.chatbot-embed-page{display:flex;flex-direction:column;height:100%;overflow:hidden}.embed-header{text-align:center;padding:20px 30px 10px;flex-shrink:0}.embed-header h2{font-size:32px;margin-bottom:10px;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.embed-header p{color:#666;font-size:16px}.embed-sections-container{flex:1;overflow-y:auto;padding:0 30px 30px}.embed-sections-container::-webkit-scrollbar{width:0;height:0}.embed-section{background:#fff;border-radius:16px;padding:30px;margin-bottom:20px;box-shadow:0 4px 20px #00000014}.embed-section-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.embed-section-header h3{font-size:24px;margin:0 0 8px;color:#1a202c}.embed-section-header p{color:#718096;font-size:14px;margin:0}.btn-copy{padding:12px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s;display:flex;align-items:center;gap:8px}.btn-copy:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.code-block{background:#1e293b;border-radius:12px;padding:24px;max-height:300px;overflow:auto}.code-block::-webkit-scrollbar{width:0;height:0}.code-block pre{margin:0;font-family:Courier New,monospace;font-size:14px;line-height:1.6;white-space:pre-wrap;word-wrap:break-word}.code-block code{color:#e2e8f0}.instructions-section{background:#fff;border-radius:16px;padding:30px;box-shadow:0 4px 20px #00000014}.instructions-section h3{font-size:24px;margin:0 0 24px;color:#1a202c}.instructions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}.instruction-card{background:linear-gradient(135deg,#f7fafc,#edf2f7);border-radius:12px;padding:24px;border:2px solid #e2e8f0;transition:all .3s}.instruction-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001a;border-color:#667eea}.instruction-icon{font-size:48px;margin-bottom:16px;display:block}.instruction-card h4{font-size:18px;margin:0 0 16px;color:#1a202c}.instruction-card ol{margin:0;padding-left:20px;color:#4a5568;line-height:1.8}.instruction-card li{margin-bottom:8px}.empty-state-embed{text-align:center;padding:80px 20px;background:#fff;border-radius:16px}.empty-state-embed .empty-icon{font-size:80px;margin-bottom:20px;opacity:.5}.empty-state-embed h3{font-size:24px;font-weight:700;color:#1a202c;margin:0 0 12px}.empty-state-embed p{font-size:16px;color:#718096;margin:0}.welcome-banner{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;padding:40px;margin-bottom:32px;color:#fff;display:flex;justify-content:space-between;align-items:center;box-shadow:0 10px 40px #667eea4d;position:relative;overflow:hidden}.welcome-banner:before{content:"";position:absolute;top:-50%;right:-10%;width:400px;height:400px;background:#ffffff1a;border-radius:50%;animation:float 6s ease-in-out infinite}.welcome-banner:after{content:"";position:absolute;bottom:-30%;left:-5%;width:300px;height:300px;background:#ffffff14;border-radius:50%;animation:float 8s ease-in-out infinite reverse}@keyframes float{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-20px) rotate(5deg)}}.welcome-content{position:relative;z-index:1}.welcome-content h1{font-size:32px;font-weight:700;margin:0 0 12px;text-shadow:0 2px 10px rgba(0,0,0,.2)}.welcome-content p{font-size:16px;opacity:.95;margin:0}.welcome-actions{display:flex;gap:16px;position:relative;z-index:1}.welcome-actions .btn-primary,.welcome-actions .btn-secondary{padding:14px 28px;border-radius:12px;font-size:15px;font-weight:600;display:flex;align-items:center;gap:8px;transition:all .3s;border:none;cursor:pointer}.welcome-actions .btn-primary{background:#fff;color:#667eea;box-shadow:0 4px 15px #0003}.welcome-actions .btn-primary:hover{transform:translateY(-3px);box-shadow:0 6px 20px #0000004d}.welcome-actions .btn-secondary{background:#fff3;color:#fff;border:2px solid rgba(255,255,255,.3);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.welcome-actions .btn-secondary:hover{background:#ffffff4d;transform:translateY(-3px)}.stats-grid-premium{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-bottom:32px}.stats-grid-premium .stat-card{background:#ffffffe6;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);padding:32px;border-radius:24px;box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80;display:flex;flex-direction:column;gap:20px;transition:all .4s cubic-bezier(.34,1.56,.64,1);border:1px solid rgba(255,255,255,.3);position:relative;overflow:hidden}.stats-grid-premium .stat-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(135deg,#667eea1a,#764ba21a);opacity:0;transition:opacity .4s}.stats-grid-premium .stat-card:after{content:"";position:absolute;top:0;left:0;width:100%;height:4px;background:linear-gradient(90deg,#667eea,#764ba2);transform:scaleX(0);transition:transform .4s}.stats-grid-premium .stat-card:hover:before{opacity:1}.stats-grid-premium .stat-card:hover:after{transform:scaleX(1)}.stats-grid-premium .stat-card:hover{transform:translateY(-12px) scale(1.02);box-shadow:0 20px 60px #667eea40,inset 0 1px #fffc;border-color:#667eea4d}.stats-grid-premium .stat-icon{width:80px;height:80px;border-radius:20px;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:36px;box-shadow:0 10px 30px #667eea66,inset 0 -2px 10px #0003;animation:iconFloat 3s ease-in-out infinite;position:relative;z-index:1}.stats-grid-premium .stat-icon:before{content:"";position:absolute;inset:-2px;border-radius:20px;background:linear-gradient(135deg,rgba(255,255,255,.3),transparent);z-index:-1}@keyframes iconFloat{0%,to{transform:translateY(0) rotate(0)}50%{transform:translateY(-8px) rotate(2deg)}}.stats-grid-premium .stat-info{display:flex;flex-direction:column;gap:8px}.stats-grid-premium .stat-info h3{font-size:48px;font-weight:900;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;margin:0;line-height:1;position:relative;z-index:1;text-shadow:0 2px 10px rgba(102,126,234,.2);animation:numberPulse 2s ease-in-out infinite}@keyframes numberPulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.stats-grid-premium .stat-info p{font-size:15px;color:#718096;font-weight:600;margin:0;text-transform:uppercase;letter-spacing:.5px}.activity-timeline{background:#fff;border-radius:20px;padding:32px;margin-bottom:32px;box-shadow:0 4px 20px #00000014}.activity-timeline h3{font-size:22px;font-weight:700;color:#1a202c;margin:0 0 24px;display:flex;align-items:center;gap:12px}.timeline-list{display:flex;flex-direction:column;gap:20px;position:relative;padding-left:40px}.timeline-list:before{content:"";position:absolute;left:19px;top:0;bottom:0;width:2px;background:linear-gradient(180deg,#667eea,#764ba2);opacity:.3}.timeline-item{display:flex;gap:16px;position:relative}.timeline-icon{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;box-shadow:0 4px 12px #667eea4d;position:absolute;left:-40px;z-index:1}.timeline-content{flex:1;background:#f7fafc;padding:16px 20px;border-radius:12px;border-left:3px solid #667eea;transition:all .3s}.timeline-content:hover{background:#edf2f7;transform:translate(4px)}.timeline-content h4{font-size:15px;font-weight:600;color:#1a202c;margin:0 0 4px}.timeline-content p{font-size:13px;color:#718096;margin:0}.timeline-time{font-size:12px;color:#a0aec0;margin-top:8px;display:flex;align-items:center;gap:4px}.company-settings-page{padding:30px}.settings-header{margin-bottom:32px}.settings-header h2{font-size:32px;font-weight:700;color:#1a202c;margin:0 0 8px}.settings-header p{font-size:16px;color:#718096;margin:0}.settings-tabs{display:flex;gap:12px;margin-bottom:32px;border-bottom:2px solid #e2e8f0;padding-bottom:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;white-space:nowrap}.settings-tabs::-webkit-scrollbar{display:none}.tab-btn{padding:14px 24px;background:none;border:none;border-bottom:3px solid transparent;font-size:14px;font-weight:600;color:#718096;cursor:pointer;transition:all .3s;margin-bottom:-2px;display:flex;align-items:center;gap:8px;white-space:nowrap;flex-shrink:0}.tab-btn:hover{color:#667eea;background:#667eea0d}.tab-btn.active{color:#667eea;border-bottom-color:#667eea;background:#667eea1a}.tab-count{font-size:11px;font-weight:600;color:#a0aec0;margin-left:4px}.settings-section{animation:fadeIn .3s}.section-card{background:#fff;border-radius:16px;padding:32px;box-shadow:0 4px 20px #00000014}.section-card h3{font-size:20px;font-weight:700;color:#1a202c;margin:0 0 24px;display:flex;align-items:center;gap:8px}.form-row{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-bottom:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-size:14px;font-weight:600;color:#2d3748}.form-group input,.form-group textarea,.form-group select{padding:12px 16px;border:2px solid #e2e8f0;border-radius:10px;font-size:15px;transition:all .3s}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.section-header h3{font-size:22px;font-weight:700;color:#1a202c;margin:0}.courses-list,.offers-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px}.course-item-card,.offer-item-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 4px 20px #00000014;transition:all .3s;border:2px solid transparent}.course-item-card:hover,.offer-item-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #667eea26;border-color:#667eea}.course-header,.offer-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.course-header h4,.offer-header h4{font-size:18px;font-weight:700;color:#1a202c;margin:0}.status-badge{padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase}.status-badge.active{background:#d1fae5;color:#065f46}.status-badge.inactive{background:#fee2e2;color:#991b1b}.course-details,.offer-details{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.detail-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #f7fafc}.detail-row .label{font-size:13px;color:#718096;font-weight:600}.detail-row .value{font-size:14px;color:#1a202c;font-weight:500}.fee-amount,.discount-value{font-size:16px;font-weight:700;color:#667eea}.course-description,.offer-description{font-size:14px;color:#718096;line-height:1.6;margin-bottom:16px}.course-actions,.offer-actions{display:flex;gap:8px;padding-top:16px;border-top:1px solid #f7fafc}.btn-edit,.btn-delete{flex:1;padding:10px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s}.btn-edit{background:#f7fafc;color:#667eea}.btn-edit:hover{background:#667eea;color:#fff}.btn-delete{background:#fee2e2;color:#ef4444}.btn-delete:hover{background:#ef4444;color:#fff}.modal-large{max-width:600px}.knowledge-info-banner{background:linear-gradient(135deg,#667eea15,#764ba215);border:2px solid #667eea30;border-radius:16px;padding:24px;margin-bottom:24px;display:flex;align-items:center;gap:20px}.knowledge-info-banner .info-icon{font-size:48px;flex-shrink:0}.knowledge-info-banner h4{font-size:18px;font-weight:700;color:#1a202c;margin:0 0 8px}.knowledge-info-banner p{font-size:14px;color:#4a5568;margin:0;line-height:1.6}.quick-info-note{background:#fffbeb;border:2px solid #fbbf24;border-radius:12px;padding:16px 20px;margin-bottom:24px}.quick-info-note p{margin:0;font-size:14px;color:#92400e;display:flex;align-items:center;gap:8px}.link-btn{background:none;border:none;color:#667eea;font-weight:700;text-decoration:underline;cursor:pointer;padding:0;font-size:14px}.link-btn:hover{color:#764ba2}.support-section{margin-bottom:40px}.support-header{text-align:center;margin-bottom:32px}.support-header h3{font-size:28px;font-weight:700;color:#1a202c;margin:0 0 8px}.support-header p{font-size:16px;color:#718096;margin:0}.support-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-bottom:40px}.support-card{background:#fff;border-radius:16px;padding:32px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;box-shadow:0 4px 20px #00000014;transition:all .3s;cursor:pointer;text-decoration:none;color:inherit;border:2px solid transparent}.support-card:hover{transform:translateY(-8px);box-shadow:0 12px 32px #00000026}.support-card.whatsapp:hover{border-color:#25d366;background:linear-gradient(135deg,#25d36610,#25d36620)}.support-card.email:hover{border-color:#667eea;background:linear-gradient(135deg,#667eea10,#764ba220)}.support-card.help:hover{border-color:#f59e0b;background:linear-gradient(135deg,#f59e0b10,#d9770620)}.support-card.live:hover{border-color:#10b981;background:linear-gradient(135deg,#10b98110,#05966920)}.support-icon{font-size:56px;margin-bottom:8px}.support-content h4{font-size:20px;font-weight:700;color:#1a202c;margin:0 0 8px}.support-content p{font-size:14px;color:#718096;margin:0 0 12px}.support-action{font-size:14px;font-weight:600;color:#667eea}.support-badge{padding:6px 16px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border-radius:20px;font-size:12px;font-weight:600}.quick-links-section{margin-bottom:40px}.quick-links-section h3{font-size:22px;font-weight:700;color:#1a202c;margin:0 0 20px}.quick-links-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.quick-link-btn{padding:20px;background:#fff;border:2px solid #e2e8f0;border-radius:12px;display:flex;align-items:center;gap:12px;font-size:15px;font-weight:600;color:#2d3748;cursor:pointer;transition:all .3s}.quick-link-btn:hover{border-color:#667eea;background:#f7fafc;transform:translateY(-2px);box-shadow:0 4px 12px #667eea33}.link-icon{font-size:24px}.account-info-section{margin-bottom:40px}.account-info-section h3{font-size:22px;font-weight:700;color:#1a202c;margin:0 0 20px}.info-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}.info-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 2px 12px #0000000f;border-left:4px solid #667eea}.info-label{font-size:13px;color:#718096;font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.info-value{font-size:20px;font-weight:700;color:#1a202c}.billing-payment-page{padding:30px;height:100%;overflow-y:auto}.billing-payment-page::-webkit-scrollbar{width:0;height:0}.billing-header{margin-bottom:32px}.billing-header h2{font-size:32px;font-weight:700;color:#1a202c;margin:0 0 8px}.billing-header p{font-size:16px;color:#718096;margin:0}.billing-tabs{display:flex;gap:12px;margin-bottom:32px;border-bottom:2px solid #e2e8f0;padding-bottom:0}.billing-overview{display:grid;gap:24px}.current-plan-card{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;padding:40px;color:#fff;box-shadow:0 10px 40px #667eea4d}.plan-badge-header{display:flex;justify-content:space-between;margin-bottom:20px}.plan-badge{padding:8px 16px;border-radius:20px;font-size:12px;font-weight:700;text-transform:uppercase}.plan-badge.pro{background:#fff3;color:#fff}.status-badge.active{background:#10b98133;color:#10b981;padding:6px 12px;border-radius:12px;font-size:12px;font-weight:600}.current-plan-card h3{font-size:32px;font-weight:700;margin:0 0 16px}.plan-price{margin-bottom:24px}.plan-price .price{font-size:48px;font-weight:800}.plan-price .period{font-size:18px;opacity:.9}.plan-features{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:32px}.feature-item{display:flex;align-items:center;gap:8px}.feature-item .check{font-size:18px}.plan-actions{display:flex;gap:12px}.btn-upgrade{flex:1;padding:16px;background:#fff;color:#667eea;border:none;border-radius:12px;font-size:16px;font-weight:700;cursor:pointer;transition:all .3s}.btn-upgrade:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0003}.btn-cancel{padding:16px 24px;background:#ffffff1a;color:#fff;border:2px solid rgba(255,255,255,.3);border-radius:12px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s}.btn-cancel:hover{background:#fff3}.billing-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.summary-card{background:#fff;border-radius:16px;padding:24px;display:flex;align-items:center;gap:16px;box-shadow:0 4px 20px #00000014;transition:all .3s}.summary-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #667eea26}.summary-icon{font-size:40px;width:64px;height:64px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea15,#764ba215);border-radius:16px}.summary-content{flex:1}.summary-label{font-size:13px;color:#718096;font-weight:600;margin-bottom:4px}.summary-value{font-size:24px;font-weight:700;color:#1a202c}.usage-section{background:#fff;border-radius:16px;padding:32px;box-shadow:0 4px 20px #00000014}.usage-section h3{font-size:20px;font-weight:700;color:#1a202c;margin:0 0 24px}.usage-bars{display:flex;flex-direction:column;gap:20px}.usage-item{display:flex;flex-direction:column;gap:8px}.usage-header{display:flex;justify-content:space-between;font-size:14px;font-weight:600;color:#4a5568}.usage-bar{height:12px;background:#f7fafc;border-radius:6px;overflow:hidden}.usage-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);border-radius:6px;transition:width .5s}.plans-section{padding:20px 0}.plans-header{text-align:center;margin-bottom:40px}.plans-header h3{font-size:28px;font-weight:700;color:#1a202c;margin:0 0 8px}.plans-header p{font-size:16px;color:#718096;margin:0}.pricing-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}.pricing-card{background:#fff;border-radius:20px;padding:32px;box-shadow:0 4px 20px #00000014;transition:all .3s;border:2px solid transparent;position:relative}.pricing-card:hover{transform:translateY(-8px);box-shadow:0 12px 32px #667eea33;border-color:#667eea}.pricing-card.popular{border-color:#667eea;box-shadow:0 8px 32px #667eea33}.popular-badge{position:absolute;top:-12px;right:20px;background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;padding:6px 16px;border-radius:20px;font-size:12px;font-weight:700}.pricing-card h4{font-size:24px;font-weight:700;color:#1a202c;margin:0 0 16px}.yearly-price{font-size:13px;color:#10b981;font-weight:600;margin-bottom:24px}.features-list{list-style:none;padding:0;margin:0 0 24px}.features-list li{padding:10px 0;display:flex;align-items:center;gap:8px;font-size:14px;color:#4a5568}.features-list .check{color:#10b981;font-weight:700}.btn-select,.btn-current{width:100%;padding:14px;border:none;border-radius:12px;font-size:15px;font-weight:700;cursor:pointer;transition:all .3s}.btn-select{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-select:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.btn-current{background:#f7fafc;color:#718096;cursor:not-allowed}.payment-history{background:#fff;border-radius:16px;padding:32px;box-shadow:0 4px 20px #00000014}.history-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.history-header h3{font-size:22px;font-weight:700;color:#1a202c;margin:0}.btn-download{padding:10px 20px;background:#f7fafc;border:2px solid #e2e8f0;border-radius:10px;font-size:14px;font-weight:600;color:#2d3748;cursor:pointer;transition:all .3s}.btn-download:hover{border-color:#667eea;color:#667eea}.history-table table{width:100%;border-collapse:collapse}.history-table th{text-align:left;padding:12px;font-size:13px;font-weight:600;color:#718096;text-transform:uppercase;border-bottom:2px solid #e2e8f0}.history-table td{padding:16px 12px;border-bottom:1px solid #f7fafc}.invoice-number{font-family:Courier New,monospace;font-weight:600;color:#667eea}.status-paid{padding:4px 12px;background:#d1fae5;color:#065f46;border-radius:12px;font-size:12px;font-weight:600}.payment-methods{background:#fff;border-radius:16px;padding:32px;box-shadow:0 4px 20px #00000014}.payment-methods h3{font-size:22px;font-weight:700;color:#1a202c;margin:0 0 24px}.methods-list{display:flex;flex-direction:column;gap:16px}.method-card{display:flex;align-items:center;gap:16px;padding:24px;background:#f7fafc;border-radius:12px;border:2px solid #e2e8f0}.method-card.primary{border-color:#667eea;background:linear-gradient(135deg,#667eea10,#764ba210)}.method-icon{font-size:32px}.method-details{flex:1}.method-details h4{font-size:16px;font-weight:700;color:#1a202c;margin:0 0 4px}.method-details p{font-size:14px;color:#4a5568;margin:0 0 4px}.expires{font-size:12px;color:#718096}.primary-badge{padding:6px 12px;background:#667eea;color:#fff;border-radius:12px;font-size:12px;font-weight:600}.btn-add-method{padding:16px;background:#fff;border:2px dashed #cbd5e0;border-radius:12px;font-size:15px;font-weight:600;color:#667eea;cursor:pointer;transition:all .3s}.btn-add-method:hover{background:#f7fafc;border-color:#667eea}.upgrade-modal{max-width:600px}.upgrade-summary{display:flex;align-items:center;justify-content:space-between;padding:24px;background:#f7fafc;border-radius:12px;margin-bottom:24px}.upgrade-from,.upgrade-to{display:flex;flex-direction:column;gap:8px}.upgrade-summary .label{font-size:12px;color:#718096;font-weight:600;text-transform:uppercase}.upgrade-summary .plan-name{font-size:16px;font-weight:700;color:#1a202c}.upgrade-arrow{font-size:24px;color:#667eea}.upgrade-benefits{margin-bottom:24px}.upgrade-benefits h4{font-size:18px;font-weight:700;color:#1a202c;margin:0 0 16px}.upgrade-benefits ul{list-style:none;padding:0;margin:0}.upgrade-benefits li{padding:8px 0;font-size:14px;color:#4a5568}.payment-info{padding:20px;background:#f7fafc;border-radius:12px}.info-row{display:flex;justify-content:space-between;padding:8px 0;font-size:14px;color:#4a5568}.info-row.total{border-top:2px solid #e2e8f0;margin-top:8px;padding-top:16px;font-size:18px;font-weight:700;color:#1a202c}.master-billing-page{padding:30px;height:100%;overflow-y:auto}.master-billing-page::-webkit-scrollbar{width:0;height:0}.revenue-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-bottom:32px}.revenue-stat-card{background:#fff;border-radius:20px;padding:32px;display:flex;align-items:center;gap:20px;box-shadow:0 4px 20px #00000014;transition:all .3s}.revenue-stat-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #667eea26}.stat-icon-large{font-size:56px;width:80px;height:80px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea15,#764ba215);border-radius:20px}.stat-content h3{font-size:36px;font-weight:800;color:#1a202c;margin:0 0 4px}.stat-content p{font-size:14px;color:#718096;margin:0 0 8px;font-weight:600}.trend{font-size:13px;font-weight:600}.trend.positive{color:#10b981}.trend.negative{color:#ef4444}.trend.neutral{color:#f59e0b}.revenue-breakdown{background:#fff;border-radius:20px;padding:32px;box-shadow:0 4px 20px #00000014;margin-bottom:32px}.revenue-breakdown h3{font-size:22px;font-weight:700;color:#1a202c;margin:0 0 24px}.plan-revenue-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.plan-revenue-card{padding:32px;border-radius:16px;text-align:center;color:#fff;transition:all .3s}.plan-revenue-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0003}.plan-revenue-card.enterprise{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.plan-revenue-card.pro{background:linear-gradient(135deg,#667eea,#764ba2)}.plan-revenue-card.basic{background:linear-gradient(135deg,#10b981,#059669)}.plan-revenue-card h4{font-size:18px;font-weight:600;margin:0 0 16px;opacity:.9}.revenue-amount{font-size:32px;font-weight:800;margin-bottom:8px}.client-count{font-size:14px;opacity:.9}.client-subscriptions,.all-payments,.revenue-analytics{background:#fff;border-radius:20px;padding:32px;box-shadow:0 4px 20px #00000014}.subscriptions-header,.payments-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.subscriptions-header h3,.payments-header h3{font-size:22px;font-weight:700;color:#1a202c;margin:0}.payment-filters{display:flex;gap:8px}.subscriptions-table table,.payments-table table{width:100%;border-collapse:collapse}.subscriptions-table th,.payments-table th{text-align:left;padding:12px;font-size:13px;font-weight:600;color:#718096;text-transform:uppercase;border-bottom:2px solid #e2e8f0}.subscriptions-table td,.payments-table td{padding:16px 12px;border-bottom:1px solid #f7fafc}.badge-plan{padding:6px 12px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase}.badge-plan.enterprise{background:#ede9fe;color:#5b21b6}.badge-plan.pro{background:#dbeafe;color:#1e40af}.badge-plan.basic{background:#d1fae5;color:#065f46}.status-badge-billing{padding:6px 12px;border-radius:12px;font-size:12px;font-weight:600}.status-badge-billing.active{background:#d1fae5;color:#065f46}.status-badge-billing.pending{background:#fef3c7;color:#92400e}.status-badge-billing.overdue{background:#fee2e2;color:#991b1b}.status-badge-billing.trial{background:#dbeafe;color:#1e40af}.status-overdue{padding:4px 12px;background:#fee2e2;color:#991b1b;border-radius:12px;font-size:12px;font-weight:600}.analytics-cards-grid{display:grid;gap:24px}.analytics-card-large{background:#fff;border-radius:16px;padding:32px;box-shadow:0 4px 20px #00000014}.analytics-card-large h3{font-size:20px;font-weight:700;color:#1a202c;margin:0 0 24px}.revenue-chart{margin-top:20px}.analytics-card-medium{background:#fff;border-radius:16px;padding:32px;box-shadow:0 4px 20px #00000014}.analytics-card-medium h3{font-size:20px;font-weight:700;color:#1a202c;margin:0 0 24px}.top-clients-revenue{display:flex;flex-direction:column;gap:16px}.revenue-client-item{display:flex;align-items:center;gap:16px;padding:16px;background:#f7fafc;border-radius:12px;transition:all .3s}.revenue-client-item:hover{background:#edf2f7;transform:translate(4px)}.revenue-client-item .rank{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px}.revenue-client-item .client-name{flex:1;font-weight:600;color:#1a202c}.revenue-client-item .client-revenue{font-weight:700;font-size:18px;color:#667eea}.live-chat-page{padding:30px;height:100%;overflow-y:auto;background:linear-gradient(135deg,#f7fafc,#edf2f7)}.live-chat-page::-webkit-scrollbar{width:0;height:0}.live-chat-header{margin-bottom:32px;background:#fffc;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);padding:32px;border-radius:24px;box-shadow:0 8px 32px #0000001a;border:1px solid rgba(255,255,255,.5)}.live-chat-header h2{font-size:32px;font-weight:700;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;margin:0 0 8px}.live-chat-header p{font-size:16px;color:#718096;margin:0}.live-chat-tabs{display:flex;gap:12px;margin-bottom:32px;border-bottom:2px solid #e2e8f0;padding-bottom:0}.live-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:32px}.live-stat-card{background:#ffffffe6;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:20px;padding:28px;display:flex;align-items:center;gap:20px;box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80;transition:all .4s cubic-bezier(.34,1.56,.64,1);border:1px solid rgba(255,255,255,.3);position:relative;overflow:hidden}.live-stat-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:4px;background:linear-gradient(90deg,#667eea,#764ba2);transform:scaleX(0);transition:transform .4s}.live-stat-card:hover{transform:translateY(-8px) scale(1.02);box-shadow:0 16px 48px #667eea40}.live-stat-card:hover:before{transform:scaleX(1)}.live-stat-card.active{background:linear-gradient(135deg,#10b981,#059669);color:#fff;box-shadow:0 12px 40px #10b98166}.live-stat-card.active .stat-icon,.live-stat-card.active .stat-info p{color:#fff}.chat-container{display:grid;grid-template-columns:350px 1fr;gap:24px;height:calc(100vh - 400px);min-height:600px}.sessions-sidebar{background:#fff;border-radius:16px;box-shadow:0 4px 20px #00000014;display:flex;flex-direction:column;overflow:hidden}.sidebar-header{padding:20px;border-bottom:2px solid #f7fafc;display:flex;justify-content:space-between;align-items:center}.sidebar-header h3{font-size:18px;font-weight:700;color:#1a202c;margin:0}.visitor-count{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:4px 12px;border-radius:12px;font-size:14px;font-weight:700}.sessions-list{flex:1;overflow-y:auto;padding:12px}.sessions-list::-webkit-scrollbar{width:6px}.sessions-list::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:3px}.session-item{display:flex;gap:12px;padding:16px;border-radius:12px;margin-bottom:8px;cursor:pointer;transition:all .3s;border:2px solid transparent}.session-item:hover{background:#f7fafc;border-color:#e2e8f0}.session-item.selected{background:linear-gradient(135deg,#667eea15,#764ba215);border-color:#667eea}.session-avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;flex-shrink:0}.session-info{flex:1;min-width:0}.session-name{font-size:15px;font-weight:700;color:#1a202c;margin-bottom:4px;display:flex;align-items:center;gap:8px}.status-dot{width:8px;height:8px;border-radius:50%;animation:pulse 2s infinite}.status-dot.active{background:#10b981}.status-dot.idle{background:#f59e0b}.session-meta{display:flex;gap:12px;font-size:12px;color:#718096;margin-bottom:4px}.session-time{font-size:11px;color:#a0aec0}.admin-badge{padding:4px 8px;background:#667eea;color:#fff;border-radius:8px;font-size:11px;font-weight:600}.empty-sessions{text-align:center;padding:60px 20px}.empty-sessions .empty-icon{font-size:64px;margin-bottom:16px;opacity:.5}.empty-sessions p{color:#718096;font-size:14px}.chat-area{background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:24px;box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.3)}.chat-area-header{padding:24px;background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:none;display:flex;justify-content:space-between;align-items:center;position:relative;overflow:hidden}.chat-area-header:before{content:"";position:absolute;top:-50%;right:-20%;width:300px;height:300px;background:#ffffff1a;border-radius:50%;animation:float 8s ease-in-out infinite}.visitor-info{display:flex;gap:16px;align-items:center}.visitor-avatar-large{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:700;box-shadow:0 8px 24px #f59e0b66,inset 0 -2px 10px #0003;position:relative;z-index:1;animation:avatarFloat 3s ease-in-out infinite}.visitor-avatar-large:before{content:"";position:absolute;inset:-3px;border-radius:50%;background:linear-gradient(135deg,rgba(255,255,255,.3),transparent);z-index:-1}.visitor-info h3{font-size:20px;font-weight:700;color:#fff;margin:0 0 8px;position:relative;z-index:1;text-shadow:0 2px 10px rgba(0,0,0,.2)}.visitor-details{display:flex;gap:16px;font-size:13px;color:#ffffffe6;position:relative;z-index:1}.chat-actions{display:flex;gap:8px}.btn-action{padding:12px 20px;border:2px solid rgba(255,255,255,.3);background:#fff3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s;color:#fff;position:relative;z-index:1}.btn-action:hover{background:#ffffff4d;border-color:#ffffff80;transform:translateY(-2px)}.btn-action.danger:hover{background:#ef444433;border-color:#ef444480}.chat-messages{flex:1;overflow-y:auto;padding:24px;background:linear-gradient(180deg,#f7fafc80,#edf2f74d)}.chat-messages::-webkit-scrollbar{width:8px}.chat-messages::-webkit-scrollbar-track{background:#cbd5e033;border-radius:10px}.chat-messages::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:10px;box-shadow:inset 0 0 6px #0000004d}.chat-messages::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#764ba2,#667eea)}.chat-msg{display:flex;gap:12px;margin-bottom:20px;animation:messageSlide .3s ease}.chat-msg.visitor,.chat-msg.bot{justify-content:flex-start}.chat-msg.admin{justify-content:flex-end}.chat-msg.system{justify-content:center}.system-message{padding:8px 16px;background:#e2e8f0;color:#4a5568;border-radius:16px;font-size:13px;font-weight:600}.msg-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;flex-shrink:0}.chat-msg.bot .msg-avatar{background:linear-gradient(135deg,#10b981,#059669)}.chat-msg.admin .msg-avatar{background:linear-gradient(135deg,#f59e0b,#d97706)}.msg-content{max-width:70%}.msg-header{display:flex;gap:12px;align-items:center;margin-bottom:4px}.msg-sender{font-size:13px;font-weight:700;color:#4a5568}.msg-time{font-size:11px;color:#a0aec0}.msg-text{padding:14px 18px;border-radius:16px;background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#1a202c;font-size:14px;line-height:1.6;box-shadow:0 4px 16px #0000001a,inset 0 1px #ffffff80;border:1px solid rgba(255,255,255,.3)}.chat-msg.admin .msg-text{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 6px 20px #667eea66,inset 0 -2px 8px #0003;border:none}.chat-input-area{padding:24px;background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-top:1px solid rgba(226,232,240,.5);display:flex;gap:12px}.chat-input-area input{flex:1;padding:16px 20px;border:2px solid rgba(226,232,240,.5);border-radius:16px;font-size:15px;transition:all .3s;background:#fffc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.chat-input-area input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 4px #667eea1a;background:#fff}.btn-send{padding:16px 36px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:16px;font-size:15px;font-weight:700;cursor:pointer;transition:all .4s cubic-bezier(.34,1.56,.64,1);box-shadow:0 6px 20px #667eea66}.btn-send:hover{transform:translateY(-3px) scale(1.05);box-shadow:0 10px 30px #667eea80}.no-chat-selected{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;text-align:center;padding:40px}.no-chat-selected .empty-icon{font-size:80px;margin-bottom:20px;opacity:.5}.no-chat-selected h3{font-size:24px;font-weight:700;color:#1a202c;margin:0 0 8px}.no-chat-selected p{font-size:16px;color:#718096;margin:0}.analytics-content{padding:20px 0}.section-count-badges{display:flex;gap:16px;margin-bottom:24px}.count-badge{display:flex;align-items:center;gap:12px;padding:16px 20px;border-radius:12px;box-shadow:0 4px 16px #00000014;transition:all .3s;min-width:180px}.count-badge:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0000001f}.count-badge.today{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.count-badge.total{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.badge-icon{font-size:28px;opacity:.9}.badge-content{display:flex;flex-direction:column;gap:2px}.badge-label{font-size:11px;font-weight:600;opacity:.9;text-transform:uppercase;letter-spacing:.5px}.badge-value{font-size:24px;font-weight:900;line-height:1}.analytics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-bottom:32px}.analytics-card.gradient-card{background:linear-gradient(135deg,#fffffff2,#f7fafcf2);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:24px;padding:32px;box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80;border:1px solid rgba(255,255,255,.3);transition:all .4s cubic-bezier(.34,1.56,.64,1);position:relative;overflow:visible;display:flex;flex-direction:column;min-height:200px}.analytics-card.gradient-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:4px;background:linear-gradient(90deg,#667eea,#764ba2);transform:scaleX(0);transition:transform .4s}.analytics-card.gradient-card:hover:before{transform:scaleX(1)}.analytics-card.gradient-card:hover{transform:translateY(-12px) scale(1.02);box-shadow:0 20px 60px #667eea40}.analytics-card .card-icon{font-size:48px;margin-bottom:16px;animation:iconFloat 3s ease-in-out infinite}.analytics-card h3{font-size:14px;color:#718096;margin:0 0 12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;word-wrap:break-word;overflow-wrap:break-word}.analytics-card .big-number{font-size:48px;font-weight:900;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;margin:0 0 8px;line-height:1;animation:numberPulse 2s ease-in-out infinite}.analytics-card .card-subtitle{font-size:13px;color:#a0aec0;margin:0 0 12px;word-wrap:break-word;overflow-wrap:break-word}.analytics-card .card-trend{font-size:13px;font-weight:600;display:flex;align-items:center;gap:4px;word-wrap:break-word;overflow-wrap:break-word;margin-top:auto}.analytics-card .card-trend.positive,.analytics-card .card-trend.negative{color:#10b981}.analytics-charts{display:grid;grid-template-columns:repeat(auto-fit,minmax(450px,1fr));gap:24px;margin-bottom:32px}.chart-card{background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:24px;padding:32px;box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80;border:1px solid rgba(255,255,255,.3)}.chart-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.chart-header h3{font-size:18px;font-weight:700;color:#1a202c;margin:0}.live-badge{padding:6px 12px;background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;border-radius:12px;font-size:12px;font-weight:700;display:flex;align-items:center;gap:6px;animation:pulse 2s infinite}.peak-hours-chart{display:flex;align-items:flex-end;gap:12px;height:200px;padding:20px 0}.hour-bar-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px}.hour-bar{width:100%;background:linear-gradient(180deg,#667eea,#764ba2);border-radius:8px 8px 0 0;transition:all .3s;position:relative;display:flex;align-items:flex-start;justify-content:center;padding-top:8px}.hour-bar:hover{opacity:.8;transform:translateY(-4px)}.hour-bar .bar-value{font-size:11px;font-weight:700;color:#fff}.hour-label{font-size:11px;color:#718096;font-weight:600}.active-users-stats{display:flex;justify-content:space-around;padding:20px 0}.user-stat-item{display:flex;flex-direction:column;align-items:center;gap:12px}.stat-circle{width:100px;height:100px;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px #00000026,inset 0 -2px 10px #0003;transition:transform .3s;position:relative}.stat-circle:hover{transform:scale(1.1)}.stat-circle.active{background:linear-gradient(135deg,#10b981,#059669)}.stat-circle.idle{background:linear-gradient(135deg,#f59e0b,#d97706)}.stat-circle.admin{background:linear-gradient(135deg,#667eea,#764ba2)}.stat-circle .stat-number{font-size:32px;font-weight:900;color:#fff}.user-stat-item p{font-size:14px;font-weight:600;color:#4a5568;margin:0}.analytics-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:24px}.detail-card{background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:24px;padding:32px;box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80;border:1px solid rgba(255,255,255,.3)}.detail-card h3{font-size:20px;font-weight:700;color:#1a202c;margin:0 0 24px}.metrics-list{display:flex;flex-direction:column;gap:20px}.metric-item{display:flex;flex-direction:column;gap:8px}.metric-item .metric-label{font-size:13px;color:#718096;font-weight:600;display:flex;justify-content:space-between;align-items:center}.metric-bar{height:12px;background:#f7fafc;border-radius:6px;overflow:hidden}.metric-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);border-radius:6px;transition:width .5s}.metric-item .metric-value{font-size:14px;font-weight:700;color:#667eea}.locations-list{display:flex;flex-direction:column;gap:16px}.location-item{display:flex;align-items:center;gap:16px;padding:16px;background:#f7fafc;border-radius:12px;transition:all .3s}.location-item:hover{background:#edf2f7;transform:translate(4px)}.location-rank{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px}.location-name{flex:1;font-size:15px;font-weight:600;color:#1a202c}.location-count{font-size:18px;font-weight:700;color:#667eea}.history-content{padding:20px 0}.history-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:32px}.history-stat-card{background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:20px;padding:28px;display:flex;align-items:center;gap:20px;box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80;transition:all .4s cubic-bezier(.34,1.56,.64,1);border:1px solid rgba(255,255,255,.3);position:relative;overflow:hidden}.history-stat-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:4px;background:linear-gradient(90deg,#667eea,#764ba2);transform:scaleX(0);transition:transform .4s}.history-stat-card:hover{transform:translateY(-8px) scale(1.02);box-shadow:0 16px 48px #667eea40}.history-stat-card:hover:before{transform:scaleX(1)}.stat-icon-history{font-size:48px;width:80px;height:80px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea15,#764ba215);border-radius:20px;flex-shrink:0}.stat-content-history{flex:1}.stat-content-history h3{font-size:14px;color:#718096;margin:0 0 8px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.stat-number-history{font-size:36px;font-weight:900;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;margin:0 0 4px;line-height:1}.stat-subtitle-history{font-size:12px;color:#a0aec0;margin:0}.history-filters-section{background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:20px;padding:24px;margin-bottom:24px;box-shadow:0 8px 32px #0000001a;border:1px solid rgba(255,255,255,.3);display:flex;gap:16px;flex-wrap:wrap;align-items:flex-end}.filter-group{display:flex;flex-direction:column;gap:8px}.filter-group label{font-size:13px;font-weight:600;color:#4a5568}.filter-input-history{padding:12px 16px;border:2px solid #e2e8f0;border-radius:10px;font-size:14px;transition:all .3s;background:#fff}.filter-input-history:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.btn-filter-apply{padding:12px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;transition:all .3s;box-shadow:0 4px 12px #667eea4d}.btn-filter-apply:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.history-table-section{background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:20px;padding:24px;box-shadow:0 8px 32px #0000001a;border:1px solid rgba(255,255,255,.3)}.history-table-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.history-table-header h3{font-size:20px;font-weight:700;color:#1a202c;margin:0}.btn-export-history{padding:10px 20px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;transition:all .3s;box-shadow:0 4px 12px #10b9814d}.btn-export-history:hover{transform:translateY(-2px);box-shadow:0 6px 20px #10b98166}.history-table-container{overflow-x:auto;border-radius:12px}.history-table{width:100%;border-collapse:collapse}.history-table thead{background:linear-gradient(135deg,#667eea,#764ba2)}.history-table th{padding:16px;text-align:left;font-size:13px;font-weight:700;color:#fff;text-transform:uppercase;letter-spacing:.5px}.history-table tbody tr{border-bottom:1px solid #f7fafc;transition:all .3s}.history-table tbody tr:hover{background:linear-gradient(90deg,#f7fafc,#edf2f7);transform:scale(1.01)}.history-table td{padding:16px;vertical-align:middle}.visitor-cell{display:flex;align-items:center;gap:12px}.visitor-avatar-small{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;flex-shrink:0}.visitor-name-cell{font-size:14px;font-weight:600;color:#1a202c}.visitor-email-cell{font-size:12px;color:#718096}.date-cell{font-size:14px;font-weight:600;color:#1a202c}.time-cell{font-size:12px;color:#718096}.duration-badge{padding:6px 12px;background:linear-gradient(135deg,#667eea15,#764ba215);border:1px solid #667eea;border-radius:12px;font-size:13px;font-weight:700;color:#667eea}.messages-count{font-size:16px;font-weight:700;color:#667eea}.status-badge-history{padding:6px 12px;border-radius:12px;font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:4px}.status-badge-history.active{background:#d1fae5;color:#065f46}.status-badge-history.completed{background:#dbeafe;color:#1e40af}.rating-stars{font-size:16px}.history-actions{display:flex;gap:8px}.btn-view-history,.btn-download-history{padding:8px 12px;background:#f7fafc;border:2px solid #e2e8f0;border-radius:8px;cursor:pointer;font-size:16px;transition:all .3s}.btn-view-history:hover{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;transform:scale(1.1)}.btn-download-history:hover{background:linear-gradient(135deg,#10b981,#059669);border-color:#10b981;transform:scale(1.1)}.empty-history{text-align:center;padding:80px 20px}.empty-history .empty-icon{font-size:80px;margin-bottom:20px;opacity:.5}.empty-history h3{font-size:24px;font-weight:700;color:#1a202c;margin:0 0 12px}.empty-history p{font-size:16px;color:#718096;margin:0}.premium-quick-actions{margin-top:32px}.premium-quick-actions h3{font-size:20px;font-weight:700;margin-bottom:20px;color:#1e293b}.premium-action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}.premium-action-card{background:#fff;border-radius:16px;padding:24px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);border:2px solid #f1f5f9;position:relative;overflow:hidden}.premium-action-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#667eea,#764ba2);transform:scaleX(0);transition:transform .3s ease}.premium-action-card:hover:before{transform:scaleX(1)}.premium-action-card:hover{transform:translateY(-4px);box-shadow:0 12px 40px #0000001f;border-color:#e2e8f0}.action-card-icon{width:56px;height:56px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:28px;margin-bottom:16px;box-shadow:0 4px 16px #0000001a}.premium-action-card h4{font-size:16px;font-weight:700;color:#1e293b;margin-bottom:8px}.premium-action-card p{font-size:13px;color:#64748b;line-height:1.5;margin:0}.detected-info{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #e2e8f0}.info-tag{padding:6px 12px;background:linear-gradient(135deg,#667eea15,#764ba215);border:1px solid #667eea;border-radius:16px;font-size:12px;font-weight:600;color:#667eea;display:inline-flex;align-items:center;gap:4px;animation:slideIn .3s ease}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.smart-suggestions{padding:16px 20px;background:linear-gradient(135deg,#fffbeb,#fef3c7);border-top:2px solid #fbbf24;animation:slideDown .3s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.suggestions-header{font-size:13px;font-weight:700;color:#92400e;margin-bottom:12px;display:flex;align-items:center;gap:6px}.suggestions-list{display:flex;flex-direction:column;gap:8px}.suggestion-btn{padding:12px 16px;background:#fff;border:2px solid #fbbf24;border-radius:10px;font-size:14px;font-weight:500;color:#92400e;cursor:pointer;transition:all .3s;text-align:left;position:relative;overflow:hidden}.suggestion-btn:before{content:"→";position:absolute;right:16px;opacity:0;transition:all .3s}.suggestion-btn:hover{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;border-color:#f59e0b;transform:translate(4px);padding-right:40px}.suggestion-btn:hover:before{opacity:1;right:16px}.suggestion-btn:active{transform:translate(2px) scale(.98)}.chat-input-area{position:relative}.emoji-btn{width:40px;height:40px;border-radius:50%;border:none;background:#f0f0f0;cursor:pointer;font-size:20px;transition:all .2s;display:flex;align-items:center;justify-content:center}.emoji-btn:hover{background:#e0e0e0;transform:scale(1.1)}.emoji-picker{position:absolute;bottom:60px;left:0;background:#fff;border-radius:12px;box-shadow:0 4px 20px #0003;padding:12px;z-index:1000;max-width:320px;animation:slideUp .2s}.emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;max-height:200px;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none}.emoji-grid::-webkit-scrollbar{display:none}.emoji-item{width:32px;height:32px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:6px;font-size:20px;transition:all .2s}.emoji-item:hover{background:#f0f0f0;transform:scale(1.2)}.premium-analytics-section{background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:24px;padding:32px;margin-bottom:32px;box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80;border:1px solid rgba(255,255,255,.3)}.premium-analytics-section h3{font-size:22px;font-weight:700;color:#1a202c;margin:0 0 24px}.analytics-mini-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}.analytics-mini-card{background:#fffc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:24px;display:flex;gap:16px;align-items:center;border:1px solid rgba(255,255,255,.5);box-shadow:0 4px 20px #00000014;transition:all .3s cubic-bezier(.34,1.56,.64,1)}.analytics-mini-card:hover{transform:translateY(-8px) scale(1.02);box-shadow:0 12px 40px #667eea33}.mini-card-icon{width:56px;height:56px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:28px;box-shadow:0 8px 20px #00000026,inset 0 -2px 8px #0003;flex-shrink:0}.mini-card-content{display:flex;flex-direction:column;gap:4px}.mini-card-label{font-size:12px;color:#718096;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.mini-card-value{font-size:28px;font-weight:800;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.mini-card-trend{font-size:12px;font-weight:600}.mini-card-trend.positive{color:#10b981}.leads-funnel-section{background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:24px;padding:32px;margin-bottom:32px;box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80;border:1px solid rgba(255,255,255,.3)}.leads-funnel-section h3{font-size:22px;font-weight:700;color:#1a202c;margin:0 0 32px}.funnel-visual{display:flex;flex-direction:column;align-items:center;gap:12px}.funnel-stage{padding:24px 32px;border-radius:16px;color:#fff;display:flex;justify-content:space-between;align-items:center;transition:all .4s cubic-bezier(.34,1.56,.64,1);box-shadow:0 8px 24px #00000026,inset 0 -2px 10px #0003;cursor:pointer;position:relative;overflow:hidden}.funnel-stage:before{content:"";position:absolute;inset:-2px;border-radius:16px;background:linear-gradient(135deg,rgba(255,255,255,.3),transparent);z-index:0}.funnel-stage:hover{transform:translate(8px) scale(1.02);box-shadow:0 12px 40px #00000040}.funnel-label{font-size:16px;font-weight:700;position:relative;z-index:1}.funnel-count{font-size:32px;font-weight:900;position:relative;z-index:1}.master-analytics-section{background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:24px;padding:32px;margin-bottom:32px;box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80;border:1px solid rgba(255,255,255,.3)}.master-analytics-section h3{font-size:22px;font-weight:700;color:#1a202c;margin:0 0 24px}.system-health{background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);padding:24px 32px;border-radius:20px;box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80;margin-bottom:32px;border:1px solid rgba(255,255,255,.3)}.system-health h3{font-size:20px;font-weight:700;color:#1a202c;margin:0 0 20px}.health-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:20px}.health-item{display:flex;align-items:center;gap:12px;padding:16px 20px;background:#fffc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:12px;font-size:14px;font-weight:600;border:1px solid rgba(255,255,255,.5);box-shadow:0 4px 16px #0000000f;transition:all .3s cubic-bezier(.34,1.56,.64,1)}.health-item:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f}.health-status{width:14px;height:14px;border-radius:50%;animation:pulse 2s infinite;box-shadow:0 0 12px currentColor}.health-status.online{background:#10b981;box-shadow:0 0 16px #10b98199}.health-status.offline{background:#ef4444;box-shadow:0 0 16px #ef444499}.health-status.checking{background:#f59e0b;box-shadow:0 0 16px #f59e0b99}.chat-leads-section{background:#fffffff2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:24px;padding:32px;margin-bottom:32px;box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80;border:1px solid rgba(255,255,255,.3)}.chat-leads-section h3{font-size:22px;font-weight:700;color:#1a202c;margin:0 0 24px}.chat-leads-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin-bottom:20px}.chat-lead-card{background:#ffffffe6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;padding:20px;border:1px solid rgba(255,255,255,.5);box-shadow:0 4px 20px #00000014;transition:all .3s cubic-bezier(.34,1.56,.64,1)}.chat-lead-card:hover{transform:translateY(-8px);box-shadow:0 12px 40px #667eea33}.chat-lead-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.chat-lead-avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;box-shadow:0 4px 12px #667eea4d}.chat-lead-time{font-size:12px;color:#718096;font-weight:600}.chat-lead-body{display:flex;flex-direction:column;gap:8px}.chat-lead-info{font-size:14px;color:#2d3748;font-weight:600;padding:6px 12px;background:linear-gradient(135deg,#667eea15,#764ba215);border-radius:8px;border-left:3px solid #667eea}.chat-lead-message{font-size:13px;color:#4a5568;line-height:1.5;margin-top:8px;padding:12px;background:#f7fafc;border-radius:8px}.btn-view-all{width:100%;padding:14px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:12px;font-size:15px;font-weight:700;cursor:pointer;transition:all .3s}.btn-view-all:hover{transform:translateY(-2px);box-shadow:0 8px 24px #667eea66}.delete-modal{background:#fff;border-radius:20px;padding:40px;max-width:420px;text-align:center;animation:slideUp .3s cubic-bezier(.34,1.56,.64,1);box-shadow:0 20px 60px #0000004d}.delete-modal-icon{font-size:64px;margin-bottom:20px;animation:shake .5s}@keyframes shake{0%,to{transform:rotate(0)}25%{transform:rotate(-10deg)}75%{transform:rotate(10deg)}}.delete-modal h3{font-size:24px;font-weight:700;color:#1a202c;margin:0 0 12px}.delete-modal p{font-size:15px;color:#718096;margin:0 0 32px;line-height:1.6}.delete-modal-actions{display:flex;gap:12px}.btn-cancel{flex:1;padding:14px;background:#f7fafc;border:2px solid #e2e8f0;border-radius:12px;font-size:15px;font-weight:600;color:#2d3748;cursor:pointer;transition:all .3s}.btn-cancel:hover{background:#e2e8f0;transform:translateY(-2px)}.btn-delete{flex:1;padding:14px;background:linear-gradient(135deg,#ef4444,#dc2626);border:none;border-radius:12px;font-size:15px;font-weight:700;color:#fff;cursor:pointer;transition:all .3s}.btn-delete:hover{transform:translateY(-2px);box-shadow:0 8px 24px #ef444466}.lead-status-badge{padding:8px 16px;border-radius:20px;font-size:13px;font-weight:700;display:inline-flex;align-items:center;gap:8px;text-transform:capitalize;box-shadow:0 4px 12px #0000001a;transition:all .3s cubic-bezier(.34,1.56,.64,1);position:relative;overflow:hidden}.lead-status-badge:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);transition:left .5s}.lead-status-badge:hover:before{left:100%}.lead-status-badge:hover{transform:translateY(-2px) scale(1.05);box-shadow:0 6px 20px #00000026}.lead-status-badge:has(.status-dot.new){background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:2px solid rgba(59,130,246,.3)}.lead-status-badge:has(.status-dot.contacted){background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border:2px solid rgba(245,158,11,.3)}.lead-status-badge:has(.status-dot.qualified){background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;border:2px solid rgba(139,92,246,.3)}.lead-status-badge:has(.status-dot.converted){background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:2px solid rgba(16,185,129,.3)}.lead-status-badge .status-dot{width:10px;height:10px;border-radius:50%;animation:statusPulse 2s infinite;box-shadow:0 0 8px currentColor}.lead-status-badge .status-dot.new,.lead-status-badge .status-dot.contacted,.lead-status-badge .status-dot.qualified,.lead-status-badge .status-dot.converted{background:#fff;box-shadow:0 0 12px #fffc}@keyframes statusPulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.1)}}.lead-status-badge .status-text{font-weight:700;letter-spacing:.5px;text-shadow:0 1px 2px rgba(0,0,0,.1)}@media(max-width:768px){.lead-status-badge{padding:6px 12px;font-size:11px}.lead-status-badge .status-dot{width:8px;height:8px}}.table-actions{display:flex;gap:8px;align-items:center;justify-content:center}.table-status-dropdown{padding:6px 12px;border:2px solid #e2e8f0;background:#fff;border-radius:8px;font-size:12px;font-weight:600;color:#2d3748;cursor:pointer;transition:all .3s}.table-status-dropdown:hover{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.table-status-dropdown:focus{outline:none;border-color:#667eea}.btn-icon-table{padding:8px 12px;background:#f7fafc;border:2px solid #e2e8f0;border-radius:8px;cursor:pointer;font-size:16px;transition:all .3s cubic-bezier(.34,1.56,.64,1)}.btn-icon-table:hover{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;transform:translateY(-2px) scale(1.1);box-shadow:0 4px 12px #667eea4d}.btn-icon-table.danger:hover{background:linear-gradient(135deg,#ef4444,#dc2626);border-color:#ef4444;box-shadow:0 4px 12px #ef44444d}.premium-table .data-table td:has(.lead-status-badge){text-align:center}.btn-download-excel{padding:12px 24px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;transition:all .3s cubic-bezier(.34,1.56,.64,1);display:flex;align-items:center;gap:8px;box-shadow:0 4px 12px #10b9814d}.btn-download-excel:hover{transform:translateY(-3px) scale(1.05);box-shadow:0 8px 24px #10b98166}.btn-download-excel:active{transform:translateY(-1px) scale(1.02)}.session-item{min-height:100px!important;align-items:flex-start!important}.session-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.admin-badge{align-self:flex-start;margin-top:4px}.status-dot.idle{background:#ef4444!important;box-shadow:0 0 16px #ef4444cc!important}.admin-badge.exited{background:linear-gradient(135deg,#ef4444,#dc2626)!important;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.session-item{position:relative}.admin-badge{position:absolute!important;top:18px;right:18px;margin:0!important}.sessions-list::-webkit-scrollbar{width:0!important;height:0!important}.sessions-list{scrollbar-width:none;-ms-overflow-style:none}.smart-suggestions{padding:12px 20px;background:linear-gradient(135deg,#fffbeb,#fef3c7);border-top:1px solid #fbbf24}.suggestions-header{font-size:11px;font-weight:700;color:#92400e;margin-bottom:8px;display:flex;align-items:center;gap:4px}.suggestions-list{display:flex;flex-wrap:wrap;gap:6px}.suggestion-btn{padding:6px 12px;background:#fff;border:1px solid #fbbf24;border-radius:8px;font-size:11px;font-weight:500;color:#92400e;cursor:pointer;transition:all .2s;white-space:nowrap}.suggestion-btn:hover{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;border-color:#f59e0b;transform:translateY(-1px)}.suggestions-compact{display:flex;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}.suggestions-compact::-webkit-scrollbar{display:none}.suggestions-icon{font-size:16px;flex-shrink:0}.suggestion-chip{padding:6px 12px;background:#fff;border:1px solid #fbbf24;border-radius:16px;font-size:11px;font-weight:600;color:#92400e;cursor:pointer;transition:all .2s;white-space:nowrap;flex-shrink:0}.suggestion-chip:hover{background:linear-gradient(135deg,#fbbf24,#f59e0b);color:#fff;border-color:#f59e0b;transform:scale(1.05)}.msg-text{max-width:70%!important;word-wrap:break-word;overflow-wrap:break-word}.chat-msg.admin .msg-content,.chat-msg.visitor .msg-content,.chat-msg.bot .msg-content{max-width:70%}.msg-content{display:inline-block!important;max-width:70%!important}.msg-text{display:inline-block!important;max-width:100%!important;width:auto!important;min-width:60px}.chat-msg{display:flex!important;gap:12px;margin-bottom:20px}.chat-msg.visitor,.chat-msg.bot{justify-content:flex-start!important}.chat-msg.admin{justify-content:flex-end!important}.msg-content{display:flex!important;flex-direction:column;max-width:70%!important;width:auto!important}.msg-text{display:inline-block!important;width:fit-content!important;max-width:100%!important;min-width:50px}.msg-time-above{font-size:11px;color:#999;display:block;text-align:right;margin-bottom:4px;margin-right:4px}.chat-msg .msg-text{padding:8px 12px;line-height:1.4;border-radius:12px}.chat-messages{scrollbar-width:none;-ms-overflow-style:none}.chat-messages::-webkit-scrollbar{display:none}.chat-area-header{padding:12px 20px!important;min-height:auto!important}.visitor-avatar-large{width:36px!important;height:36px!important;font-size:16px!important}.chat-area-header h3{font-size:16px!important;margin-bottom:4px!important}.visitor-details{font-size:11px!important;gap:12px!important}.chat-actions{gap:8px!important}.btn-action{padding:6px 12px!important;font-size:13px!important}.chat-container{transition:all .3s cubic-bezier(.4,0,.2,1)}.chat-container.expanded{position:fixed;inset:0;width:100vw;height:100vh;z-index:9999;background:linear-gradient(135deg,#667eea0d,#764ba20d);margin:0!important;padding:0!important;gap:0!important;border-radius:0!important;max-height:100vh!important;animation:expandIn .3s ease-out;display:flex}@keyframes expandIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.chat-container.expanded .sessions-sidebar{width:350px;height:100vh;margin:0;border-radius:0}.chat-container.expanded .chat-area{flex:1;height:100vh;margin:0;border-radius:0}.chat-container.expanded .sessions-list{max-height:calc(100vh - 120px)}.chat-container.expanded .chat-messages{max-height:calc(100vh - 250px)}.chat-container.expanded .suggestions-compact{flex-wrap:wrap;max-width:100%}.chat-container.expanded .suggestion-chip{margin-bottom:8px}.total-count{display:block;font-size:11px;color:#a0aec0;font-weight:600;margin-top:8px;padding-top:8px;border-top:1px solid rgba(226,232,240,.5)}.live-stat-card .total-count{color:#a0aec0cc}.analytics-card.gradient-card .total-count{color:#a0aec0;font-size:12px;margin-top:auto;padding-top:12px;border-top:1px solid rgba(226,232,240,.3)}.history-stat-card .total-count{color:#a0aec0;font-size:11px;margin-top:8px;padding-top:8px;border-top:1px solid rgba(226,232,240,.5)}.data-management-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}.data-control-card{background:linear-gradient(135deg,#fffffff2,#f7fafcf2);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:20px;padding:28px;box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80;border:1px solid rgba(255,255,255,.3);transition:all .4s cubic-bezier(.34,1.56,.64,1);position:relative;overflow:hidden}.data-control-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:4px;background:linear-gradient(90deg,#667eea,#764ba2);transform:scaleX(0);transition:transform .4s}.data-control-card:hover{transform:translateY(-8px) scale(1.02);box-shadow:0 20px 60px #667eea40}.data-control-card:hover:before{transform:scaleX(1)}.data-icon{width:64px;height:64px;border-radius:16px;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:32px;margin-bottom:16px;box-shadow:0 8px 24px #667eea66;animation:iconFloat 3s ease-in-out infinite}.data-control-card h4{font-size:18px;font-weight:700;color:#1a202c;margin:0 0 8px}.data-control-card p{font-size:14px;color:#718096;margin:0;line-height:1.6}.data-stats{display:flex;flex-direction:column;gap:12px}.stat-row{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;background:#667eea0d;border-radius:10px;font-size:14px}.stat-row span{color:#718096;font-weight:600}.stat-row strong{color:#667eea;font-weight:700}.export-backup-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}.export-card{background:linear-gradient(135deg,#fffffff2,#f7fafcf2);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:20px;padding:28px;text-align:center;box-shadow:0 8px 32px #0000001a,inset 0 1px #ffffff80;border:1px solid rgba(255,255,255,.3);transition:all .4s cubic-bezier(.34,1.56,.64,1)}.export-card:hover{transform:translateY(-8px) scale(1.02);box-shadow:0 20px 60px #667eea40}.export-icon{width:64px;height:64px;border-radius:16px;background:linear-gradient(135deg,#10b981,#059669);display:flex;align-items:center;justify-content:center;font-size:32px;margin:0 auto 16px;box-shadow:0 8px 24px #10b98166;animation:iconFloat 3s ease-in-out infinite}.export-card h4{font-size:18px;font-weight:700;color:#1a202c;margin:0 0 8px}.export-card p{font-size:14px;color:#718096;margin:0}.settings-card select,.form-control-small[type=time],.form-control-small[type=number]{width:100%;padding:10px 36px 10px 16px;border:2px solid #e2e8f0;border-radius:10px;font-size:14px;font-weight:500;color:#2d3748;background:#fff;cursor:pointer;transition:all .3s;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.settings-card select:hover,.form-control-small:hover{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.settings-card select:focus,.form-control-small:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 4px #667eea26;background-color:#f7fafc}.form-control-small{background-image:none!important;padding-right:16px!important}.setting-item select{flex:1;min-width:120px}.form-group label{font-size:13px;font-weight:600;color:#4a5568;margin-bottom:6px;display:block}input[type=time],input[type=number]{background-image:none!important}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{opacity:1;height:32px}.upgrade-section{margin-top:32px}.upgrade-card{background:linear-gradient(135deg,#667eea0d,#764ba20d)!important;border:2px solid #667eea!important;position:relative;overflow:hidden}.upgrade-card:before{content:"";position:absolute;top:-50%;right:-20%;width:300px;height:300px;background:radial-gradient(circle,rgba(102,126,234,.1) 0%,transparent 70%);animation:float 8s ease-in-out infinite}.upgrade-content{position:relative;z-index:1;text-align:center}.upgrade-icon{font-size:64px;margin-bottom:16px;animation:rocketFloat 3s ease-in-out infinite}@keyframes rocketFloat{0%,to{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-10px) rotate(5deg)}}.upgrade-content h3{font-size:28px;font-weight:800;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;margin:0 0 12px}.upgrade-content p{font-size:16px;color:#718096;margin:0 0 24px}.upgrade-features{list-style:none;padding:0;text-align:left;max-width:400px;margin:0 auto 32px}.upgrade-features li{padding:12px 0;font-size:15px;color:#4a5568;font-weight:500;display:flex;align-items:center;gap:12px;border-bottom:1px solid rgba(226,232,240,.5)}.upgrade-features li:last-child{border-bottom:none}.btn-upgrade{padding:16px 48px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:16px;font-size:18px;font-weight:700;cursor:pointer;transition:all .4s cubic-bezier(.34,1.56,.64,1);box-shadow:0 8px 24px #667eea66;position:relative;overflow:hidden}.btn-upgrade:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:#ffffff4d;transform:translate(-50%,-50%);transition:width .6s,height .6s}.btn-upgrade:hover:before{width:300px;height:300px}.btn-upgrade:hover{transform:translateY(-4px) scale(1.05);box-shadow:0 12px 40px #667eea80}.btn-upgrade:active{transform:translateY(-2px) scale(1.02)}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.feature-card{background:linear-gradient(135deg,#667eea0d,#764ba20d);border:2px solid rgba(102,126,234,.2);border-radius:16px;padding:24px;text-align:center;transition:all .3s}.feature-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #667eea33;border-color:#667eea}.feature-icon{font-size:48px;margin-bottom:16px}.feature-card h4{font-size:18px;font-weight:700;color:#1a202c;margin:0 0 8px}.feature-card p{font-size:14px;color:#718096;margin:0 0 16px}.feature-status{display:inline-block;padding:6px 12px;border-radius:12px;font-size:12px;font-weight:600}.feature-status.active{background:#d1fae5;color:#065f46}.success-toast{position:fixed;top:24px;right:24px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:16px 24px;border-radius:12px;box-shadow:0 8px 24px #10b98166;font-size:15px;font-weight:600;z-index:10000;animation:slideInRight .3s ease,fadeOut .3s ease 2.7s}@keyframes slideInRight{0%{opacity:0;transform:translate(100px)}to{opacity:1;transform:translate(0)}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.category-card{position:relative}.category-card-actions{position:absolute;top:12px;right:12px;display:flex;gap:8px;opacity:0;transition:opacity .3s;z-index:10}.category-card:hover .category-card-actions{opacity:1}.card-action-icon{width:32px;height:32px;border-radius:50%;background:#ffffffe6;border:2px solid #e2e8f0;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:16px;transition:all .3s}.card-action-icon:hover{background:#667eea;border-color:#667eea;transform:scale(1.1)}.inactive-badge{position:absolute;bottom:12px;left:50%;transform:translate(-50%);padding:4px 12px;background:#fee2e2;color:#991b1b;border-radius:12px;font-size:11px;font-weight:700;text-transform:uppercase}.category-count{font-size:14px;color:#718096;margin:8px 0 0;font-weight:600}*{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}.app{min-height:100vh}
