/* /Components/Layout/LoginLayout.razor.rz.scp.css */
.login-layout[b-69672k5c8t] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--third--color) 0%, var(--secondary--color) 50%, var(--primary--color) 100%);
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-v3rsema38e] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-v3rsema38e] {
    flex: 1;
}

.sidebar[b-v3rsema38e] {
    background: linear-gradient(180deg, var(--third--color) 0%, var(--secondary--color) 50%, var(--primary--color) 100%);
}

.content[b-v3rsema38e] {
    padding: 0;
}

@media (max-width: 640.98px) {
    .content[b-v3rsema38e] {
        padding: 0;
    }
}

@media (min-width: 641px) {
    .page[b-v3rsema38e] {
        flex-direction: row;
    }

    .sidebar[b-v3rsema38e] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }
}

#blazor-error-ui[b-v3rsema38e] {
    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-v3rsema38e] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ybcx6ubese] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-ybcx6ubese] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-ybcx6ubese] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-ybcx6ubese] {
    font-size: 1.1rem;
}

.bi[b-ybcx6ubese] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-ybcx6ubese] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-chat-fill-nav-menu[b-ybcx6ubese] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 15c4.418 0 8-3.134 8-7s-3.582-7-8-7-8 3.134-8 7c0 1.76.743 3.37 1.97 4.6-.097 1.016-.417 2.13-.771 2.966-.079.186.074.394.273.362 2.256-.37 3.597-.938 4.18-1.234A9.06 9.06 0 0 0 8 15z'/%3E%3C/svg%3E");
}

.bi-box-arrow-right-nav-menu[b-ybcx6ubese] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='rgba(255,255,255,0.7)' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M10 12.5a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v2a.5.5 0 0 0 1 0v-2A1.5 1.5 0 0 0 9.5 2h-8A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h8a1.5 1.5 0 0 0 1.5-1.5v-2a.5.5 0 0 0-1 0v2z'/%3E%3Cpath fill-rule='evenodd' d='M15.854 8.354a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708.708L14.293 7.5H5.5a.5.5 0 0 0 0 1h8.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3z'/%3E%3C/svg%3E");
}

.nav-item[b-ybcx6ubese] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ybcx6ubese] {
        padding-top: 1rem;
    }

    .nav-item[b-ybcx6ubese]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-ybcx6ubese]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-ybcx6ubese]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-ybcx6ubese] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-ybcx6ubese] {
    display: flex;
    flex-direction: column;
}

/* Bottom logout section */
.nav-bottom[b-ybcx6ubese] {
    padding-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.75rem;
}

.logout-btn[b-ybcx6ubese] {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: none;
    border: none;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.logout-btn:hover[b-ybcx6ubese] {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ybcx6ubese] {
        display: none;
    }

    .nav-scrollable[b-ybcx6ubese] {
        display: flex;
        flex-direction: column;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }

    .nav-main[b-ybcx6ubese] {
        flex: 1;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-hkog3pz6x9],
.components-reconnect-repeated-attempt-visible[b-hkog3pz6x9],
.components-reconnect-failed-visible[b-hkog3pz6x9],
.components-pause-visible[b-hkog3pz6x9],
.components-resume-failed-visible[b-hkog3pz6x9],
.components-rejoining-animation[b-hkog3pz6x9] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-hkog3pz6x9],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-hkog3pz6x9],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-hkog3pz6x9],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-hkog3pz6x9],
#components-reconnect-modal.components-reconnect-retrying[b-hkog3pz6x9],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-hkog3pz6x9],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-hkog3pz6x9],
#components-reconnect-modal.components-reconnect-failed[b-hkog3pz6x9],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-hkog3pz6x9] {
    display: block;
}


