/* V2 Premium Custom Bot Dashboard Styles */

.cb-page-container {
    max-width: 100%;
    margin: 0 auto;
    animation: cbFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cbFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Overview Banner */
.cb-banner {
    position: relative;
    border-radius: 24px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(40, 16, 72, 0.75), rgba(20, 22, 50, 0.85));
    border: 1px solid rgba(139, 92, 246, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
    overflow: hidden;
}

.cb-banner-glow {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cb-banner-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
}

.cb-banner-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cb-banner-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #c4b5fd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.25);
}

.cb-banner-left h1 {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.cb-banner-left p {
    color: var(--text-muted);
    font-size: 13.5px;
}

.cb-banner-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cb-banner-pill {
    flex: 1 1 150px;
    min-width: 140px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cb-banner-pill .lbl {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.cb-banner-pill .val {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

/* Custom Bots Cards Grid */
.cb-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .cb-cards-grid {
        grid-template-columns: 1fr;
    }
}

.cb-grid-card {
    background: rgba(12, 13, 22, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border-radius: 22px;
    overflow: hidden;
}

.cb-grid-card .card-content {
    padding: 24px;
    position: relative;
    z-index: 2;
}

/* Color indicator stripes for status */
.cb-card-stripe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    transition: background 0.3s;
}

.cb-card-stripe.stripe-online {
    background: linear-gradient(90deg, var(--accent-emerald), #34d399, transparent);
}

.cb-card-stripe.stripe-offline {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05), transparent);
}

.cb-card-stripe.stripe-maintenance {
    background: linear-gradient(90deg, var(--accent-amber), #fbbf24, transparent);
}

.cb-card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 14px;
}

.cb-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.cb-card-name {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.cb-card-id {
    font-family: monospace;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.cb-card-plan-badge {
    font-size: 9px;
    font-weight: 900;
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cb-card-status-badge {
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
    display: inline-block;
}

.cb-card-status-badge.status-online {
    color: var(--accent-emerald);
}

.cb-card-status-badge.status-offline {
    color: var(--text-muted);
}

.cb-card-status-badge.status-maintenance {
    color: var(--accent-amber);
}

.cb-card-server-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 10px 14px;
    margin-bottom: 18px;
}

.cb-card-server-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
}

.cb-card-server-texts {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cb-card-server-texts strong {
    font-size: 12.5px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cb-card-server-texts span {
    font-size: 11px;
    color: var(--text-muted);
}

.cb-card-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 16px;
}

.cb-card-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cb-card-stat .label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 4px;
}

.cb-card-stat .value {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
}

.cb-card-actions {
    display: flex;
    gap: 8px;
}

.cb-card-actions button {
    flex: 1;
}

/* Tab Navigation - Glassmorphic Unified Navbar */
.cb-tabs-navbar {
    display: flex;
    gap: 6px;
    margin-bottom: 24px;
    background: rgba(13, 10, 24, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cb-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-family: inherit;
}

.cb-tab-btn i {
    font-size: 14px;
    transition: transform 0.3s;
}

.cb-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
}

.cb-tab-btn:hover i {
    transform: scale(1.1);
}

.cb-tab-btn.active {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.25);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cb-tab-btn.active i {
    color: #a78bfa;
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.5);
}

/* Stat Cards inside detailed tabs */
.cb-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.cb-stat-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.cb-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cb-stat-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.cb-stat-value {
    font-size: 24px;
    font-weight: 850;
    color: #fff;
    font-family: var(--font-display);
    letter-spacing: -0.5px;
}

.cb-stat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
}

.glow-card:hover .cb-stat-icon-wrap {
    transform: scale(1.08) rotate(5deg);
}

.cb-stat-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Utility Colors for Icons */
.icon-emerald { color: var(--accent-emerald) !important; background: rgba(16, 185, 129, 0.1) !important; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2); }
.icon-purple { color: var(--accent-purple) !important; background: rgba(139, 92, 246, 0.1) !important; box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2); }
.icon-amber { color: var(--accent-amber) !important; background: rgba(251, 191, 36, 0.1) !important; box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2); }
.icon-cyan { color: var(--accent-cyan) !important; background: rgba(34, 211, 238, 0.1) !important; box-shadow: 0 4px 15px rgba(34, 211, 238, 0.2); }
.icon-rose { color: var(--accent-rose) !important; background: rgba(244, 63, 94, 0.1) !important; box-shadow: 0 4px 15px rgba(244, 63, 94, 0.2); }

