/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-jwht0081nl] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-jwht0081nl] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-dp3yrzntvh],
.components-reconnect-repeated-attempt-visible[b-dp3yrzntvh],
.components-reconnect-failed-visible[b-dp3yrzntvh],
.components-pause-visible[b-dp3yrzntvh],
.components-resume-failed-visible[b-dp3yrzntvh],
.components-rejoining-animation[b-dp3yrzntvh] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-dp3yrzntvh],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-dp3yrzntvh],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-dp3yrzntvh],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-dp3yrzntvh],
#components-reconnect-modal.components-reconnect-retrying[b-dp3yrzntvh],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-dp3yrzntvh],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-dp3yrzntvh],
#components-reconnect-modal.components-reconnect-failed[b-dp3yrzntvh],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-dp3yrzntvh] {
    display: block;
}


#components-reconnect-modal[b-dp3yrzntvh] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-dp3yrzntvh 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-dp3yrzntvh 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-dp3yrzntvh 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-dp3yrzntvh]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-dp3yrzntvh 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-dp3yrzntvh {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-dp3yrzntvh {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-dp3yrzntvh {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-dp3yrzntvh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-dp3yrzntvh] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-dp3yrzntvh] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-dp3yrzntvh] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-dp3yrzntvh] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-dp3yrzntvh] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-dp3yrzntvh] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-dp3yrzntvh 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-dp3yrzntvh] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-dp3yrzntvh {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/AiAssistant.razor.rz.scp.css */
/* ==========================================================================
   AiAssistant.razor.css - ChumChat AI Assistant Premium UI Styling
   ========================================================================== */

.ai-assistant-page-wrapper[b-q04qat5vhv] {
    background-color: #f8fafc;
    min-height: 100vh;
    padding-bottom: 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ===== HERO HEADER ===== */
.ai-hero-header[b-q04qat5vhv] {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    border-radius: 16px;
    padding: 24px 28px;
    margin: 0 16px 24px 16px;
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.ai-hero-header[b-q04qat5vhv]::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    border-radius: 50%;
}

.ai-hero-content[b-q04qat5vhv] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.ai-hero-title-group h1[b-q04qat5vhv] {
    margin: 0 0 6px 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-hero-title-group p[b-q04qat5vhv] {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
}

.ai-hero-stats[b-q04qat5vhv] {
    display: flex;
    gap: 12px;
}

.stat-pill[b-q04qat5vhv] {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
}

.stat-value[b-q04qat5vhv] {
    font-size: 1.25rem;
    font-weight: 800;
    color: #38bdf8;
}

.stat-label[b-q04qat5vhv] {
    font-size: 11px;
    color: #cbd5e1;
    margin-top: 2px;
    font-weight: 600;
}

/* ===== GRID LAYOUT ===== */
.ai-dashboard-grid[b-q04qat5vhv] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 0 16px;
    max-width: 1440px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .ai-dashboard-grid[b-q04qat5vhv] {
        grid-template-columns: 1fr;
    }
}

/* ===== CARD STYLING ===== */
.premium-card[b-q04qat5vhv] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 24px;
}

.premium-card:hover[b-q04qat5vhv] {
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06);
}