#components-reconnect-modal[b-hkog3pz6x9] {
    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-hkog3pz6x9 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-hkog3pz6x9 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-hkog3pz6x9 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-hkog3pz6x9]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-hkog3pz6x9 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-hkog3pz6x9 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-hkog3pz6x9 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-hkog3pz6x9 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-hkog3pz6x9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-hkog3pz6x9] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-hkog3pz6x9] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-hkog3pz6x9] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-hkog3pz6x9] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-hkog3pz6x9] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-hkog3pz6x9] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-hkog3pz6x9 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-hkog3pz6x9] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-hkog3pz6x9 {
    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/ChangePassword.razor.rz.scp.css */
.login-card[b-d27y5gxfox] {
    background: white;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-header[b-d27y5gxfox] {
    text-align: center;
    margin-bottom: 32px;
}

.login-icon[b-d27y5gxfox] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary--color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.login-icon--warn[b-d27y5gxfox] {
    background: var(--warn--color);
}

.login-title[b-d27y5gxfox] {
    font-size: 24px;
    font-weight: 700;
    color: var(--black--color);
    margin: 0 0 8px;
}

.login-subtitle[b-d27y5gxfox] {
    font-size: 14px;
    color: #667781;
    margin: 0;
}

.form-group[b-d27y5gxfox] {
    margin-bottom: 20px;
}

.form-group[b-d27y5gxfox]  .form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--third--color);
    margin-bottom: 6px;
}

.form-group[b-d27y5gxfox]  .form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border--color);
    border-radius: 8px;
    font-size: 15px;
    font-family: "Nunito Sans", sans-serif;
    color: var(--black--color);
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    outline: none;
    background-color: white;
}

.form-group[b-d27y5gxfox]  .form-input:focus {
    border-color: var(--primary--color);
    box-shadow: 0 0 0 3px rgba(14, 149, 203, 0.15);
}

.form-group[b-d27y5gxfox]  .validation-error {
    display: block;
    color: var(--danger--color);
    font-size: 12px;
    margin-top: 4px;
}

.error-alert[b-d27y5gxfox] {
    background: #fff3f3;
    color: var(--danger--color);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid #fecdd3;
}

.success-alert[b-d27y5gxfox] {
    background: rgba(21, 117, 11, 0.08);
    color: var(--success--color);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(21, 117, 11, 0.2);
}

.login-btn[b-d27y5gxfox] {
    width: 100%;
    padding: 14px;
    background: var(--primary--color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: "Nunito Sans", sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.35);
}

.login-btn:hover:not(:disabled)[b-d27y5gxfox] {
    background: var(--secondary--color);
    transform: translateY(-2px);
}

