:root{--primary-color: #1890ff;--dark-bg: #001529;--dark-surface: #1f1f1f;--dark-border: #303030;--dark-text: #ffffff;--dark-text-secondary: #ffffff73;--header-height: 64px;--sidebar-width: 240px;--sidebar-collapsed-width: 80px}.layout-wrapper{min-height:100vh;background:#f0f2f5}.layout-wrapper.theme-dark{background:#141414}.layout-container{min-height:100vh!important;background:transparent!important}.layout-sider{background:var(--dark-bg)!important;box-shadow:2px 0 8px #1d23290d;position:relative!important;z-index:100}.layout-sider .ant-layout-sider-children{display:flex;flex-direction:column;height:100vh;overflow:hidden}.logo-container{height:var(--header-height);padding:16px 20px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #1890ff20;background:var(--dark-bg);flex-shrink:0}.logo-container.collapsed{justify-content:center;padding:16px 10px}.logo-icon{font-size:28px;transition:all .3s ease}.logo-text{font-size:18px;font-weight:700;color:var(--dark-text);white-space:nowrap;transition:all .3s ease}.layout-menu{flex:1!important;background:var(--dark-bg)!important;border-right:none!important;overflow-y:auto!important;overflow-x:hidden;padding:8px 0}.layout-menu::-webkit-scrollbar{width:6px}.layout-menu::-webkit-scrollbar-track{background:transparent}.layout-menu::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:3px}.layout-menu::-webkit-scrollbar-thumb:hover{background:#fff3}.layout-menu .ant-menu-item{margin:2px 8px!important;border-radius:6px!important;height:44px!important;line-height:44px!important;display:flex!important;align-items:center!important;color:var(--dark-text-secondary)!important;transition:all .2s!important;padding:0 12px!important}.layout-menu .ant-menu-item:hover{background-color:#ffffff14!important;color:var(--dark-text)!important}.layout-menu .ant-menu-item-selected{background-color:var(--primary-color)!important;color:#fff!important}.layout-menu .ant-menu-item-selected:after{display:none!important}.layout-menu .ant-menu-item-icon{color:inherit!important;font-size:16px!important;min-width:16px!important;margin-right:8px!important}.layout-main{background:transparent!important}.layout-header{background:#fff!important;padding:0 24px!important;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f0f0f0;box-shadow:0 2px 8px #0000000f;height:var(--header-height)!important;line-height:var(--header-height)!important;position:relative;z-index:99}.layout-header.theme-dark{background:var(--dark-surface)!important;border-bottom-color:var(--dark-border);color:var(--dark-text)}.header-left{display:flex;align-items:center;gap:16px}.header-toggle{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:6px;color:#595959;transition:all .2s;font-size:16px}.header-toggle:hover{background:#f5f5f5;color:var(--primary-color)}.theme-dark .header-toggle{color:var(--dark-text-secondary)}.theme-dark .header-toggle:hover{background:var(--dark-border);color:var(--dark-text)}.header-right{display:flex;align-items:center}.language-switcher{display:flex;gap:4px;background:#f5f5f5;padding:4px;border-radius:6px}.theme-dark .language-switcher{background:var(--dark-border)}.lang-btn{min-width:36px!important;height:28px!important;padding:0 8px!important;border-radius:4px!important;font-size:12px!important;font-weight:500!important}.lang-btn.ant-btn-primary{background:var(--primary-color)!important;border-color:var(--primary-color)!important;box-shadow:none!important}.theme-toggle-btn{width:36px!important;height:36px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:6px!important;border:1px solid #d9d9d9!important;background:#fff!important;color:#595959!important;transition:all .2s!important;font-size:14px!important}.theme-toggle-btn:hover{border-color:var(--primary-color)!important;color:var(--primary-color)!important}.theme-dark .theme-toggle-btn{background:var(--dark-border)!important;border-color:var(--dark-border)!important;color:var(--dark-text)!important}.theme-dark .theme-toggle-btn:hover{border-color:var(--primary-color)!important;color:var(--primary-color)!important}.user-menu{display:flex;align-items:center;gap:12px;padding:6px 12px;border-radius:6px;cursor:pointer;transition:all .2s}.user-menu:hover{background:#f5f5f5}.theme-dark .user-menu:hover{background:var(--dark-border)}.user-info{display:flex;flex-direction:column;align-items:flex-end;line-height:1.2}.user-name{font-weight:600;color:#262626;font-size:14px;margin:0}.user-role{font-size:12px;color:#8c8c8c;margin:0}.theme-dark .user-name{color:var(--dark-text)}.theme-dark .user-role{color:var(--dark-text-secondary)}.layout-content{background:#f0f2f5!important;min-height:calc(100vh - var(--header-height))!important;overflow-x:hidden}.theme-dark .layout-content{background:#141414!important}@media (max-width: 768px){.layout-sider{position:fixed!important;left:0;top:0;bottom:0;z-index:1000;transform:translate(-100%);transition:transform .3s ease}.layout-sider.ant-layout-sider-collapsed{transform:translate(-100%)}.layout-main{margin-left:0!important}.header-right .language-switcher,.user-info{display:none}.header-right{gap:8px}}.theme-dark .ant-btn{background:var(--dark-border);border-color:var(--dark-border);color:var(--dark-text)}.theme-dark .ant-btn:hover{background:#404040;border-color:#404040;color:var(--dark-text)}.theme-dark .ant-btn-primary{background:var(--primary-color)!important;border-color:var(--primary-color)!important}.theme-dark .ant-btn-text{color:var(--dark-text-secondary)}.theme-dark .ant-btn-text:hover{color:var(--dark-text);background:var(--dark-border)}.theme-dark .ant-dropdown,.theme-dark .ant-dropdown-menu{background:var(--dark-surface)}.theme-dark .ant-dropdown-menu-item{color:var(--dark-text)}.theme-dark .ant-dropdown-menu-item:hover,.theme-dark .ant-dropdown-menu-item-divider{background:var(--dark-border)}.ant-layout-sider-trigger{display:none!important}.layout-sider,.layout-main{transition:all .2s ease}.ant-menu-item{transition:all .2s ease!important}.ant-layout-sider-collapsed .ant-menu-item-icon{margin-right:0!important}.ant-layout-sider-collapsed .logo-text{opacity:0;width:0}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px;position:relative;overflow:hidden}.neural-background{position:absolute;top:0;left:0;width:100%;height:100%;opacity:.15}.neural-svg{width:100%;height:100%}.neuron{fill:#fff;stroke:#fff;stroke-width:2}.n1{animation:pulse 3s ease-in-out 0s infinite}.n2{animation:pulse 3s ease-in-out .2s infinite}.n3{animation:pulse 3s ease-in-out .4s infinite}.n4{animation:pulse 3s ease-in-out .6s infinite}.n5{animation:pulse 3s ease-in-out .8s infinite}.n6{animation:pulse 3s ease-in-out 1s infinite}.n7{animation:pulse 3s ease-in-out 1.2s infinite}.n8{animation:pulse 3s ease-in-out 1.4s infinite}.n9{animation:pulse 3s ease-in-out 1.6s infinite}.n10{animation:pulse 3s ease-in-out 1.8s infinite}.n11{animation:pulse 3s ease-in-out 2s infinite}.n12{animation:pulse 3s ease-in-out 2.2s infinite}.n13{animation:pulse 3s ease-in-out 2.4s infinite}.n14{animation:pulse 3s ease-in-out 2.6s infinite}.n15{animation:pulse 3s ease-in-out 2.8s infinite}.n16{animation:pulse 3s ease-in-out 3s infinite}.n17{animation:pulse 3s ease-in-out 3.2s infinite}.n18{animation:pulse 3s ease-in-out 3.4s infinite}@keyframes pulse{0%,to{opacity:.4;r:5}50%{opacity:1;r:7}}.output-node{r:7}.synapse{stroke:#fff;stroke-width:1;stroke-dasharray:8,12;opacity:.3}.s1{animation:flow 3s linear 0s infinite}.s2{animation:flow 3s linear .1s infinite}.s3{animation:flow 3s linear .2s infinite}.s4{animation:flow 3s linear .3s infinite}.s5{animation:flow 3s linear .4s infinite}.s6{animation:flow 3s linear .5s infinite}.s7{animation:flow 3s linear .6s infinite}.s8{animation:flow 3s linear .7s infinite}.s9{animation:flow 3s linear .8s infinite}.s10{animation:flow 3s linear .9s infinite}.s11{animation:flow 3s linear 1s infinite}.s12{animation:flow 3s linear 1.1s infinite}.s13{animation:flow 3s linear 1.2s infinite}.s14{animation:flow 3s linear 1.3s infinite}.s15{animation:flow 3s linear 1.4s infinite}.s16{animation:flow 3s linear 1.5s infinite}.s17{animation:flow 3s linear 1.6s infinite}.s18{animation:flow 3s linear 1.7s infinite}.s19{animation:flow 3s linear 1.8s infinite}.s20{animation:flow 3s linear 1.9s infinite}.s21{animation:flow 3s linear 2s infinite}.s22{animation:flow 3s linear 2.1s infinite}.s23{animation:flow 3s linear 2.2s infinite}.s24{animation:flow 3s linear 2.3s infinite}.s25{animation:flow 3s linear 2.4s infinite}.s26{animation:flow 3s linear 2.5s infinite}.s27{animation:flow 3s linear 2.6s infinite}.synapse.strong{stroke-width:1.5;opacity:.5}@keyframes flow{0%{stroke-dashoffset:20}to{stroke-dashoffset:0}}.signal{fill:#fbbf24;filter:drop-shadow(0 0 8px #fbbf24)}.login-container{position:relative;z-index:1;width:100%;max-width:400px}.login-card{background:#fffffffa;border-radius:20px;padding:44px 36px 32px;box-shadow:0 20px 60px #0000004d,0 0 0 1px #ffffff80;animation:slideUp .6s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.header{text-align:center;margin-bottom:32px}.icon-wrapper{width:64px;height:64px;margin:0 auto 18px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:16px;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px #667eea66;animation:float 3s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}.brand-icon{font-size:32px;color:#fff}.brand-title{margin:0 0 6px!important;font-size:26px;font-weight:700;color:#1e293b;letter-spacing:.5px}.brand-subtitle{display:block;color:#64748b;font-size:13px;letter-spacing:.5px}.login-form{margin-bottom:20px}.error-alert{background:#fef2f2;border:1px solid #fecaca;border-radius:10px;margin-bottom:16px}.input-wrapper{position:relative;margin-bottom:6px}.input-icon{position:absolute;left:0;top:16px;color:#667eea;font-size:17px;z-index:2;transition:all .3s ease}.input-wrapper:focus-within .input-icon{color:#764ba2}.styled-input,.styled-input.ant-input-affix-wrapper{height:50px;background:transparent;border:none;color:#1e293b;font-size:15px;padding-left:30px;padding-right:0}.styled-input::placeholder{color:#94a3b8}.styled-input input.ant-input{background:transparent;color:#1e293b}.input-border{height:2px;background:#e2e8f0;margin-top:2px;border-radius:1px;position:relative;overflow:hidden}.input-border:after{content:"";position:absolute;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,#667eea,#764ba2);transition:left .3s ease}.input-wrapper:focus-within .input-border:after{left:0}.submit-button{height:50px;margin-top:10px;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:10px;font-size:15px;font-weight:600;box-shadow:0 6px 20px #667eea66;transition:all .3s ease}.submit-button:hover{background:linear-gradient(135deg,#5a67d8,#6a3f9a);transform:translateY(-2px);box-shadow:0 8px 28px #667eea80}.submit-button:active{transform:translateY(0)}.footer{text-align:center;padding-top:18px;border-top:1px solid #e2e8f0}.status{display:flex;align-items:center;justify-content:center;gap:8px}.status-dot{width:7px;height:7px;background:#10b981;border-radius:50%;box-shadow:0 0 8px #10b98199;animation:blink 2s ease-in-out infinite}@keyframes blink{0%,to{opacity:1}50%{opacity:.4}}.status-text{color:#64748b;font-size:11px;letter-spacing:.5px;font-weight:500}@media (max-width: 480px){.login-card{padding:36px 28px 28px}.icon-wrapper{width:56px;height:56px}.brand-icon{font-size:28px}.brand-title{font-size:22px}.styled-input,.styled-input.ant-input-affix-wrapper,.submit-button{height:46px}}.dashboard{min-height:100vh;background:#f8fafc;padding:0;transition:all .3s}.theme-dark .dashboard{background:#1c273b!important;color:#e8eaed}.dashboard-header{background:#fff;padding:24px 32px;border-bottom:1px solid #f0f0f0;margin-bottom:0;transition:all .3s}.theme-dark .dashboard-header{background:#253548!important;border-bottom-color:#3a4857}.dashboard-title{margin:0!important;font-size:28px;font-weight:700;background:linear-gradient(135deg,#1890ff,#722ed1);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none}.theme-dark .dashboard-title{background:linear-gradient(135deg,#69c0ff,#b37feb);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.dashboard-subtitle{color:#8c8c8c;font-size:16px;margin-top:8px}.theme-dark .dashboard-subtitle{color:#b3b7bc}.dashboard-content{padding:32px;background:transparent}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-bottom:32px}.stat-card{background:#fff;border-radius:16px;padding:24px;border:1px solid #f0f0f0;box-shadow:0 2px 8px #0000000a;transition:all .3s;position:relative;overflow:hidden}.stat-card:hover{transform:translateY(-4px);box-shadow:0 8px 32px #0000001f}.theme-dark .stat-card{background:#253548!important;border-color:#3a4857;box-shadow:0 2px 8px #0003}.theme-dark .stat-card:hover{box-shadow:0 8px 32px #0006}.stat-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#1890ff,#722ed1)}.stat-card.users:before{background:linear-gradient(90deg,#52c41a,#1890ff)}.stat-card.chats:before{background:linear-gradient(90deg,#fa8c16,#fadb14)}.stat-card.integrations:before{background:linear-gradient(90deg,#722ed1,#eb2f96)}.stat-card.prompts:before{background:linear-gradient(90deg,#13c2c2,#52c41a)}.stat-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.stat-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#fff;background:linear-gradient(135deg,#1890ff,#722ed1)}.stat-card.users .stat-icon{background:linear-gradient(135deg,#52c41a,#1890ff)}.stat-card.chats .stat-icon{background:linear-gradient(135deg,#fa8c16,#fadb14)}.stat-card.integrations .stat-icon{background:linear-gradient(135deg,#722ed1,#eb2f96)}.stat-card.prompts .stat-icon{background:linear-gradient(135deg,#13c2c2,#52c41a)}.stat-value{font-size:32px;font-weight:700;color:#262626;margin:0;line-height:1}.theme-dark .stat-value{color:#e8eaed}.stat-title{font-size:16px;font-weight:600;color:#8c8c8c;margin:8px 0 0}.theme-dark .stat-title{color:#b3b7bc}.stat-change{display:flex;align-items:center;gap:4px;font-size:14px;margin-top:8px}.stat-change.positive{color:#52c41a}.stat-change.negative{color:#ff4d4f}.charts-grid{display:grid;grid-template-columns:2fr 1fr;gap:24px;margin-bottom:32px}@media (max-width: 1200px){.charts-grid{grid-template-columns:1fr}}.chart-card{background:#fff;border-radius:16px;padding:24px;border:1px solid #f0f0f0;box-shadow:0 2px 8px #0000000a}.theme-dark .chart-card{background:#253548!important;border-color:#3a4857}.chart-title{font-size:18px;font-weight:600;margin-bottom:16px;color:#262626}.theme-dark .chart-title{color:#e8eaed}.recent-activity{background:#fff;border-radius:16px;padding:24px;border:1px solid #f0f0f0;box-shadow:0 2px 8px #0000000a}.theme-dark .recent-activity{background:#253548!important;border-color:#3a4857}.activity-list{list-style:none;padding:0;margin:0}.activity-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #f0f0f0}.theme-dark .activity-item{border-bottom-color:#3a4857}.activity-item:last-child{border-bottom:none}.activity-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:16px;color:#fff;background:linear-gradient(135deg,#1890ff,#722ed1)}.activity-content{flex:1}.activity-title{font-size:14px;font-weight:500;color:#262626;margin:0}.theme-dark .activity-title{color:#e8eaed}.activity-time{font-size:12px;color:#8c8c8c;margin:2px 0 0}.theme-dark .activity-time{color:#b3b7bc}@media (max-width: 768px){.dashboard-content{padding:16px}.dashboard-header{padding:16px 24px}.dashboard-title{font-size:24px}.stats-grid{grid-template-columns:1fr;gap:16px}.stat-card,.chart-card,.recent-activity{padding:20px}}@media (max-width: 480px){.dashboard-content{padding:12px}.dashboard-header{padding:12px 16px}.stat-value{font-size:28px}.stat-header{margin-bottom:12px}}.stat-card.loading{opacity:.7}.stat-card.loading .stat-value{background:linear-gradient(90deg,#f0f0f0 25%,#e6f0ff,#f0f0f0 75%);background-size:200% 100%;animation:loading 1.5s infinite;border-radius:4px;height:32px}.theme-dark .stat-card.loading .stat-value{background:linear-gradient(90deg,#3a4857 25%,#4a5968,#3a4857 75%);background-size:200% 100%}@keyframes loading{0%{background-position:200% 0}to{background-position:-200% 0}}.stat-card{animation:fadeInUp .6s ease-out}.stat-card:nth-child(1){animation-delay:.1s}.stat-card:nth-child(2){animation-delay:.2s}.stat-card:nth-child(3){animation-delay:.3s}.stat-card:nth-child(4){animation-delay:.4s}.stat-card.glass{background:#fffc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.theme-dark .stat-card.glass{background:#253548cc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1)}.users-list{height:100%;overflow-y:auto;padding:0}.users-list .ant-list-items{padding:0}.users-list .ant-list-item{padding:0!important;border:none!important;margin-bottom:0!important}.user-item{padding:16px;cursor:pointer;transition:all .2s ease;border-bottom:1px solid #f0f0f0;background:#fff;min-height:80px;max-height:80px;display:flex;align-items:center}.theme-dark .user-item{background:#1e293b;border-bottom-color:#334155}.user-item:hover{background:#f8fafc}.theme-dark .user-item:hover{background:#334155}.user-item-active{background:#e6f4ff!important;border-left:3px solid #1890ff}.theme-dark .user-item-active{background:#1e3a5f!important}.user-item-content{display:flex;gap:12px;width:100%;align-items:center;overflow:hidden}.user-avatar-wrapper{position:relative;flex-shrink:0}.operator-indicator,.bot-indicator{position:absolute;bottom:-2px;right:-2px;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:10px;border:2px solid #ffffff;z-index:1}.operator-indicator{background:#52c41a;color:#fff}.bot-indicator{background:#1890ff;color:#fff}.theme-dark .operator-indicator,.theme-dark .bot-indicator{border-color:#1e293b}.user-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;overflow:hidden}.user-header{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%}.user-name{flex:1;font-size:15px;font-weight:600;color:#1f2937;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-time{font-size:12px;color:#9ca3af;white-space:nowrap;flex-shrink:0}.theme-dark .user-time{color:#94a3b8}.user-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%}.user-last-message{flex:1;font-size:13px;color:#6b7280;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.theme-dark .user-last-message{color:#94a3b8}.user-platform-tag{font-size:11px;padding:0 6px;height:20px;line-height:20px;border-radius:4px;flex-shrink:0;text-transform:capitalize}.users-list::-webkit-scrollbar{width:6px}.users-list::-webkit-scrollbar-track{background:#f1f5f9}.theme-dark .users-list::-webkit-scrollbar-track{background:#1e293b}.users-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.theme-dark .users-list::-webkit-scrollbar-thumb{background:#475569}.users-list::-webkit-scrollbar-thumb:hover{background:#94a3b8}.theme-dark .users-list::-webkit-scrollbar-thumb:hover{background:#64748b}@media (max-width: 768px){.user-item{min-height:72px;max-height:72px;padding:12px}.user-name{font-size:14px}.user-last-message{font-size:12px}.user-time{font-size:11px}}.users-list .ant-list-empty-text{padding:40px 20px}.user-item{animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.messages-list{display:flex;flex-direction:column;gap:4px;padding:16px;margin:0}.message-item{display:flex;gap:8px;max-width:65%;animation:messageSlideIn .2s ease-out;position:relative}.message-item.user-message{align-self:flex-start;flex-direction:row}.message-item.assistant-message{align-self:flex-end;flex-direction:row-reverse}.message-avatar{flex-shrink:0;margin-top:4px;box-shadow:0 2px 4px #0000001a}.message-avatar-spacer{width:32px;flex-shrink:0}.message-content-wrapper{display:flex;flex-direction:column;flex:1;min-width:0}.message-bubble{position:relative;padding:10px 14px 20px;border-radius:16px;word-wrap:break-word;transition:box-shadow .2s ease;max-width:100%}.user-message .message-bubble{background:#fff;border:1px solid #e5e7eb;box-shadow:0 1px 2px #0000000d;border-bottom-left-radius:6px}.theme-dark .user-message .message-bubble{background:#374151;border-color:#4b5563;box-shadow:0 1px 2px #0003}.user-message .message-bubble:hover{box-shadow:0 2px 8px #00000014}.assistant-message .message-bubble{background:#1890ff;color:#fff;box-shadow:0 1px 2px #1890ff4d;border-bottom-right-radius:6px}.theme-dark .assistant-message .message-bubble{background:#1890ff;box-shadow:0 1px 2px #1890ff66}.assistant-message .message-bubble:hover{box-shadow:0 2px 8px #1890ff66}.message-text{font-size:15px;line-height:1.5;margin:0;white-space:pre-wrap;word-break:break-word}.user-message .message-text{color:#1f2937}.theme-dark .user-message .message-text{color:#f3f4f6}.assistant-message .message-text{color:#fff}.message-time-inline{position:absolute;bottom:4px;right:10px;display:flex;align-items:center;gap:4px;font-size:11px;opacity:.6}.user-message .message-time-inline{color:#6b7280}.assistant-message .message-time-inline{color:#fff}.message-check-icon{font-size:12px}.message-data-wrapper{margin-top:8px}.image-attachment{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f3f4f6;border-radius:10px;transition:background .2s}.image-attachment:hover{background:#e5e7eb}.theme-dark .image-attachment{background:#4b5563}.theme-dark .image-attachment:hover{background:#6b7280}.assistant-message .image-attachment{background:#ffffff26}.assistant-message .image-attachment:hover{background:#ffffff40}.attachment-icon{font-size:24px;color:#3b82f6}.assistant-message .attachment-icon{color:#fff}.attachment-label{flex:1;font-weight:500;font-size:14px}.attachment-link{color:#3b82f6;text-decoration:none;font-weight:600;font-size:13px;padding:4px 10px;background:#fff;border-radius:6px;transition:all .2s}.attachment-link:hover{background:#eff6ff}.assistant-message .attachment-link{background:#fff3;color:#fff}.assistant-message .attachment-link:hover{background:#ffffff4d}.file-attachment{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f3f4f6;border-radius:10px;border-left:3px solid #3b82f6;transition:background .2s}.file-attachment:hover{background:#e5e7eb}.theme-dark .file-attachment{background:#4b5563}.theme-dark .file-attachment:hover{background:#6b7280}.assistant-message .file-attachment{background:#ffffff26;border-left-color:#fff}.assistant-message .file-attachment:hover{background:#ffffff40}.attachment-info{flex:1;display:flex;flex-direction:column;gap:2px}.attachment-size{font-size:12px;opacity:.7}.message-link{padding:10px 12px;background:#eff6ff;border-radius:10px;border-left:3px solid #3b82f6}.message-link a{color:#3b82f6;text-decoration:none;font-weight:500;word-break:break-all}.message-link a:hover{text-decoration:underline}.theme-dark .message-link{background:#1e3a5f}.assistant-message .message-link{background:#ffffff26;border-left-color:#fff}.assistant-message .message-link a{color:#fff}.message-location{padding:10px 12px;background:#fef3c7;border-radius:10px;border-left:3px solid #f59e0b;font-size:14px;line-height:1.5}.theme-dark .message-location{background:#f59e0b33}.assistant-message .message-location{background:#ffffff26;border-left-color:#fff}.message-data-json{margin-top:8px}.data-details{border-radius:10px;overflow:hidden;background:#f3f4f6}.theme-dark .data-details{background:#4b5563}.assistant-message .data-details{background:#ffffff26}.data-summary{cursor:pointer;font-weight:600;font-size:13px;padding:10px 12px;-webkit-user-select:none;user-select:none;transition:background .2s}.data-summary:hover{background:#0000000d}.theme-dark .data-summary:hover{background:#ffffff0d}.data-content{margin:0;padding:12px;background:#00000008;font-family:Courier New,monospace;font-size:12px;line-height:1.6;max-height:200px;overflow-y:auto;border-top:1px solid rgba(0,0,0,.1)}.theme-dark .data-content{background:#0003}.message-item.grouped-first,.message-item.grouped-middle{margin-bottom:2px}.message-item.grouped-last{margin-bottom:8px}.messages-date-divider{display:flex;align-items:center;margin:20px 0 12px}.date-divider-line{flex:1;height:1px;background:#e5e7eb}.theme-dark .date-divider-line{background:#4b5563}.date-divider-text{padding:4px 12px;background:#f3f4f6;border-radius:12px;font-size:11px;font-weight:600;color:#6b7280;margin:0 12px;text-transform:uppercase;letter-spacing:.5px}.theme-dark .date-divider-text{background:#4b5563;color:#9ca3af}@media (max-width: 768px){.messages-list{padding:12px}.message-item{max-width:80%}.message-bubble{padding:9px 12px 18px}.message-text{font-size:14px}}@media (max-width: 480px){.message-item{max-width:85%}}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.chat-window{display:flex;flex-direction:column;height:100%;background:#fff;border-radius:12px;overflow:hidden;animation:slideUp .3s ease}.theme-dark .chat-window{background:#1e293b}.chat-window-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid #f0f0f0;background:linear-gradient(135deg,#fff,#f8fafc);min-height:110px;gap:24px}.theme-dark .chat-window-header{border-bottom-color:#334155;background:linear-gradient(135deg,#1e293b,#0f172a)}.header-user-section{display:flex;gap:16px;align-items:center;flex:1;min-width:0}.header-avatar{flex-shrink:0;box-shadow:0 4px 12px #0000001a;font-weight:600}.theme-dark .header-avatar{box-shadow:0 4px 12px #0000004d}.header-user-info{display:flex;flex-direction:column;gap:8px;flex:1;min-width:0}.user-name-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.user-name{margin:0!important;font-size:20px;font-weight:700;color:#1f2937;line-height:1.2}.theme-dark .user-name{color:#f1f5f9}.user-tag-badge{font-size:12px;font-weight:600;padding:4px 10px;border-radius:6px;text-transform:uppercase;letter-spacing:.5px}.user-meta-row{display:flex;align-items:center;gap:12px;font-size:14px;color:#6b7280;flex-wrap:wrap}.theme-dark .user-meta-row{color:#94a3b8}.meta-item{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.meta-icon{font-size:14px;opacity:.8}.meta-separator{opacity:.4;font-weight:300}.mode-toggle-container{display:flex;align-items:center;gap:16px;padding:14px 20px;border-radius:12px;background:#f8fafc;border:2px solid transparent;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 8px #0000000d}.theme-dark .mode-toggle-container{background:#334155;box-shadow:0 2px 8px #0003}.mode-toggle-container.operator-active{background:linear-gradient(135deg,#e6f4ff,#f0f9ff);border-color:#1890ff;box-shadow:0 4px 12px #1890ff26}.theme-dark .mode-toggle-container.operator-active{background:linear-gradient(135deg,#1e3a5f,#1e293b);border-color:#1890ff;box-shadow:0 4px 12px #1890ff4d}.mode-toggle-container.bot-active{background:linear-gradient(135deg,#f0f5ff,#f5f8ff);border-color:#597ef7;box-shadow:0 4px 12px #597ef726}.theme-dark .mode-toggle-container.bot-active{background:linear-gradient(135deg,#1e293b,#0f172a);border-color:#597ef7;box-shadow:0 4px 12px #597ef74d}.mode-toggle-label{display:flex;align-items:center;flex-shrink:0}.mode-info{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600}.mode-info.operator-mode{color:#1890ff}.theme-dark .mode-info.operator-mode{color:#69c0ff}.mode-info.bot-mode{color:#597ef7}.theme-dark .mode-info.bot-mode{color:#85a5ff}.mode-info-icon{font-size:20px}.mode-info-text{white-space:nowrap;letter-spacing:.3px}.mode-toggle-switch{flex-shrink:0}.chat-messages-area{flex:1;overflow-y:auto;overflow-x:hidden;padding:24px;background:#fafafa;display:flex;flex-direction:column}.theme-dark .chat-messages-area{background:#0f172a}.messages-loading-state{display:flex;align-items:center;justify-content:center;height:100%;min-height:300px}.messages-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;min-height:300px;gap:20px;padding:40px;text-align:center}.empty-icon{font-size:72px;opacity:.4;filter:grayscale(100%)}.empty-title{margin:0!important;color:#6b7280;font-size:18px;font-weight:600}.theme-dark .empty-title{color:#94a3b8}.empty-description{color:#9ca3af;font-size:15px;max-width:400px;line-height:1.6}.theme-dark .empty-description{color:#64748b}.chat-input-area{padding:20px 24px;border-top:1px solid #f0f0f0;background:#fff;display:flex;flex-direction:column;gap:14px}.theme-dark .chat-input-area{border-top-color:#334155;background:#1e293b}.bot-mode-notice{display:flex;align-items:center;gap:12px;padding:14px 18px;background:linear-gradient(135deg,#e6f4ff,#f0f9ff);border:2px solid #91caff;border-radius:10px;color:#0958d9;animation:slideDown .3s ease}.theme-dark .bot-mode-notice{background:linear-gradient(135deg,#1e3a5f,#1e293b);border-color:#1890ff;color:#69c0ff}.notice-icon{font-size:20px;flex-shrink:0}.notice-text{font-size:14px;font-weight:500;line-height:1.5}.input-send-container{display:flex;gap:12px;align-items:flex-end}.input-field-wrapper{flex:1;min-width:0}.message-textarea{border-radius:10px!important;font-size:15px!important;resize:none!important;border:2px solid #e5e7eb!important;transition:all .2s ease!important;line-height:1.6!important;padding:10px 14px!important}.theme-dark .message-textarea{border-color:#334155!important;background:#1e293b!important;color:#f1f5f9!important}.message-textarea:hover{border-color:#cbd5e1!important}.theme-dark .message-textarea:hover{border-color:#475569!important}.message-textarea:focus{border-color:#1890ff!important;box-shadow:0 0 0 3px #1890ff1a!important}.theme-dark .message-textarea:focus{box-shadow:0 0 0 3px #1890ff33!important}.send-message-button{border-radius:10px;height:auto;min-height:44px;padding:10px 28px;font-weight:600;font-size:15px;box-shadow:0 2px 8px #1890ff33;transition:all .2s cubic-bezier(.4,0,.2,1)}.send-message-button:hover:not(:disabled){box-shadow:0 4px 16px #1890ff4d;transform:translateY(-2px)}.send-message-button:active:not(:disabled){transform:translateY(0)}.chat-messages-area::-webkit-scrollbar{width:10px}.chat-messages-area::-webkit-scrollbar-track{background:#f1f5f9;border-radius:5px;margin:4px 0}.theme-dark .chat-messages-area::-webkit-scrollbar-track{background:#1e293b}.chat-messages-area::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:5px;border:2px solid #f1f5f9}.theme-dark .chat-messages-area::-webkit-scrollbar-thumb{background:#475569;border-color:#1e293b}.chat-messages-area::-webkit-scrollbar-thumb:hover{background:#94a3b8}.theme-dark .chat-messages-area::-webkit-scrollbar-thumb:hover{background:#64748b}@media (max-width: 768px){.chat-window-header{padding:16px;min-height:90px;flex-direction:column;align-items:flex-start;gap:16px}.header-user-section{width:100%}.header-avatar{width:48px!important;height:48px!important;font-size:18px}.user-name{font-size:17px}.user-meta-row{font-size:13px;gap:8px}.mode-toggle-container{width:100%;padding:12px 16px;gap:12px;justify-content:space-between}.mode-info{font-size:14px}.mode-info-icon{font-size:18px}.chat-messages-area{padding:16px 12px}.chat-input-area{padding:16px;gap:12px}.input-send-container{flex-direction:column;align-items:stretch;gap:10px}.send-message-button{width:100%;min-height:48px}.message-textarea{font-size:16px!important}}@media (max-width: 480px){.chat-window-header{padding:12px;min-height:80px}.user-name{font-size:16px}.user-meta-row{font-size:12px}.mode-info-text{display:none}.empty-icon{font-size:56px}.empty-title{font-size:16px}.empty-description{font-size:14px}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.chat-window .ant-switch-checked{background:#52c41a!important}.chat-window .ant-switch-checked:hover:not(.ant-switch-disabled){background:#73d13d!important}.chat-window .ant-input-textarea-show-count:after{color:#9ca3af;font-size:12px}.theme-dark .chat-window .ant-input-textarea-show-count:after{color:#64748b}.chat-window .ant-spin-dot-item{background-color:#1890ff}.theme-dark .chat-window .ant-spin-dot-item{background-color:#69c0ff}.chats-page{height:100vh;background:#f8fafc;display:flex;flex-direction:column}.theme-dark .chats-page{background:#0f172a}.chats-header{background:#fff;border-bottom:1px solid #e2e8f0;padding:20px 24px;flex-shrink:0}.theme-dark .chats-header{background:#1e293b;border-bottom-color:#334155}.header-content{max-width:1400px;margin:0 auto}.header-info{display:flex;flex-direction:column;gap:4px}.header-icon{font-size:24px;color:#3b82f6}.header-stats{font-size:14px;color:#64748b;font-weight:500}.theme-dark .header-stats{color:#94a3b8}.chats-main{flex:1;min-height:0;padding:24px}.chats-container{max-width:1400px;margin:0 auto;height:100%;background:#fff;border-radius:16px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;display:flex;overflow:hidden}.theme-dark .chats-container{background:#1e293b;box-shadow:0 4px 6px -1px #0000004d,0 2px 4px -1px #0003}.chats-sidebar{width:360px;flex-shrink:0;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;background:#fafbfc}.theme-dark .chats-sidebar{background:#0f172a;border-right-color:#334155}.search-section{padding:20px;border-bottom:1px solid #e2e8f0}.theme-dark .search-section{border-bottom-color:#334155}.search-input{border-radius:12px!important;border:1px solid #d1d5db!important;background:#fff!important;font-size:14px}.search-input:hover,.search-input:focus{border-color:#3b82f6!important;box-shadow:0 0 0 3px #3b82f61a!important}.theme-dark .search-input{background:#334155!important;border-color:#475569!important;color:#f8fafc!important}.theme-dark .search-input .ant-input{background:transparent!important;color:#f8fafc!important}.users-list-section{flex:1;overflow-y:auto;min-height:0}.users-list-section::-webkit-scrollbar{width:6px}.users-list-section::-webkit-scrollbar-track{background:transparent}.users-list-section::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.theme-dark .users-list-section::-webkit-scrollbar-thumb{background:#475569}.loading-state,.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:16px;padding:40px 20px}.chat-section{flex:1;display:flex;flex-direction:column;background:#fff}.theme-dark .chat-section{background:#1e293b}.chat-placeholder{flex:1;display:flex;align-items:center;justify-content:center;background:#fafbfc}.theme-dark .chat-placeholder{background:#0f172a}.placeholder-content{text-align:center;max-width:400px;padding:60px 40px}.placeholder-icon{width:80px;height:80px;margin:0 auto 24px;background:#f1f5f9;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:32px;color:#64748b}.theme-dark .placeholder-icon{background:#334155;color:#94a3b8}.placeholder-title{margin-bottom:12px!important;color:#374151;font-weight:600}.theme-dark .placeholder-title{color:#f3f4f6}.placeholder-description{color:#6b7280;line-height:1.6}.theme-dark .placeholder-description{color:#9ca3af}@media (max-width: 1024px){.chats-sidebar{width:320px}}@media (max-width: 768px){.chats-main{padding:16px}.chats-container{border-radius:12px}.chats-sidebar{width:100%;border-right:none}.chat-section,.chats-container.chat-active .chats-sidebar{display:none}.chats-container.chat-active .chat-section{display:flex}}@media (max-width: 480px){.chats-header{padding:16px 20px}.header-title h2{font-size:24px}.chats-main{padding:12px}}.error-container{height:100vh;display:flex;align-items:center;justify-content:center;background:#f8fafc}.theme-dark .error-container{background:#0f172a}.error-content{text-align:center;padding:40px}.error-title{color:#ef4444;margin-bottom:12px;font-size:24px;font-weight:600}.error-description{color:#64748b;font-size:16px;line-height:1.5}.theme-dark .error-description{color:#94a3b8}.chats-loading{display:flex;align-items:center;justify-content:center;height:100vh}.prompts-page{min-height:100vh;background:#f8fafc;padding:0;transition:all .3s}.theme-dark .prompts-page{background:#1c273b;color:#e8eaed}.prompts-header{background:linear-gradient(135deg,#fff,#f8fafc);padding:24px 32px;border-bottom:1px solid #e2e8f0;margin-bottom:0;transition:all .3s}.theme-dark .prompts-header{background:linear-gradient(135deg,#253548,#1c273b);border-bottom-color:#3a4857}.prompts-header-content{display:flex;justify-content:space-between;align-items:center;max-width:1400px;margin:0 auto}.prompts-title-section{display:flex;align-items:center;gap:16px}.prompts-icon{width:48px;height:48px;background:linear-gradient(135deg,#10b981,#059669);border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:20px;box-shadow:0 4px 12px #10b9814d}.prompts-title{margin:0!important;font-size:28px;font-weight:700;background:linear-gradient(135deg,#10b981,#059669);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.theme-dark .prompts-title{background:linear-gradient(135deg,#34d399,#10b981);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.prompts-subtitle{color:#64748b;font-size:16px;margin-top:8px}.theme-dark .prompts-subtitle{color:#b3b7bc}.prompts-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.search-container{position:relative;min-width:300px}.search-container .ant-input-search{border-radius:12px;border:1px solid #e2e8f0;box-shadow:0 2px 8px #0000000f;transition:all .3s}.theme-dark .search-container .ant-input-search{background:#253548;border-color:#3a4857}.theme-dark .search-container .ant-input{background:transparent;color:#e8eaed}.create-button{height:44px;border-radius:12px;font-weight:600;background:linear-gradient(135deg,#10b981,#059669);border:none;box-shadow:0 4px 12px #10b9814d;transition:all .3s}.create-button:hover{background:linear-gradient(135deg,#059669,#047857);transform:translateY(-2px);box-shadow:0 6px 20px #10b98166}.prompts-content{padding:32px;max-width:1400px;margin:0 auto}.prompts-container{margin-top:24px}.prompts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px}.prompt-card{background:#fff;border-radius:16px;padding:24px;border:1px solid #e2e8f0;box-shadow:0 2px 8px #0000000a;transition:all .3s;position:relative;overflow:hidden;cursor:pointer}.prompt-card:hover{transform:translateY(-4px);box-shadow:0 8px 32px #0000001f;border-color:#10b981}.theme-dark .prompt-card{background:#253548;border-color:#3a4857;color:#e8eaed}.theme-dark .prompt-card:hover{box-shadow:0 8px 32px #0000004d;border-color:#34d399}.prompt-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#10b981,#059669)}.prompt-card.system:before{background:linear-gradient(90deg,#3b82f6,#1d4ed8)}.prompt-card.user:before{background:linear-gradient(90deg,#f59e0b,#d97706)}.prompt-card.assistant:before{background:linear-gradient(90deg,#8b5cf6,#7c3aed)}.prompts-list{display:flex;flex-direction:column;gap:16px}.prompt-list-item{background:#fff;border-radius:12px;border:1px solid #e2e8f0;box-shadow:0 1px 3px #0000000a;transition:all .3s;position:relative;overflow:hidden}.prompt-list-item:hover{box-shadow:0 4px 12px #00000014;border-color:#10b981}.theme-dark .prompt-list-item{background:#253548;border-color:#3a4857;color:#e8eaed}.theme-dark .prompt-list-item:hover{box-shadow:0 4px 12px #0003;border-color:#34d399}.prompt-list-item:before{content:"";position:absolute;top:0;left:0;bottom:0;width:4px;background:linear-gradient(180deg,#10b981,#059669)}.prompt-list-item.system:before{background:linear-gradient(180deg,#3b82f6,#1d4ed8)}.prompt-list-item.user:before{background:linear-gradient(180deg,#f59e0b,#d97706)}.prompt-list-item.assistant:before{background:linear-gradient(180deg,#8b5cf6,#7c3aed)}.prompt-list-content{padding:20px 24px}.prompt-list-main{display:flex;flex-direction:column;gap:16px}.prompt-list-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.prompt-list-title-section{display:flex;align-items:flex-start;gap:12px;flex:1;min-width:0}.prompt-list-icon{width:40px;height:40px;background:linear-gradient(135deg,#10b981,#059669);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px;flex-shrink:0}.prompt-list-item.system .prompt-list-icon{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.prompt-list-item.user .prompt-list-icon{background:linear-gradient(135deg,#f59e0b,#d97706)}.prompt-list-item.assistant .prompt-list-icon{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.prompt-list-info{flex:1;min-width:0}.prompt-list-title{font-size:16px;font-weight:600;color:#1e293b;margin:0;line-height:1.3}.theme-dark .prompt-list-title{color:#e8eaed}.prompt-list-meta{margin-top:8px}.prompt-list-date,.prompt-list-author{font-size:12px;color:#94a3b8;display:inline-flex;align-items:center;gap:4px}.theme-dark .prompt-list-date,.theme-dark .prompt-list-author{color:#9aa0a6}.prompt-list-actions{flex-shrink:0;opacity:0;transition:all .3s}.prompt-list-item:hover .prompt-list-actions{opacity:1}.action-btn{width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;transition:all .3s}.action-btn:hover.view-btn{background:#10b9811a;color:#10b981}.action-btn:hover.edit-btn{background:#3b82f61a;color:#3b82f6}.action-btn:hover.delete-btn{background:#ef44441a;color:#ef4444}.prompt-list-body{padding-left:52px}.prompt-list-text{color:#64748b;font-size:14px;line-height:1.5;margin:0 0 12px}.theme-dark .prompt-list-text{color:#b3b7bc}.prompt-list-tags{display:flex;align-items:center;gap:8px;margin-top:12px}.tags-icon{color:#94a3b8;font-size:12px}.theme-dark .tags-icon{color:#9aa0a6}.role-tag{border-radius:6px;font-size:11px;font-weight:500;margin:0}.prompt-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.prompt-title{font-size:18px;font-weight:600;color:#1e293b;margin:0;line-height:1.3}.theme-dark .prompt-title{color:#e8eaed}.prompt-actions{display:flex;gap:8px;opacity:0;transition:all .3s}.prompt-card:hover .prompt-actions{opacity:1}.prompt-action-btn{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;border:1px solid #e2e8f0;background:#fff;color:#64748b;transition:all .3s}.prompt-action-btn:hover{background:#f8fafc;color:#10b981;border-color:#10b981}.theme-dark .prompt-action-btn{background:#1c273b;border-color:#3a4857;color:#b3b7bc}.theme-dark .prompt-action-btn:hover{background:#3a4857;color:#34d399;border-color:#34d399}.prompt-description{color:#64748b;font-size:14px;line-height:1.5;margin-bottom:16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.theme-dark .prompt-description{color:#b3b7bc}.prompt-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.prompt-tag{background:#10b9811a;color:#059669;border:1px solid rgba(16,185,129,.2);padding:4px 8px;border-radius:6px;font-size:11px;font-weight:500}.theme-dark .prompt-tag{background:#34d3991a;color:#34d399;border-color:#34d39933}.prompt-meta{display:flex;justify-content:space-between;align-items:center;padding-top:16px;border-top:1px solid #f1f5f9}.theme-dark .prompt-meta{border-top-color:#3a4857}.prompt-author{display:flex;align-items:center;gap:8px;font-size:12px;color:#94a3b8}.theme-dark .prompt-author{color:#9aa0a6}.prompt-stats{display:flex;align-items:center;gap:12px;font-size:12px;color:#94a3b8}.theme-dark .prompt-stats{color:#9aa0a6}.stat-item{display:flex;align-items:center;gap:4px}.prompts-empty{text-align:center;padding:80px 40px}.empty-icon{width:120px;height:120px;background:linear-gradient(135deg,#10b9811a,#0596691a);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 24px;font-size:48px;color:#10b981}.theme-dark .empty-icon{background:linear-gradient(135deg,#34d3991a,#10b9811a);color:#34d399}.empty-title{font-size:24px;font-weight:600;color:#1e293b;margin-bottom:12px}.theme-dark .empty-title{color:#e8eaed}.empty-description{color:#64748b;font-size:16px;margin-bottom:32px;max-width:400px;margin-left:auto;margin-right:auto}.theme-dark .empty-description{color:#b3b7bc}.prompts-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 40px}.loading-spinner{font-size:32px;color:#10b981;margin-bottom:16px}.theme-dark .loading-spinner{color:#34d399}.loading-text{color:#64748b;font-size:16px}.theme-dark .loading-text{color:#b3b7bc}@media (max-width: 1200px){.prompts-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}}@media (max-width: 768px){.prompts-header{padding:20px 24px}.prompts-header-content{flex-direction:column;gap:20px;align-items:stretch}.prompts-actions{flex-direction:column;gap:12px}.search-container{min-width:auto}.prompts-content{padding:20px}.prompts-grid{grid-template-columns:1fr;gap:16px}.prompt-list-header{flex-direction:column;gap:12px;align-items:stretch}.prompt-list-actions{opacity:1;align-self:flex-end}.prompt-list-body{padding-left:0}.prompt-list-title-section{flex-direction:column;gap:8px;align-items:flex-start}}@media (max-width: 480px){.prompts-header{padding:16px 20px}.prompts-content{padding:16px}.prompts-title{font-size:24px}.prompt-card{padding:20px}.prompt-list-content{padding:16px 20px}}.prompt-card,.prompt-list-item{animation:fadeInUp .6s ease-out both}.ant-segmented{background:#fffc;border:1px solid #e2e8f0;border-radius:12px;padding:2px}.theme-dark .ant-segmented{background:#253548cc;border-color:#3a4857}.ant-segmented-item-selected{background:#fff;box-shadow:0 2px 8px #0000001a}.theme-dark .ant-segmented-item-selected{background:#3a4857;box-shadow:0 2px 8px #0000004d}.integrations-page{min-height:100vh;background:#f8fafc;padding:0;transition:all .3s}.theme-dark .integrations-page{background:#1c273b;color:#e8eaed}.integrations-header{background:linear-gradient(135deg,#fff,#f8fafc);padding:24px 32px;border-bottom:1px solid #e2e8f0;margin-bottom:0;transition:all .3s}.theme-dark .integrations-header{background:linear-gradient(135deg,#253548,#1c273b);border-bottom-color:#3a4857}.integrations-header-content{display:flex;justify-content:space-between;align-items:center;max-width:1400px;margin:0 auto}.integrations-title-section{display:flex;align-items:center;gap:16px}.integrations-icon{width:48px;height:48px;background:linear-gradient(135deg,#8b5cf6,#7c3aed);border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:20px;box-shadow:0 4px 12px #8b5cf64d}.integrations-title{margin:0!important;font-size:28px;font-weight:700;background:linear-gradient(135deg,#8b5cf6,#7c3aed);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.theme-dark .integrations-title{background:linear-gradient(135deg,#a78bfa,#8b5cf6);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.integrations-subtitle{color:#64748b;font-size:16px;margin-top:8px}.theme-dark .integrations-subtitle{color:#b3b7bc}.integrations-stats{display:flex;gap:24px}.stat-item{text-align:center}.stat-value{font-size:24px;font-weight:700;color:#8b5cf6;display:block}.theme-dark .stat-value{color:#a78bfa}.stat-label{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-top:4px}.theme-dark .stat-label{color:#b3b7bc}.integrations-content{padding:32px;max-width:1400px;margin:0 auto}.platforms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:24px;margin-top:24px}.platform-card{background:#fff;border-radius:16px;padding:32px;border:1px solid #e2e8f0;box-shadow:0 2px 8px #0000000a;transition:all .3s;position:relative;overflow:hidden}.platform-title{display:flex;align-items:center}.platform-icon{font-size:24px;line-height:24px;display:inline-block}.platform-card:hover{transform:translateY(-4px);box-shadow:0 8px 32px #0000001f}.theme-dark .platform-card{background:#253548;border-color:#3a4857;color:#e8eaed}.theme-dark .platform-card:hover{box-shadow:0 8px 32px #0000004d}.platform-card.telegram:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#08c,#06a)}.platform-card.instagram:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#e4405f,#833ab4)}.platform-card.whatsapp:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#25d366,#128c7e)}.platform-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.section-header{margin-bottom:20px}.platform-logo{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:28px;color:#fff;position:relative}.platform-logo.telegram{background:linear-gradient(135deg,#08c,#06a)}.platform-logo.instagram{background:linear-gradient(135deg,#e4405f,#833ab4)}.platform-logo.whatsapp{background:linear-gradient(135deg,#25d366,#128c7e)}.platform-info{flex:1}.platform-name{font-size:22px;font-weight:700;color:#1e293b;margin:0 0 4px}.theme-dark .platform-name{color:#e8eaed}.platform-status{display:flex;align-items:center;gap:8px}.status-indicator{width:8px;height:8px;border-radius:50%;background:#ef4444}.status-indicator.connected{background:#10b981}.status-indicator.pending{background:#f59e0b}.status-text{font-size:14px;font-weight:500}.status-text.connected{color:#10b981}.status-text.disconnected{color:#ef4444}.status-text.pending{color:#f59e0b}.theme-dark .status-text.connected{color:#34d399}.theme-dark .status-text.disconnected{color:#f87171}.theme-dark .status-text.pending{color:#fbbf24}.platform-description{color:#64748b;font-size:14px;line-height:1.6;margin-bottom:24px}.theme-dark .platform-description{color:#b3b7bc}.platform-features{margin-bottom:24px}.features-title{font-size:14px;font-weight:600;color:#374151;margin-bottom:12px}.theme-dark .features-title{color:#e8eaed}.features-list{display:flex;flex-wrap:wrap;gap:8px}.feature-tag{background:#8b5cf61a;color:#7c3aed;border:1px solid rgba(139,92,246,.2);padding:4px 12px;border-radius:12px;font-size:12px;font-weight:500}.theme-dark .feature-tag{background:#a78bfa1a;color:#a78bfa;border-color:#a78bfa33}.platform-actions{display:flex;gap:12px}.platform-btn{flex:1;height:44px;border-radius:12px;font-weight:600;transition:all .3s}.platform-btn.primary{background:linear-gradient(135deg,#8b5cf6,#7c3aed);border:none;color:#fff;box-shadow:0 4px 12px #8b5cf64d}.platform-btn.primary:hover{background:linear-gradient(135deg,#7c3aed,#6d28d9);transform:translateY(-2px);box-shadow:0 6px 20px #8b5cf666}.platform-btn.secondary{background:#fff;border:1px solid #e2e8f0;color:#64748b}.platform-btn.secondary:hover{background:#f8fafc;border-color:#8b5cf6;color:#8b5cf6}.theme-dark .platform-btn.secondary{background:#1c273b;border-color:#3a4857;color:#b3b7bc}.theme-dark .platform-btn.secondary:hover{background:#3a4857;border-color:#a78bfa;color:#a78bfa}.platform-btn.danger{background:#fff;border:1px solid #fecaca;color:#ef4444}.platform-btn.danger:hover{background:#fef2f2;border-color:#ef4444}.theme-dark .platform-btn.danger{background:#1c273b;border-color:#f871714d;color:#f87171}.theme-dark .platform-btn.danger:hover{background:#f871711a;border-color:#f87171}.platform-details{margin-top:16px;padding-top:16px;border-top:1px solid #f1f5f9}.theme-dark .platform-details{border-top-color:#3a4857}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.detail-item{display:flex;flex-direction:column;gap:4px}.detail-label{font-size:12px;color:#94a3b8;text-transform:uppercase;letter-spacing:.5px}.theme-dark .detail-label{color:#9aa0a6}.detail-value{font-size:14px;font-weight:500;color:#374151}.theme-dark .detail-value{color:#e8eaed}.coming-soon-card{opacity:.7;position:relative}.coming-soon-overlay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#fffffff2;border-radius:12px;padding:16px 24px;text-align:center;box-shadow:0 4px 12px #00000026}.theme-dark .coming-soon-overlay{background:#1c273bf2}.coming-soon-text{font-size:14px;font-weight:600;color:#8b5cf6;margin:0}.theme-dark .coming-soon-text{color:#a78bfa}@media (max-width: 1200px){.platforms-grid{grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}}@media (max-width: 768px){.integrations-header{padding:20px 24px}.integrations-header-content{flex-direction:column;gap:20px;align-items:stretch}.integrations-content{padding:20px}.platforms-grid{grid-template-columns:1fr;gap:16px}.platform-card{padding:24px}.details-grid{grid-template-columns:1fr}}@media (max-width: 480px){.integrations-header{padding:16px 20px}.integrations-content{padding:16px}.integrations-title{font-size:24px}.platform-actions{flex-direction:column}}.platform-card{animation:fadeInUp .6s ease-out}.platform-card:nth-child(1){animation-delay:.1s}.platform-card:nth-child(2){animation-delay:.2s}.platform-card:nth-child(3){animation-delay:.3s}.product-detail-modal .ant-modal-content{padding:0!important;border-radius:16px;overflow:hidden}.product-detail-modal .ant-modal-body{padding:32px;max-height:80vh;overflow-y:auto}.product-detail-content{animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.product-detail-images{position:sticky;top:0}.product-main-image{width:100%;height:400px;background:linear-gradient(135deg,#f1f5f9,#e2e8f0);border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center;margin-bottom:16px}.theme-dark .product-main-image{background:linear-gradient(135deg,#374151,#1f2937)}.product-main-image .ant-image{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.product-main-image .ant-image-img{width:auto!important;height:auto!important;max-width:100%;max-height:100%;object-fit:contain!important}.product-no-image{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;width:100%;height:100%}.product-image-gallery{display:flex;gap:8px;flex-wrap:wrap}.product-image-gallery .ant-image{border:2px solid transparent;border-radius:8px;transition:all .3s ease;cursor:pointer}.product-image-gallery .ant-image:hover{border-color:#1890ff;transform:scale(1.05)}.product-detail-info{height:100%;display:flex;flex-direction:column}.product-detail-header{margin-bottom:24px}.product-detail-price{padding:16px;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-radius:12px;text-align:center;margin-top:16px}.theme-dark .product-detail-price{background:linear-gradient(135deg,#1e3a5f,#1e40af)}@media (max-width: 768px){.product-detail-modal .ant-modal-body{padding:16px}.product-main-image{height:300px}.product-detail-header h2{font-size:20px!important}.product-detail-price{padding:12px}.product-detail-price span{font-size:24px!important}}.product-detail-modal .ant-modal-body::-webkit-scrollbar{width:8px}.product-detail-modal .ant-modal-body::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.theme-dark .product-detail-modal .ant-modal-body::-webkit-scrollbar-track{background:#1e293b}.product-detail-modal .ant-modal-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.theme-dark .product-detail-modal .ant-modal-body::-webkit-scrollbar-thumb{background:#475569}.product-detail-modal .ant-modal-body::-webkit-scrollbar-thumb:hover{background:#94a3b8}.theme-dark .product-detail-modal .ant-modal-body::-webkit-scrollbar-thumb:hover{background:#64748b}.products-page{min-height:100vh;background:#f8fafc}.theme-dark .products-page{background:#0f172a}.products-header{background:#fff;border-bottom:1px solid #e2e8f0;padding:24px}.theme-dark .products-header{background:#1e293b;border-bottom-color:#334155}.header-content{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.header-icon{font-size:28px;color:#1890ff}.view-switcher .ant-btn-group{box-shadow:0 2px 8px #0000001a;border-radius:8px}.products-stats{padding:24px;background:#f8fafc}.theme-dark .products-stats{background:#0f172a}.products-stats .ant-card{border-radius:12px;box-shadow:0 2px 8px #0000000a;transition:all .3s ease}.theme-dark .products-stats .ant-card{background:#1e293b;border-color:#334155;box-shadow:0 2px 8px #0003}.products-stats .ant-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px #0000001a}.theme-dark .products-stats .ant-card:hover{box-shadow:0 8px 25px #0000004d}.products-filters{padding:0 24px 24px}.products-filters .ant-card{border-radius:12px;box-shadow:0 2px 8px #0000000a}.theme-dark .products-filters .ant-card{background:#1e293b;border-color:#334155}.filter-results{margin-top:16px;padding-top:16px;border-top:1px solid #e2e8f0}.theme-dark .filter-results{border-top-color:#334155}.products-content{padding:0 24px 24px;max-width:1400px;margin:0 auto}.product-card{border-radius:12px!important;overflow:hidden;transition:all .3s ease;box-shadow:0 2px 8px #0000000f;position:relative}.theme-dark .product-card{background:#1e293b!important;border-color:#334155!important;box-shadow:0 2px 8px #0003}.product-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px #00000026}.theme-dark .product-card:hover{box-shadow:0 12px 30px #0006}.product-image{position:relative;height:200px;background:linear-gradient(135deg,#f1f5f9,#e2e8f0);display:flex;align-items:center;justify-content:center;overflow:hidden}.theme-dark .product-image{background:linear-gradient(135deg,#374151,#1f2937)}.product-image .ant-image{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.product-image .ant-image-img{width:auto!important;height:auto!important;max-width:100%;max-height:100%;object-fit:contain!important;border-radius:0!important}.product-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;transition:all .3s ease}.product-card:hover .product-placeholder{transform:scale(1.1)}.product-overlay{position:absolute;inset:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;opacity:0;transition:all .3s ease}.product-card:hover .product-overlay{opacity:1}.product-info{padding:16px}.product-header{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:8px}.product-title{margin:0!important;font-size:16px!important;font-weight:600!important;color:#1f2937;line-height:1.3;flex:1}.theme-dark .product-title{color:#f8fafc}.product-description{font-size:13px;line-height:1.4;margin-bottom:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#6b7280}.theme-dark .product-description{color:#9ca3af}.product-category{margin-bottom:8px}.product-tags{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:12px;min-height:24px}.product-price{display:flex;flex-direction:column;align-items:center;gap:2px}.product-stock{text-align:center;font-size:12px;font-weight:500}.product-list-image{width:60px;height:60px;background:linear-gradient(135deg,#f1f5f9,#e2e8f0);border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.theme-dark .product-list-image{background:linear-gradient(135deg,#374151,#1f2937)}.products-content .ant-table-thead>tr>th{background:#f8fafc!important;font-weight:600;color:#374151;border-bottom:1px solid #e5e7eb}.theme-dark .products-content .ant-table-thead>tr>th{background:#0f172a!important;color:#f8fafc;border-bottom-color:#374151}.products-content .ant-table-tbody>tr:hover>td{background:#f1f5f9!important}.theme-dark .products-content .ant-table-tbody>tr:hover>td{background:#334155!important}.products-content .ant-table-tbody>tr>td{border-bottom:1px solid #f1f5f9;padding:16px 12px}.theme-dark .products-content .ant-table-tbody>tr>td{border-bottom-color:#334155}.product-card .ant-card-actions{background:#fafbfc;border-top:1px solid #f0f0f0}.theme-dark .product-card .ant-card-actions{background:#0f172a;border-top-color:#374151}.product-card .ant-card-actions>li{margin:8px 0}.product-card .ant-card-actions>li:not(:last-child){border-right:1px solid #f0f0f0}.theme-dark .product-card .ant-card-actions>li:not(:last-child){border-right-color:#374151}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.product-card{animation:fadeInUp .6s ease-out}.product-card:nth-child(2){animation-delay:.1s}.product-card:nth-child(3){animation-delay:.2s}.product-card:nth-child(4){animation-delay:.3s}.product-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#1890ff,#722ed1);opacity:0;transition:opacity .3s ease}.product-card:hover:before{opacity:1}@media (max-width: 1200px){.header-content{max-width:100%;padding:0 16px}}@media (max-width: 768px){.products-stats,.products-filters,.products-content{padding-left:16px;padding-right:16px}.products-header{padding:16px}.header-content{flex-direction:column;align-items:flex-start;gap:16px}.header-title h2{font-size:24px!important}.header-icon{font-size:20px}.product-image{height:160px}.view-switcher{order:-1;width:100%}.view-switcher .ant-btn-group{width:100%;display:flex}.view-switcher .ant-btn{flex:1}}@media (max-width: 576px){.product-info{padding:12px}.product-title{font-size:14px!important}.product-description{font-size:12px}.product-image{height:140px}.products-content .ant-table{font-size:12px}.product-list-image{width:40px;height:40px}}.products-page::-webkit-scrollbar{width:8px}.products-page::-webkit-scrollbar-track{background:#f1f5f9}.theme-dark .products-page::-webkit-scrollbar-track{background:#1e293b}.products-page::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.theme-dark .products-page::-webkit-scrollbar-thumb{background:#475569}.products-page::-webkit-scrollbar-thumb:hover{background:#94a3b8}.theme-dark .products-page::-webkit-scrollbar-thumb:hover{background:#64748b}.users-page{min-height:100vh;background:#f8fafc}.theme-dark .users-page{background:#0f172a}.users-header{background:#fff;border-bottom:1px solid #e2e8f0;padding:24px}.theme-dark .users-header{background:#1e293b;border-bottom-color:#334155}.header-content{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.header-info{display:flex;flex-direction:column;gap:8px}.header-title{display:flex;align-items:center;gap:12px}.header-icon{font-size:28px;color:#3b82f6}.header-title h2{margin:0!important;font-size:28px;font-weight:700;color:#1e293b}.header-subtitle{font-size:16px;color:#64748b}.users-content{padding:24px;max-width:1200px;margin:0 auto}.users-content .ant-card{border-radius:12px;box-shadow:0 2px 8px #0000000a}.theme-dark .users-content .ant-card{background:#1e293b;border-color:#334155}.users-filters{margin-bottom:24px}.user-info{display:flex;align-items:center;gap:12px}.user-details{display:flex;flex-direction:column;gap:2px}.user-name{font-weight:600;color:#1f2937;font-size:15px}.theme-dark .user-name{color:#f8fafc}.user-email{font-size:13px;color:#6b7280}.theme-dark .user-email{color:#9ca3af}.role-select{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;background:#fff;color:#374151}.theme-dark .role-select{background:#374151;border-color:#4b5563;color:#f9fafb}.role-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.users-content .ant-table-thead>tr>th{background:#f8fafc!important;font-weight:600;color:#374151}.theme-dark .users-content .ant-table-thead>tr>th{background:#0f172a!important;color:#f8fafc}.users-content .ant-table-tbody>tr:hover>td{background:#f1f5f9!important}.theme-dark .users-content .ant-table-tbody>tr:hover>td{background:#334155!important}@media (max-width: 768px){.users-content,.users-header{padding:16px}.header-content{flex-direction:column;align-items:flex-start;gap:16px}.header-title h2{font-size:24px!important}.header-icon{font-size:20px}}.billing-header{background:#fff;border-bottom:1px solid #e2e8f0;padding:24px}.billing-content{padding:24px}.subscription-card{margin-bottom:24px}.subscription-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.usage-section{margin-bottom:24px}.usage-item{margin-bottom:12px}.usage-header{display:flex;justify-content:space-between;margin-bottom:8px}.next-payment-card{margin-bottom:24px}.next-payment-content{display:flex;align-items:center;gap:16px}.payment-icon{font-size:32px;color:#3b82f6}.plan-item{padding:16px;border:1px solid #e2e8f0;border-radius:8px;transition:all .3s}.plan-item.current{border-color:#3b82f6;background:#3b82f60d}.billing-page{min-height:100vh;background:#f8fafc}.theme-dark .billing-page{background:#0f172a}.billing-header{background:#fff;padding:32px 24px;border-bottom:1px solid #e2e8f0}.theme-dark .billing-header{background:#1e293b;border-bottom-color:#334155}.header-content{max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center}.header-left{display:flex;align-items:center}.header-title{display:flex;align-items:center;gap:16px}.header-icon{font-size:32px;color:#1890ff;background:#1890ff1a;padding:12px;border-radius:12px}.header-title h2{margin:0!important;font-size:32px;font-weight:700;color:#1e293b}.theme-dark .header-title h2{color:#f8fafc}.header-subtitle{font-size:16px;color:#64748b;margin-top:4px}.theme-dark .header-subtitle{color:#94a3b8}.header-stats{display:flex;gap:24px}.stat-card{text-align:center;padding:16px 24px;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}.theme-dark .stat-card{background:#0f172a;border-color:#334155}.stat-value{font-size:24px;font-weight:700;color:#1e293b;margin-bottom:4px}.theme-dark .stat-value{color:#f8fafc}.stat-label{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.theme-dark .stat-label{color:#94a3b8}.billing-content{max-width:1400px;margin:0 auto;padding:32px 24px}.current-plan-section{margin-bottom:48px}.current-plan-card{border-radius:16px!important;box-shadow:0 4px 20px #00000014!important;border:none!important}.theme-dark .current-plan-card{background:#1e293b!important;box-shadow:0 4px 20px #0000004d!important}.plan-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.plan-info{display:flex;align-items:center;gap:16px}.plan-badge{display:flex;align-items:center;gap:12px;padding:12px 16px;background:linear-gradient(135deg,#722ed1,#9254de);border-radius:12px;color:#fff;min-width:60px}.plan-emoji{font-size:24px}.plan-badge h4{margin:0!important;color:#fff!important}.plan-status{display:flex;align-items:center;gap:12px;margin-top:8px}.plan-actions{display:flex;gap:12px}.usage-stats{margin-top:24px}.usage-item{background:#f8fafc;padding:20px;border-radius:16px;border:1px solid #e2e8f0;position:relative;overflow:hidden;transition:all .3s ease;height:100%;display:flex;flex-direction:column}.usage-item:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000001f;border-color:#d1d5db}.theme-dark .usage-item{background:#1e293b;border-color:#334155}.theme-dark .usage-item:hover{box-shadow:0 8px 24px #0006;border-color:#475569}.usage-header{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.usage-title{display:flex;align-items:center;gap:8px;margin-bottom:4px}.usage-icon{font-size:18px;padding:6px;border-radius:8px;background:#1890ff1a;color:#1890ff;display:flex;align-items:center;justify-content:center;min-width:30px;min-height:30px}.usage-item:nth-child(1) .usage-icon{background:#52c41a26;color:#52c41a}.usage-item:nth-child(2) .usage-icon{background:#1890ff26;color:#1890ff}.usage-item:nth-child(3) .usage-icon{background:#fa8c1626;color:#fa8c16}.usage-item:nth-child(4) .usage-icon{background:#722ed126;color:#722ed1}.usage-item:nth-child(5) .usage-icon{background:#eb2f9626;color:#eb2f96}.usage-numbers{font-size:14px;color:#64748b;font-weight:500;margin-top:2px}.theme-dark .usage-numbers{color:#94a3b8}.usage-bar{margin-bottom:12px}.usage-bar .ant-progress{margin-bottom:0}.usage-percent{font-size:12px;font-weight:600;text-align:center;color:#64748b}.theme-dark .usage-percent{color:#94a3b8}.usage-percent.danger{color:#ff4d4f}.usage-percent.warning{color:#fa8c16}.usage-percent.success{color:#52c41a}@media (max-width: 1400px){.usage-section .ant-col-lg-4{flex:0 0 50%;max-width:50%}}@media (max-width: 768px){.usage-section .ant-col-lg-4{flex:0 0 100%;max-width:100%}.usage-item{padding:16px}.usage-header{gap:6px;margin-bottom:12px}.usage-icon{font-size:16px;padding:5px;min-width:26px;min-height:26px}}@media (max-width: 576px){.usage-item{padding:14px}.usage-numbers{font-size:13px}.usage-percent{font-size:11px}}.plans-section{margin-bottom:48px}.plans-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.billing-toggle .ant-btn-group{border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a}.plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}.plan-card{position:relative;border-radius:16px!important;padding:24px!important;border:2px solid #e2e8f0!important;transition:all .3s ease;overflow:hidden}.theme-dark .plan-card{background:#1e293b!important;border-color:#334155!important}.plan-card:hover{transform:translateY(-4px);box-shadow:0 12px 40px #00000026}.theme-dark .plan-card:hover{box-shadow:0 12px 40px #0006}.plan-card.popular{border-color:#1890ff!important;background:linear-gradient(135deg,#1890ff05,#1890ff0d)!important}.plan-card.current{border-color:#52c41a!important;background:linear-gradient(135deg,#52c41a05,#52c41a0d)!important}.plan-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:transparent;transition:background .3s ease}.plan-card.popular:before{background:linear-gradient(90deg,#1890ff,#722ed1)}.plan-card.current:before{background:linear-gradient(90deg,#52c41a,#73d13d)}.plan-badges{position:absolute;top:-2px;right:16px;display:flex;gap:8px}.badge{background:#fff;color:#1890ff;padding:4px 12px;border-radius:0 0 8px 8px;font-size:11px;font-weight:600;box-shadow:0 2px 8px #0000001a}.popular-badge{background:#1890ff;color:#fff}.current-badge{background:#52c41a;color:#fff}.plan-header{text-align:center;margin-bottom:24px;padding-top:16px}.plan-icon{font-size:48px;margin-bottom:12px}.plan-header h4{margin:0!important;font-size:24px!important;font-weight:700!important}.plan-pricing{text-align:center;margin-bottom:32px}.original-price{font-size:14px;color:#8c8c8c;text-decoration:line-through;margin-bottom:4px}.current-price{display:flex;align-items:baseline;justify-content:center;gap:2px;margin-bottom:8px}.currency{font-size:20px;color:#64748b}.amount{font-size:48px;font-weight:800;color:#1e293b}.theme-dark .amount{color:#f8fafc}.period{font-size:16px;color:#64748b}.discount-info{margin-bottom:8px}.monthly-equivalent{font-size:12px;color:#64748b}.theme-dark .monthly-equivalent{color:#94a3b8}.plan-features{margin-bottom:32px}.feature-item{display:flex;align-items:center;gap:12px;padding:8px 0;font-size:14px}.feature-check{color:#52c41a;font-size:16px;flex-shrink:0}.plan-action{margin-top:auto}.plan-action .ant-btn{height:44px;font-weight:600;border-radius:8px}.next-payment-card,.billing-alerts{border-radius:16px!important;border:none!important;box-shadow:0 4px 20px #00000014!important}.theme-dark .next-payment-card,.theme-dark .billing-alerts{background:#1e293b!important;box-shadow:0 4px 20px #0000004d!important}.payment-info{display:flex;align-items:center;gap:16px;margin-bottom:24px}.payment-icon{font-size:32px;color:#1890ff;background:#1890ff1a;padding:12px;border-radius:12px}.payment-amount{font-size:32px;font-weight:700;color:#1890ff;margin:4px 0}.payment-method{display:flex;align-items:center;gap:8px;padding:16px;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}.theme-dark .payment-method{background:#0f172a;border-color:#334155}.alert-item{display:flex;align-items:flex-start;gap:12px;padding:16px;background:#fef3cd;border-radius:12px;border:1px solid #fde68a}.theme-dark .alert-item{background:#fa8c161a;border-color:#fa8c1633}.upgrade-modal{padding:8px 0}.selected-plan-info{padding:20px;background:#f8fafc;border-radius:12px;margin-bottom:24px;border:1px solid #e2e8f0}.theme-dark .selected-plan-info{background:#0f172a;border-color:#334155}.modal-actions{text-align:right}@media (max-width: 768px){.billing-content{padding:24px 16px}.header-content{flex-direction:column;align-items:flex-start;gap:24px}.plans-header{flex-direction:column;align-items:flex-start;gap:16px}.plans-grid{grid-template-columns:1fr}.plan-card-header{flex-direction:column;align-items:flex-start;gap:16px}.header-stats{flex-direction:column;width:100%;gap:12px}.stat-card{text-align:left}}@media (max-width: 576px){.billing-header{padding:24px 16px}.header-title h2{font-size:24px!important}.header-icon{font-size:24px;padding:8px}.amount{font-size:36px!important}.plan-icon{font-size:36px}}@keyframes slideInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.plan-card{animation:slideInUp .6s ease-out}.plan-card:nth-child(1){animation-delay:0s}.plan-card:nth-child(2){animation-delay:.1s}.plan-card:nth-child(3){animation-delay:.2s}.plan-card:nth-child(4){animation-delay:.3s}.plan-card:hover .plan-icon{transform:scale(1.1);transition:transform .3s ease}.plan-card .plan-action .ant-btn:hover{transform:translateY(-2px);transition:transform .2s ease}.plan-features{list-style:none;padding:0;margin:8px 0}.plan-features li{margin-bottom:4px}.upgrade-modal-content{padding:8px 0}.mini-plan-card{border:2px solid #e2e8f0;transition:all .3s ease;cursor:pointer}.mini-plan-card:hover{border-color:#1890ff;transform:translateY(-2px)}.mini-plan-card.selected{border-color:#1890ff;background:#1890ff0d;box-shadow:0 4px 12px #1890ff26}.payment-methods-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:24px 0}.payment-method-card{border:2px solid #e2e8f0;transition:all .3s ease;cursor:pointer}.payment-method-card:hover:not(.disabled){border-color:#1890ff;transform:translateY(-2px);box-shadow:0 4px 12px #1890ff26}.payment-method-card.disabled{opacity:.6;cursor:not-allowed;background:#f5f5f5}.payment-method-content{display:flex;align-items:center;gap:12px}.payment-method-icon{font-size:32px}.payment-processing{display:flex;flex-direction:column;align-items:center;gap:16px}.payment-spinner{width:60px;height:60px;border:4px solid #f0f0f0;border-top:4px solid #1890ff;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.subscription-setting,.active-payment-method{display:flex;justify-content:space-between;align-items:center}.payment-info{display:flex;align-items:center;gap:12px}.payment-actions{display:flex;align-items:center;gap:8px}.add-payment-card{border:2px dashed #d9d9d9;transition:all .3s ease}.add-payment-card:hover:not(.disabled){border-color:#1890ff;border-style:solid}.add-payment-card.disabled{opacity:.5;cursor:not-allowed}.stat-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0}.theme-dark .mini-plan-card{background:#1e293b;border-color:#334155}.theme-dark .mini-plan-card.selected{background:#1890ff1a}.theme-dark .payment-method-card{background:#1e293b;border-color:#334155}.theme-dark .payment-method-card.disabled{background:#0f172a}.theme-dark .add-payment-card{background:#1e293b;border-color:#334155}@media (max-width: 768px){.payment-methods-grid{grid-template-columns:1fr}.subscription-setting,.active-payment-method{flex-direction:column;align-items:flex-start;gap:12px}}.usage-item{background:#f8fafc;padding:16px;border-radius:12px;border:1px solid #e2e8f0;position:relative;overflow:hidden;transition:all .3s ease}.usage-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.theme-dark .usage-item{background:#0f172a;border-color:#334155}.theme-dark .usage-item:hover{box-shadow:0 4px 12px #0000004d}.usage-icon{font-size:16px;padding:4px;border-radius:6px;background:#1890ff1a;color:#1890ff}.usage-item:nth-child(1) .usage-icon{background:#52c41a1a;color:#52c41a}.usage-item:nth-child(2) .usage-icon{background:#1890ff1a;color:#1890ff}.usage-item:nth-child(3) .usage-icon{background:#fa8c161a;color:#fa8c16}.usage-item:nth-child(4) .usage-icon{background:#722ed11a;color:#722ed1}.usage-item:nth-child(5) .usage-icon{background:#eb2f961a;color:#eb2f96}.plan-limits{margin-top:16px;padding:12px;background:#00000005;border-radius:8px;border:1px solid rgba(0,0,0,.06)}.theme-dark .plan-limits{background:#ffffff05;border-color:#ffffff0f}.quick-stats .stat-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #f0f0f0}.quick-stats .stat-row:last-child{border-bottom:none}.theme-dark .quick-stats .stat-row{border-bottom-color:#334155}@media (max-width: 1200px){.usage-section .ant-col-lg-4{flex:0 0 33.333333%;max-width:33.333333%}}@media (max-width: 768px){.usage-section .ant-col-lg-4{flex:0 0 50%;max-width:50%}.usage-header{flex-direction:column;align-items:flex-start;gap:4px}.usage-header .ant-space{margin-bottom:4px}}@media (max-width: 576px){.usage-section .ant-col-lg-4{flex:0 0 100%;max-width:100%}}*{box-sizing:border-box}html,body{margin:0;padding:0;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;height:100%;overflow-x:hidden}#root{height:100vh;margin:0;padding:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.ant-layout,.ant-layout-content{margin:0;padding:0}.ant-layout-sider-collapsed .ant-layout-sider-trigger{display:none}.text-center{text-align:center}.flex-center{display:flex;align-items:center;justify-content:center}.full-height{height:100vh}.no-scroll{overflow:hidden}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.loading-container{height:100%;width:100%;display:flex;align-items:center;justify-content:center;gap:15px}