.card-header-styled[b-q04qat5vhv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.card-header-title[b-q04qat5vhv] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-icon-badge[b-q04qat5vhv] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.card-header-styled h2[b-q04qat5vhv] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.card-header-desc[b-q04qat5vhv] {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

/* ===== PROVIDER TABS ===== */
.provider-pills-grid[b-q04qat5vhv] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 8px;
    margin-bottom: 18px;
}

.provider-pill-btn[b-q04qat5vhv] {
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.provider-pill-btn:hover[b-q04qat5vhv] {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.provider-pill-btn.active[b-q04qat5vhv] {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* ===== FORM CONTROLS ===== */
.styled-form-group[b-q04qat5vhv] {
    margin-bottom: 16px;
}

.styled-form-group label[b-q04qat5vhv] {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.styled-input[b-q04qat5vhv], .styled-select[b-q04qat5vhv] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 13px;
    color: #0f172a;
    background: #ffffff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.styled-input:focus[b-q04qat5vhv], .styled-select:focus[b-q04qat5vhv] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    background: #ffffff;
}

.styled-textarea[b-q04qat5vhv] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 13px;
    color: #0f172a;
    background: #ffffff;
    line-height: 1.5;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.styled-textarea:focus[b-q04qat5vhv] {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.styled-textarea.code-editor[b-q04qat5vhv] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12.5px;
    background: #fafafa;
    color: #1e293b;
    border-color: #cbd5e1;
}

/* ===== BUTTONS ===== */
.btn-primary-gradient[b-q04qat5vhv] {
    width: 100%;
    padding: 12px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary-gradient:hover[b-q04qat5vhv] {
    background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 100%);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.btn-success-gradient[b-q04qat5vhv] {
    padding: 10px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.btn-success-gradient:hover[b-q04qat5vhv] {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

/* ===== FAQ & RULES LIST ===== */
.faq-item-card[b-q04qat5vhv] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
    position: relative;
}

.faq-q-text[b-q04qat5vhv] {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.faq-a-text[b-q04qat5vhv] {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.4;
}

.btn-icon-del[b-q04qat5vhv] {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.btn-icon-del:hover[b-q04qat5vhv] {
    background: #dc2626;
    color: white;
}

/* ===== IMAGE GRID ===== */
.ai-image-grid-styled[b-q04qat5vhv] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.ai-image-card-styled[b-q04qat5vhv] {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.ai-image-card-styled img[b-q04qat5vhv] {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.ai-image-card-styled:hover img[b-q04qat5vhv] {
    transform: scale(1.06);
}

.ai-image-card-styled .caption[b-q04qat5vhv] {
    padding: 6px 8px;
    font-size: 11px;
    color: #334155;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #ffffff;
}

/* ===== BANNER NOTIFICATIONS ===== */
.styled-banner-ok[b-q04qat5vhv] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    margin: 0 16px 16px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(22, 101, 52, 0.06);
}

.styled-banner-error[b-q04qat5vhv] {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    margin: 0 16px 16px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== SIDETAB LAYOUT SYSTEM ===== */
.ai-sidetab-layout[b-q04qat5vhv] {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 0 16px;
}

@media (max-width: 900px) {
    .ai-sidetab-layout[b-q04qat5vhv] {
        grid-template-columns: 1fr;
    }
}

.ai-sidebar-nav[b-q04qat5vhv] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #ffffff;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    height: fit-content;
    position: sticky;
    top: 16px;
}

.sidetab-btn[b-q04qat5vhv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    color: #475569;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    width: 100%;
}

.sidetab-btn:hover[b-q04qat5vhv] {
    background: #f8fafc;
    color: #1e293b;
    border-color: #f1f5f9;
}

.sidetab-btn.active[b-q04qat5vhv] {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1d4ed8;
    border-color: #bfdbfe;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.sidetab-label[b-q04qat5vhv] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidetab-badge[b-q04qat5vhv] {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
}

.sidetab-btn.active .sidetab-badge[b-q04qat5vhv] {
    background: #2563eb;
    color: #ffffff;
}

.ai-tab-content-panel[b-q04qat5vhv] {
    min-width: 0;
}

/* ===== TEST CHAT PLAYGROUND WIDGET ===== */
.test-chat-widget[b-q04qat5vhv] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    padding: 16px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 16px;
}

.test-chat-header[b-q04qat5vhv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 12px;
}

.test-chat-messages[b-q04qat5vhv] {
    height: 360px;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
    background: #fafafa;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
}

.test-msg-bubble[b-q04qat5vhv] {
    padding: 10px 14px;
    border-radius: 14px;
    max-width: 85%;
    font-size: 13px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.test-msg-bubble.user[b-q04qat5vhv] {
    align-self: flex-end;
    background: #2563eb;
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.test-msg-bubble.ai[b-q04qat5vhv] {
    align-self: flex-start;
    background: #f1f5f9;
    color: #1e293b;
    border-bottom-left-radius: 4px;
    border: 1px solid #e2e8f0;
}

.test-msg-sender[b-q04qat5vhv] {
    font-size: 10.5px;
    font-weight: 700;
    margin-bottom: 4px;
    opacity: 0.85;
}

.test-chat-input-row[b-q04qat5vhv] {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Agent Pill Selector */
.agent-pill-btn[b-q04qat5vhv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}

.agent-pill-btn:hover[b-q04qat5vhv] {
    background: #f8fafc;
    color: #1e293b;
}

.agent-pill-btn.active[b-q04qat5vhv] {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.25);
}

/* ===== BOTCAKE SUB-NAV BAR ===== */
.botcake-subnav-bar[b-q04qat5vhv] {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 16px;
    padding-bottom: 4px;
    overflow-x: auto;
}

.botcake-subnav-btn[b-q04qat5vhv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.botcake-subnav-btn:hover[b-q04qat5vhv] {
    background: #f1f5f9;
    color: #1e293b;
}

.botcake-subnav-btn.active[b-q04qat5vhv] {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 700;
    border-bottom: 2px solid #2563eb;
    border-radius: 8px 8px 0 0;
}

/* Mode Switcher: Chi tiết vs Nhanh */
.mode-toggle-group[b-q04qat5vhv] {
    display: inline-flex;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.mode-toggle-btn[b-q04qat5vhv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mode-toggle-btn.active[b-q04qat5vhv] {
    background: #ffffff;
    color: #1d4ed8;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Modal Overlay for "Tham khảo mẫu" */
.botcake-modal-overlay[b-q04qat5vhv] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.botcake-modal-card[b-q04qat5vhv] {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.botcake-modal-header[b-q04qat5vhv] {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
}

.botcake-modal-body[b-q04qat5vhv] {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.botcake-modal-footer[b-q04qat5vhv] {
    padding: 14px 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: #f8fafc;
}
/* /Components/Pages/Settings.razor.rz.scp.css */
/* ================= TAB NAVIGATION ================= */
.dashboard-mode[b-uxc8a3lem6] {
    background-color: #f4f6f8;
    padding: 20px;
    border-radius: 8px;
}
.settings-tabs[b-uxc8a3lem6] {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px;
}
.tab-btn[b-uxc8a3lem6] {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}
.tab-btn:hover[b-uxc8a3lem6] {
    color: #0f172a;
}
.tab-btn.active[b-uxc8a3lem6] {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

/* ================= DASHBOARD & GRID ================= */
.dashboard-toolbar[b-uxc8a3lem6] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.search-box input[b-uxc8a3lem6] {
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    width: 250px;
    font-size: 14px;
}
.btn-add-connection[b-uxc8a3lem6] {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
}
.btn-add-connection:hover[b-uxc8a3lem6] {
    background: #2563eb;
}

.connected-grid[b-uxc8a3lem6] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.empty-channels[b-uxc8a3lem6] {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    color: #64748b;
}
.empty-icon[b-uxc8a3lem6] {
    font-size: 48px;
    margin-bottom: 10px;
}

.connected-card[b-uxc8a3lem6] {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}
.connected-card:hover[b-uxc8a3lem6] {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.card-icon[b-uxc8a3lem6] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
}
.card-icon.ch-zalo[b-uxc8a3lem6] { background: #0068ff; }
.card-icon.ch-messenger[b-uxc8a3lem6] { background: #0084ff; }
.card-icon.ch-shopee[b-uxc8a3lem6] { background: #ee4d2d; }
.card-icon.ch-tiktok[b-uxc8a3lem6] { background: #000000; }
.card-icon.ch-zalopersonal[b-uxc8a3lem6] { background: #0099ff; }
.card-icon.ch-instagram[b-uxc8a3lem6] { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.card-icon.ch-threads[b-uxc8a3lem6] { background: #000000; }
.card-icon.ch-googlelocation[b-uxc8a3lem6] { background: #4285F4; }

.card-info[b-uxc8a3lem6] {
    flex: 1;
    min-width: 0;
}
.card-name[b-uxc8a3lem6] {
    font-weight: 600;
    font-size: 15px;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-meta[b-uxc8a3lem6] {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}
.card-status.ok[b-uxc8a3lem6] {
    font-size: 12px;
    color: #10b981;
    margin-top: 2px;
}
.card-actions button[b-uxc8a3lem6] {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
}
.card-actions button:hover[b-uxc8a3lem6] {
    background: #e2e8f0;
}

/* ================= PANCAKE MODAL ================= */
.pancake-modal-overlay[b-uxc8a3lem6] {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(2px);
}
.pancake-modal[b-uxc8a3lem6] {
    background: white;
    border-radius: 12px;
    width: 850px;
    max-width: 95%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.modal-header[b-uxc8a3lem6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}
.modal-header h2[b-uxc8a3lem6] {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}
.btn-close[b-uxc8a3lem6] {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #64748b;
}
.btn-close:hover[b-uxc8a3lem6] { color: #ef4444; }

.modal-body[b-uxc8a3lem6] {
    display: flex;
    flex: 1;
    overflow: hidden;
}
.modal-sidebar[b-uxc8a3lem6] {
    width: 250px;
    border-right: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
}
.sidebar-search[b-uxc8a3lem6] {
    padding: 15px;
}
.sidebar-search input[b-uxc8a3lem6] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
}
.platform-list[b-uxc8a3lem6] {
    list-style: none;
    padding: 0 10px;
    margin: 0;
    overflow-y: auto;
    flex: 1;
}
.platform-list li[b-uxc8a3lem6] {
    padding: 10px 12px;
    margin-bottom: 5px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-weight: 500;
    transition: background 0.2s;
}
.platform-list li:hover[b-uxc8a3lem6] {
    background: #e2e8f0;
}
.platform-list li.active[b-uxc8a3lem6] {
    background: white;
    color: #0f172a;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}
.p-icon[b-uxc8a3lem6] {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
}
.p-icon.ch-zalo[b-uxc8a3lem6] { background: #0068ff; }
.p-icon.ch-messenger[b-uxc8a3lem6] { background: #0084ff; }
.p-icon.ch-shopee[b-uxc8a3lem6] { background: #ee4d2d; }
.p-icon.ch-tiktok[b-uxc8a3lem6] { background: #000000; }
.p-icon.ch-zalopersonal[b-uxc8a3lem6] { background: #0099ff; }
.p-icon.ch-instagram[b-uxc8a3lem6] { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.p-icon.ch-threads[b-uxc8a3lem6] { background: #000000; }
.p-icon.ch-googlelocation[b-uxc8a3lem6] { background: #4285F4; }

.modal-content[b-uxc8a3lem6] {
    flex: 1;
    padding: 20px 30px;
    overflow-y: auto;
}
.platform-header[b-uxc8a3lem6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.platform-header h3[b-uxc8a3lem6] {
    margin: 0;
    font-size: 20px;
}

/* Reusing some existing styles */
[b-uxc8a3lem6] .fields {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}
[b-uxc8a3lem6] .fields label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}
[b-uxc8a3lem6] .fields input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    box-sizing: border-box;
}
[b-uxc8a3lem6] .urls {
    background: #f1f5f9;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 15px;
    color: #475569;
}
[b-uxc8a3lem6] .urls code {
    background: #e2e8f0;
    padding: 2px 6px;
    border-radius: 4px;
    color: #0f172a;
}
[b-uxc8a3lem6] .actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
[b-uxc8a3lem6] .guide {
    background: #fffbeb;
    border: 1px solid #fde68a;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}
[b-uxc8a3lem6] .guide summary {
    font-weight: 600;
    cursor: pointer;
    color: #92400e;
}
[b-uxc8a3lem6] .guide ol {
    margin-top: 10px;
    padding-left: 20px;
    color: #b45309;
    font-size: 14px;
}
