.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#111827;position:relative;overflow:hidden}.login-background{position:absolute;inset:0;z-index:0}.bg-gradient{position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle at 30% 30%,rgba(59,130,246,.15) 0%,transparent 50%),radial-gradient(circle at 70% 70%,rgba(139,92,246,.1) 0%,transparent 50%);animation:rotate 30s linear infinite}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.bg-pattern{position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23374151' fill-opacity='0.2'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");opacity:.5}.login-container{position:relative;z-index:1;width:100%;max-width:420px;padding:20px}.login-card{background:#1f2937cc;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.1);border-radius:24px;padding:40px;box-shadow:0 25px 50px #00000080}.login-header{text-align:center;margin-bottom:32px}.login-logo{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:12px}.login-logo .logo-icon{font-size:40px}.login-logo .logo-text{font-size:32px;font-weight:800;background:linear-gradient(135deg,#3b82f6,#60a5fa,#93c5fd);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.login-subtitle{color:#9ca3af;font-size:14px;margin:0}.login-form{display:flex;flex-direction:column;gap:20px}.error-alert{display:flex;align-items:center;gap:10px;padding:14px 16px;background:#ef44441a;border:1px solid rgba(239,68,68,.2);border-radius:12px;color:#ef4444;font-size:14px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group input{width:100%;padding:16px 18px;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:12px;color:#f9fafb;font-size:15px;outline:none;transition:all .2s ease}.form-group input:focus{border-color:#3b82f6;background:#3b82f60d;box-shadow:0 0 0 3px #3b82f61a}.form-group input::placeholder{color:#6b7280}.form-group input:disabled{opacity:.6;cursor:not-allowed}.login-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:16px;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:12px;color:#fff;font-size:15px;font-weight:600;cursor:pointer;transition:all .3s ease;margin-top:8px}.login-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 30px #3b82f64d}.login-btn:disabled{opacity:.7;cursor:not-allowed}.spinner{width:18px;height:18px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.login-footer{text-align:center;margin-top:24px;padding-top:24px;border-top:1px solid rgba(255,255,255,.1)}.login-footer p{color:#6b7280;font-size:13px;margin:0}@media(max-width:480px){.login-card{padding:32px 24px}.login-logo .logo-text{font-size:28px}}.sidebar{width:260px;height:100vh;background:#1f2937;display:flex;flex-direction:column;position:fixed;left:0;top:0;border-right:1px solid rgba(255,255,255,.1);z-index:100}.sidebar-header{padding:24px 20px;border-bottom:1px solid rgba(255,255,255,.1)}.logo{display:flex;align-items:center;gap:12px}.logo-icon{font-size:28px}.logo-text{font-size:22px;font-weight:700;color:#f9fafb;background:linear-gradient(135deg,#3b82f6,#60a5fa);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.sidebar-nav{flex:1;padding:16px 12px;display:flex;flex-direction:column;gap:4px}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 16px;color:#9ca3af;text-decoration:none;border-radius:10px;transition:all .2s ease;font-size:15px;font-weight:500}.nav-item:hover{background:#3b82f61a;color:#f9fafb}.nav-item.active{background:#3b82f633;color:#3b82f6}.nav-icon{font-size:18px}.sidebar-footer{padding:16px;border-top:1px solid rgba(255,255,255,.1)}.user-info{display:flex;align-items:center;gap:12px;padding:12px;background:#ffffff0d;border-radius:10px;margin-bottom:12px}.user-avatar{width:40px;height:40px;background:linear-gradient(135deg,#3b82f6,#60a5fa);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:16px}.user-details{flex:1;min-width:0}.user-email{color:#9ca3af;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.logout-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;background:#ef44441a;border:1px solid rgba(239,68,68,.2);border-radius:10px;color:#ef4444;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.logout-btn:hover{background:#ef444433}@media(max-width:768px){.sidebar{width:100%;height:auto;position:relative;border-right:none;border-bottom:1px solid rgba(255,255,255,.1)}.sidebar-nav{flex-direction:row;overflow-x:auto;padding:12px}.nav-item{padding:10px 14px;white-space:nowrap}.nav-text,.sidebar-footer{display:none}}.header{display:flex;justify-content:space-between;align-items:center;padding:20px 32px;background:#1f2937;border-bottom:1px solid rgba(255,255,255,.1);position:sticky;top:0;z-index:50}.header-left{display:flex;flex-direction:column;gap:4px}.header-title{font-size:24px;font-weight:700;color:#f9fafb;margin:0}.header-subtitle{font-size:14px;color:#9ca3af;margin:0}.header-right{display:flex;align-items:center;gap:16px}.connection-status{display:flex;align-items:center;gap:8px;padding:8px 14px;background:#ffffff0d;border-radius:20px;font-size:13px;font-weight:500}.connection-status.connected{color:#10b981}.connection-status.disconnected{color:#ef4444}.status-dot{width:8px;height:8px;border-radius:50%;background:currentColor}.connection-status.connected .status-dot{animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1;box-shadow:0 0 0 0 currentColor}50%{opacity:.7;box-shadow:0 0 0 4px transparent}}.notification-btn{position:relative;width:44px;height:44px;display:flex;align-items:center;justify-content:center;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:12px;cursor:pointer;transition:all .2s ease}.notification-btn:hover{background:#ffffff1a}.notification-icon{font-size:18px}.notification-badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;background:#ef4444;border-radius:9px;font-size:11px;font-weight:600;color:#fff;display:flex;align-items:center;justify-content:center}@media(max-width:768px){.header{padding:16px 20px}.header-title{font-size:20px}.status-text{display:none}}.stats-card{position:relative;background:#1f2937;border-radius:16px;padding:24px;display:flex;align-items:flex-start;gap:16px;border:1px solid rgba(255,255,255,.1);transition:all .3s ease;overflow:hidden}.stats-card:hover{transform:translateY(-2px);border-color:#ffffff26}.stats-card.loading{pointer-events:none}.live-indicator{position:absolute;top:12px;right:12px;width:8px;height:8px;background:#10b981;border-radius:50%;animation:pulse 2s infinite}.stats-icon{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0}.stats-card.blue .stats-icon{background:#3b82f626}.stats-card.green .stats-icon{background:#10b98126}.stats-card.orange .stats-icon{background:#f59e0b26}.stats-card.purple .stats-icon{background:#8b5cf626}.stats-card.red .stats-icon{background:#ef444426}.stats-content{display:flex;flex-direction:column;gap:4px;min-width:0}.stats-label{font-size:13px;color:#9ca3af;font-weight:500}.stats-value{font-size:28px;font-weight:700;color:#f9fafb;transition:all .3s ease}.stats-value.updated{color:#3b82f6;animation:countUp .5s ease-out}@keyframes countUp{0%{transform:scale(1.1);opacity:.8}to{transform:scale(1);opacity:1}}.stats-skeleton{width:80px;height:32px;background:linear-gradient(90deg,#374151 25%,#4b5563,#374151 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:6px}.stats-trend{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:600;margin-top:4px}.stats-trend.trend-up{color:#10b981}.stats-trend.trend-down{color:#ef4444}@media(max-width:768px){.stats-card{padding:18px}.stats-icon{width:44px;height:44px;font-size:20px}.stats-value{font-size:24px}}.activity-timeline{background:#1f2937;border-radius:16px;border:1px solid rgba(255,255,255,.1);overflow:hidden;display:flex;flex-direction:column;height:100%}.timeline-header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid rgba(255,255,255,.1)}.timeline-header h3{font-size:16px;font-weight:600;color:#f9fafb;margin:0}.timeline-count{font-size:12px;color:#9ca3af;background:#ffffff0d;padding:4px 10px;border-radius:12px}.timeline-items{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px}.timeline-item{display:flex;align-items:flex-start;gap:12px;padding:14px;background:#ffffff05;border-radius:12px;border-left:3px solid transparent;transition:all .3s ease}.timeline-item.new{animation:slideDown .3s ease-out;background:#3b82f60d}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.timeline-item.green{border-left-color:#10b981}.timeline-item.red{border-left-color:#ef4444}.timeline-item.orange{border-left-color:#f59e0b}.timeline-item.blue{border-left-color:#3b82f6}.timeline-item.gray{border-left-color:#6b7280}.timeline-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:16px;background:#ffffff0d;flex-shrink:0}.timeline-content{flex:1;min-width:0}.timeline-text{font-size:14px;color:#f9fafb;margin:0 0 6px;font-weight:500}.timeline-meta{display:flex;align-items:center;gap:12px;font-size:12px;color:#9ca3af}.timeline-group{display:flex;align-items:center;gap:4px}.timeline-group:before{content:"👥";font-size:10px}.timeline-time{color:#6b7280}.timeline-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;color:#6b7280}.timeline-empty span{font-size:32px;margin-bottom:12px}.timeline-empty p{margin:0;font-size:14px}.timeline-item.skeleton{border-left-color:transparent}.timeline-icon-skeleton{width:36px;height:36px;border-radius:10px;background:linear-gradient(90deg,#374151 25%,#4b5563,#374151 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}.timeline-content-skeleton{flex:1;display:flex;flex-direction:column;gap:8px}.skeleton-line{height:14px;background:linear-gradient(90deg,#374151 25%,#4b5563,#374151 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:4px}.skeleton-line.short{width:60%;height:12px}.timeline-items::-webkit-scrollbar{width:6px}.timeline-items::-webkit-scrollbar-track{background:transparent}.timeline-items::-webkit-scrollbar-thumb{background:#374151;border-radius:3px}.timeline-items::-webkit-scrollbar-thumb:hover{background:#4b5563}.toast-container{position:fixed;top:20px;right:20px;display:flex;flex-direction:column;gap:10px;z-index:1000;pointer-events:none}.toast{display:flex;align-items:center;gap:12px;padding:14px 18px;background:#1f2937;border-radius:12px;border:1px solid rgba(255,255,255,.1);box-shadow:0 10px 40px #0000004d;pointer-events:auto;cursor:pointer;animation:slideIn .3s ease-out;min-width:280px;max-width:400px}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.toast-icon{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;flex-shrink:0}.toast-success .toast-icon{background:#10b98133;color:#10b981}.toast-error .toast-icon{background:#ef444433;color:#ef4444}.toast-warning .toast-icon{background:#f59e0b33;color:#f59e0b}.toast-info .toast-icon{background:#3b82f633;color:#3b82f6}.toast-message{flex:1;color:#f9fafb;font-size:14px;font-weight:500;line-height:1.4}.toast-close{width:24px;height:24px;display:flex;align-items:center;justify-content:center;background:#ffffff0d;border:none;border-radius:6px;color:#9ca3af;font-size:18px;cursor:pointer;transition:all .2s ease;flex-shrink:0}.toast-close:hover{background:#ffffff1a;color:#f9fafb}@media(max-width:768px){.toast-container{inset:auto 16px 20px}.toast{min-width:auto;max-width:none}}.dashboard-layout{display:flex;min-height:100vh;background:#111827}.main-content{flex:1;margin-left:260px;display:flex;flex-direction:column}.dashboard-content{flex:1;padding:24px 32px;display:grid;grid-template-columns:1fr 380px;gap:24px}.stats-section{display:flex;flex-direction:column;gap:24px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}.activity-section{height:calc(100vh - 140px);position:sticky;top:24px}.quick-actions{background:#1f2937;border-radius:16px;border:1px solid rgba(255,255,255,.1);padding:20px}.quick-actions h3{font-size:16px;font-weight:600;color:#f9fafb;margin:0 0 16px}.actions-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.action-btn{display:flex;flex-direction:column;align-items:center;gap:8px;padding:20px 16px;background:#ffffff08;border:1px solid rgba(255,255,255,.05);border-radius:12px;color:#9ca3af;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease}.action-btn:hover{background:#3b82f61a;border-color:#3b82f633;color:#3b82f6}.action-btn span:first-child{font-size:24px}@media(max-width:1200px){.dashboard-content{grid-template-columns:1fr}.activity-section{height:auto;position:static;max-height:500px}}@media(max-width:768px){.main-content{margin-left:0}.dashboard-content{padding:16px 20px}.stats-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.stats-grid{grid-template-columns:1fr}}.groups-layout{display:flex;min-height:100vh;background:#111827}.groups-content{flex:1;padding:24px 32px}.groups-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px}.group-card{position:relative;background:#1f2937;border-radius:16px;border:1px solid rgba(255,255,255,.1);padding:24px;cursor:pointer;transition:all .3s ease;overflow:hidden}.group-card:hover{transform:translateY(-4px);border-color:#3b82f64d;box-shadow:0 10px 40px #0000004d}.group-card.active{border-color:#10b9814d}.activity-indicator{position:absolute;top:16px;right:16px}.pulse-dot{display:block;width:10px;height:10px;background:#10b981;border-radius:50%;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1;box-shadow:0 0 #10b98166}50%{opacity:.8;box-shadow:0 0 0 8px #10b98100}}.group-header{display:flex;align-items:center;gap:14px;margin-bottom:20px}.group-avatar{width:52px;height:52px;background:linear-gradient(135deg,#3b82f6,#60a5fa);border-radius:14px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:20px;font-weight:700;flex-shrink:0}.group-info{flex:1;min-width:0}.group-name{font-size:17px;font-weight:600;color:#f9fafb;margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.group-id{font-size:12px;color:#6b7280;font-family:Monaco,Menlo,monospace}.group-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}.stat-item{background:#ffffff08;border-radius:10px;padding:14px 12px;text-align:center}.stat-value{display:block;font-size:22px;font-weight:700;color:#f9fafb;margin-bottom:4px}.stat-label{font-size:11px;color:#9ca3af;text-transform:uppercase;letter-spacing:.5px}.stat-item.vip .stat-value{color:#10b981}.stat-item.online .stat-value{color:#3b82f6}.group-footer{display:flex;flex-direction:column;gap:8px;margin-bottom:16px;padding-top:16px;border-top:1px solid rgba(255,255,255,.05)}.footer-item{display:flex;justify-content:space-between;font-size:13px}.footer-label{color:#6b7280}.footer-value{color:#9ca3af}.footer-value.active{color:#10b981}.view-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:14px;background:#3b82f61a;border:1px solid rgba(59,130,246,.2);border-radius:12px;color:#3b82f6;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.view-btn:hover{background:#3b82f633}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 40px;text-align:center}.empty-icon{font-size:64px;margin-bottom:20px}.empty-state h3{font-size:20px;font-weight:600;color:#f9fafb;margin:0 0 8px}.empty-state p{color:#9ca3af;font-size:14px;margin:0;max-width:300px}.group-card.skeleton{pointer-events:none}.skeleton-header{height:52px;background:linear-gradient(90deg,#374151 25%,#4b5563,#374151 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:10px;margin-bottom:20px}.skeleton-stats{height:70px;background:linear-gradient(90deg,#374151 25%,#4b5563,#374151 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:10px;margin-bottom:16px}.skeleton-footer{height:44px;background:linear-gradient(90deg,#374151 25%,#4b5563,#374151 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:10px}@media(max-width:768px){.groups-content{padding:16px 20px}.groups-grid{grid-template-columns:1fr}}.member-table-container{background:#1f2937;border-radius:16px;border:1px solid rgba(255,255,255,.1);overflow:hidden}.member-table{width:100%;border-collapse:collapse}.member-table thead{background:#ffffff08}.member-table th{padding:16px 20px;text-align:left;font-size:12px;font-weight:600;color:#9ca3af;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid rgba(255,255,255,.1)}.member-table td{padding:16px 20px;font-size:14px;color:#f9fafb;border-bottom:1px solid rgba(255,255,255,.05)}.member-table tbody tr{transition:all .2s ease}.member-table tbody tr:hover{background:#ffffff05}.member-table tbody tr.vip-row{background:#10b98108}.member-table tbody tr.vip-row:hover{background:#10b9810f}.user-cell{display:flex;align-items:center;gap:12px}.user-avatar{position:relative;width:40px;height:40px;background:linear-gradient(135deg,#374151,#4b5563);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#9ca3af;font-size:14px;font-weight:600}.user-avatar.online{background:linear-gradient(135deg,#059669,#10b981);color:#fff}.online-dot{position:absolute;bottom:-2px;right:-2px;width:12px;height:12px;background:#10b981;border:2px solid #1F2937;border-radius:50%;animation:pulse 2s infinite}.user-name{font-weight:500;color:#f9fafb}.telegram-id{font-family:Monaco,Menlo,monospace;font-size:13px;color:#9ca3af;background:#ffffff0d;padding:4px 8px;border-radius:6px}.vip-status{display:flex;flex-direction:column;gap:4px}.vip-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;background:#10b98126;color:#10b981;border-radius:6px;font-size:12px;font-weight:600;width:fit-content}.vip-badge.warning{background:#f59e0b26;color:#f59e0b}.vip-badge.expired{background:#ef444426;color:#ef4444}.vip-date{font-size:11px;color:#6b7280}.vip-date.warning{color:#f59e0b}.non-vip{color:#6b7280}.last-seen{color:#9ca3af;font-size:13px}.last-seen.online{color:#10b981}.action-buttons{display:flex;gap:8px}.btn-add-vip,.btn-remove-vip{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:none;border-radius:8px;cursor:pointer;font-size:14px;transition:all .2s ease}.btn-add-vip{background:#10b9811a;color:#10b981}.btn-add-vip:hover{background:#10b98133;transform:scale(1.1)}.btn-remove-vip{background:#ef44441a;color:#ef4444}.btn-remove-vip:hover{background:#ef444433;transform:scale(1.1)}.empty-row td{padding:60px 20px}.empty-state{display:flex;flex-direction:column;align-items:center;gap:12px;color:#6b7280}.empty-state span{font-size:40px}.empty-state p{margin:0;font-size:14px}.skeleton-row td{padding:20px}.skeleton-cell{height:16px;background:linear-gradient(90deg,#374151 25%,#4b5563,#374151 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:4px;width:80px}.skeleton-cell.wide{width:160px}.skeleton-cell.short{width:60px}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media(max-width:1024px){.member-table th:nth-child(2),.member-table td:nth-child(2){display:none}}@media(max-width:768px){.member-table th:nth-child(3),.member-table td:nth-child(3),.member-table th:nth-child(5),.member-table td:nth-child(5){display:none}.member-table th,.member-table td{padding:12px 14px}}.vip-status-detailed{display:flex;flex-direction:column;gap:4px}.vip-badge-row{display:flex;align-items:center}.vip-date-row{display:flex;flex-direction:column;gap:2px}.vip-end-date{font-size:12px;color:#9ca3af}.vip-end-date.warning{color:#f59e0b}.vip-days-left{font-size:11px;color:#6b7280}.vip-days-left.warning{color:#f59e0b;font-weight:500}.vip-adjust-controls{display:flex;align-items:center;gap:4px;background:#ffffff0d;border-radius:8px;padding:4px;margin-right:8px}.btn-adjust{width:28px;height:28px;border:none;border-radius:6px;font-size:16px;font-weight:600;cursor:pointer;transition:all .15s ease;display:flex;align-items:center;justify-content:center}.btn-adjust:disabled{opacity:.3;cursor:not-allowed}.btn-minus{background:#ef444426;color:#ef4444}.btn-minus:hover:not(:disabled){background:#ef44444d;transform:scale(1.05)}.btn-plus{background:#10b98126;color:#10b981}.btn-plus:hover:not(:disabled){background:#10b9814d;transform:scale(1.05)}.days-display{min-width:32px;text-align:center;font-size:13px;font-weight:600;color:#f9fafb}.action-buttons{display:flex;align-items:center;gap:4px}@media(max-width:768px){.vip-adjust-controls{display:none}}.modal-overlay{position:fixed;inset:0;background:#000000b3;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{width:100%;max-width:440px;background:#1f2937;border-radius:20px;border:1px solid rgba(255,255,255,.1);box-shadow:0 25px 50px #00000080;animation:slideUp .3s ease;overflow:hidden}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid rgba(255,255,255,.1)}.modal-header h2{font-size:18px;font-weight:600;color:#f9fafb;margin:0}.modal-close{width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:#ffffff0d;border:none;border-radius:8px;color:#9ca3af;font-size:20px;cursor:pointer;transition:all .2s ease}.modal-close:hover{background:#ffffff1a;color:#f9fafb}.modal-body{padding:24px;display:flex;flex-direction:column;gap:20px}.member-preview{display:flex;align-items:center;gap:14px;padding:16px;background:#ffffff08;border-radius:12px;border:1px solid rgba(255,255,255,.05)}.member-avatar{width:48px;height:48px;background:linear-gradient(135deg,#3b82f6,#60a5fa);border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;font-weight:600}.member-info{display:flex;flex-direction:column;gap:2px}.member-name{font-size:16px;font-weight:600;color:#f9fafb}.member-username{font-size:13px;color:#9ca3af}.form-group{display:flex;flex-direction:column;gap:10px}.form-group label{font-size:13px;font-weight:500;color:#9ca3af}.duration-options{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.duration-btn{padding:12px 8px;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:10px;color:#9ca3af;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease}.duration-btn:hover{background:#ffffff14;color:#f9fafb}.duration-btn.active{background:#3b82f633;border-color:#3b82f6;color:#3b82f6}.custom-input{width:100%;padding:14px 16px;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:10px;color:#f9fafb;font-size:14px;outline:none;transition:all .2s ease}.custom-input:focus{border-color:#3b82f6;background:#3b82f60d}.custom-input::placeholder{color:#6b7280}.date-preview{display:flex;align-items:center;justify-content:space-between;padding:16px;background:#10b9811a;border:1px solid rgba(16,185,129,.2);border-radius:12px}.date-label{font-size:13px;color:#9ca3af}.date-value{font-size:14px;font-weight:600;color:#10b981}.modal-footer{display:flex;gap:12px;padding:20px 24px;border-top:1px solid rgba(255,255,255,.1)}.btn-cancel,.btn-confirm{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 20px;border-radius:12px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;border:none}.btn-cancel{background:#ffffff0d;color:#9ca3af}.btn-cancel:hover:not(:disabled){background:#ffffff1a;color:#f9fafb}.btn-confirm{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.btn-confirm:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #10b9814d}.btn-confirm:disabled,.btn-cancel:disabled{opacity:.5;cursor:not-allowed}.spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@media(max-width:480px){.modal-content{margin:16px;max-width:calc(100% - 32px)}.duration-options{grid-template-columns:repeat(2,1fr)}}.group-detail-layout{display:flex;min-height:100vh;background:#111827}.group-detail-content{flex:1;padding:24px 32px}.back-button-container{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.back-btn{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:10px;color:#9ca3af;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.back-btn:hover{background:#ffffff14;color:#f9fafb}.live-badge{display:flex;align-items:center;gap:8px;padding:8px 14px;background:#10b9811a;border:1px solid rgba(16,185,129,.2);border-radius:20px;color:#10b981;font-size:13px;font-weight:500}.live-dot{width:8px;height:8px;background:#10b981;border-radius:50%;animation:pulse 2s infinite}.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px}.members-section{background:#1f2937;border-radius:16px;border:1px solid rgba(255,255,255,.1);overflow:hidden}.members-header{display:flex;flex-direction:column;gap:16px;padding:20px 24px;border-bottom:1px solid rgba(255,255,255,.1)}.members-header h2{font-size:18px;font-weight:600;color:#f9fafb;margin:0}.members-filters{display:flex;align-items:center;gap:16px;flex-wrap:wrap}@media(max-width:1024px){.stats-row{grid-template-columns:repeat(3,1fr)}}@media(max-width:768px){.group-detail-content{padding:16px 20px}.stats-row{grid-template-columns:1fr}.members-filters{flex-direction:column;align-items:stretch}.search-box{min-width:auto}.filter-buttons{justify-content:flex-start;overflow-x:auto;padding-bottom:4px}}.live-monitoring-layout{display:flex;min-height:100vh;background:#111827}.live-monitoring-layout.fullscreen .main-content{margin-left:0}.monitoring-content{flex:1;padding:24px 32px;display:flex;flex-direction:column;gap:20px}.monitoring-controls{display:flex;align-items:center;gap:16px}.control-item{display:flex;align-items:center}.toggle-label{display:flex;align-items:center;gap:12px;cursor:pointer;color:#9ca3af;font-size:14px}.toggle-label input{display:none}.toggle-switch{width:44px;height:24px;background:#374151;border-radius:12px;position:relative;transition:all .3s ease}.toggle-switch:after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;background:#fff;border-radius:50%;transition:all .3s ease}.toggle-label input:checked+.toggle-switch{background:#3b82f6}.toggle-label input:checked+.toggle-switch:after{left:22px}.control-btn{padding:10px 16px;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:10px;color:#9ca3af;font-size:14px;cursor:pointer;transition:all .2s ease}.control-btn:hover{background:#ffffff1a;color:#f9fafb}.monitoring-grid{flex:1;display:grid;grid-template-columns:280px 1fr 360px;gap:20px;min-height:0}.panel{background:#1f2937;border-radius:16px;border:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;overflow:hidden}.panel-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid rgba(255,255,255,.1)}.panel-header h3{font-size:15px;font-weight:600;color:#f9fafb;margin:0}.panel-count{font-size:12px;color:#9ca3af;background:#ffffff0d;padding:4px 10px;border-radius:12px}.connection-badge{display:flex;align-items:center;gap:6px;padding:4px 10px;background:#10b9811a;border-radius:12px;color:#10b981;font-size:12px}.conn-dot{width:6px;height:6px;background:#10b981;border-radius:50%;animation:pulse 2s infinite}.panel-content{flex:1;overflow-y:auto;padding:12px}.group-item{position:relative;display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:10px;cursor:pointer;transition:all .2s ease;margin-bottom:8px}.group-item:hover{background:#ffffff0d}.group-item.selected{background:#3b82f626;border:1px solid rgba(59,130,246,.3)}.group-item.active{border-left:3px solid #10B981}.activity-dot{position:absolute;top:50%;right:12px;transform:translateY(-50%);width:8px;height:8px;background:#10b981;border-radius:50%;animation:pulse 2s infinite}.group-item-info{display:flex;flex-direction:column;gap:4px}.group-item-name{font-size:14px;font-weight:500;color:#f9fafb}.group-item-stats{font-size:12px;color:#6b7280}.big-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.big-stat{background:#ffffff08;border-radius:14px;padding:24px;text-align:center}.big-stat-value{display:block;font-size:36px;font-weight:700;color:#f9fafb;margin-bottom:4px}.big-stat.green .big-stat-value{color:#10b981}.big-stat.blue .big-stat-value{color:#3b82f6}.big-stat-label{font-size:12px;color:#9ca3af;text-transform:uppercase;letter-spacing:.5px}.activity-chart{background:#ffffff05;border-radius:14px;padding:20px}.activity-chart h4{font-size:14px;font-weight:500;color:#9ca3af;margin:0 0 16px}.chart-bars{display:flex;align-items:flex-end;gap:4px;height:120px}.chart-bar-container{flex:1;display:flex;flex-direction:column;align-items:center;height:100%}.chart-bar{width:100%;background:linear-gradient(180deg,#3b82f6,#1d4ed8);border-radius:3px 3px 0 0;min-height:4px;transition:height .3s ease}.chart-label{font-size:10px;color:#6b7280;margin-top:8px}.events-list{display:flex;flex-direction:column;gap:8px}.event-item{display:flex;align-items:flex-start;gap:12px;padding:14px;background:#ffffff05;border-radius:10px;border-left:3px solid transparent;transition:all .3s ease}.event-item.new{animation:slideIn .3s ease-out;background:#3b82f60d}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.event-item.green{border-left-color:#10b981}.event-item.red{border-left-color:#ef4444}.event-item.orange{border-left-color:#f59e0b}.event-item.blue{border-left-color:#3b82f6}.event-item.gray{border-left-color:#6b7280}.event-icon{font-size:16px}.event-content{flex:1;display:flex;flex-direction:column;gap:4px}.event-text{font-size:13px;color:#f9fafb}.event-meta{font-size:11px;color:#6b7280}.no-events{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;color:#6b7280}.no-events span{font-size:32px;margin-bottom:12px}.no-events p{margin:0;font-size:14px}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.panel-content::-webkit-scrollbar{width:6px}.panel-content::-webkit-scrollbar-track{background:transparent}.panel-content::-webkit-scrollbar-thumb{background:#374151;border-radius:3px}@media(max-width:1200px){.monitoring-grid{grid-template-columns:1fr}.panel{max-height:400px}}@media(max-width:768px){.monitoring-content{padding:16px}.monitoring-controls{flex-wrap:wrap}.big-stats{grid-template-columns:1fr}}.vip-history-layout{display:flex;min-height:100vh;background:#111827}.vip-history-content{flex:1;padding:24px 32px}.history-stats{display:flex;gap:16px;margin-bottom:24px;flex-wrap:wrap}.stat-item{background:#1f2937;border-radius:12px;padding:16px 24px;text-align:center;min-width:120px;border:1px solid rgba(255,255,255,.1)}.stat-value{display:block;font-size:28px;font-weight:700;color:#f9fafb;margin-bottom:4px}.stat-item.green .stat-value{color:#10b981}.stat-item.blue .stat-value{color:#3b82f6}.stat-item.red .stat-value{color:#ef4444}.stat-item.orange .stat-value{color:#f59e0b}.stat-label{font-size:12px;color:#9ca3af;text-transform:uppercase;letter-spacing:.5px}.history-filters{display:flex;gap:16px;margin-bottom:24px;flex-wrap:wrap}.search-box{display:flex;align-items:center;gap:10px;flex:1;min-width:250px;padding:12px 16px;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:10px}.filter-btn{padding:10px 16px;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#9ca3af;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease}.filter-btn:hover{background:#ffffff14;color:#f9fafb}.filter-btn.active{background:#3b82f626;border-color:#3b82f64d;color:#3b82f6}.history-table-container{background:#1f2937;border-radius:16px;border:1px solid rgba(255,255,255,.1);overflow:hidden}.history-table{width:100%;border-collapse:collapse}.history-table th{padding:16px 20px;background:#ffffff05;text-align:left;font-size:12px;font-weight:600;color:#9ca3af;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid rgba(255,255,255,.1)}.history-table td{padding:16px 20px;font-size:14px;color:#f9fafb;border-bottom:1px solid rgba(255,255,255,.05)}.history-table tr:hover{background:#ffffff05}.date-cell{color:#9ca3af;font-size:13px;white-space:nowrap}.action-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:6px;font-size:13px;font-weight:500}.action-badge.green{background:#10b9811a;color:#10b981}.action-badge.blue{background:#3b82f61a;color:#3b82f6}.action-badge.red{background:#ef44441a;color:#ef4444}.action-badge.orange{background:#f59e0b1a;color:#f59e0b}.days-cell{color:#9ca3af}@media(max-width:1024px){.history-stats{justify-content:center}.stat-item{min-width:100px}}@media(max-width:768px){.vip-history-content{padding:16px}.history-filters{flex-direction:column}.filter-buttons{overflow-x:auto;padding-bottom:8px}.history-table-container{overflow-x:auto}.history-table{min-width:700px}}.blacklist-layout{display:flex;min-height:100vh;background:#111827}.blacklist-content{flex:1;padding:24px 32px}.blacklist-info{display:flex;align-items:center;gap:12px;padding:16px 20px;background:#ef44441a;border:1px solid rgba(239,68,68,.2);border-radius:12px;margin-bottom:24px;color:#fca5a5}.blacklist-info span{font-size:24px}.blacklist-info p{margin:0;font-size:14px;line-height:1.5}.blacklist-filters{margin-bottom:24px}.search-box{display:flex;align-items:center;gap:10px;max-width:400px;padding:12px 16px;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:10px}.search-icon{font-size:14px}.search-box input{flex:1;background:transparent;border:none;outline:none;color:#f9fafb;font-size:14px}.search-box input::placeholder{color:#6b7280}.blacklist-table-container{background:#1f2937;border-radius:16px;border:1px solid rgba(255,255,255,.1);overflow:hidden}.blacklist-table{width:100%;border-collapse:collapse}.blacklist-table th{padding:16px 20px;background:#ffffff05;text-align:left;font-size:12px;font-weight:600;color:#9ca3af;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid rgba(255,255,255,.1)}.blacklist-table td{padding:16px 20px;font-size:14px;color:#f9fafb;border-bottom:1px solid rgba(255,255,255,.05)}.blacklist-table tr:hover{background:#ffffff05}.user-info{display:flex;flex-direction:column;gap:2px}.user-name{font-weight:500}.user-username{font-size:12px;color:#6b7280}.reason-cell{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9ca3af}.source-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:4px;font-size:12px;background:#ffffff0d;color:#9ca3af}.source-badge.panel{background:#8b5cf61a;color:#8b5cf6}.source-badge.telegram{background:#0088cc1a;color:#08c}.btn-unban{padding:8px 16px;background:#10b98126;border:1px solid rgba(16,185,129,.3);border-radius:8px;color:#10b981;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-unban:hover{background:#10b98140;transform:scale(1.02)}.loading-state .spinner{width:32px;height:32px;border:3px solid #374151;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite;margin-bottom:12px}.tickets-layout{display:flex;min-height:100vh;background:#111827}.tickets-container{display:flex;flex:1;height:calc(100vh - 80px);margin:24px;gap:0;background:#1f2937;border-radius:20px;overflow:hidden;border:1px solid rgba(255,255,255,.1)}.ticket-list{width:360px;border-right:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;background:#1a2332}.ticket-list-header{padding:16px;border-bottom:1px solid rgba(255,255,255,.08)}.filter-buttons{display:flex;gap:8px}.filter-btn{flex:1;padding:10px 16px;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:10px;color:#9ca3af;font-size:13px;cursor:pointer;transition:all .2s ease}.filter-btn:hover{background:#ffffff14}.filter-btn.active{background:linear-gradient(135deg,#3b82f6,#8b5cf6);border-color:transparent;color:#fff}.ticket-items{flex:1;overflow-y:auto}.ticket-item{display:flex;gap:12px;padding:16px;cursor:pointer;transition:all .2s ease;border-bottom:1px solid rgba(255,255,255,.05)}.ticket-item:hover{background:#ffffff08}.ticket-item.active{background:#3b82f61a;border-left:3px solid #3B82F6}.ticket-avatar{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#6366f1,#8b5cf6);display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:600;color:#fff;flex-shrink:0}.ticket-info{flex:1;min-width:0}.ticket-header-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.ticket-name{font-size:14px;font-weight:600;color:#f9fafb}.ticket-username{font-weight:400;color:#6b7280;margin-left:6px}.ticket-time{font-size:12px;color:#6b7280}.ticket-preview{display:flex;justify-content:space-between;align-items:center}.ticket-id{font-size:12px;color:#6b7280}.ticket-status{font-size:10px}.chat-area{flex:1;display:flex;flex-direction:column;background:linear-gradient(180deg,#0f172a,#1e293b,#0f172a)}.chat-header{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;background:#0003;border-bottom:1px solid rgba(255,255,255,.08)}.chat-user-info{display:flex;align-items:center;gap:12px}.chat-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#6366f1,#8b5cf6);display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;color:#fff}.chat-user-details{display:flex;flex-direction:column}.chat-user-name{font-size:15px;font-weight:600;color:#f9fafb}.chat-user-meta{font-size:12px;color:#6b7280}.chat-actions{display:flex;gap:8px}.btn-close-ticket{padding:8px 16px;background:#10b98126;border:1px solid rgba(16,185,129,.3);border-radius:8px;color:#10b981;font-size:13px;cursor:pointer;transition:all .2s ease}.btn-close-ticket:hover{background:#10b98140}.chat-messages{flex:1;overflow-y:auto;padding:20px;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}.messages-container{display:flex;flex-direction:column;gap:8px}.date-divider{display:flex;justify-content:center;padding:16px 0}.date-divider span{padding:6px 14px;background:#0006;border-radius:8px;font-size:12px;color:#9ca3af}.message{display:flex;margin-bottom:4px}.message.user{justify-content:flex-start}.message.admin{justify-content:flex-end}.message-bubble{max-width:65%;padding:10px 14px;border-radius:18px;position:relative;box-shadow:0 2px 8px #00000026}.message.user .message-bubble{background:linear-gradient(135deg,#374151,#1f2937);border-bottom-left-radius:4px;color:#f9fafb}.message.admin .message-bubble{background:linear-gradient(135deg,#3b82f6,#6366f1);border-bottom-right-radius:4px;color:#fff}.message-text{margin:0;font-size:14px;line-height:1.5;word-wrap:break-word}.message-time{font-size:10px;opacity:.6;margin-top:4px;display:block;text-align:right}.message-media{margin-bottom:8px;border-radius:12px;overflow:hidden}.message-media img{max-width:100%;max-height:300px;border-radius:12px;cursor:pointer;transition:transform .2s ease}.message-media img:hover{transform:scale(1.02)}.media-loading{padding:20px 40px;background:#0003;border-radius:12px;text-align:center;color:#9ca3af;font-size:13px}.chat-input{display:flex;gap:12px;padding:16px 24px;background:#0000004d;border-top:1px solid rgba(255,255,255,.08)}.chat-input input{flex:1;padding:14px 20px;background:#ffffff14;border:1px solid rgba(255,255,255,.1);border-radius:24px;color:#f9fafb;font-size:14px;outline:none;transition:all .2s ease}.chat-input input:focus{border-color:#3b82f6;background:#3b82f614}.chat-input input::placeholder{color:#6b7280}.chat-input button{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#3b82f6,#6366f1);border:none;color:#fff;font-size:18px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.chat-input button:hover:not(:disabled){transform:scale(1.05);box-shadow:0 4px 20px #3b82f666}.chat-input button:disabled{opacity:.5;cursor:not-allowed}.no-chat-selected{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#6b7280}.no-chat-icon{font-size:64px;margin-bottom:16px;opacity:.5}.no-chat-selected h3{font-size:20px;font-weight:600;color:#9ca3af;margin:0 0 8px}.no-chat-selected p{font-size:14px;margin:0}.loading-state,.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;color:#6b7280}.spinner{width:32px;height:32px;border:3px solid #374151;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite}.empty-state span{font-size:40px;margin-bottom:12px}.chat-input-container{background:#0000004d;border-top:1px solid rgba(255,255,255,.08)}.file-preview-container{padding:12px 24px}.file-preview{position:relative;display:inline-block}.file-preview img{max-width:200px;max-height:150px;border-radius:12px;border:2px solid rgba(139,92,246,.5)}.btn-remove-file{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border-radius:50%;background:#ef4444;border:none;color:#fff;font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.btn-remove-file:hover{background:#dc2626;transform:scale(1.1)}.image-preview{margin-top:12px;position:relative;display:inline-block}.image-preview img{max-width:200px;max-height:150px;border-radius:12px;border:2px solid rgba(139,92,246,.5)}.btn-remove-image{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border-radius:50%;background:#ef4444;border:none;color:#fff;font-size:12px;cursor:pointer;display:flex;align-items:center;justify-content:center}.btn-attach{width:48px;height:48px;border-radius:50%;background:#ffffff14;border:1px solid rgba(255,255,255,.15);color:#9ca3af;font-size:18px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;flex-shrink:0}.btn-attach:hover{background:#8b5cf626;border-color:#8b5cf6;color:#8b5cf6}.btn-attach.active{background:#8b5cf633;border-color:#8b5cf6;color:#8b5cf6}@media(max-width:768px){.ticket-list{width:100%;display:none}.tickets-container.has-selected .ticket-list{display:none}.tickets-container:not(.has-selected) .chat-area{display:none}.tickets-container:not(.has-selected) .ticket-list{display:flex}}*{margin:0;padding:0;box-sizing:border-box}:root{--bg-primary: #111827;--bg-secondary: #1F2937;--bg-tertiary: #374151;--text-primary: #F9FAFB;--text-secondary: #9CA3AF;--text-muted: #6B7280;--accent-blue: #3B82F6;--accent-green: #10B981;--accent-orange: #F59E0B;--accent-red: #EF4444;--accent-purple: #8B5CF6;--border-color: rgba(255, 255, 255, .1);--overlay: rgba(0, 0, 0, .7);--shadow-sm: 0 2px 8px rgba(0, 0, 0, .2);--shadow-md: 0 10px 30px rgba(0, 0, 0, .3);--shadow-lg: 0 25px 50px rgba(0, 0, 0, .5);--radius-sm: 8px;--radius-md: 12px;--radius-lg: 16px;--radius-xl: 20px;--radius-full: 9999px;--transition-fast: .2s ease;--transition-normal: .3s ease}html{font-size:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background:var(--bg-primary);color:var(--text-primary);line-height:1.5;min-height:100vh}h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.3;color:var(--text-primary)}h1{font-size:2rem}h2{font-size:1.5rem}h3{font-size:1.25rem}h4{font-size:1.125rem}h5{font-size:1rem}h6{font-size:.875rem}p{color:var(--text-secondary)}a{color:var(--accent-blue);text-decoration:none;transition:color var(--transition-fast)}a:hover{color:#60a5fa}.loading-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;background:var(--bg-primary);gap:16px}.loading-screen p{color:var(--text-muted);font-size:14px}.spinner-large{width:48px;height:48px;border:3px solid var(--bg-tertiary);border-top-color:var(--accent-blue);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--bg-tertiary);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#4b5563}::selection{background:#3b82f64d;color:var(--text-primary)}:focus{outline:none}:focus-visible{outline:2px solid var(--accent-blue);outline-offset:2px}.text-primary{color:var(--text-primary)}.text-secondary{color:var(--text-secondary)}.text-muted{color:var(--text-muted)}.text-blue{color:var(--accent-blue)}.text-green{color:var(--accent-green)}.text-orange{color:var(--accent-orange)}.text-red{color:var(--accent-red)}.bg-primary{background:var(--bg-primary)}.bg-secondary{background:var(--bg-secondary)}.main-content{flex:1;margin-left:260px;display:flex;flex-direction:column;min-height:100vh}@media(max-width:768px){.main-content{margin-left:0}}@media(max-width:768px){html{font-size:14px}}
