/* _content/BModelTransfer.Chat/Layout/MainLayout.razor.rz.scp.css */
.page[b-l7xgl467x1] {
    display: flex;
    height: 100vh;
}

.sidebar[b-l7xgl467x1] {
    width: 220px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    flex-shrink: 0;
}

main[b-l7xgl467x1] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.content[b-l7xgl467x1] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
/* _content/BModelTransfer.Chat/Layout/NavMenu.razor.rz.scp.css */
.nav-header[b-hdx8y9rjqo] {
    padding: 20px 16px 12px;
    color: #e0e0ff;
}

    .nav-header h4[b-hdx8y9rjqo] {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 600;
    }

.nav-subtitle[b-hdx8y9rjqo] {
    font-size: 0.75rem;
    color: #8888aa;
}

.nav-menu[b-hdx8y9rjqo] {
    padding: 8px;
}

.nav-link[b-hdx8y9rjqo] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: #c0c0dd;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: background 0.15s;
}

    .nav-link:hover[b-hdx8y9rjqo] {
        background: rgba(255,255,255,0.08);
        color: #fff;
    }

    .nav-link.active[b-hdx8y9rjqo] {
        background: rgba(99,102,241,0.25);
        color: #a5b4fc;
    }

.nav-icon[b-hdx8y9rjqo] {
    font-size: 1.1rem;
}

.nav-footer[b-hdx8y9rjqo] {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    padding: 0 16px;
    color: #555577;
    font-size: 0.7rem;
}
/* _content/BModelTransfer.Chat/Pages/ChatPage.razor.rz.scp.css */
/* ============================== */
/* Chat Container                 */
/* ============================== */

.chat-container[b-mguhvi2xy5] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #12121f;
}

/* Centered mode: when no messages, welcome + input float to vertical center */
.chat-container.centered-mode[b-mguhvi2xy5] {
    justify-content: center;
    align-items: center;
}

.chat-container.centered-mode .chat-messages[b-mguhvi2xy5] {
    flex: 0 0 auto;
    overflow-y: visible;
    width: 100%;
    max-width: 700px;
}

.chat-container.centered-mode .chat-input-bar[b-mguhvi2xy5] {
    width: 100%;
    max-width: 700px;
    border-top: none;
}

