body{margin:0}.sidebar{background:#fff;box-shadow:2px 0 10px #0000001a;display:flex;flex-direction:column;height:100vh;left:0;position:fixed;top:0;width:260px}.sidebar-logo{border-bottom:1px solid #e2e8f0;padding:25px 20px}.sidebar-logo img{height:auto;max-width:150px;width:100%}.sidebar-nav{flex:1 1;overflow-y:auto;padding:20px 0}.nav-item{align-items:center;border-radius:8px;color:#64748b;display:flex;font-size:15px;font-weight:500;margin:4px 12px;padding:14px 20px;text-decoration:none;transition:all .3s}.nav-item:hover{background:#f8fafc;color:#1e293b}.nav-item.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.nav-icon{height:22px;margin-right:12px;width:22px}.nav-section-label{color:#94a3b8;font-size:11px;font-weight:600;letter-spacing:.5px;margin-top:8px;padding:20px 20px 8px;text-transform:uppercase}.topbar{align-items:center;background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 1px 3px #0000000d;display:flex;height:70px;justify-content:space-between;padding:0 30px}.topbar-left{flex:1 1}.topbar-title{color:#1e293b;font-size:22px;font-weight:600;margin:0}.topbar-right{gap:20px}.topbar-right,.user-info{align-items:center;display:flex}.user-info{gap:12px}.user-details{align-items:flex-end;display:flex;flex-direction:column}.user-name{font-size:14px}.user-role{color:#64748b;font-size:12px;text-transform:capitalize}.user-avatar{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;font-size:16px;height:45px;justify-content:center;text-transform:uppercase;width:45px}.logout-button,.user-avatar{align-items:center;color:#fff;display:flex;font-weight:600}.logout-button{background:#ef4444;border:none;border-radius:8px;cursor:pointer;font-size:14px;gap:8px;padding:10px 20px;transition:all .3s}.logout-button:hover{background:#dc2626;box-shadow:0 4px 12px #ef44444d;transform:translateY(-1px)}.logout-icon{height:18px;width:18px}.dashboard-layout{background:#f8fafc;display:flex;min-height:100vh}.main-content{display:flex;flex:1 1;flex-direction:column;margin-left:260px;min-height:100vh}.content-area{flex:1 1;overflow-y:auto;padding:30px}.login-container{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:center;min-height:100vh;padding:20px}.login-box{background:#fff;border-radius:12px;box-shadow:0 10px 40px #0000001a;max-width:420px;padding:40px;width:100%}.login-logo{margin-bottom:30px;text-align:center}.login-logo img{height:auto;max-width:180px}.login-box h2{color:#333;font-size:28px;font-weight:600;margin-bottom:10px;text-align:center}.login-subtitle{color:#666;font-size:14px;margin-bottom:30px;text-align:center}.error-message{background-color:#fee;border-radius:6px;color:#c33;padding:12px}.form-group label{color:#333;font-weight:500}.form-group input{border:1px solid #ddd;border-radius:6px;box-sizing:border-box;font-size:14px;padding:12px 15px;transition:border-color .3s;width:100%}.form-group input:focus{border-color:#667eea;outline:none}.form-group input:disabled{background-color:#f5f5f5;cursor:not-allowed}.login-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:14px;transition:transform .2s,box-shadow .2s;width:100%}.login-button:hover:not(:disabled){box-shadow:0 5px 15px #667eea66;transform:translateY(-2px)}.login-button:disabled{cursor:not-allowed;opacity:.6}.dashboard{max-width:1400px}.dashboard-header{margin-bottom:30px}.dashboard-header h1{color:#1e293b;font-size:32px;font-weight:700;margin:0 0 8px}.dashboard-header p{color:#64748b;font-size:16px;margin:0}.stats-grid{grid-gap:24px;gap:24px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:30px}.stat-card{padding:24px;transition:all .3s}.stat-card:hover{box-shadow:0 8px 20px #0000001a;transform:translateY(-4px)}.stat-icon{height:60px;width:60px}.stat-icon svg{height:30px;width:30px}.stat-icon.blue{background:#eff6ff;color:#3b82f6}.stat-icon.green{background:#f0fdf4;color:#22c55e}.stat-icon.orange{background:#fff7ed;color:#f97316}.stat-icon.purple{background:#faf5ff;color:#a855f7}.stat-details{flex:1 1}.stat-label{font-size:14px}.stat-label,.stat-value{margin:0 0 4px}.stat-sub{color:#94a3b8;font-size:12px}.welcome-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000d;padding:30px}.welcome-card h2{color:#1e293b;font-size:24px;font-weight:600;margin:0 0 12px}.welcome-card p{color:#64748b;font-size:16px;line-height:1.6;margin:0 0 20px}.quick-actions{display:flex;flex-wrap:wrap;gap:12px}.action-btn{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;color:#fff;display:inline-block;font-size:14px;font-weight:600;padding:10px 20px;text-decoration:none;transition:all .3s}.action-btn:hover{box-shadow:0 4px 12px #667eea4d;transform:translateY(-2px)}.searchable-select{position:relative;width:100%}.searchable-select.disabled{opacity:.6;pointer-events:none}.select-header{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;display:flex;justify-content:space-between;padding:10px 16px;transition:all .2s}.select-header.open,.select-header:hover{border-color:#667eea}.select-header.open{box-shadow:0 0 0 3px #667eea1a}.select-header .placeholder{color:#94a3b8}.select-header .selected{color:#1e293b}.select-arrow{color:#64748b;transition:transform .2s}.select-arrow.open{transform:rotate(180deg)}.select-dropdown{background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px #0000001a;display:flex;flex-direction:column;left:0;max-height:300px;position:absolute;right:0;top:calc(100% + 4px);z-index:1000}.select-search{border-bottom:1px solid #e2e8f0;padding:8px}.select-search input{border:1px solid #e2e8f0;border-radius:6px;font-size:14px;padding:8px 12px;width:100%}.select-search input:focus{border-color:#667eea;outline:none}.select-options{max-height:250px;overflow-y:auto}.select-option{color:#1e293b;cursor:pointer;font-size:14px;padding:10px 16px;transition:background .15s}.select-option:hover{background:#f8fafc}.select-option.selected{background:#ede9fe;color:#667eea;font-weight:600}.select-option.no-results{color:#94a3b8;cursor:default;text-align:center}.select-option.no-results:hover{background:#fff}.modal-header h2{font-size:22px}.modal-close{font-size:32px}.modal-body{flex:1 1;max-height:calc(90vh - 160px)}.form-group input[type=email],.form-group input[type=number],.form-group input[type=password],.form-group input[type=tel],.form-group input[type=text],.form-group input[type=url],.form-group select,.form-group textarea{border:1px solid #cbd5e1;border-radius:8px;box-sizing:border-box;font-size:14px;padding:10px 14px;transition:all .2s;width:100%}.form-group input:disabled,.form-group select:disabled,.form-group textarea:disabled{background:#f1f5f9;cursor:not-allowed}.form-hint{color:#64748b;display:block;font-size:12px;margin-top:6px}.logo-preview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-top:12px;padding:12px;text-align:center}.logo-preview img{max-height:100px;max-width:200px;object-fit:contain}.clear-logo-btn{background:#fee;border:1px solid #fcc;border-radius:6px;color:#dc2626;cursor:pointer;font-size:13px;font-weight:600;margin-top:12px;padding:6px 16px;transition:all .2s}.clear-logo-btn:hover:not(:disabled){background:#dc2626;color:#fff}.clear-logo-btn:disabled{cursor:not-allowed;opacity:.6}.phone-input-group{align-items:stretch;display:flex;gap:8px}.phone-code-select{flex-shrink:0;width:140px}.phone-number-input{flex:1 1}.section-title{border-bottom:2px solid #e2e8f0;color:#1e293b;font-size:16px;margin:24px 0 16px}.checkbox-group{margin-bottom:16px}.checkbox-label{font-weight:400;-webkit-user-select:none;user-select:none}.checkbox-label input[type=checkbox]{accent-color:#667eea}.checkbox-label span{color:#475569}.error-message{background:#fee;border:1px solid #fcc;border-radius:8px;color:#dc2626;font-size:14px;margin-bottom:20px;padding:12px 16px}.btn{border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;padding:10px 24px;transition:all .2s}.btn:disabled{cursor:not-allowed;opacity:.6}@media (max-width:640px){.form-row{grid-template-columns:1fr}.modal-content{max-height:95vh}}.waba-org-info{background:#f8fafc;border-radius:8px;color:#475569;font-size:14px;margin-bottom:20px;padding:12px 16px}.waba-status-card{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:12px;margin-bottom:24px;padding:20px}.status-row{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:8px 0}.status-row:last-child{border-bottom:none}.status-label{color:#64748b;font-size:13px;font-weight:600}.status-badge.connected{background:#dcfce7;color:#16a34a}.status-badge.disconnected{background:#fee2e2;color:#dc2626}.token-input-wrapper{display:flex;gap:8px}.token-input-wrapper input{flex:1 1}.toggle-visibility{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:8px;color:#475569;cursor:pointer;font-size:13px;font-weight:600;padding:10px 16px;white-space:nowrap}.toggle-visibility:hover{background:#e2e8f0}.form-actions-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.success-message{background:#dcfce7;border:1px solid #bbf7d0;border-radius:8px;color:#16a34a;font-size:14px;margin-bottom:20px;padding:12px 16px}.loading-state{color:#64748b;font-size:14px;padding:40px;text-align:center}.modal-content.large{max-width:800px}.modal-header h3{color:#1e293b;font-size:20px;font-weight:600;margin:0}.alert{border-radius:8px;font-size:14px;margin-bottom:16px;padding:12px 16px}.alert-error{background:#fee2e2;border:1px solid #fecaca;color:#dc2626}.alert-success{background:#dcfce7;border:1px solid #bbf7d0;color:#16a34a}.clients-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.clients-header .info-text{color:#64748b;flex:1 1;font-size:14px;margin:0}.clients-list{display:flex;flex-direction:column;gap:16px}.client-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:20px}.client-card.inactive{background:#f1f5f9;opacity:.7}.client-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:12px}.client-info{align-items:center;display:flex;gap:12px}.client-info h4{color:#1e293b;font-size:16px;font-weight:600;margin:0}.client-actions{display:flex;gap:8px}.btn-sm{border:none;border-radius:6px;cursor:pointer;font-size:12px;font-weight:600;padding:6px 12px;transition:all .2s}.btn-sm.btn-outline{background:#fff;border:1px solid #667eea;color:#667eea}.btn-sm.btn-outline:hover{background:#667eea;color:#fff}.btn-sm.btn-warning{background:#fef3c7;border:1px solid #fde68a;color:#d97706}.btn-sm.btn-warning:hover:not(:disabled){background:#d97706;color:#fff}.btn-sm.btn-danger{background:#fee2e2;border:1px solid #fecaca;color:#dc2626}.btn-sm.btn-danger:hover:not(:disabled){background:#dc2626;color:#fff}.btn-sm.btn-success{background:#d1fae5;border:1px solid #a7f3d0;color:#059669}.btn-sm.btn-success:hover:not(:disabled){background:#059669;color:#fff}.status-badge.api-key{background:#dbeafe;color:#2563eb}.api-key-example{background:#f8fafc;border-radius:6px;margin-top:15px;padding:12px}.api-key-example pre{background:#1e293b;border-radius:4px;color:#e2e8f0;font-size:12px;margin:8px 0 0;overflow-x:auto;padding:12px;white-space:pre-wrap;word-break:break-all}.btn-outline{background:#fff;border:1px solid #667eea;color:#667eea}.btn-outline:hover{background:#667eea;color:#fff}.btn-warning{background:#fef3c7;border:1px solid #fde68a;color:#d97706}.btn-warning:hover:not(:disabled){background:#d97706;color:#fff}.client-description{color:#64748b;font-size:14px;margin:0 0 12px}.client-details{grid-gap:8px;display:grid;gap:8px}.detail-row{align-items:center;display:flex;font-size:13px;gap:12px}.detail-row .label{color:#64748b;font-weight:600;min-width:120px}.detail-row code{background:#e2e8f0;border-radius:4px;color:#334155;font-family:monospace;font-size:12px;padding:4px 8px}.copy-btn-small{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:4px;color:#64748b;cursor:pointer;font-size:11px;padding:4px 8px}.copy-btn-small:hover{background:#e2e8f0}.secret-display-card{background:linear-gradient(135deg,#fef3c7,#fde68a);border:2px solid #d97706;border-radius:12px;margin-bottom:20px;padding:24px}.secret-header h4{color:#92400e;font-size:18px;margin:0 0 8px}.secret-header .warning-text{color:#b45309;font-size:14px;font-weight:500;margin:0 0 16px}.secret-content{background:#fff;border-radius:8px;padding:16px}.credential-row,.secret-content{margin-bottom:16px}.credential-row:last-child{margin-bottom:0}.credential-row label{color:#64748b;display:block;font-size:12px;font-weight:600;margin-bottom:6px}.credential-value{align-items:center;display:flex;gap:8px}.credential-value code{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;color:#1e293b;flex:1 1;font-family:monospace;font-size:13px;padding:10px 12px;word-break:break-all}.credential-value code.secret{background:#fef9c3;border-color:#fde68a}.copy-btn{background:#667eea;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:13px;font-weight:600;padding:8px 16px;white-space:nowrap}.copy-btn:hover{background:#5a67d8}.create-client-form,.edit-client-form{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:20px;padding:20px}.create-client-form h4,.edit-client-form h4{color:#1e293b;font-size:16px;margin:0 0 16px}.form-actions{margin-top:16px}.confirm-dialog{background:#fff5f5;border:1px solid #fecaca;margin-bottom:20px;padding:20px}.confirm-dialog h4{color:#991b1b;font-size:16px;margin:0 0 12px}.confirm-dialog p{color:#7f1d1d;font-size:14px;margin:0 0 8px}.confirm-dialog .warning-text{color:#b91c1c;font-weight:500}.api-instructions{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin-top:24px;padding:20px}.api-instructions h4{color:#1e293b;font-size:16px;margin:0 0 16px}.api-instructions ol{margin:0;padding-left:20px}.api-instructions li{color:#475569;font-size:14px;margin-bottom:16px}.api-instructions li strong{color:#1e293b;display:block;margin-bottom:8px}.api-instructions pre{background:#1e293b;border-radius:8px;color:#e2e8f0;font-size:12px;margin:0;overflow-x:auto;padding:12px 16px}.empty-state{color:#64748b;padding:40px}.empty-state p{margin:8px 0}.loading{padding:40px}.confirm-overlay{align-items:center;background:#0009;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1100}.confirm-dialog{animation:confirmSlideIn .2s ease-out;background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-width:480px;width:100%}@keyframes confirmSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.confirm-header{border-bottom:1px solid #e2e8f0;padding:24px 24px 16px}.confirm-header h3{color:#1e293b;font-size:20px;font-weight:600;margin:0}.confirm-body{padding:24px}.confirm-body p{color:#475569;font-size:15px;line-height:1.6;margin:0}.confirm-footer{border-top:1px solid #e2e8f0;display:flex;gap:12px;justify-content:flex-end;padding:16px 24px}.btn-danger{background:linear-gradient(135deg,#dc2626,#991b1b);color:#fff}.btn-danger:hover:not(:disabled){box-shadow:0 4px 12px #dc26264d;transform:translateY(-2px)}.btn-danger:disabled{cursor:not-allowed;opacity:.6}.users-page{max-width:1400px}.page-header{align-items:flex-start;flex-wrap:wrap;gap:16px}.add-button{border-radius:8px;font-size:15px}.add-button:hover{box-shadow:0 4px 12px #667eea66}.user-name{color:#1e293b;font-weight:600}.org-count{color:#64748b;font-size:13px}.status-badge.verified{background:#d1fae5;color:#059669}.status-badge.not-verified{background:#fee2e2;color:#dc2626}.edit-btn{background:#dbeafe;border:1px solid #93c5fd;color:#2563eb}.edit-btn:hover{background:#2563eb}.organizations-page{max-width:1400px}.org-name{color:#1e293b}.slug-cell{color:#6366f1;font-family:Courier New,monospace;font-size:13px}.location-cell{color:#64748b;font-size:13px}.member-count{background:#e0e7ff;border-radius:12px;color:#4f46e5;font-size:12px;font-weight:600;padding:4px 10px}.owners-cell{color:#64748b;font-size:13px}.owner-list{cursor:help}.status-badge{border:none;cursor:pointer;transition:all .2s}.status-badge:hover{opacity:.8}.action-buttons{align-items:center}.waba-btn{background:#dcfce7;border:1px solid #bbf7d0;border-radius:6px;color:#16a34a;cursor:pointer;font-size:13px;font-weight:600;padding:6px 16px;transition:all .2s}.waba-btn:hover{background:#16a34a;color:#fff}.api-btn{background:#fef3c7;border:1px solid #fde68a;border-radius:6px;color:#d97706;cursor:pointer;font-size:13px;font-weight:600;padding:6px 16px;transition:all .2s}.api-btn:hover{background:#d97706;color:#fff}.pricing-page{max-width:1400px}.stat-icon.countries{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.stat-icon.rates{background:linear-gradient(135deg,#10b981,#059669)}.stat-icon.marketing{background:linear-gradient(135deg,#8b5cf6,#6d28d9)}.stat-icon.utility{background:linear-gradient(135deg,#f59e0b,#d97706)}.country-name{font-weight:600}.country-code{background:#e0e7ff;border-radius:4px;color:#6366f1;font-family:Courier New,monospace;font-size:13px;padding:4px 8px}.category-badge{border-radius:20px;display:inline-block;font-size:12px;font-weight:600;padding:4px 12px;text-transform:capitalize}.rate-cell{font-weight:600}.modal-content.modal-large{max-width:700px}.delete-info .rate-info{color:#059669;font-family:Courier New,monospace;font-size:16px}.import-info{background:#f8fafc;border-radius:8px;color:#64748b;font-size:14px;margin-bottom:16px;padding:12px}.disabled-input.final-price{color:#059669!important;font-size:16px;font-weight:700}@media (max-width:1024px){.pricing-stats{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.page-header{align-items:flex-start;flex-direction:column;gap:16px}.header-actions{width:100%}.filters-section{flex-direction:column}.filter-group,.search-box{width:100%}.filter-group select{flex:1 1}.form-row,.pricing-stats{grid-template-columns:1fr}}.wallets-page{max-width:1400px}.wallet-stats{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(4,1fr);margin-bottom:24px}.stat-icon.total{background:linear-gradient(135deg,#8b5cf6,#6d28d9)}.stat-icon.balance{background:linear-gradient(135deg,#10b981,#059669)}.stat-icon.active{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.stat-icon.warning{background:linear-gradient(135deg,#f59e0b,#d97706)}.stat-value{font-size:24px}.balance-cell{color:#059669;font-family:Courier New,monospace;font-weight:600}.balance-cell.low{color:#dc2626}.free-tier-cell{color:#6366f1}.status-badge{display:inline-block}.status-badge.low{background:#fef3c7;color:#d97706}.status-badge.depleted{background:#fee2e2;color:#dc2626}.adjust-btn,.txn-btn,.view-btn{border:none;border-radius:6px;cursor:pointer;font-size:12px;font-weight:600;padding:6px 12px;transition:all .2s}.view-btn{background:#e0e7ff;color:#4f46e5}.view-btn:hover{background:#4f46e5}.adjust-btn{background:#dcfce7;color:#16a34a}.adjust-btn:hover{background:#16a34a;color:#fff}.txn-btn{background:#fef3c7;color:#d97706}.txn-btn:hover{background:#d97706;color:#fff}.edit-btn{background:#fce7f3;border:none;color:#db2777}.edit-btn:hover{background:#db2777}.modal-content.modal-large{max-width:900px}.modal-body{max-height:calc(90vh - 140px)}.detail-card{align-items:center;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:12px;display:flex;gap:16px;margin-bottom:24px;padding:20px}.detail-card h3{color:#1e293b;flex:1 1;font-size:18px;margin:0}.detail-grid{grid-gap:16px;gap:16px}.detail-item{background:#f8fafc;border-radius:8px;padding:16px}.detail-item label{color:#64748b;display:block;font-size:12px;font-weight:600;margin-bottom:4px;text-transform:uppercase}.detail-item span{color:#1e293b;font-size:16px;font-weight:500}.detail-item .balance-value{color:#059669;font-size:20px;font-weight:700}.detail-actions{gap:12px;justify-content:flex-end}.current-balance,.preview-balance{align-items:center;background:#f8fafc;border-radius:8px;display:flex;justify-content:space-between;margin-bottom:20px;padding:16px}.current-balance span,.preview-balance span{color:#64748b}.current-balance strong,.preview-balance strong{color:#1e293b;font-size:18px}.preview-balance strong.positive{color:#059669}.preview-balance strong.negative{color:#dc2626}.info-text{font-size:14px;font-style:italic}.transactions-list{overflow-x:auto}.transactions-table{border-collapse:collapse;width:100%}.transactions-table th{background:#f8fafc;border-bottom:2px solid #e2e8f0;color:#64748b;font-size:12px;font-weight:600;padding:12px;text-align:left;text-transform:uppercase}.transactions-table td{border-bottom:1px solid #f1f5f9;font-size:13px;padding:12px}.txn-badge{border-radius:4px;display:inline-block;font-size:11px;font-weight:600;padding:4px 8px;text-transform:uppercase}.amount-cell{font-family:Courier New,monospace;font-weight:600}.amount-cell.positive{color:#059669}.amount-cell.negative{color:#dc2626}.description-cell{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:1024px){.wallet-stats{grid-template-columns:repeat(2,1fr)}.detail-grid{grid-template-columns:1fr}}@media (max-width:768px){.page-header{align-items:flex-start;gap:16px}.filters-section,.page-header{flex-direction:column}.filter-group,.search-box{width:100%}.filter-group select{flex:1 1}.wallet-stats{grid-template-columns:1fr}}.wallet-info-header{background:#f0f9ff;border-radius:8px;color:#0369a1;margin-bottom:20px;padding:12px 16px}.form-help{color:#64748b;display:block;font-size:12px;margin-top:6px}.checkbox-label{align-items:center;cursor:pointer;display:flex;font-weight:400!important;gap:10px}.checkbox-label input[type=checkbox]{cursor:pointer;height:18px;width:18px}.checkbox-label span{color:#334155;font-size:14px}.settings-page{max-width:1200px}.loading{font-size:15px}.settings-sections{display:flex;flex-direction:column;gap:24px;margin-bottom:30px}.settings-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000d;overflow:hidden}.card-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:20px 24px}.card-header h2{color:#1e293b;font-size:18px;font-weight:600;margin:0 0 4px}.card-header p{color:#64748b;font-size:14px;margin:0}.card-body{padding:24px}.form-row{grid-gap:20px;gap:20px;grid-template-columns:repeat(2,1fr);margin-bottom:20px}.form-row:last-child{margin-bottom:0}.form-group{display:flex;flex-direction:column}.form-group input,.form-group select{border:1px solid #cbd5e1;border-radius:8px;font-size:14px;padding:10px 14px;transition:all .2s}.form-group input:focus,.form-group select:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.form-group small{color:#64748b;font-size:12px;margin-top:6px}.info-box{background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;color:#0369a1;font-size:13px;line-height:1.5;margin-top:16px;padding:14px 16px}.info-box strong{color:#0c4a6e}.category-checkboxes{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:flex;flex-wrap:wrap;gap:16px;padding:12px}.checkbox-item{color:#475569;cursor:pointer;font-size:14px;gap:8px}.checkbox-item input[type=checkbox]{accent-color:#667eea;height:18px;width:18px}.summary-card{background:linear-gradient(135deg,#667eea,#764ba2)}.summary-card .card-header{background:#0000;border-bottom:1px solid #fff3}.summary-card .card-header h2{color:#fff}.summary-card .card-body{padding:20px 24px}.summary-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(4,1fr)}.summary-item{text-align:center}.summary-label{color:#fffc;display:block;font-size:12px;margin-bottom:6px}.summary-value{color:#fff;display:block;font-size:20px;font-weight:700}.form-actions{display:flex;gap:12px;justify-content:flex-end;padding:20px 0}.btn-primary{padding:12px 28px}.btn-primary:disabled{cursor:not-allowed;opacity:.6}.btn-secondary{padding:12px 28px}@media (max-width:1024px){.summary-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){.form-row,.summary-grid{grid-template-columns:1fr}.form-actions{flex-direction:column}.form-actions button{width:100%}}.ai-pricing-page{max-width:1400px}.tabs-container{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000d;display:flex;gap:8px;margin-bottom:24px;padding:8px}.tab-btn{background:#0000;border:none;border-radius:8px;color:#64748b;cursor:pointer;font-size:14px;font-weight:600;padding:12px 24px;transition:all .2s}.tab-btn:hover{background:#f1f5f9;color:#1e293b}.tab-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.pricing-stats{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(4,1fr);margin-bottom:24px}.stat-icon.plans{background:linear-gradient(135deg,#667eea,#764ba2)}.stat-icon.orgs{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.stat-icon.ivr{background:linear-gradient(135deg,#10b981,#059669)}.stat-icon.compliance{background:linear-gradient(135deg,#f59e0b,#d97706)}.plan-name{align-items:center;display:flex;gap:8px}.plan-desc{color:#64748b;font-size:12px;margin-top:4px}.badge-default{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff;font-size:10px;font-weight:600;padding:2px 8px;text-transform:uppercase}.rate-cell{color:#059669;font-family:Courier New,monospace;font-size:13px}.status-badge{border-radius:20px}.status-badge.active{background:#dcfce7;color:#16a34a}.status-badge.inactive{background:#fee;color:#dc2626}.org-slug{color:#64748b;font-size:12px}.text-muted{color:#94a3b8}.ivr-badge{border-radius:20px;font-size:12px;font-weight:600;padding:4px 12px}.ivr-badge.none{background:#f3f4f6;color:#6b7280}.ivr-badge.twilio{background:#dbeafe;color:#2563eb}.ivr-badge.exotel{background:#fef3c7;color:#d97706}.compliance-badges{display:flex;flex-wrap:wrap;gap:4px}.mini-badge{border-radius:4px;font-size:10px;font-weight:600;padding:2px 6px}.mini-badge.hipaa{background:#dbeafe;color:#2563eb}.mini-badge.gdpr{background:#dcfce7;color:#16a34a}.mini-badge.soc2{background:#fef3c7;color:#d97706}.edit-btn.full-width{margin-top:16px;width:100%}.compliance-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(3,1fr)}.compliance-card{background:#fff;border:2px solid #0000;border-radius:12px;box-shadow:0 1px 3px #0000000d;padding:24px;transition:all .2s}.compliance-card.certified{border-color:#10b981}.cert-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.cert-header h3{color:#1e293b;font-size:18px;font-weight:700;margin:0}.cert-status{border-radius:20px;font-size:12px;font-weight:600;padding:4px 12px}.cert-status.certified{background:#dcfce7;color:#16a34a}.cert-status.not-certified{background:#f3f4f6;color:#6b7280}.cert-details{background:#f8fafc;border-radius:8px;margin-bottom:16px;padding:12px}.cert-details p{color:#64748b;font-size:13px;margin:0 0 8px}.cert-details p:last-child{margin-bottom:0}.section-title{border-bottom:1px solid #e2e8f0;color:#475569;font-size:14px;font-weight:600;margin:20px 0 12px;padding-bottom:8px}.form-group{margin-bottom:16px}.form-row.three-col{grid-template-columns:1fr 1fr 1fr}.btn-secondary{border-radius:8px;padding:10px 24px}.btn-secondary:hover:not(:disabled){background:#e2e8f0}.provider-badge{border-radius:20px;font-size:12px;font-weight:600;padding:4px 12px;text-transform:capitalize}.provider-badge.twilio{background:#dbeafe;color:#2563eb}.provider-badge.exotel{background:#fef3c7;color:#d97706}.provider-badge.openai{background:#dcfce7;color:#16a34a}.provider-badge.anthropic{background:#fce7f3;color:#db2777}.provider-badge.google{background:#dbeafe;color:#2563eb}.provider-badge.deepseek{background:#e0e7ff;color:#4f46e5}.provider-badge.custom,.provider-badge.none{background:#f3f4f6;color:#6b7280}.mode-badge{border-radius:12px;font-size:11px;font-weight:600;padding:3px 10px;text-transform:uppercase}.mode-badge.text{background:#e0e7ff;color:#4f46e5}.mode-badge.image{background:#fce7f3;color:#db2777}.mode-badge.audio{background:#dcfce7;color:#16a34a}.mode-badge.file{background:#fef3c7;color:#d97706}.direction-badge{border-radius:12px;font-size:11px;font-weight:600;padding:3px 10px;text-transform:uppercase}.direction-badge.inbound{background:#dcfce7;color:#16a34a}.direction-badge.outbound{background:#dbeafe;color:#2563eb}.stat-icon.voice{background:linear-gradient(135deg,#8b5cf6,#6d28d9)}.stat-icon.llm{background:linear-gradient(135deg,#ec4899,#db2777)}.stat-icon.org{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.model-name{color:#1e293b;font-weight:600}.model-name .display-name{font-size:14px}.model-name .code-name{color:#64748b;font-family:Courier New,monospace;font-size:11px;margin-top:2px}.rate-cell .final{color:#059669;font-weight:700}.rate-cell .cost{color:#94a3b8;font-size:11px}.checkbox-row{gap:24px;margin-top:8px}.checkbox-row label{align-items:center;color:#334155;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px}.checkbox-row input[type=checkbox]{accent-color:#667eea;cursor:pointer;height:18px;width:18px}.disabled-input{cursor:not-allowed!important}.country-cell{display:flex;flex-direction:column}.country-cell .country-name{color:#1e293b;font-weight:600}.country-cell .country-code{color:#64748b;font-family:Courier New,monospace;font-size:11px}.token-pricing{display:flex;flex-direction:column;gap:4px}.token-pricing .input-price,.token-pricing .output-price{display:flex;font-size:12px;justify-content:space-between}.token-pricing .label{color:#64748b}.token-pricing .value{color:#059669;font-family:Courier New,monospace;font-weight:600}.voice-rates-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(2,1fr)}.voice-rate-card{background:#fff;border:2px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0000000d;padding:24px;transition:all .2s}.voice-rate-card:hover{border-color:#667eea}.voice-rate-card h3{align-items:center;color:#1e293b;display:flex;font-size:18px;font-weight:700;gap:12px;margin:0 0 16px}.voice-rate-card .pricing-details{display:flex;flex-direction:column;gap:12px}.voice-rate-card .price-row{align-items:center;background:#f8fafc;border-radius:8px;display:flex;justify-content:space-between;padding:8px 12px}.voice-rate-card .price-row .label{color:#64748b;font-size:13px}.voice-rate-card .price-row .value{font-family:Courier New,monospace;font-weight:600}.voice-rate-card .price-row .value.cost{color:#64748b}.voice-rate-card .price-row .value.markup{color:#f59e0b}.voice-rate-card .price-row .value.final{color:#059669;font-size:16px}.info-text{color:#64748b;font-size:12px;margin-top:4px}.empty-state{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000d;padding:60px 20px;text-align:center}.empty-state h3{color:#475569;font-size:18px;margin:0 0 8px}.empty-state p{color:#94a3b8;font-size:14px;margin:0}.discount-badge{background:linear-gradient(135deg,#10b981,#059669);border-radius:12px;color:#fff;font-size:12px;font-weight:600;padding:4px 10px}@media (max-width:1024px){.compliance-grid,.pricing-stats{grid-template-columns:repeat(2,1fr)}.voice-rates-grid{grid-template-columns:1fr}}@media (max-width:768px){.page-header{align-items:flex-start;flex-direction:column;gap:16px}.tabs-container{flex-wrap:wrap}.filters-section{flex-direction:column}.filter-group,.search-box{width:100%}.filter-group select{flex:1 1}.compliance-grid,.form-row,.form-row.three-col,.pricing-stats{grid-template-columns:1fr}.checkbox-row{flex-direction:column;gap:12px}}.templates-page{max-width:1400px}.add-icon{height:20px;width:20px}.template-name{align-items:center;color:#1e293b;display:flex;font-weight:600;gap:8px}.template-desc{color:#64748b;font-size:12px;margin-top:4px}.default-badge{background:#fef3c7;border-radius:4px;color:#d97706;font-size:11px;font-weight:600;padding:2px 8px}.model-cell{color:#64748b;font-size:13px}.scope-badge{border-radius:6px;font-size:12px;font-weight:600;padding:4px 10px}.scope-badge.global{background:#dcfce7;color:#16a34a}.scope-badge.organization{background:#e0e7ff;color:#4f46e5}.org-name{color:#64748b;font-size:11px;margin-top:4px}.usage-count{background:#f1f5f9;border-radius:12px;color:#475569;padding:4px 10px}.status-badge,.usage-count{font-size:12px;font-weight:600}.status-badge{border-radius:6px;padding:4px 12px}.status-badge.active{background:#dbeafe;color:#2563eb}.status-badge.inactive{background:#f3f4f6;color:#6b7280}.date-cell{white-space:nowrap}.action-buttons{gap:6px}.test-btn{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:6px;color:#16a34a;cursor:pointer;font-size:12px;font-weight:600;padding:6px 12px;transition:all .2s}.test-btn:hover{background:#16a34a;color:#fff}.assign-btn{background:#fef3c7;border:1px solid #fde68a;color:#d97706;font-size:12px;padding:6px 12px}.assign-btn:hover{background:#d97706}.delete-btn,.edit-btn{font-size:12px;padding:6px 12px}.modal-overlay{background:#00000080}.modal{background:#fff;border-radius:16px;box-shadow:0 20px 40px #0003;max-height:90vh;max-width:500px;overflow-y:auto;width:100%}.modal.modal-large{max-width:640px}.modal.test-modal{max-width:600px}.modal.confirm-modal{max-width:400px}.modal-header{padding:20px 24px}.close-btn{background:none;border:none;color:#94a3b8;cursor:pointer;font-size:28px;line-height:1}.close-btn:hover{color:#64748b}.modal-footer{padding:16px 24px}.label-row{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.label-row label{margin-bottom:0}.load-default-btn{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:6px;color:#16a34a;cursor:pointer;font-size:12px;font-weight:600;padding:4px 12px;transition:all .2s}.load-default-btn:hover{background:#16a34a;color:#fff}.form-group label{color:#475569}.form-group input,.form-group select,.form-group textarea{border:1px solid #e2e8f0;color:#1e293b}.form-group textarea{min-height:80px;resize:vertical}.tools-grid{grid-gap:8px;display:grid;gap:8px;grid-template-columns:1fr 1fr}.tool-checkbox{align-items:flex-start;background:#fafafa;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;display:flex;gap:8px;padding:8px 10px;transition:all .2s}.tool-checkbox.enabled{background:#f0f0ff;border-color:#667eea}.tool-checkbox:hover{border-color:#667eea}.tool-checkbox input[type=checkbox]{flex-shrink:0;height:16px;margin-top:2px;width:16px}.tool-info{display:flex;flex-direction:column;gap:2px;min-width:0}.tool-name{color:#1e293b;font-family:Courier New,monospace;font-size:12px;font-weight:600}.tool-desc{color:#94a3b8;font-size:11px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-tools-list{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.custom-tool-card{background:#fafafa;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.custom-tool-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:6px}.custom-tool-title{align-items:center;display:flex;gap:8px}.custom-tool-name{color:#1e293b;font-family:Courier New,monospace;font-size:13px;font-weight:600}.custom-tool-method{background:#e0e7ff;border-radius:4px;color:#4f46e5;font-size:10px;font-weight:700;padding:2px 8px;text-transform:uppercase}.custom-tool-actions{display:flex;gap:6px}.ct-edit-btn,.ct-remove-btn{border:1px solid;border-radius:4px;cursor:pointer;font-size:11px;font-weight:600;padding:3px 10px}.ct-edit-btn{background:#f0f0ff;border-color:#c7d2fe;color:#4f46e5}.ct-edit-btn:hover{background:#4f46e5;color:#fff}.ct-remove-btn{background:#fff5f5;border-color:#fcc;color:#dc2626}.ct-remove-btn:hover{background:#dc2626;color:#fff}.custom-tool-desc{color:#64748b;font-size:12px;margin-bottom:4px}.custom-tool-url{color:#94a3b8;font-family:Courier New,monospace;font-size:11px;word-break:break-all}.custom-tool-params{color:#94a3b8;font-size:11px;margin-top:4px}.custom-tool-form{background:#fafaff;border:2px solid #667eea;border-radius:10px;margin:12px 0;padding:16px}.custom-tool-form h4{color:#4f46e5;font-size:15px;font-weight:600;margin:0 0 16px}.custom-tool-form .form-group{margin-bottom:14px}.custom-tool-form-actions{border-top:1px solid #e2e8f0;display:flex;gap:8px;justify-content:flex-end;margin-top:16px;padding-top:12px}.no-params-hint{border:1px dashed #e2e8f0;border-radius:6px;color:#94a3b8;font-size:12px;padding:12px;text-align:center}.param-row{align-items:center;display:flex;gap:6px;margin-bottom:6px}.param-name-input{flex-shrink:0;font-family:Courier New,monospace;font-size:13px!important;width:130px!important}.param-type-select{flex-shrink:0;width:90px!important}.param-desc-input{flex:1 1;min-width:0}.param-required{align-items:center;color:#64748b!important;cursor:pointer;display:flex!important;font-size:11px!important;font-weight:600!important;gap:4px;margin-bottom:0!important;white-space:nowrap}.param-required input[type=checkbox]{height:14px;width:14px!important}.param-remove-btn{background:none;border:none;color:#dc2626;cursor:pointer;flex-shrink:0;font-size:18px;line-height:1;padding:0 4px}.param-remove-btn:hover{color:#991b1b}.checkbox-group label{align-items:center;display:flex;gap:8px}.field-hint{color:#94a3b8}.field-error,.field-hint{display:block;font-size:12px;margin-top:4px}.field-error{color:#dc2626}.form-error{background:#fee;border-radius:8px;color:#dc2626;font-size:14px;margin-bottom:20px;padding:12px}.cancel-btn{background:#f1f5f9;border:none;border-radius:8px;color:#475569;font-size:14px;padding:10px 20px}.cancel-btn:hover{background:#e2e8f0}.submit-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:10px 20px;transition:all .2s}.submit-btn:hover:not(:disabled){box-shadow:0 4px 12px #667eea4d;transform:translateY(-1px)}.submit-btn:disabled{cursor:not-allowed;opacity:.6}.delete-confirm-btn{background:#dc2626;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:10px 20px;transition:all .2s}.delete-confirm-btn:hover:not(:disabled){background:#b91c1c}.delete-confirm-btn:disabled{cursor:not-allowed;opacity:.6}.warning{color:#dc2626;font-size:13px;margin-top:8px}.test-info{background:#f8fafc;border-radius:8px;display:flex;gap:20px;margin-bottom:20px;padding:12px 16px}.test-info span{color:#64748b;font-size:13px}.chat-container{background:#fafafa;border:1px solid #e2e8f0;border-radius:8px;display:flex;flex-direction:column;gap:12px;margin-bottom:16px;max-height:350px;min-height:250px;overflow-y:auto;padding:16px}.chat-placeholder{color:#94a3b8;font-size:14px;padding:40px 20px;text-align:center}.chat-message{border-radius:10px;max-width:85%;padding:10px 14px}.chat-message.user{align-self:flex-end;background:#667eea;border-bottom-right-radius:4px;color:#fff}.chat-message.assistant{align-self:flex-start;background:#fff;border:1px solid #e2e8f0;border-bottom-left-radius:4px;color:#1e293b}.chat-message.error{align-self:flex-start;background:#fee;border:1px solid #fcc;color:#dc2626}.message-role{font-size:11px;font-weight:600;letter-spacing:.5px;margin-bottom:4px;opacity:.7;text-transform:uppercase}.chat-message.user .message-role{color:#fffc}.message-content{word-wrap:break-word;font-size:14px;line-height:1.5;white-space:pre-wrap}.message-content.typing{color:#94a3b8;font-style:italic}.tool-calls{border-top:1px solid #e2e8f0;font-size:13px;margin-top:8px;padding-top:8px}.tool-calls-label{color:#475569;font-size:12px;font-weight:600;margin:0 0 6px}.tool-call{background:#f8fafc;border-radius:6px;margin:6px 0;padding:10px}.function-name{color:#4f46e5;font-weight:600}.tool-call pre{font-size:12px;margin:8px 0 0;overflow-x:auto}.usage-info{color:#94a3b8;font-size:11px;margin-top:8px}.test-input{display:flex;gap:8px}.test-input input{border:1px solid #e2e8f0;border-radius:8px;flex:1 1;font-size:14px;padding:12px 16px}.test-input input:focus{border-color:#667eea;outline:none}.test-input button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:12px 24px;transition:all .2s}.test-input button:hover:not(:disabled){transform:translateY(-1px)}.test-input button:disabled{cursor:not-allowed;opacity:.5}.assign-info{background:#f8fafc;border-radius:8px;color:#475569;margin-bottom:20px;padding:12px 16px}.channel-config-grid{grid-gap:10px;display:grid;gap:10px;grid-template-columns:1fr 1fr}.channel-config-card{background:#fafafa;border:1px solid #e2e8f0;border-radius:10px;padding:12px;transition:all .2s}.channel-config-card.enabled{background:#f8f8ff;border-color:#667eea}.channel-config-card.disabled{background:#f5f5f5;opacity:.6}.channel-config-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:6px}.channel-toggle{align-items:center;cursor:pointer;display:flex!important;gap:8px;margin-bottom:0!important}.channel-toggle input[type=checkbox]{height:16px;width:16px!important}.channel-label{color:#1e293b;font-size:13px;font-weight:600}.voice-badge{background:#fef3c7;border-radius:4px;color:#d97706;font-size:10px;font-weight:700;padding:2px 8px;text-transform:uppercase}.channel-config-desc{color:#94a3b8;font-size:11px;line-height:1.3;margin-bottom:8px}.channel-model-select{align-items:center;display:flex;gap:6px}.channel-model-select label{color:#64748b!important;font-size:12px!important;font-weight:600!important;margin-bottom:0!important;white-space:nowrap}.channel-model-select select{border-radius:6px!important;flex:1 1;font-size:12px!important;padding:6px 10px!important}.channels-cell{max-width:180px}.channel-badges{display:flex;flex-wrap:wrap;gap:4px}.channel-badge{background:#e0e7ff;border-radius:4px;color:#4f46e5;font-size:11px;font-weight:600;padding:2px 8px;text-transform:capitalize;white-space:nowrap}.test-channel-select{background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;font-size:12px;padding:4px 8px}.test-org-selector{align-items:center;background:#f8fafc;border-radius:8px;display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px;padding:8px 12px}.test-org-selector label{color:#475569;font-size:12px;font-weight:600;margin-bottom:0!important;white-space:nowrap}.test-org-selector select{background:#fff;border:1px solid #e2e8f0;border-radius:6px;font-size:12px;min-width:200px;padding:6px 10px}.org-hint{color:#f59e0b;font-size:11px;font-style:italic}.functions-executed{background:#ecfdf5;border:1px solid #a7f3d0;border-radius:6px;margin-top:6px;padding:8px}.tool-call.executed{background:#d1fae5;border-color:#6ee7b7}.tool-call.executed .function-name{color:#059669}.plans-page{max-width:1400px}.plan-name{font-weight:600}.plan-slug{background:#e0e7ff;border-radius:4px;color:#6366f1;padding:4px 8px}.plan-slug,.price-cell{font-family:Courier New,monospace;font-size:13px}.price-cell{color:#059669;font-weight:600}.price-cell .price-row{display:block;line-height:1.6}.modules-btn{background:#dcfce7;border:1px solid #bbf7d0;border-radius:6px;color:#16a34a;cursor:pointer;font-size:13px;font-weight:600;padding:6px 16px;transition:all .2s}.modules-btn:hover{background:#16a34a;color:#fff}.modal-content{max-width:600px}.form-row-3{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr 1fr}.checkbox-group{align-items:center;display:flex;gap:8px;margin-bottom:12px}.checkbox-group input[type=checkbox]{cursor:pointer;height:18px;width:18px}.checkbox-group label{color:#334155;cursor:pointer;font-size:14px;font-weight:500;margin-bottom:0}.module-config-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr;margin-top:16px}.module-config-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;display:flex;flex-direction:column;gap:10px;padding:16px}.module-config-item.enabled{background:#f5f3ff;border-color:#667eea}.module-config-header{align-items:center;display:flex;justify-content:space-between}.module-config-header label{color:#1e293b;font-size:14px;font-weight:600;margin-bottom:0}.module-config-header .toggle-switch{height:24px;position:relative;width:44px}.module-config-header .toggle-switch input{height:0;opacity:0;width:0}.module-config-header .toggle-slider{background-color:#cbd5e1;border-radius:24px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.3s}.module-config-header .toggle-slider:before{background-color:#fff;border-radius:50%;bottom:3px;content:"";height:18px;left:3px;position:absolute;transition:.3s;width:18px}.module-config-header .toggle-switch input:checked+.toggle-slider{background:linear-gradient(135deg,#667eea,#764ba2)}.module-config-header .toggle-switch input:checked+.toggle-slider:before{transform:translateX(20px)}.module-limit-input{align-items:center;display:flex;gap:8px}.module-limit-input label{color:#64748b;font-size:13px;margin-bottom:0;white-space:nowrap}.module-limit-input input{border:1px solid #cbd5e1;border-radius:6px;font-size:13px;padding:6px 10px;width:100px}.module-slug{color:#94a3b8;font-family:Courier New,monospace;font-size:12px}.features-list{display:flex;flex-direction:column;gap:8px}.feature-row{gap:8px}.feature-number,.feature-row{align-items:center;display:flex}.feature-number{background:#f1f5f9;border-radius:50%;color:#64748b;flex-shrink:0;font-size:11px;font-weight:600;height:24px;justify-content:center;width:24px}.feature-input{border:1px solid #e2e8f0;border-radius:8px;flex:1 1;font-size:13px;padding:8px 12px;transition:border-color .2s}.feature-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.feature-remove-btn{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:6px;color:#94a3b8;cursor:pointer;display:flex;flex-shrink:0;height:28px;justify-content:center;transition:all .2s;width:28px}.feature-remove-btn:hover{background:#fee2e2;border-color:#fecaca;color:#dc2626}.feature-add-btn{align-items:center;background:#0000;border:1px dashed #cbd5e1;border-radius:8px;color:#667eea;cursor:pointer;display:flex;font-size:13px;font-weight:500;gap:6px;margin-top:4px;padding:8px 14px;transition:all .2s;width:-webkit-fit-content;width:fit-content}.feature-add-btn:hover{background:#f5f3ff;border-color:#667eea}.disabled-input{background:#f1f5f9!important;color:#64748b!important;cursor:not-allowed}@media (max-width:1024px){.module-config-grid{grid-template-columns:1fr}}@media (max-width:768px){.page-header{align-items:flex-start;flex-direction:column;gap:16px}.header-actions{width:100%}.form-row,.form-row-3{grid-template-columns:1fr}}.coupons-page{max-width:1400px}.header-actions{display:flex;gap:12px}.add-button{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:10px;box-shadow:0 4px 12px #667eea4d;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:12px 24px;transition:all .3s}.add-button:hover{box-shadow:0 6px 16px #667eea66;transform:translateY(-2px)}.btn-secondary{align-items:center;background:#f1f5f9;border:none;border-radius:10px;color:#475569;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:8px;padding:12px 24px;transition:all .2s}.btn-secondary:hover{background:#e2e8f0}.coupon-code{background:#e0e7ff;border-radius:4px;color:#6366f1;font-family:Courier New,monospace;font-size:14px;font-weight:700;letter-spacing:1px;padding:4px 10px}.discount-cell{color:#059669;font-weight:600}.uses-cell{font-family:Courier New,monospace;font-size:13px}.edit-btn{background:#e0e7ff;border:1px solid #c7d2fe;border-radius:6px;color:#4f46e5;cursor:pointer;font-size:13px;font-weight:600;padding:6px 16px;transition:all .2s}.edit-btn:hover{background:#4f46e5;color:#fff}.view-btn{background:#dcfce7;border:1px solid #bbf7d0;border-radius:6px;color:#16a34a;cursor:pointer;font-size:13px;font-weight:600;padding:6px 16px;transition:all .2s}.view-btn:hover{background:#16a34a;color:#fff}.delete-btn{background:#fee;border:1px solid #fcc;border-radius:6px;color:#dc2626;cursor:pointer;font-size:13px;font-weight:600;padding:6px 16px;transition:all .2s}.delete-btn:hover{background:#dc2626;color:#fff}.modal-content.modal-large{max-width:800px}.checkbox-row{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:20px}.checkbox-item{align-items:center;display:flex;gap:6px}.checkbox-item input[type=checkbox]{cursor:pointer;height:16px;width:16px}.checkbox-item label{color:#334155;cursor:pointer;font-size:14px;font-weight:500;margin-bottom:0}.multi-select-group{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.multi-select-chip{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;color:#64748b;cursor:pointer;display:flex;font-size:13px;font-weight:500;gap:6px;padding:6px 12px;transition:all .2s}.multi-select-chip.selected{background:#e0e7ff;border-color:#c7d2fe;color:#4f46e5}.usage-list{max-height:400px;overflow-y:auto}.usage-item{align-items:center;border-bottom:1px solid #f1f5f9;display:flex;justify-content:space-between;padding:12px 16px}.usage-item:last-child{border-bottom:none}.usage-org{color:#1e293b;font-weight:600}.usage-date{color:#64748b;font-size:13px}.usage-amount{color:#059669;font-family:Courier New,monospace;font-weight:600}.no-usage{color:#94a3b8;font-size:14px;padding:40px 20px;text-align:center}@media (max-width:768px){.page-header{align-items:flex-start;flex-direction:column;gap:16px}.header-actions{width:100%}.filters-section{flex-direction:column}.filter-group,.search-box{width:100%}.filter-group select{flex:1 1}.form-row{grid-template-columns:1fr}}.subscribers-page{max-width:1400px}.page-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:30px}.page-header h1{color:#1e293b;font-size:28px;font-weight:700;margin:0 0 8px}.page-header p{color:#64748b;font-size:15px;margin:0}.error-alert{background:#fee;border:1px solid #fcc;border-radius:8px;color:#c33}.error-alert,.success-alert{margin-bottom:20px;padding:12px 16px}.success-alert{background:#dcfce7;border:1px solid #bbf7d0;border-radius:8px;color:#16a34a}.stats-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(4,1fr);margin-bottom:24px}.stat-card{background:#fff;box-shadow:0 1px 3px #0000000d;gap:16px;padding:20px}.stat-card,.stat-icon{align-items:center;border-radius:12px;display:flex}.stat-icon{height:48px;justify-content:center;width:48px}.stat-icon svg{color:#fff;height:24px;width:24px}.stat-icon.total{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.stat-icon.active{background:linear-gradient(135deg,#10b981,#059669)}.stat-icon.free{background:linear-gradient(135deg,#f59e0b,#d97706)}.stat-icon.revenue{background:linear-gradient(135deg,#8b5cf6,#6d28d9)}.stat-info{display:flex;flex-direction:column}.stat-value{color:#1e293b;font-size:28px;font-weight:700}.stat-label{color:#64748b;font-size:13px;font-weight:500}.filters-section{align-items:center;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000d;display:flex;flex-wrap:wrap;gap:16px;margin-bottom:24px;padding:20px}.search-box{flex:1 1;min-width:300px}.search-box input{border:1px solid #e2e8f0;border-radius:8px;font-size:14px;padding:10px 16px;width:100%}.search-box input:focus{border-color:#667eea;outline:none}.filter-group{display:flex;gap:12px}.filter-group select{background:#fff;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;font-size:14px;min-width:160px;padding:10px 16px}.filter-group select:focus{border-color:#667eea;outline:none}.loading{color:#64748b;font-size:16px;padding:60px 20px;text-align:center}.table-container{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000d;margin-bottom:24px;overflow-x:auto}.data-table{border-collapse:collapse;width:100%}.data-table thead{background:#f8fafc}.data-table th{border-bottom:2px solid #e2e8f0;color:#475569;font-size:13px;font-weight:600;letter-spacing:.5px;padding:14px 16px;text-align:left;text-transform:uppercase;white-space:nowrap}.data-table td{border-bottom:1px solid #f1f5f9;color:#1e293b;font-size:14px;padding:16px}.data-table tbody tr:hover{background:#f8fafc}.data-table tbody tr.clickable-row{cursor:pointer}.data-table tbody tr.clickable-row:hover{background:#eef2ff}.org-name{font-weight:600}.org-email{color:#64748b;font-size:12px}.date-cell{color:#64748b;font-size:13px}.no-data{color:#94a3b8;font-size:15px;padding:60px 20px;text-align:center}.badge{border-radius:20px;display:inline-block;font-size:12px;font-weight:600;padding:4px 12px;text-transform:capitalize}.badge-green{background:#dcfce7;color:#16a34a}.badge-gray{background:#f3f4f6;color:#6b7280}.badge-blue{background:#dbeafe;color:#2563eb}.badge-purple{background:#ede9fe;color:#7c3aed}.badge-orange{background:#ffedd5;color:#ea580c}.badge-red{background:#fee2e2;color:#dc2626}.badge-yellow{background:#fef3c7;color:#d97706}.action-buttons{display:flex;flex-wrap:wrap;gap:8px}.assign-btn{background:#e0e7ff;border:1px solid #c7d2fe;border-radius:6px;color:#4f46e5;cursor:pointer;font-size:13px;font-weight:600;padding:6px 16px;transition:all .2s}.assign-btn:hover{background:#4f46e5;color:#fff}.extend-btn{background:#dcfce7;border:1px solid #bbf7d0;border-radius:6px;color:#16a34a;cursor:pointer;font-size:13px;font-weight:600;padding:6px 16px;transition:all .2s}.extend-btn:hover{background:#16a34a;color:#fff}.cancel-btn{background:#fee;border:1px solid #fcc;border-radius:6px;color:#dc2626;cursor:pointer;font-size:13px;font-weight:600;padding:6px 16px;transition:all .2s}.cancel-btn:hover{background:#dc2626;color:#fff}.overrides-btn{background:#fef3c7;border:1px solid #fde68a;border-radius:6px;color:#d97706;cursor:pointer;font-size:13px;font-weight:600;padding:6px 16px;transition:all .2s}.overrides-btn:hover{background:#d97706;color:#fff}.pagination{align-items:center;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000d;display:flex;gap:20px;justify-content:center;padding:20px}.pagination button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:8px 20px;transition:all .3s}.pagination button:hover:not(:disabled){box-shadow:0 4px 12px #667eea4d;transform:translateY(-2px)}.pagination button:disabled{cursor:not-allowed;opacity:.4}.page-info{color:#64748b;font-size:14px}.modal-overlay{align-items:center;background:#0009;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;max-height:90vh;max-width:650px;width:100%}.modal-content.modal-small{max-width:450px}.modal-content.modal-large{max-width:850px}.modal-header{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:24px}.modal-header h2{color:#1e293b;font-size:20px;font-weight:600;margin:0}.modal-close{align-items:center;background:none;border:none;border-radius:4px;color:#94a3b8;cursor:pointer;display:flex;font-size:28px;height:32px;justify-content:center;padding:0;transition:all .2s;width:32px}.modal-close:hover{background:#f1f5f9;color:#1e293b}.modal-body{overflow-y:auto;padding:24px}.modal-footer{border-top:1px solid #e2e8f0;display:flex;gap:12px;justify-content:flex-end;padding:20px 24px}.form-group{margin-bottom:20px}.form-group label{color:#334155;display:block;font-size:14px;font-weight:600;margin-bottom:8px}.form-group input,.form-group select,.form-group textarea{border:1px solid #cbd5e1;border-radius:8px;box-sizing:border-box;font-size:14px;padding:10px 14px;transition:all .2s;width:100%}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.form-row{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:14px;font-weight:600;padding:10px 24px;transition:all .2s}.btn-primary:hover:not(:disabled){box-shadow:0 4px 12px #667eea4d;transform:translateY(-2px)}.btn-danger:disabled,.btn-primary:disabled,.btn-secondary:disabled{cursor:not-allowed;opacity:.6}.btn-danger,.modal-footer .btn-secondary{padding:10px 24px}.btn-danger{background:#fee2e2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;cursor:pointer;font-size:14px;font-weight:600;transition:all .2s}.btn-danger:hover:not(:disabled){background:#dc2626;color:#fff}.detail-panel{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000d;margin-bottom:24px}.detail-panel-header{align-items:center;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;padding:20px 24px}.detail-panel-header h2{color:#1e293b;font-size:18px;font-weight:600;margin:0}.back-btn{align-items:center;background:#f1f5f9;border:none;border-radius:8px;color:#475569;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:6px;padding:8px 16px;transition:all .2s}.back-btn:hover{background:#e2e8f0}.detail-body{padding:24px}.detail-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:1fr 1fr;margin-bottom:24px}.detail-item{display:flex;flex-direction:column;gap:4px}.detail-label{color:#64748b;font-size:13px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.detail-value{color:#1e293b;font-size:15px;font-weight:500}.usage-section{margin-top:24px}.usage-section h3{color:#1e293b;font-size:16px;font-weight:600;margin:0 0 16px}.usage-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr}.usage-item{background:#f8fafc;border-radius:10px;padding:16px}.usage-item-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.usage-item-name{color:#1e293b;font-size:14px;font-weight:600}.usage-item-count{color:#64748b;font-family:Courier New,monospace;font-size:13px}.usage-bar{background:#e2e8f0;border-radius:4px;height:8px;overflow:hidden;width:100%}.usage-bar-fill{border-radius:4px;height:100%;transition:width .3s ease}.usage-bar-fill.low{background:linear-gradient(135deg,#10b981,#059669)}.usage-bar-fill.medium{background:linear-gradient(135deg,#f59e0b,#d97706)}.usage-bar-fill.high{background:linear-gradient(135deg,#ef4444,#dc2626)}.override-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:1fr 1fr;margin-top:16px}.override-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:16px}.override-item label{color:#1e293b;display:block;font-size:14px;font-weight:600;margin-bottom:8px}.override-item input{border:1px solid #cbd5e1;border-radius:6px;box-sizing:border-box;font-size:14px;padding:8px 12px;width:100%}.override-item input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.override-item .module-slug{color:#94a3b8;display:block;font-family:Courier New,monospace;font-size:12px;margin-bottom:6px}.warning-text{color:#dc2626;font-size:13px;margin-top:12px}.delete-info{background:#f8fafc;border-radius:8px;margin:16px 0;padding:16px;text-align:center}.detail-actions{border-top:1px solid #e2e8f0;display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;padding-top:20px}@media (max-width:1024px){.stats-grid{grid-template-columns:repeat(2,1fr)}.override-grid,.usage-grid{grid-template-columns:1fr}}@media (max-width:768px){.page-header{align-items:flex-start;gap:16px}.filters-section,.page-header{flex-direction:column}.filter-group,.search-box{width:100%}.filter-group select{flex:1 1}.detail-grid,.form-row,.stats-grid{grid-template-columns:1fr}}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
/*# sourceMappingURL=main.4bdd6469.css.map*/