/* Unified Grid columns */
.cb-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
}

@media (max-width: 992px) {
    .cb-content-grid {
        grid-template-columns: 1fr;
    }
}

/* Dashboard Card Headers */
.cb-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.cb-card-header h3 {
    font-size: 15.5px;
    font-weight: 850;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    letter-spacing: -0.2px;
}

.cb-card-header h3 i {
    color: var(--accent-purple);
    font-size: 16px;
    text-shadow: 0 0 8px rgba(139, 92, 246, 0.4);
}

.cb-status-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-emerald);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.cb-status-badge.offline {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    border-color: rgba(255, 255, 255, 0.08);
}

/* Control Buttons styling */
.cb-buttons-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cb-btn {
    height: 46px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13.5px;
    font-family: inherit;
}

.cb-btn:hover {
    transform: translateY(-2px);
}

.cb-btn-start {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
    color: #34d399;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.05);
}

.cb-btn-start:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.08));
    border-color: var(--accent-emerald);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3), 0 8px 25px rgba(16, 185, 129, 0.15);
}

.cb-btn-stop {
    background: rgba(244, 63, 94, 0.08);
    border-color: rgba(244, 63, 94, 0.25);
    color: #f87171;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.05);
}

.cb-btn-stop:hover {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.2), rgba(244, 63, 94, 0.08));
    border-color: var(--accent-rose);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.35), 0 8px 25px rgba(244, 63, 94, 0.15);
}

.cb-btn-restart {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.25);
    color: #fbbf24;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.05);
}

.cb-btn-restart:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.08));
    border-color: var(--accent-amber);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.3), 0 8px 25px rgba(251, 191, 36, 0.15);
}

.cb-btn-save {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.25);
    color: #fbbf24;
}

.cb-btn-save:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.08));
    border-color: var(--accent-amber);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.3), 0 8px 25px rgba(251, 191, 36, 0.15);
}

.cb-btn-sync {
    background: rgba(155, 109, 255, 0.08);
    border-color: rgba(155, 109, 255, 0.25);
    color: #c4b5fd;
}

.cb-btn-sync:hover {
    background: linear-gradient(135deg, rgba(155, 109, 255, 0.2), rgba(155, 109, 255, 0.08));
    border-color: var(--accent-purple);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(155, 109, 255, 0.3), 0 8px 25px rgba(155, 109, 255, 0.15);
}

.cb-btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), #6d28d9);
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.cb-btn-primary:hover {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.cb-btn-cyan {
    background: linear-gradient(135deg, var(--accent-cyan), #0891b2);
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
}

.cb-btn-cyan:hover {
    background: linear-gradient(135deg, #22d3ee, #0e7490);
    box-shadow: 0 8px 20px rgba(34, 211, 238, 0.4);
}

.cb-btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
}

.cb-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Console Section */
.cb-console-download-btn {
    font-size: 11px;
    color: var(--accent-purple);
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    background: none;
    border: none;
}

.cb-console-download-btn:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(155, 109, 255, 0.5);
}

.cb-console-box {
    background: #040407 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    font-family: 'SF Mono', 'Fira Code', monospace !important;
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.6) !important;
    overflow-y: auto !important;
    height: 380px !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cb-console-box::-webkit-scrollbar {
    width: 6px;
}
.cb-console-box::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
.cb-console-box::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}
.cb-console-box::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.cb-console-box div {
    line-height: 1.5;
}

.cb-console-box .time-stamp {
    color: var(--accent-purple);
    margin-right: 6px;
}

.cb-console-box .log-tag {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    margin-right: 6px;
    display: inline-block;
}