.login-btn:disabled[b-d27y5gxfox] {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner[b-d27y5gxfox] {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-d27y5gxfox 0.6s linear infinite;
}

@keyframes spin-b-d27y5gxfox {
    to { transform: rotate(360deg); }
}
/* /Components/Pages/Conversations.razor.rz.scp.css */
/* ===== Container ===== */
.chat-container[b-qiwc0c4x9n] {
    display: flex;
    height: 100vh;
    background: var(--light--white);
    overflow: hidden;
}

@media (min-width: 641px) {
    .chat-container[b-qiwc0c4x9n] {
        height: 100vh;
    }
}

@media (max-width: 640.98px) {
    .chat-container[b-qiwc0c4x9n] {
        height: calc(100vh - 3.5rem);
    }
}

/* ===== Sidebar ===== */
.chat-sidebar[b-qiwc0c4x9n] {
    width: 360px;
    min-width: 360px;
    background: white;
    border-right: 1px solid var(--border--color);
    display: flex;
    flex-direction: column;
}

.sidebar-header[b-qiwc0c4x9n] {
    padding: 8px 12px;
    background: var(--header-background-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
}

.sidebar-user[b-qiwc0c4x9n] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar[b-qiwc0c4x9n] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary--color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.sidebar-title[b-qiwc0c4x9n] {
    font-size: 16px;
    font-weight: 700;
    color: var(--black--color);
}

.sidebar-search[b-qiwc0c4x9n] {
    padding: 6px 10px;
    background: var(--header-background-color);
}

.search-box[b-qiwc0c4x9n] {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 6px;
    padding: 0 10px;
    height: 32px;
    border: 1px solid var(--border--color);
}

.search-icon[b-qiwc0c4x9n] {
    flex-shrink: 0;
    margin-right: 8px;
}

.search-input[b-qiwc0c4x9n] {
    border: none;
    outline: none;
    flex: 1;
    font-size: 13px;
    font-family: "Nunito Sans", sans-serif;
    color: var(--black--color);
    background: transparent;
}

.search-input[b-qiwc0c4x9n]::placeholder {
    color: #8696a0;
}

/* ===== Conversation List ===== */
.conversation-list[b-qiwc0c4x9n] {
    flex: 1;
    overflow-y: auto;
}

.conversation-item[b-qiwc0c4x9n] {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid var(--border--color);
    gap: 10px;
}

.conversation-item:hover[b-qiwc0c4x9n] {
    background: var(--light--white);
}

.conversation-item--active[b-qiwc0c4x9n] {
    background: var(--selected--background);
    border-left: 3px solid var(--primary--color);
}

.conversation-avatar[b-qiwc0c4x9n] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
    position: relative;
    background: var(--secondary--color);
}

.bot-indicator[b-qiwc0c4x9n] {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary--color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.conversation-info[b-qiwc0c4x9n] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.conversation-top[b-qiwc0c4x9n] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conversation-name[b-qiwc0c4x9n] {
    font-size: 14px;
    font-weight: 500;
    color: var(--black--color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sentiment-dot[b-qiwc0c4x9n] {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: 5px;
    vertical-align: middle;
    cursor: default;
}

.sentiment-dot--red[b-qiwc0c4x9n] {
    background: #ea0000;
    box-shadow: 0 0 4px rgba(234, 0, 0, 0.4);
}

.sentiment-dot--orange[b-qiwc0c4x9n] {
    background: #f97316;
    box-shadow: 0 0 4px rgba(249, 115, 22, 0.4);
}

.sentiment-dot--yellow[b-qiwc0c4x9n] {
    background: #fbb800;
    box-shadow: 0 0 4px rgba(251, 184, 0, 0.4);
}

.sentiment-dot--green[b-qiwc0c4x9n] {
    background: #15750b;
    box-shadow: 0 0 4px rgba(21, 117, 11, 0.4);
}

.sentiment-dot--gray[b-qiwc0c4x9n] {
    background: #a0aeb9;
}

.conversation-time[b-qiwc0c4x9n] {
    font-size: 11px;
    color: #667781;
    white-space: nowrap;
    margin-left: 6px;
}

.conversation-bottom[b-qiwc0c4x9n] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conversation-preview[b-qiwc0c4x9n] {
    font-size: 12px;
    color: #667781;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.conversation-stats[b-qiwc0c4x9n] {
    font-size: 10px;
    color: var(--secondary--color);
    white-space: nowrap;
    margin-left: 6px;
    flex-shrink: 0;
}

/* ===== Chat Detail ===== */
.chat-detail[b-qiwc0c4x9n] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--light--white);
    min-height: 0;
}

.detail-header[b-qiwc0c4x9n] {
    padding: 6px 12px;
    background: var(--header-background-color);
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    border-bottom: 1px solid var(--border--color);
    flex-shrink: 0;
}

.back-btn[b-qiwc0c4x9n] {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.back-btn:hover[b-qiwc0c4x9n] {
    background: rgba(0, 0, 0, 0.05);
}

.detail-avatar[b-qiwc0c4x9n] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    background: var(--secondary--color);
}

.detail-actions[b-qiwc0c4x9n] {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.refresh-btn[b-qiwc0c4x9n] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: none;
    color: #667781;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.refresh-btn:hover:not(:disabled)[b-qiwc0c4x9n] {
    background: rgba(0, 0, 0, 0.06);
    color: var(--primary--color);
}

.refresh-btn:disabled[b-qiwc0c4x9n] {
    opacity: 0.4;
    cursor: not-allowed;
}

.spin[b-qiwc0c4x9n] {
    animation: spin-b-qiwc0c4x9n 0.8s linear infinite;
}

.detail-contact[b-qiwc0c4x9n] {
    display: flex;
    flex-direction: column;
}

.detail-name[b-qiwc0c4x9n] {
    font-size: 14px;
    font-weight: 600;
    color: var(--black--color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-sentiment[b-qiwc0c4x9n] {
    font-size: 11px;
    font-weight: 500;
    padding: 1px 6px;
    border-radius: 3px;
}

.detail-sentiment--red[b-qiwc0c4x9n] {
    color: #ea0000;
    background: rgba(234, 0, 0, 0.1);
}

.detail-sentiment--orange[b-qiwc0c4x9n] {
    color: #f97316;
    background: rgba(249, 115, 22, 0.1);
}

.detail-sentiment--yellow[b-qiwc0c4x9n] {
    color: #b8860b;
    background: rgba(251, 184, 0, 0.15);
}

.detail-sentiment--green[b-qiwc0c4x9n] {
    color: #15750b;
    background: rgba(21, 117, 11, 0.1);
}

.detail-sentiment--gray[b-qiwc0c4x9n] {
    color: #667781;
    background: rgba(0, 0, 0, 0.05);
}

.detail-status[b-qiwc0c4x9n] {
    font-size: 11px;
    color: #667781;
}

/* ===== Messages Area ===== */
.messages-area[b-qiwc0c4x9n] {
    flex: 1;
    overflow-y: auto;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 0;
}

.load-earlier[b-qiwc0c4x9n] {
    text-align: center;
    padding: 8px 0 4px;
}

.load-earlier-btn[b-qiwc0c4x9n] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border: 1px solid var(--border--color);
    border-radius: 16px;
    background: white;
    color: var(--secondary--color);
    font-size: 11px;
    font-family: "Nunito Sans", sans-serif;
    cursor: pointer;
    transition: all 0.15s;
}

.load-earlier-btn:hover:not(:disabled)[b-qiwc0c4x9n] {
    background: var(--selected--background);
    border-color: var(--primary--color);
    color: var(--primary--color);
}

.load-earlier-btn:disabled[b-qiwc0c4x9n] {
    opacity: 0.5;
    cursor: not-allowed;
}

.spinner-sm[b-qiwc0c4x9n] {
    width: 12px;
    height: 12px;
    border: 2px solid var(--border--color);
    border-top-color: var(--primary--color);
    border-radius: 50%;
    animation: spin-b-qiwc0c4x9n 0.6s linear infinite;
}

.date-divider[b-qiwc0c4x9n] {
    text-align: center;
    margin: 6px 0;
}

.date-label[b-qiwc0c4x9n] {
    background: rgba(14, 149, 203, 0.1);
    color: var(--secondary--color);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-block;
}

.message[b-qiwc0c4x9n] {
    max-width: 75%;
    display: flex;
    flex-direction: column;
}

.message--sent[b-qiwc0c4x9n] {
    align-self: flex-end;
}

.message--received[b-qiwc0c4x9n] {
    align-self: flex-start;
}

/* ===== Bot badge ===== */
.bot-badge[b-qiwc0c4x9n] {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
    flex-shrink: 0;
}

.message--sent[b-qiwc0c4x9n] {
    flex-direction: row-reverse;
    gap: 4px;
}

.message-content[b-qiwc0c4x9n] {
    padding: 4px 6px 4px 8px;
    border-radius: 6px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 3px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}

.message--sent .message-content[b-qiwc0c4x9n] {
    background: rgba(14, 149, 203, 0.12);
    border-top-right-radius: 0;
}

.message--received .message-content[b-qiwc0c4x9n] {
    background: white;
    border-top-left-radius: 0;
}

.message-text[b-qiwc0c4x9n] {
    font-size: 13px;
    color: var(--black--color);
    line-height: 1.35;
    word-break: break-word;
}

.message-meta[b-qiwc0c4x9n] {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-left: auto;
    flex-shrink: 0;
}

.message-time[b-qiwc0c4x9n] {
    font-size: 10px;
    color: #667781;
}

.message-status[b-qiwc0c4x9n] {
    display: flex;
    align-items: center;
}

/* ===== Media content ===== */
.message-content--media[b-qiwc0c4x9n] {
    padding: 3px;
    max-width: 280px;
}

.message-image[b-qiwc0c4x9n] {
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
}

.message-image[b-qiwc0c4x9n] {
    position: relative;
}

.message-image img[b-qiwc0c4x9n] {
    display: block;
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}

.message-image--placeholder[b-qiwc0c4x9n] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 16px 8px;
    background: rgba(14, 149, 203, 0.06);
    border-radius: 4px;
    min-height: 80px;
}

.image-filename[b-qiwc0c4x9n] {
    font-size: 10px;
    color: #8696a0;
    word-break: break-all;
    text-align: center;
}

/* ===== Attachment ===== */
.message-attachment[b-qiwc0c4x9n] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(14, 149, 203, 0.08);
    border-radius: 4px;
    font-size: 11px;
    color: var(--secondary--color);
    margin-bottom: 2px;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}

.message-attachment:hover[b-qiwc0c4x9n] {
    background: rgba(14, 149, 203, 0.16);
    color: var(--primary--color);
    text-decoration: none;
}

.attachment-name[b-qiwc0c4x9n] {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pdf-icon[b-qiwc0c4x9n] {
    flex-shrink: 0;
}

.file-size[b-qiwc0c4x9n] {
    font-size: 10px;
    color: #8696a0;
    flex-shrink: 0;
}

.open-icon[b-qiwc0c4x9n] {
    flex-shrink: 0;
    opacity: 0.4;
}

.message-attachment:hover .open-icon[b-qiwc0c4x9n] {
    opacity: 1;
}

.message-caption[b-qiwc0c4x9n] {
    font-size: 12px;
    color: #667781;
    font-style: italic;
    width: 100%;
    padding: 2px 4px;
}

/* ===== Input Area ===== */
.message-input-area[b-qiwc0c4x9n] {
    padding: 8px 12px;
    background: var(--header-background-color);
    border-top: 1px solid var(--border--color);
    flex-shrink: 0;
}

.input-container[b-qiwc0c4x9n] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.message-input[b-qiwc0c4x9n] {
    flex: 1;
    border: 1px solid var(--border--color);
    outline: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-family: "Nunito Sans", sans-serif;
    color: var(--black--color);
    background: white;
    transition: border-color 0.2s;
}

.message-input:focus[b-qiwc0c4x9n] {
    border-color: var(--primary--color);
}

.message-input[b-qiwc0c4x9n]::placeholder {
    color: #8696a0;
}

.send-btn[b-qiwc0c4x9n] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--primary--color);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.send-btn:hover:not(:disabled)[b-qiwc0c4x9n] {
    background: var(--secondary--color);
}

.send-btn:disabled[b-qiwc0c4x9n] {
    background: #a0aeb9;
    cursor: not-allowed;
}

/* ===== Loading ===== */
.loading-messages[b-qiwc0c4x9n] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #667781;
    font-size: 14px;
}

