/* _content/ArgueBot.Web/Components/Account/Shared/AccountLayout.razor.rz.scp.css */
.auth-topbar[b-fnvgxlxics] {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

    .auth-topbar .brand[b-fnvgxlxics] {
        font-weight: 700;
        text-decoration: none;
    }

.account-stage[b-fnvgxlxics] {
    padding: 1.5rem 1rem 3rem;
}

.container[b-fnvgxlxics] {
    max-width: 1200px;
}

aside[b-fnvgxlxics] {
    position: sticky;
    top: 72px; /* stays visible on scroll */
}

    aside :where(a, .nav-link)[b-fnvgxlxics] {
        text-decoration: none;
    }
/* _content/ArgueBot.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-x5j4w0x9t3] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-x5j4w0x9t3] {
    flex: 1;
}

.sidebar[b-x5j4w0x9t3] {
    background: #171717;
    border.right: 1px solid #2d2d30;
}

@media (min-width: 641px) {
    .page[b-x5j4w0x9t3] {
        flex-direction: row;
    }

    .sidebar[b-x5j4w0x9t3] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        overflow: hidden;
    }

    .top-row[b-x5j4w0x9t3] {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
        height: 3.5rem;
        display: flex;
        align-items: center;
    }

        .top-row[b-x5j4w0x9t3]  a, .top-row[b-x5j4w0x9t3]  .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
            text-decoration: none;
        }

            .top-row[b-x5j4w0x9t3]  a:hover, .top-row[b-x5j4w0x9t3]  .btn-link:hover {
                text-decoration: underline;
            }

            .top-row[b-x5j4w0x9t3]  a:first-child {
                overflow: hidden;
                text-overflow: ellipsis;
            }

    @media (max-width: 640.98px) {
        .top-row[b-x5j4w0x9t3] {
            justify-content: space-between;
        }

            .top-row[b-x5j4w0x9t3]  a, .top-row[b-x5j4w0x9t3]  .btn-link {
                margin-left: 0;
            }
    }

    @media (min-width: 641px) {
        .page[b-x5j4w0x9t3] {
            flex-direction: row;
        }

        .sidebar[b-x5j4w0x9t3] {
            width: 250px;
            height: 100vh;
            position: sticky;
            top: 0;
        }

        .top-row[b-x5j4w0x9t3] {
            position: sticky;
            top: 0;
            z-index: 1;
        }

            .top-row.auth[b-x5j4w0x9t3]  a:first-child {
                flex: 1;
                text-align: right;
                width: 0;
            }

        .top-row[b-x5j4w0x9t3], article[b-x5j4w0x9t3] {
            padding-left: 2rem !important;
            padding-right: 1.5rem !important;
        }
    }

    #blazor-error-ui[b-x5j4w0x9t3] {
        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-x5j4w0x9t3] {
            cursor: pointer;
            position: absolute;
            right: 0.75rem;
            top: 0.5rem;
        }
/* _content/ArgueBot.Web/Components/Layout/Sidebar.razor.rz.scp.css */
.sidebar[b-oi2oitla9q] {
    background: rgba(0, 0, 0, 0.3) !important;
    color: #ffffff;
    padding: 0;
    height: 100vh;
    width: 300px; /* Fixed width for expanded state */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: width 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sidebar.collapsed[b-oi2oitla9q] {
    width: 64px;
}

/* Top section styling */
.sb-top[b-oi2oitla9q] {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.sb-header[b-oi2oitla9q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    height: 32px; /* Fixed height to prevent vertical shifting */
}

.sidebar.collapsed .sb-header[b-oi2oitla9q] {
    justify-content: center; /* Center logo in collapsed sidebar */
}

.btn-collapse[b-oi2oitla9q] {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.btn-collapse:hover[b-oi2oitla9q] {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.sb-logo img[b-oi2oitla9q] {
    max-width: 32px;
    height: auto;
}

/* Collapsed logo that transforms into expand button on hover */
.sb-logo-collapsed[b-oi2oitla9q] {
    position: relative;
    width: 32px;
    height: 32px;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.sb-logo-collapsed:hover[b-oi2oitla9q] {
    background: rgba(255, 255, 255, 0.1);
}

.sb-logo-collapsed .logo-img[b-oi2oitla9q] {
    max-width: 32px;
    height: auto;
    transition: opacity 0.2s ease;
}

.sb-logo-collapsed .expand-icon[b-oi2oitla9q] {
    position: absolute;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* On hover, hide logo and show expand icon */
.sb-logo-collapsed:hover .logo-img[b-oi2oitla9q] {
    opacity: 0;
}

.sb-logo-collapsed:hover .expand-icon[b-oi2oitla9q] {
    opacity: 1;
    color: #ffffff;
}

.btn-new[b-oi2oitla9q] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: none;
    background: transparent;
    color: var(--muted, rgba(255,255,255,0.7));
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease, width 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), justify-content 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s;
    margin-bottom: 6px;
    text-align: left;
}

.btn-new span[b-oi2oitla9q] {
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.sidebar.collapsed .btn-new[b-oi2oitla9q] {
    justify-content: center; /* Center icon in collapsed sidebar */
    width: auto; /* Don't stretch full width */
    padding: 8px; /* Maintain exact same padding */
}

    .btn-new:hover[b-oi2oitla9q] {
        background: rgba(255, 255, 255, 0.08);
        /* Cyan outline + soft glow to match site */
        box-shadow: inset 0 0 0 1px rgba(0,212,255,0.45), 0 0 10px rgba(0,212,255,0.18);
        color: #ffffff;
    }

    .btn-new:focus-visible[b-oi2oitla9q] {
        outline: 2px solid var(--primary, #00d4ff);
        outline-offset: 2px;
        box-shadow: 0 0 0 2px rgba(0,212,255,0.35);
    }

/* Fancy icon treatment */
.btn-new i[b-oi2oitla9q] {
    font-size: 1.25rem;
    background: linear-gradient(90deg, var(--primary, #00d4ff), var(--primary-2, #6366f1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Spin + pop motion */
    transition: transform .25s ease, filter .25s ease;
    transform-origin: 50% 50%;
}

.btn-new:hover i[b-oi2oitla9q] {
    transform: rotate(90deg) scale(1.06);
    /* Cyan glow (cover cyan #00d4ff) */
    filter: drop-shadow(0 0 6px rgba(0,212,255,.45));
}

.btn-new:active i[b-oi2oitla9q] {
    transform: rotate(90deg) scale(0.98);
    filter: drop-shadow(0 0 0 rgba(0,0,0,0));
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .btn-new i[b-oi2oitla9q], .btn-new:hover i[b-oi2oitla9q], .btn-new:active i[b-oi2oitla9q] {
        transition: none !important;
        transform: none !important;
        filter: none !important;
    }
}

.sb-search[b-oi2oitla9q] {
    position: relative;
    display: block;
    margin-bottom: 6px; /* Match button spacing */
    transition: opacity 0.15s ease, transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sb-search-input[b-oi2oitla9q] {
    width: 100%;
    background: transparent; /* appear minimal by default */
    border: none;
    color: var(--muted, rgba(255,255,255,0.7));
    padding: 6px 8px 6px 30px; /* reserve space for icon */
    border-radius: 10px;
    font-size: 14px; /* match New Chat */
    font-weight: 500; /* match New Chat */
    line-height: 1.2;
    outline: none;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease, padding .2s ease;
}

    .sb-search-input:focus-visible[b-oi2oitla9q] {
        background: #141b32;
        color: #ffffff;
        border: 1px solid rgba(0,212,255,0.35);
        box-shadow: 0 0 0 2px rgba(0,212,255,0.15);
        padding: 8px 10px 8px 34px; /* keep room for icon */
    }

    .sb-search-input[b-oi2oitla9q]::placeholder {
        color: rgba(255, 255, 255, 0.6);
        font-weight: 500; /* align with New Chat label weight */
        letter-spacing: normal; /* keep spacing consistent */
        opacity: .9; /* slightly stronger for parity */
        padding-left: 1.5px; /* nudge placeholder 1.5px */
    }

/* Indent only when placeholder is visible so typed text aligns normally */
.sb-search-input:placeholder-shown[b-oi2oitla9q] {
    text-indent: 1.5px;
}

/* Hover state: cyan outline appears around the search region */
.sb-search:hover[b-oi2oitla9q] {
    background: var(--card-ghost, rgba(255,255,255,0.06));
    box-shadow: inset 0 0 0 1px rgba(0,212,255,0.25);
    border-radius: 10px;
}

/* Search icon (same gradient as New Chat icon) */
.sb-search[b-oi2oitla9q]::before {
    content: "\F52A"; /* bi-search */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    background: linear-gradient(90deg, var(--primary, #00d4ff), var(--primary-2, #6366f1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: .9;
    transition: filter .25s ease, opacity .2s ease, transform .25s ease;
}

.btn-search-collapsed[b-oi2oitla9q] {
    width: 40px; /* Fixed width for centering */
    height: 32px; /* Fixed height to match calculated search input height */
    position: relative; /* Enable absolute positioning for icon */
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--muted, rgba(255,255,255,0.7));
    border-radius: 10px;
    cursor: pointer;
    transition: color .18s ease, background .18s ease, box-shadow .18s ease, opacity 0.15s ease, transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) 0.08s;
    margin: 0 auto 6px auto; /* Center horizontally with margin */
}

/* Style collapsed search icon to match expanded search icon exactly */
.btn-search-collapsed i[b-oi2oitla9q] {
    font-size: 1.25rem; /* Match pseudo-element icon size exactly */
    background: linear-gradient(90deg, var(--primary, #00d4ff), var(--primary-2, #6366f1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: .9;
    transition: filter .25s ease, opacity .2s ease;
}

.btn-search-collapsed:hover[b-oi2oitla9q] {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(0,212,255,0.45), 0 0 10px rgba(0,212,255,0.18);
}

.btn-search-collapsed:hover i[b-oi2oitla9q] {
    filter: drop-shadow(0 0 6px rgba(0,212,255,.35));
    opacity: 1;
}

.sb-search:hover[b-oi2oitla9q]::before,
.sb-search:focus-within[b-oi2oitla9q]::before {
    filter: drop-shadow(0 0 6px rgba(0,212,255,.35)); /* cyan glow */
    opacity: 1;
}

/* Slightly different animation than New Chat: quick nudge + tilt */
.sb-search:hover[b-oi2oitla9q]::before {
    animation: searchNudge-b-oi2oitla9q .25s ease-out 1 both;
}

@keyframes searchNudge-b-oi2oitla9q {
    0% { transform: translateY(-50%) translateX(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-50%) translateX(2px) rotate(-6deg) scale(1.05); }
    100% { transform: translateY(-50%) translateX(0) rotate(0deg) scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
    .sb-search[b-oi2oitla9q]::before,
    .sb-search:hover[b-oi2oitla9q]::before,
    .sb-search:focus-within[b-oi2oitla9q]::before {
        animation: none !important;
        transform: translateY(-50%) !important;
        transition: none !important;
        filter: none !important;
    }
}

/* Conversation list - this is a scrollable area */
.sb-list[b-oi2oitla9q] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 12px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    scrollbar-gutter: stable;
}

/* When collapsed, maintain flex space but hide content */
.sb-list.collapsed[b-oi2oitla9q] {
    padding: 0;
    overflow: hidden;
}

    /* Scrollbar Overlay */
    .sb-list[b-oi2oitla9q]::-webkit-scrollbar {
        width: 6px;
        position: absolute;
    }

    .sb-list[b-oi2oitla9q]::-webkit-scrollbar-track {
        background: transparent;
    }

    .sb-list[b-oi2oitla9q]::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 3px;
    }

        .sb-list[b-oi2oitla9q]::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.3);
        }

/* Firefox scrollbar */
.sb-list[b-oi2oitla9q] {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    overflow: overlay;
}

.sb-empty[b-oi2oitla9q] {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* Conversation Items */
.sb-item[b-oi2oitla9q] {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 4px;
    text-decoration: none;
    color: #ffffff;
    transition: background-color 0.2s ease;
    height: 48px;
    flex-shrink: 0;
    gap: 8px;
}

    .sb-item:hover[b-oi2oitla9q] {
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        text-decoration: none;
    }

    .sb-item.active[b-oi2oitla9q] {
        background: rgba(255, 255, 255, 0.12);
    }

        .sb-item.active:hover[b-oi2oitla9q] {
            background: rgba(255, 255, 255, 0.15);
        }

.sb-title[b-oi2oitla9q] {
    flex: 1;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sb-time[b-oi2oitla9q] {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    margin-right: 8px;
}

/* Menu styles */
.sb-menu[b-oi2oitla9q] {
    position: relative;
}

.sb-menu-trigger[b-oi2oitla9q] {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sb-item:hover .sb-menu-trigger[b-oi2oitla9q] {
    opacity: 1;
}

.sb-menu-trigger:hover[b-oi2oitla9q] {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.sb-menu-panel[b-oi2oitla9q] {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 4px;
    min-width: 120px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    animation: menuSlideIn-b-oi2oitla9q 0.15s ease-out;
}

@keyframes menuSlideIn-b-oi2oitla9q {
    from {
        opacity: 0;
        transform: translateY(-4px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.sb-menu-item[b-oi2oitla9q] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
    text-align: left;
}

.sb-menu-item:hover[b-oi2oitla9q] {
    background: rgba(255, 255, 255, 0.1);
}

.sb-menu-item.danger[b-oi2oitla9q] {
    color: #ff6b6b;
}

.sb-menu-item.danger:hover[b-oi2oitla9q] {
    background: rgba(255, 107, 107, 0.1);
    color: #ff8a8a;
}

/* Footer Styling */
.sb-foot[b-oi2oitla9q] {
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    flex-shrink: 0;
}

/* Remove dividing lines when collapsed for cleaner look */
.sidebar.collapsed .sb-top[b-oi2oitla9q] {
    border-bottom: none;
}

.sidebar.collapsed .sb-foot[b-oi2oitla9q] {
    border-top: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hide version text when collapsed without affecting menu panel */
.sidebar.collapsed .sb-foot > *:not(.user-menu)[b-oi2oitla9q] {
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

/* Keep UserMenu centered and profile picture unchanged */
.sidebar.collapsed .sb-foot .user-menu[b-oi2oitla9q] {
    width: auto !important;
    justify-content: center;
    transition: width 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), justify-content 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s;
}

.sidebar.collapsed .sb-foot .user-menu .user-trigger[b-oi2oitla9q] {
    width: auto !important;
    justify-content: center;
    padding: 6px 10px; /* Keep original padding */
    transition: width 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), justify-content 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s, padding 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s;
}

/* Fix menu panel positioning when sidebar is collapsed */
.sidebar.collapsed .sb-foot .user-menu .menu-panel[b-oi2oitla9q] {
    right: auto !important;
    left: 0 !important;
    bottom: calc(100% + 8px) !important;
    min-width: 200px !important;
    transform: translateX(0) !important;
}

/* Smooth transitions for user menu elements */
.user-trigger-summary[b-oi2oitla9q] {
    transition: opacity 0.15s ease;
}

.sb-foot .user-menu[b-oi2oitla9q] {
    transition: width 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), justify-content 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) 0.05s;
}

.sb-foot .user-menu .user-trigger[b-oi2oitla9q] {
    transition: width 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), justify-content 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) 0.05s, padding 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) 0.05s;
}

.sb-link[b-oi2oitla9q] {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
    gap: 8px;
    margin-bottom: 8px;
}

    .sb-link:hover[b-oi2oitla9q] {
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        text-decoration: none;
    }
/* _content/ArgueBot.Web/Components/Pages/Home.razor.rz.scp.css */
.welcome-wrap[b-bdkibxbg93] {
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  animation: welcomeSlideIn-b-bdkibxbg93 0.6s ease-out;
  transform: translateY(-5vh);
}

@keyframes welcomeSlideIn-b-bdkibxbg93 {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-title[b-bdkibxbg93] {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 32px;
  text-align: center;
  color: var(--text);
}


.simple-composer[b-bdkibxbg93] {
  position: relative;
  width: 100%;
  max-width: 820px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 12px;
}

.file-count-badge[b-bdkibxbg93] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .85rem;
}

.input-row[b-bdkibxbg93] {
  display: flex;
  align-items: center;
  gap: 10px;
}

.input-wrap[b-bdkibxbg93] {
  position: relative;
  flex: 1;
  min-width: 0; /* allow input to grow/shrink within flex row */
}

.btn-plus[b-bdkibxbg93] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(13,110,253,0.08);
  color: #0d6efd;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
  overflow: hidden;
}

.btn-plus[b-bdkibxbg93]::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(13,110,253,0.1), rgba(13,110,253,0.05));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.btn-plus:hover[b-bdkibxbg93] {
  background: rgba(13,110,253,0.14);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13,110,253,0.25);
}

.btn-plus:hover[b-bdkibxbg93]::before {
  opacity: 1;
}

.btn-plus:active[b-bdkibxbg93] {
  transform: translateY(0) scale(0.96);
}

.btn-plus:focus-visible[b-bdkibxbg93] {
  outline: 2px solid rgba(13,110,253,0.4);
  outline-offset: 2px;
}

.btn-plus i[b-bdkibxbg93] {
  font-size: 16px;
  transition: transform 0.15s ease;
}

.btn-plus:hover i[b-bdkibxbg93] {
  transform: rotate(90deg) scale(1.1);
}

.text-input[b-bdkibxbg93] {
  flex: 1;
  height: 40px;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: var(--text);
  width: 100%; /* fill the available space inside input-wrap */
}

.model-select[b-bdkibxbg93] {
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 0 12px;
  background: rgba(20, 27, 50, 0.8);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  backdrop-filter: blur(8px);
  outline: none;
  min-width: 100px;
}

.model-select:hover[b-bdkibxbg93] {
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(20, 27, 50, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.model-select:focus-visible[b-bdkibxbg93] {
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.model-select:disabled[b-bdkibxbg93] {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-send[b-bdkibxbg93] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease, transform .12s ease;
}
.btn-send:hover[b-bdkibxbg93] {
  border-color: rgba(0,212,255,0.35);
  color: #bfefff;
}
.btn-send:disabled[b-bdkibxbg93] { opacity: 0.6; }
.btn-send i[b-bdkibxbg93] { font-size: 18px; line-height: 1; }

/* Active state when there is text (send arrow) */
.btn-send.ready[b-bdkibxbg93] {
  background: var(--primary, #00d4ff);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(34,211,238,0.32), 0 0 0 2px rgba(34,211,238,0.15);
  animation: pulseReady-b-bdkibxbg93 2s ease-in-out infinite;
}

@keyframes pulseReady-b-bdkibxbg93 {
  0%, 100% {
    box-shadow: 0 10px 28px rgba(34,211,238,0.32), 0 0 0 2px rgba(34,211,238,0.15);
  }
  50% {
    box-shadow: 0 12px 32px rgba(34,211,238,0.4), 0 0 0 3px rgba(34,211,238,0.2);
  }
}

.btn-send.ready:hover[b-bdkibxbg93] {
  box-shadow: 0 14px 40px rgba(34,211,238,.42), 0 0 0 2px rgba(34,211,238,0.18);
  transform: translateY(-1px) scale(1.02);
  animation: none;
}

.btn-send.ready:active[b-bdkibxbg93] {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 6px 20px rgba(34,211,238,.3), 0 0 0 2px rgba(34,211,238,0.12);
}

/* Stop button state (when generating) - plain blue outline, no glow */
.btn-send.stop[b-bdkibxbg93] {
  background: transparent;
  border: 1.5px solid var(--primary, #00d4ff);
  color: var(--primary, #00d4ff);
  box-shadow: none;
  animation: none;
}

.btn-send.stop:hover[b-bdkibxbg93] {
  background: rgba(0, 212, 255, 0.08);
  border-color: var(--primary, #00d4ff);
  transform: none;
  box-shadow: none;
}

.btn-send.stop:active[b-bdkibxbg93] {
  transform: scale(0.96);
}

/* (Removed overlay styles to prevent accidental click capture) */

/* Hide the chat thread area entirely when empty to remove the dark bar */
.chat-thread.is-empty[b-bdkibxbg93] {
  display: none;
}

/* Attached files styling */
.attached-files[b-bdkibxbg93] {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  animation: slideDown-b-bdkibxbg93 0.2s ease-out;
}

@keyframes slideDown-b-bdkibxbg93 {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.attached-file[b-bdkibxbg93] {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
  transition: all 0.18s ease;
  animation: attachedFileAppear-b-bdkibxbg93 0.25s ease-out;
}

@keyframes attachedFileAppear-b-bdkibxbg93 {
  from {
    opacity: 0;
    transform: translateX(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.attached-file:last-child[b-bdkibxbg93] {
  margin-bottom: 0;
}

.attached-file:hover[b-bdkibxbg93] {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.file-icon[b-bdkibxbg93] {
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.attached-file:hover .file-icon[b-bdkibxbg93] {
  transform: scale(1.05);
}

.file-info[b-bdkibxbg93] {
  flex: 1;
  min-width: 0;
}

.file-name[b-bdkibxbg93] {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  margin-bottom: 2px;
}

.file-size[b-bdkibxbg93] {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1;
  font-weight: 400;
}

.remove-file[b-bdkibxbg93] {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

.remove-file:hover[b-bdkibxbg93] {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.12);
  opacity: 1;
  transform: scale(1.1);
}

.remove-file:active[b-bdkibxbg93] {
  transform: scale(0.95);
}

.remove-file i[b-bdkibxbg93] {
  font-size: 13px;
  font-weight: 600;
}
/* _content/ArgueBot.Web/Components/Shared/ChatWindow.razor.rz.scp.css */
:root[b-o0tb6gclp7] {
    --chat-pad: 10px;
}

.chat-window[b-o0tb6gclp7] {
    background-color: rgba(191,191,191,0.08);
    width: 100%;
    display: flex;
    flex-direction: column;
    border: none !important;
}

    /* When FillParent=true, take 100% of parent’s size */
    .chat-window.fill[b-o0tb6gclp7] {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto; /* grow within the pane-flex container */
        min-height: 0; /* allow shrinking within splitter panes */
    }

.chat-body[b-o0tb6gclp7] {
    padding: var(--chat-pad);
    overflow-y: auto;
    background: var(--bs-body-bg);
    /* Default behavior uses explicit height via --chat-height */
    height: var(--chat-height, auto);
}

/* When filling parent, flex the scroll area */
.chat-window.fill .chat-body[b-o0tb6gclp7] {
    flex: 1 1 auto;
    min-height: 0; /* critical inside splitters for proper shrinking */
    height: auto;
}

.chat-empty[b-o0tb6gclp7] {
    display: grid;
    place-items: center;
    height: 100%;
    font-size: .95rem;
}

.message[b-o0tb6gclp7] {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin: 10px 0;
    max-width: min(70ch, 92%);
}

    .message.me[b-o0tb6gclp7] {
        justify-content: flex-end;
        margin-left: auto;
    }

    .message.other[b-o0tb6gclp7] {
        justify-content: flex-start;
        margin-right: auto;
    }

.bubble[b-o0tb6gclp7] {
    background-color: var(--bubble-bg, var(--bs-body-bg));
    border: 1px solid color-mix(in oklab, var(--bubble-accent, var(--bs-border-color)) 60%, transparent);
    border-left: 4px solid var(--bubble-accent, var(--bs-primary));
    border-radius: 12px;
    padding: 6px 9px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    word-break: break-word;
    white-space: pre-wrap;
    backdrop-filter: saturate(120%);
}

.message.me .bubble[b-o0tb6gclp7] {
    border-left: 1px solid color-mix(in oklab, var(--bubble-accent, var(--bs-primary)) 60%, transparent);
    border-right: 4px solid var(--bubble-accent, var(--bs-primary));
}

.meta[b-o0tb6gclp7] {
    display: flex;
    gap: 8px;
    align-items: baseline;
    margin-bottom: 0px !important;
}

.name[b-o0tb6gclp7] {
    font-weight: 600;
    color: var(--bubble-accent, var(--bs-primary));
}

.date[b-o0tb6gclp7] {
    font-size: .75rem;
    opacity: .6;
}

/* Mention pill */
.text .mention[b-o0tb6gclp7] {
    display: inline-block;
    padding: 0 .35rem;
    margin: 0 .05rem;
    border-radius: .5rem;
    font-weight: 600;
    color: var(--bs-primary);
    background: color-mix(in oklab, var(--bs-primary) 12%, transparent);
    border: 1px solid color-mix(in oklab, var(--bs-primary) 35%, transparent);
    white-space: nowrap;
}

    .text .mention:hover[b-o0tb6gclp7] {
        text-decoration: underline;
        cursor: pointer;
    }


/* Mobile: let bubbles span full width */
@media (max-width: 576px) {
    .message[b-o0tb6gclp7] {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .message[b-o0tb6gclp7] {
        max-width: 100%;
        width: 100%;
        margin: 6px 0;
    }

    .bubble[b-o0tb6gclp7] {
        border-radius: 10px;
        width: 100%;
    }
}
/* _content/ArgueBot.Web/Components/Shared/UploadDropZone.razor.rz.scp.css */
.dz-overlay[b-7tic1qfxzn] {
  position: absolute;
  inset: 0;
  /* Ensure it fully matches the simple-composer box */
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-radius: inherit;
  pointer-events: none; /* default: do not block interactions */
  z-index: 9999;
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  opacity: 0; /* hidden until active */
}

.dz-overlay-input[b-7tic1qfxzn] {
  position: absolute;
  inset: 0;
  opacity: 0;
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  cursor: pointer;
  border: 0;
  margin: 0;
  padding: 0;
  z-index: 10000; /* ensure input is the topmost target during drop */
  pointer-events: none; /* only enabled when overlay is active */
}

.dz-overlay.dz-active[b-7tic1qfxzn] {
  pointer-events: auto;  /* allow overlay subtree (input) to receive drop */
  opacity: 1;            /* show overlay + message when active */
}

/* Activate input hit area only while active */
.dz-overlay.dz-active .dz-overlay-input[b-7tic1qfxzn] { pointer-events: auto; }

/* Hide native file button text across engines */
.dz-overlay-input[b-7tic1qfxzn]::-webkit-file-upload-button { visibility: hidden; }
.dz-overlay-input[b-7tic1qfxzn]::file-selector-button { visibility: hidden; }
.dz-overlay-input[b-7tic1qfxzn] { color: transparent; font-size: 0; }

/* Centered, non-interactive hint shown only during drag */
.dz-message[b-7tic1qfxzn] {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: rgba(20, 27, 50, 0.55);
  border: 1px dashed rgba(0,212,255,0.45);
  border-radius: inherit;
  opacity: 0;
  transition: opacity .15s ease;
  pointer-events: none;
}
.dz-overlay.dz-active .dz-message[b-7tic1qfxzn] { opacity: 1; }
/* Stronger glow when cursor is inside the dropzone */
.dz-overlay.dz-inside .dz-message[b-7tic1qfxzn] {
  background: rgba(20, 27, 50, 0.70);
  border-color: rgba(0,212,255,0.75);
  box-shadow: 0 0 0 2px rgba(34,211,238,.28), 0 10px 30px rgba(34,211,238,.22);
}