.cb-console-box .log-info { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.cb-console-box .log-db { background: rgba(34, 211, 238, 0.15); color: var(--accent-cyan); }
.cb-console-box .log-warn { background: rgba(251, 191, 36, 0.15); color: var(--accent-amber); }
.cb-console-box .log-cmd { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.cb-console-box .log-input { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }

.cb-console-input-wrap {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
    align-items: center;
}

.cb-console-prompt {
    font-family: monospace;
    color: var(--accent-purple);
    font-size: 16px;
    font-weight: 700;
}

.cb-console-input {
    flex: 1;
    height: 38px;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    color: #fff !important;
    padding: 0 12px !important;
    font-family: 'SF Mono', monospace !important;
    font-size: 12.5px !important;
    outline: none !important;
    transition: all 0.3s !important;
}

.cb-console-input:focus {
    border-color: rgba(139, 92, 246, 0.5) !important;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.15) !important;
    background: rgba(0, 0, 0, 0.5) !important;
}

.cb-console-btn-send {
    height: 38px;
    padding: 0 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    color: #c4b5fd;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.cb-console-btn-send:hover {
    background: rgba(139, 92, 246, 0.2);
    color: #ffffff;
    border-color: var(--accent-purple);
}

/* Console Filter Pills */
.console-filter-btn {
    font-size: 10.5px;
    font-weight: 750;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: inherit;
}

.console-filter-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.12);
}

.console-filter-btn.active {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    color: #c4b5fd;
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.1);
}

/* Forms design overrides */
.cb-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.cb-form-group label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.cb-form-input {
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    color: white !important;
    font-size: 13.5px !important;
    outline: none !important;
    transition: all 0.3s !important;
    width: 100%;
}

.cb-form-input:focus {
    border-color: rgba(139, 92, 246, 0.5) !important;
    background: rgba(0, 0, 0, 0.5) !important;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15) !important;
}

.cb-form-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cb-select {
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    color: white !important;
    font-size: 13.5px !important;
    outline: none !important;
    transition: all 0.3s !important;
    width: 100%;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238b95a5' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.cb-select:focus {
    border-color: rgba(139, 92, 246, 0.5) !important;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.15) !important;
}

/* Avatar Upload area */
.cb-avatar-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1.5px dashed rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.01);
}

.cb-avatar-upload:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.04);
    transform: translateY(-2px);
}

.cb-avatar-preview {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    font-weight: 800;
    margin-bottom: 8px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    transition: transform 0.3s ease;
}

.cb-avatar-upload:hover .cb-avatar-preview {
    transform: scale(1.08) rotate(5deg);
}

.cb-avatar-upload span {
    font-size: 11px;
    font-weight: 750;
    color: var(--text-muted);
    text-align: center;
    transition: color 0.2s;
}

.cb-avatar-upload:hover span {
    color: #ffffff;
}

/* Team Section */
.cb-team-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cb-team-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    transition: all 0.25s;
}

.cb-team-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateX(3px);
}