.spinner-msg[b-qiwc0c4x9n] {
    width: 20px;
    height: 20px;
    border: 3px solid var(--border--color);
    border-top-color: var(--primary--color);
    border-radius: 50%;
    animation: spin-b-qiwc0c4x9n 0.6s linear infinite;
}

@keyframes spin-b-qiwc0c4x9n {
    to { transform: rotate(360deg); }
}

/* ===== Empty State ===== */
.empty-chat[b-qiwc0c4x9n] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--header-background-color);
    border-bottom: 6px solid var(--primary--color);
}

.empty-icon[b-qiwc0c4x9n] {
    margin-bottom: 24px;
}

.empty-title[b-qiwc0c4x9n] {
    font-size: 28px;
    font-weight: 300;
    color: var(--third--color);
    margin: 0 0 8px;
}

.empty-text[b-qiwc0c4x9n] {
    font-size: 13px;
    color: #667781;
    margin: 0;
}

/* ===== File Preview Modal ===== */
.modal-overlay[b-qiwc0c4x9n] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-container[b-qiwc0c4x9n] {
    background: white;
    border-radius: 8px;
    width: 90vw;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.modal-header[b-qiwc0c4x9n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: var(--header-background-color);
    border-bottom: 1px solid var(--border--color);
    flex-shrink: 0;
}

.modal-title[b-qiwc0c4x9n] {
    font-size: 13px;
    font-weight: 600;
    color: var(--black--color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    margin-right: 12px;
}

.modal-actions[b-qiwc0c4x9n] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.modal-btn[b-qiwc0c4x9n] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: none;
    color: #667781;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    text-decoration: none;
}

.modal-btn:hover[b-qiwc0c4x9n] {
    background: rgba(0, 0, 0, 0.06);
    color: var(--primary--color);
}

.modal-body[b-qiwc0c4x9n] {
    flex: 1;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    min-height: 300px;
}

.modal-body img[b-qiwc0c4x9n] {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.modal-body iframe[b-qiwc0c4x9n] {
    width: 100%;
    height: 80vh;
    border: none;
}

.modal-unsupported[b-qiwc0c4x9n] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px;
    color: #8696a0;
    text-align: center;
}

.modal-unsupported p[b-qiwc0c4x9n] {
    margin: 0;
    font-size: 14px;
}

.modal-unsupported a[b-qiwc0c4x9n] {
    text-decoration: none;
}

/* ===== Mobile Responsive ===== */
/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .chat-container[b-qiwc0c4x9n] {
        height: calc(100vh - 3.5rem);
    }

    .chat-sidebar[b-qiwc0c4x9n] {
        width: 100%;
        min-width: 100%;
    }

    .sidebar-hidden-mobile[b-qiwc0c4x9n] {
        display: none;
    }

    .detail-hidden-mobile[b-qiwc0c4x9n] {
        display: none;
    }

    .back-btn[b-qiwc0c4x9n] {
        display: flex;
    }

    .message[b-qiwc0c4x9n] {
        max-width: 90%;
    }

    .message-content--media[b-qiwc0c4x9n] {
        max-width: 240px;
    }

    .detail-header[b-qiwc0c4x9n] {
        padding: 6px 8px;
    }

    .detail-name[b-qiwc0c4x9n] {
        font-size: 13px;
    }

    .detail-sentiment[b-qiwc0c4x9n] {
        font-size: 10px;
        padding: 1px 4px;
    }

    .modal-overlay[b-qiwc0c4x9n] {
        padding: 8px;
    }

    .modal-container[b-qiwc0c4x9n] {
        width: 100vw;
        max-width: 100vw;
        max-height: 95vh;
        border-radius: 4px;
    }

    .modal-body iframe[b-qiwc0c4x9n] {
        height: 70vh;
    }

    .bot-badge svg[b-qiwc0c4x9n] {
        width: 16px;
        height: 16px;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.home-container[b-4kv6s1c0n2] {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.welcome-section[b-4kv6s1c0n2] {
    text-align: center;
    margin-bottom: 40px;
}

.welcome-icon[b-4kv6s1c0n2] {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(14, 149, 203, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.welcome-title[b-4kv6s1c0n2] {
    font-size: 28px;
    font-weight: 700;
    color: var(--black--color);
    margin: 0 0 8px;
}

.welcome-text[b-4kv6s1c0n2] {
    font-size: 16px;
    color: #667781;
    margin: 0;
}

.stats-grid[b-4kv6s1c0n2] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card[b-4kv6s1c0n2] {
    background: white;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover[b-4kv6s1c0n2] {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.stat-icon[b-4kv6s1c0n2] {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon--conversations[b-4kv6s1c0n2] {
    background: rgba(14, 149, 203, 0.1);
    color: var(--primary--color);
}

.stat-icon--unread[b-4kv6s1c0n2] {
    background: rgba(251, 184, 0, 0.1);
    color: var(--warn--color);
}

.stat-icon--online[b-4kv6s1c0n2] {
    background: rgba(21, 117, 11, 0.1);
    color: var(--success--color);
}

.stat-info[b-4kv6s1c0n2] {
    display: flex;
    flex-direction: column;
}

.stat-value[b-4kv6s1c0n2] {
    font-size: 24px;
    font-weight: 700;
    color: var(--black--color);
    line-height: 1;
}

.stat-label[b-4kv6s1c0n2] {
    font-size: 13px;
    color: #667781;
    margin-top: 4px;
}

/* ===== Sentiment Section ===== */
.sentiment-section[b-4kv6s1c0n2] {
    margin-bottom: 32px;
}

.section-title[b-4kv6s1c0n2] {
    font-size: 15px;
    font-weight: 600;
    color: var(--black--color);
    margin: 0 0 12px;
}

.sentiment-grid[b-4kv6s1c0n2] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}

.sentiment-card[b-4kv6s1c0n2] {
    background: white;
    border-radius: 8px;
    padding: 14px 12px 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    position: relative;
    overflow: hidden;
}

.sentiment-count[b-4kv6s1c0n2] {
    font-size: 22px;
    font-weight: 700;
    color: var(--black--color);
}

.sentiment-label[b-4kv6s1c0n2] {
    font-size: 12px;
    color: #667781;
}

.sentiment-bar[b-4kv6s1c0n2] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.sentiment-bar--red[b-4kv6s1c0n2] { background: #ea0000; }
.sentiment-bar--orange[b-4kv6s1c0n2] { background: #f97316; }
.sentiment-bar--yellow[b-4kv6s1c0n2] { background: #fbb800; }
.sentiment-bar--green[b-4kv6s1c0n2] { background: #15750b; }
.sentiment-bar--gray[b-4kv6s1c0n2] { background: #a0aeb9; }

.sentiment-card--red[b-4kv6s1c0n2] { border-top: 2px solid #ea0000; }
.sentiment-card--orange[b-4kv6s1c0n2] { border-top: 2px solid #f97316; }
.sentiment-card--yellow[b-4kv6s1c0n2] { border-top: 2px solid #fbb800; }
.sentiment-card--green[b-4kv6s1c0n2] { border-top: 2px solid #15750b; }
.sentiment-card--gray[b-4kv6s1c0n2] { border-top: 2px solid #a0aeb9; }

.quick-action[b-4kv6s1c0n2] {
    text-align: center;
}

.action-btn[b-4kv6s1c0n2] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary--color);
    color: white;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.35);
}

.action-btn:hover[b-4kv6s1c0n2] {
    background: var(--secondary--color);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

@media (max-width: 640px) {
    .home-container[b-4kv6s1c0n2] {
        padding: 20px 12px;
    }

    .welcome-icon[b-4kv6s1c0n2] {
        width: 72px;
        height: 72px;
    }

    .welcome-icon svg[b-4kv6s1c0n2] {
        width: 48px;
        height: 48px;
    }

    .welcome-title[b-4kv6s1c0n2] {
        font-size: 22px;
    }

    .stats-grid[b-4kv6s1c0n2] {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .stat-card[b-4kv6s1c0n2] {
        padding: 12px 8px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .stat-icon[b-4kv6s1c0n2] {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .stat-icon svg[b-4kv6s1c0n2] {
        width: 20px;
        height: 20px;
    }

    .stat-value[b-4kv6s1c0n2] {
        font-size: 18px;
    }

    .stat-label[b-4kv6s1c0n2] {
        font-size: 11px;
    }

    .sentiment-grid[b-4kv6s1c0n2] {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .sentiment-count[b-4kv6s1c0n2] {
        font-size: 18px;
    }

    .action-btn[b-4kv6s1c0n2] {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-card[b-06cx291a7p] {
    background: white;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-header[b-06cx291a7p] {
    text-align: center;
    margin-bottom: 32px;
}

.login-icon[b-06cx291a7p] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary--color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.login-title[b-06cx291a7p] {
    font-size: 28px;
    font-weight: 700;
    color: var(--black--color);
    margin: 0 0 8px;
}

.login-subtitle[b-06cx291a7p] {
    font-size: 14px;
    color: #667781;
    margin: 0;
}

.form-group[b-06cx291a7p] {
    margin-bottom: 20px;
}

.form-group[b-06cx291a7p]  .form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--third--color);
    margin-bottom: 6px;
}

.form-group[b-06cx291a7p]  .form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border--color);
    border-radius: 8px;
    font-size: 15px;
    font-family: "Nunito Sans", sans-serif;
    color: var(--black--color);
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    outline: none;
    background-color: white;
    line-height: 1.4;
}

.form-group[b-06cx291a7p]  .form-input:focus {
    border-color: var(--primary--color);
    box-shadow: 0 0 0 3px rgba(14, 149, 203, 0.15);
}

.form-group[b-06cx291a7p]  .form-input::placeholder {
    color: #a0aeb9;
}

.form-group[b-06cx291a7p]  .validation-error {
    display: block;
    color: var(--danger--color);
    font-size: 12px;
    margin-top: 4px;
}

[b-06cx291a7p] .error-alert {
    background: #fff3f3;
    color: var(--danger--color);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid #fecdd3;
}

.login-btn[b-06cx291a7p] {
    width: 100%;
    padding: 14px;
    background: var(--primary--color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: "Nunito Sans", sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.35);
}

.login-btn:hover:not(:disabled)[b-06cx291a7p] {
    background: var(--secondary--color);
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.login-btn:disabled[b-06cx291a7p] {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner[b-06cx291a7p] {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-06cx291a7p 0.6s linear infinite;
}

@keyframes spin-b-06cx291a7p {
    to { transform: rotate(360deg); }
}

@media (max-width: 480px) {
    .login-card[b-06cx291a7p] {
        padding: 24px 16px;
        border-radius: 12px;
        margin: 0 8px;
    }

    .login-icon[b-06cx291a7p] {
        width: 64px;
        height: 64px;
    }

    .login-icon svg[b-06cx291a7p] {
        width: 36px;
        height: 36px;
    }

    .login-title[b-06cx291a7p] {
        font-size: 22px;
    }
}