.chat-messages[b-mguhvi2xy5] {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ============================== */
/* Welcome Screen                 */
/* ============================== */

.chat-welcome[b-mguhvi2xy5] {
    text-align: center;
    padding: 60px 20px;
    color: #8888aa;
}

    .chat-welcome h2[b-mguhvi2xy5] {
        color: #a5b4fc;
        margin-bottom: 16px;
    }

    .chat-welcome code[b-mguhvi2xy5] {
        background: rgba(99,102,241,0.15);
        padding: 2px 8px;
        border-radius: 4px;
        color: #c4b5fd;
        font-size: 0.9em;
    }

/* ============================== */
/* Chat Bubbles                   */
/* ============================== */

.chat-bubble[b-mguhvi2xy5] {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-bubble.user[b-mguhvi2xy5] {
    align-self: flex-end;
    background: #4f46e5;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-bubble.ai[b-mguhvi2xy5] {
    align-self: flex-start;
    background: #1e1e33;
    color: #ddd;
    border: 1px solid #2a2a44;
    border-bottom-left-radius: 4px;
}

.bubble-header[b-mguhvi2xy5] {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    opacity: 0.6;
    margin-bottom: 4px;
}

.bubble-role[b-mguhvi2xy5] { font-weight: 600; }

/* ============================== */
/* Typing indicator               */
/* ============================== */

.chat-bubble.typing[b-mguhvi2xy5] {
    display: flex;
    gap: 4px;
    padding: 12px 18px;
}

.dot[b-mguhvi2xy5] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6366f1;
    animation: bounce-b-mguhvi2xy5 1.4s ease-in-out infinite;
}

    .dot:nth-child(2)[b-mguhvi2xy5] { animation-delay: 0.2s; }
    .dot:nth-child(3)[b-mguhvi2xy5] { animation-delay: 0.4s; }

@keyframes bounce-b-mguhvi2xy5 {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
}

/* ============================== */
/* Transaction Card               */
/* ============================== */

.transaction-card[b-mguhvi2xy5] {
    margin-top: 10px;
    border: 1px solid #3a3a5c;
    border-radius: 10px;
    overflow: hidden;
    background: #16162a;
}

/* Phase bar */
.phase-bar[b-mguhvi2xy5] {
    display: flex;
    background: #0e0e1a;
}

.phase-step[b-mguhvi2xy5] {
    flex: 1;
    text-align: center;
    padding: 6px 0;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #555;
    background: #1a1a2a;
    border-right: 1px solid #0e0e1a;
    transition: all 0.3s ease;
}

    .phase-step:last-child[b-mguhvi2xy5] { border-right: none; }

    .phase-step.pending[b-mguhvi2xy5] { color: #555; background: #1a1a2a; }
    .phase-step.active[b-mguhvi2xy5] { color: #93c5fd; background: #1e3a5f; }
    .phase-step.complete[b-mguhvi2xy5] { color: #86efac; background: #1a3a2a; }
    .phase-step.failed[b-mguhvi2xy5] { color: #fca5a5; background: #3a1a1a; }

/* Card body */
.card-body[b-mguhvi2xy5] {
    padding: 12px 14px;
}

.card-type[b-mguhvi2xy5] {
    font-weight: 700;
    font-size: 1rem;
    color: #a5b4fc;
}

.card-status[b-mguhvi2xy5] {
    font-size: 0.8rem;
    color: #8888aa;
    margin-bottom: 8px;
}

/* Fields */
.card-fields[b-mguhvi2xy5] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
    margin: 8px 0;
    padding: 8px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
}

.field-row[b-mguhvi2xy5] {
    display: flex;
    gap: 6px;
}

.field-key[b-mguhvi2xy5] {
    color: #8888aa;
    font-size: 0.78rem;
    min-width: 60px;
}

.field-value[b-mguhvi2xy5] {
    color: #e0e0ff;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Result */
.card-result[b-mguhvi2xy5] {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
}

.card-result.success[b-mguhvi2xy5] {
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.3);
    color: #86efac;
}

.card-result.error[b-mguhvi2xy5] {
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.3);
    color: #fca5a5;
}

.result-id[b-mguhvi2xy5] { font-weight: 700; }
.result-error[b-mguhvi2xy5] { margin-top: 4px; }

/* Audit */
.card-audit[b-mguhvi2xy5] {
    margin-top: 8px;
    font-size: 0.75rem;
}

    .card-audit summary[b-mguhvi2xy5] {
        cursor: pointer;
        color: #8888aa;
        padding: 4px 0;
    }

.audit-entries[b-mguhvi2xy5] {
    max-height: 200px;
    overflow-y: auto;
    padding: 4px 0;
}

.audit-entry[b-mguhvi2xy5] {
    color: #666;
    font-family: 'Consolas', 'Courier New', monospace;
    padding: 1px 0;
    font-size: 0.72rem;
}

/* Confirm button */
.confirm-btn[b-mguhvi2xy5] {
    margin-top: 10px;
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 6px;
    background: #4f46e5;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s;
}

    .confirm-btn:hover[b-mguhvi2xy5] { background: #4338ca; }
    .confirm-btn:disabled[b-mguhvi2xy5] { opacity: 0.5; cursor: not-allowed; }

/* Processing spinner */
.processing-indicator[b-mguhvi2xy5] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #93c5fd;
    font-size: 0.8rem;
}

.spinner[b-mguhvi2xy5] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(147,197,253,0.3);
    border-top-color: #93c5fd;
    border-radius: 50%;
    animation: spin-b-mguhvi2xy5 0.8s linear infinite;
}

@keyframes spin-b-mguhvi2xy5 {
    to { transform: rotate(360deg); }
}

/* ============================== */
/* Report Table                   */
/* ============================== */

.report-table-wrapper[b-mguhvi2xy5] {
    margin-top: 10px;
    overflow-x: auto;
}

.report-table[b-mguhvi2xy5] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

    .report-table th[b-mguhvi2xy5] {
        background: #1a1a2e;
        color: #a5b4fc;
        padding: 6px 10px;
        text-align: left;
        font-weight: 600;
        border-bottom: 1px solid #2a2a44;
        white-space: nowrap;
    }

    .report-table td[b-mguhvi2xy5] {
        padding: 5px 10px;
        border-bottom: 1px solid #1e1e33;
        color: #ccc;
    }

    .report-table tr:hover td[b-mguhvi2xy5] {
        background: rgba(99,102,241,0.06);
    }

.report-count[b-mguhvi2xy5] {
    font-size: 0.75rem;
    color: #8888aa;
    margin-top: 6px;
}

.report-empty[b-mguhvi2xy5], .report-error[b-mguhvi2xy5] {
    color: #8888aa;
    font-size: 0.85rem;
    padding: 8px 0;
}

.report-error[b-mguhvi2xy5] { color: #fca5a5; }

/* ============================== */
/* Input Bar                      */
/* ============================== */

.chat-input-bar[b-mguhvi2xy5] {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    background: #1a1a2e;
    border-top: 1px solid #2a2a44;
}

.chat-input[b-mguhvi2xy5] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #3a3a5c;
    border-radius: 8px;
    background: #12121f;
    color: #e0e0e0;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s;
}

    .chat-input:focus[b-mguhvi2xy5] {
        border-color: #6366f1;
    }

    .chat-input[b-mguhvi2xy5]::placeholder {
        color: #555;
    }

.send-btn[b-mguhvi2xy5] {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: #4f46e5;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

    .send-btn:hover[b-mguhvi2xy5] { background: #4338ca; }
    .send-btn:disabled[b-mguhvi2xy5] { opacity: 0.4; cursor: not-allowed; }

.debug-toggle-btn[b-mguhvi2xy5] {
    padding: 6px 12px;
    border: 1px solid #3a3a5c;
    border-radius: 6px;
    background: #1e1e38;
    color: #666;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

    .debug-toggle-btn:hover[b-mguhvi2xy5] {
        border-color: #f59e0b;
        color: #f59e0b;
    }

    .debug-toggle-btn.debug-on[b-mguhvi2xy5] {
        background: #f59e0b;
        color: #000;
        border-color: #f59e0b;
    }

        .debug-toggle-btn.debug-on:hover[b-mguhvi2xy5] {
            background: #d97706;
            border-color: #d97706;
        }

/* ============================== */
/* GUI Form Overlay               */
/* ============================== */

.chat-form-overlay[b-mguhvi2xy5] {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    background: #12121f;
    border-top: 1px solid #2a2a44;
}