.cb-role-tag {
    font-size: 9px;
    font-weight: 800;
    padding: 2.5px 7px;
    border-radius: 5px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.cb-role-owner {
    background: rgba(251, 191, 36, 0.12);
    color: var(--accent-amber);
    border: 1px solid rgba(251, 191, 36, 0.25);
}

.cb-role-admin {
    background: rgba(139, 92, 246, 0.12);
    color: var(--accent-purple);
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.cb-role-mod {
    background: rgba(34, 211, 238, 0.12);
    color: var(--accent-cyan);
    border: 1px solid rgba(34, 211, 238, 0.25);
}

.cb-role-viewer {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Modals */
.cb-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: cbFadeIn 0.25s ease;
}

.cb-modal-overlay.active {
    display: flex;
}

.cb-modal-card {
    background: #0d0f14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.cb-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cb-modal-header h3 {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.cb-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    transition: color 0.2s;
}

.cb-modal-close:hover {
    color: #fff;
}

.cb-modal-body {
    padding: 24px;
}

/* ==========================================================================
   Separated Styles from JS Templates
   ========================================================================== */

/* License Banner Elements */
.cb-license-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cb-license-header {
    font-size: 16px;
    font-weight: 900;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cb-license-badge {
    color: #fff;
    background: rgba(245,158,11,0.25);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid rgba(245,158,11,0.3);
    text-shadow: 0 0 8px rgba(245,158,11,0.25);
}
.cb-license-key-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.cb-license-key-lbl {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    font-weight: 800;
    text-transform: uppercase;
}
.cb-license-rest-val {
    border-left: 1px solid rgba(255,255,255,0.08);
    padding-left: 20px;
}
.cb-license-lifetime-badge {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #000;
    font-size: 12.5px;
    font-weight: 900;
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(245,158,11,0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Config Fullpage Elements */
.cb-config-header {
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(13,10,24,0.65);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 16px 24px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.cb-config-btn-back {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: 0.2s;
}
.cb-config-btn-back:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    transform: translateX(-2px);
}
.cb-config-title-wrap {
    flex: 1;
    margin-left: 16px;
}
.cb-config-title {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 20px;
    font-weight: 850;
    color: #fff;
    margin: 0;
}
.cb-config-title-badge {
    font-size: 11px;
    background: rgba(139,92,246,0.15);
    color: #c4b5fd;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 800;
    border: 1px solid rgba(139,92,246,0.25);
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 8px;
}
.cb-config-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
    margin-bottom: 0;
}
.cb-config-header-status {
    margin-right: 20px;
    font-size: 13px;
    font-weight: 700;
}
.cb-config-btn-save {
    margin-left: auto;
    height: 40px;
    padding: 0 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-purple, #8b5cf6), #6d28d9);
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(139,92,246,0.3);
}
.cb-config-btn-save:hover {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    box-shadow: 0 8px 20px rgba(139,92,246,0.4);
    transform: translateY(-2px);
}
.cb-config-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    margin-top: 24px;
}
@media (max-width: 992px) {
    .cb-config-layout {
        grid-template-columns: 1fr;
    }
}
.cb-config-panel-body {
    padding: 24px;
}
.cb-config-panel-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cb-config-row-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.cb-config-row-item-align-start {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 16px;
}
.cb-config-row-title {
    font-size: 14px;
    font-weight: 750;
    color: #fff;
}
.cb-config-row-desc {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}
.cb-config-control-wrap {
    width: 100%;
    max-width: 320px;
}
.cb-config-textarea {
    height: 100px;
    resize: none;
}
.cb-config-embed-fields {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 16px;
    margin-top: 16px;
}
.cb-config-embed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.cb-config-embed-lbl {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 800;
    margin-bottom: 6px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cb-config-color-picker-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
}
.cb-config-color-picker {
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    width: 38px;
    height: 38px;
    cursor: pointer;
    border-radius: 10px;
}
.cb-config-color-text {
    height: 38px;
    text-transform: uppercase;
    font-family: monospace;
}
.cb-config-thumb-input {
    height: 38px;
}

/* Discord Live Preview Mockup */
.cb-discord-preview-sticky {
    padding: 24px;
    position: sticky;
    top: 90px;
}
.cb-discord-mockup {
    background: #313338;
    border-radius: 12px;
    padding: 16px;
    font-family: 'Whitney', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    display: flex;
    gap: 16px;
    margin-top: 16px;
}
.cb-discord-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 15px;
    flex-shrink: 0;
}
.cb-discord-msg-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cb-discord-header {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.cb-discord-username {
    color: #fff;
    font-weight: 600;
    font-size: 14.5px;
}
.cb-discord-bot-tag {
    background: #5865F2;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.cb-discord-timestamp {
    color: #949ba4;
    font-size: 11.5px;
}
.cb-discord-text {
    color: #dbdee1;
    font-size: 14px;
    white-space: pre-wrap;
    word-break: break-word;
}
.cb-discord-embed {
    background: #2b2d31;
    border-radius: 4px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
    max-width: 520px;
    transition: border-color 0.2s;
}
.cb-discord-embed-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.cb-discord-embed-content {
    flex: 1;
    min-width: 0;
}
.cb-discord-embed-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}
.cb-discord-embed-desc {
    color: #dbdee1;
    font-size: 13.5px;
    margin-top: 6px;
    white-space: pre-wrap;
}
.cb-discord-embed-thumb {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}
.cb-discord-embed-footer {
    color: #949ba4;
    font-size: 11px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.cb-discord-btn-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}
.cb-discord-btn-success {
    background: #248046;
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 3px;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: not-allowed;
}
.cb-discord-btn-primary {
    background: #5865F2;
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 3px;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: not-allowed;
}
.cb-discord-preview-notice {
    margin-top: 16px;
    font-size: 11.5px;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

/* Modal refinements */
.cb-modal-header h3 i {
    color: var(--accent-purple);
    margin-right: 8px;
}
.cb-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}
.cb-modal-actions button {
    flex: 1;
}

/* Banner typography and sizing */
.cb-banner-eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}
.cb-banner-title {
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 30px;
    font-weight: 900;
    color: #fff;
    margin: 0;
    background: linear-gradient(135deg, #fff 40%, #c4b5fd 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cb-banner-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

/* Grid Empty States */
.cb-empty-state {
    grid-column: 1/-1;
    text-align: center;
    padding: 70px 40px;
    background: rgba(13, 17, 28, 0.45);
    border: 1px dashed rgba(155, 109, 255, 0.2);
    border-radius: 24px;
}
.cb-empty-state-icon {
    font-size: 50px;
    color: var(--accent-purple);
    margin-bottom: 16px;
    opacity: 0.7;
}
.cb-empty-state-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}
.cb-empty-state-desc {
    color: var(--text-muted);
    margin-top: 8px;
    font-size: 14px;
}
.cb-empty-state-btn {
    margin: 20px auto 0;
}

/* Bot Card Layout helper classes */
.cb-card-header-left {
    display: flex;
    gap: 14px;
    align-items: center;
    min-width: 0;
    flex: 1;
}
.cb-card-header-title-wrap {
    min-width: 0;
    flex: 1;
}
.cb-card-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

/* Modules tab empty state */
.cb-modules-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 20px;
    color: rgba(255,255,255,0.4);
}
.cb-modules-empty-icon {
    font-size: 60px;
    margin-bottom: 24px;
    opacity: 0.5;
}
.cb-modules-empty-title {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-display, 'Outfit', sans-serif);
}
.cb-modules-empty-desc {
    font-size: 14px;
    font-family: inherit;
    margin-top: 8px;
}

/* Details page elements */
.cb-bd-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 900;
    color: #fff;
}
.cb-btn-back-overview {
    height: 42px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    font-weight: 700;
}
.cb-console-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.cb-api-token-icon {
    color: var(--accent-amber);
    filter: drop-shadow(0 0 8px rgba(251,191,36,0.5));
}
.cb-settings-vertical-gap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cb-token-input-override {
    padding-left: 38px;
    padding-right: 45px !important;
}
.cb-token-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}
.cb-avatar-upload-profile {
    flex: 1;
    padding: 10px;
}
.cb-profile-fields-wrap {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cb-color-picker-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.cb-color-picker-input {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: none;
    cursor: pointer;
}
.cb-color-text-input {
    font-family: monospace;
    padding-left: 32px;
}
.cb-status-type-select {
    width: 120px;
    background-color: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 12px !important;
}

/* Team page elements */
.cb-team-member-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}
.cb-team-member-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}
.cb-team-member-name-row {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.cb-team-member-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}
.cb-team-member-id {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}
.cb-team-member-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    justify-content: flex-end;
}
.cb-team-member-remove-btn {
    background: none;
    border: none;
    color: var(--accent-rose);
    cursor: pointer;
    padding: 6px;
    transition: color 0.2s;
}
.cb-team-member-remove-btn:hover {
    color: #fff !important;
}

/* Console empty logs message */
.cb-console-empty-logs {
    color: var(--text-muted);
    text-align: center;
    padding: 20px;
}

/* Discord preview refinements */
.cb-discord-mention {
    color: #c9cdfb;
    background: rgba(88,101,242,0.15);
    padding: 0 4px;
    border-radius: 3px;
    font-weight: 500;
    cursor: pointer;
}

/* Utility Helpers */
.cb-no-margin-bottom {
    margin-bottom: 0 !important;
}
.cb-margin-bottom-24 {
    margin-bottom: 24px !important;
}
.cb-flex-gap-10 {
    display: flex;
    gap: 10px;
}
.cb-flex-1 {
    flex: 1 !important;
}
.cb-flex-1-min-0 {
    flex: 1;
    min-width: 0;
}
.cb-w-full {
    width: 100% !important;
}

/* Extra helper classes for layout overrides */
.cb-no-padding {
    padding: 0 !important;
}
.cb-text-muted {
    color: var(--text-muted) !important;
}
.cb-panel-header-margin {
    margin-bottom: 16px !important;
}
.cb-config-select-width {
    width: 200px !important;
}

/* ==========================================================================
   PREMIUM HOVER GLOW EFFECTS FOR METRIC CARDS
   ========================================================================== */

/* General Card border transition override for smooth feel */
.metric-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

/* 1. Status Card - Online (Emerald Green) */
.metric-card.status-card.online:hover {
    border-color: rgba(16, 185, 129, 0.3) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(16, 185, 129, 0.08) !important;
}
.metric-card.status-card.online .metric-glow {
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.15) 0%, transparent 75%) !important;
}
.metric-icon.status-online {
    background: rgba(16, 185, 129, 0.1) !important;
    color: #10b981 !important;
    transition: all 0.3s ease !important;
}
.metric-card.status-card.online:hover .metric-icon.status-online {
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.35) !important;
    background: rgba(16, 185, 129, 0.18) !important;
}

/* 2. Status Card - Maintenance (Amber Orange) */
.metric-card.status-card.maintenance:hover {
    border-color: rgba(245, 158, 11, 0.3) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(245, 158, 11, 0.08) !important;
}
.metric-card.status-card.maintenance .metric-glow {
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.15) 0%, transparent 75%) !important;
}
.metric-icon.status-maintenance {
    background: rgba(245, 158, 11, 0.1) !important;
    color: #f59e0b !important;
    transition: all 0.3s ease !important;
}
.metric-card.status-card.maintenance:hover .metric-icon.status-maintenance {
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.35) !important;
    background: rgba(245, 158, 11, 0.18) !important;
}

/* 3. Status Card - Offline (Rose Red) */
.metric-card.status-card.offline:hover {
    border-color: rgba(239, 68, 68, 0.3) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(239, 68, 68, 0.08) !important;
}
.metric-card.status-card.offline .metric-glow {
    background: radial-gradient(circle at center, rgba(239, 68, 68, 0.15) 0%, transparent 75%) !important;
}
.metric-icon.status-offline {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    transition: all 0.3s ease !important;
}
.metric-card.status-card.offline:hover .metric-icon.status-offline {
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.35) !important;
    background: rgba(239, 68, 68, 0.18) !important;
}

/* 4. Members Card - Discord Blue */
.metric-card.members:hover {
    border-color: rgba(88, 101, 242, 0.3) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(88, 101, 242, 0.08) !important;
}
.metric-card.members .metric-glow {
    background: radial-gradient(circle at center, rgba(88, 101, 242, 0.15) 0%, transparent 75%) !important;
}
.metric-card.members .metric-icon {
    background: rgba(88, 101, 242, 0.1) !important;
    color: #5865f2 !important;
    transition: all 0.3s ease !important;
}
.metric-card.members:hover .metric-icon {
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.35) !important;
    background: rgba(88, 101, 242, 0.18) !important;
}

/* 5. Latency Card (Voice) - Cyan/Sky Blue */
.metric-card.voice:hover {
    border-color: rgba(14, 165, 233, 0.3) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(14, 165, 233, 0.08) !important;
}
.metric-card.voice .metric-glow {
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.15) 0%, transparent 75%) !important;
}
.metric-card.voice .metric-icon {
    background: rgba(14, 165, 233, 0.1) !important;
    color: #0ea5e9 !important;
    transition: all 0.3s ease !important;
}
.metric-card.voice:hover .metric-icon {
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.35) !important;
    background: rgba(14, 165, 233, 0.18) !important;
}

/* 6. Uptime Card (Messages) - Purple */
.metric-card.messages:hover {
    border-color: rgba(139, 92, 246, 0.3) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(139, 92, 246, 0.08) !important;
}
.metric-card.messages .metric-glow {
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15) 0%, transparent 75%) !important;
}
.metric-card.messages .metric-icon {
    background: rgba(139, 92, 246, 0.1) !important;
    color: #a78bfa !important;
    transition: all 0.3s ease !important;
}
.metric-card.messages:hover .metric-icon {
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.35) !important;
    background: rgba(139, 92, 246, 0.18) !important;
}

/* Adjust standard metric-glow positioning to cover the card center smoothly */
.metric-card .metric-glow {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none;
}


/* ==========================================================================
   PREMIUM HOVER GLOW EFFECTS FOR ACTION CARDS
   ========================================================================== */

.bd-action-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}
.bd-action-card::after {
    transition: opacity 0.4s ease !important;
}

/* Disabled State Refinement */
.bd-action-card.disabled {
    opacity: 0.25 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.03) !important;
}
.bd-action-card.disabled i {
    filter: grayscale(1) opacity(0.5) !important;
    transform: none !important;
}

/* ac-start (Green) */
.bd-action-card.ac-start:not(.disabled):hover {
    border-color: rgba(16, 185, 129, 0.35) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.15) !important;
}
.bd-action-card.ac-start:not(.disabled):hover i {
    text-shadow: 0 0 12px rgba(16, 185, 129, 0.6) !important;
}
.bd-action-card.ac-start::after {
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.1) 0%, transparent 70%) !important;
}

/* ac-stop (Red) */
.bd-action-card.ac-stop:not(.disabled):hover {
    border-color: rgba(239, 68, 68, 0.35) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(239, 68, 68, 0.15) !important;
}
.bd-action-card.ac-stop:not(.disabled):hover i {
    text-shadow: 0 0 12px rgba(239, 68, 68, 0.6) !important;
}
.bd-action-card.ac-stop::after {
    background: radial-gradient(circle at center, rgba(239, 68, 68, 0.1) 0%, transparent 70%) !important;
}

/* ac-restart (Amber/Yellow) */
.bd-action-card.ac-restart:not(.disabled):hover {
    border-color: rgba(245, 158, 11, 0.35) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.15) !important;
}
.bd-action-card.ac-restart:not(.disabled):hover i {
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.6) !important;
}
.bd-action-card.ac-restart::after {
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.1) 0%, transparent 70%) !important;
}

/* ac-share-logs (Pink/Purple) */
.bd-action-card.ac-share-logs:not(.disabled):hover {
    border-color: rgba(236, 72, 153, 0.35) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(236, 72, 153, 0.15) !important;
}
.bd-action-card.ac-share-logs:not(.disabled):hover i {
    text-shadow: 0 0 12px rgba(236, 72, 153, 0.6) !important;
}
.bd-action-card.ac-share-logs::after {
    background: radial-gradient(circle at center, rgba(236, 72, 153, 0.1) 0%, transparent 70%) !important;
}

/* ==========================================================================
   SPECIAL COLOR STYLING FOR CUSTOM BADGE & LICENSE
   ========================================================================== */

.cb-badge-custom {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%) !important; /* Premium Cyan-Blue Gradient */
    color: #ffffff !important;
    border: 1px solid rgba(0, 242, 254, 0.4) !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4), inset 0 0 8px rgba(255, 255, 255, 0.2) !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6) !important;
}

.cb-license-badge-custom {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%) !important; /* Matching Premium Cyan-Blue Gradient */
    color: #ffffff !important;
    border: 1px solid rgba(0, 242, 254, 0.3) !important;
    font-weight: 800 !important;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.35) !important;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.5) !important;
}

/* ==========================================================================
   TIME OF DAY BANNER BACKGROUNDS FOR CUSTOM BOT BANNER
   ========================================================================== */

.cb-banner.morning {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.1) 30%, rgba(155, 109, 255, 0.08) 70%, transparent 100%) !important;
    border: 1px solid rgba(251, 191, 36, 0.35) !important;
}
.cb-banner.day {
    background: linear-gradient(135deg, rgba(155, 109, 255, 0.18) 0%, rgba(34, 211, 238, 0.12) 40%, rgba(16, 185, 129, 0.06) 80%, transparent 100%) !important;
    border: 1px solid rgba(155, 109, 255, 0.3) !important;
}
.cb-banner.evening {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(168, 85, 247, 0.15) 30%, rgba(236, 72, 153, 0.08) 70%, rgba(15, 23, 42, 0.5) 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.4) !important;
}



