/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-7i5wkij69d] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-7i5wkij69d] {
    flex: 1;
}

.sidebar[b-7i5wkij69d] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-7i5wkij69d] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-7i5wkij69d]  a, .top-row[b-7i5wkij69d]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-7i5wkij69d]  a:hover, .top-row[b-7i5wkij69d]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-7i5wkij69d]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-7i5wkij69d] {
        justify-content: space-between;
    }

    .top-row[b-7i5wkij69d]  a, .top-row[b-7i5wkij69d]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-7i5wkij69d] {
        flex-direction: row;
    }

    .sidebar[b-7i5wkij69d] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-7i5wkij69d] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-7i5wkij69d]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-7i5wkij69d], article[b-7i5wkij69d] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-7i5wkij69d] {
    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-7i5wkij69d] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-mjmq4s7yiq] {
    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-mjmq4s7yiq] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-mjmq4s7yiq] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-mjmq4s7yiq] {
    font-size: 1.1rem;
}

.bi[b-mjmq4s7yiq] {
    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-mjmq4s7yiq] {
    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-plus-square-fill-nav-menu[b-mjmq4s7yiq] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-mjmq4s7yiq] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-mjmq4s7yiq] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-mjmq4s7yiq] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-mjmq4s7yiq] {
        padding-bottom: 1rem;
    }

    .nav-item[b-mjmq4s7yiq]  .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-mjmq4s7yiq]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-mjmq4s7yiq]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-mjmq4s7yiq] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-mjmq4s7yiq] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-mjmq4s7yiq] {
        display: none;
    }

    .nav-scrollable[b-mjmq4s7yiq] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-nncqgmocud],
.components-reconnect-repeated-attempt-visible[b-nncqgmocud],
.components-reconnect-failed-visible[b-nncqgmocud],
.components-pause-visible[b-nncqgmocud],
.components-resume-failed-visible[b-nncqgmocud],
.components-rejoining-animation[b-nncqgmocud] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-nncqgmocud],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-nncqgmocud],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-nncqgmocud],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-nncqgmocud],
#components-reconnect-modal.components-reconnect-retrying[b-nncqgmocud],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-nncqgmocud],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-nncqgmocud],
#components-reconnect-modal.components-reconnect-failed[b-nncqgmocud],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-nncqgmocud] {
    display: block;
}


#components-reconnect-modal[b-nncqgmocud] {
    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-nncqgmocud 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-nncqgmocud 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-nncqgmocud 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-nncqgmocud]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-nncqgmocud 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-nncqgmocud {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-nncqgmocud {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-nncqgmocud {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-nncqgmocud] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-nncqgmocud] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-nncqgmocud] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-nncqgmocud] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-nncqgmocud] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-nncqgmocud] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-nncqgmocud] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-nncqgmocud 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-nncqgmocud] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-nncqgmocud {
    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/Account/Help.razor.rz.scp.css */
/* =========================================
   TICKETS & SUPPORT PAGE STYLES (Restored from Beta)
   ========================================= */

/* العناوين الرئيسية */
.tk-header[b-sf92966vs2] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.tk-title-group h1[b-sf92966vs2] {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tk-title-group p[b-sf92966vs2] {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* أزرار الإجراءات الفاخرة */
.btn-tk-action[b-sf92966vs2] {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

    .btn-tk-action:hover[b-sf92966vs2] {
        background: var(--primary-hover);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px var(--primary-shadow);
    }
    
    .btn-tk-action:disabled[b-sf92966vs2] {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.btn-tk-secondary[b-sf92966vs2] {
    background: var(--bg-body);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

    .btn-tk-secondary:hover[b-sf92966vs2] {
        background: var(--border-color);
    }

/* شبكة الإحصائيات */
.tk-stats-grid[b-sf92966vs2] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.tk-stat-card[b-sf92966vs2] {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

    .tk-stat-card:hover[b-sf92966vs2] {
        border-color: var(--primary-light);
        transform: translateY(-2px);
    }

.tk-stat-icon[b-sf92966vs2] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tk-stat-info[b-sf92966vs2] {
    display: flex;
    flex-direction: column;
}

.tk-stat-val[b-sf92966vs2] {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.tk-stat-label[b-sf92966vs2] {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}

/* حاويات الأقسام المتغيرة */
.tk-view-section[b-sf92966vs2] {
    animation: tkFadeIn-b-sf92966vs2 0.3s ease forwards;
}

@keyframes tkFadeIn-b-sf92966vs2 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* القائمة والجداول */
.tk-card-wrapper[b-sf92966vs2] {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.tk-table-responsive[b-sf92966vs2] {
    width: 100%;
    overflow-x: auto;
}

.tk-table[b-sf92966vs2] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

[dir="rtl"] .tk-table[b-sf92966vs2] {
    text-align: right;
}

.tk-table th[b-sf92966vs2] {
    background: var(--bg-body);
    padding: 16px 20px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.tk-table td[b-sf92966vs2] {
    padding: 16px 20px;
    font-size: 14px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.tk-table tr:hover td[b-sf92966vs2] {
    background: var(--bg-body);
    cursor: pointer;
}

/* شارات الحالة الديناميكية مع لون النظام */
.tk-status-badge i[b-sf92966vs2] {
    flex-shrink: 0;
}

/* Lightbox Modal */
.lightbox-modal[b-sf92966vs2] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.lightbox-content[b-sf92966vs2] {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img[b-sf92966vs2] {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    object-fit: contain;
}

.lightbox-close[b-sf92966vs2] {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.lightbox-close:hover[b-sf92966vs2] {
    background: rgba(255, 255, 255, 0.4);
}

.lightbox-actions[b-sf92966vs2] {
    margin-top: 16px;
}

.tk-status-badge[b-sf92966vs2] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
}

.tk-badge-open[b-sf92966vs2] {
    background: var(--primary-light);
    color: var(--primary-color);
}

.tk-badge-replied[b-sf92966vs2] {
    background: var(--icon-blue-bg);
    color: var(--blue);
}

.tk-badge-closed[b-sf92966vs2] {
    background: var(--bg-body);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* صندوق الحالة الفارغة */
.tk-empty-state[b-sf92966vs2] {
    padding: 60px 20px;
    text-align: center;
    color: var(--text-muted);
}

    .tk-empty-state i[b-sf92966vs2] {
        width: 56px;
        height: 56px;
        color: var(--border-color);
        margin-bottom: 16px;
    }

    .tk-empty-state h3[b-sf92966vs2] {
        font-size: 18px;
        font-weight: 700;
        color: var(--text-main);
        margin-bottom: 6px;
    }

/* تنسيق النماذج وحقول الإدخال */
.tk-form-group[b-sf92966vs2] {
    margin-bottom: 20px;
}

.tk-form-label[b-sf92966vs2] {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.tk-form-control[b-sf92966vs2] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-body);
    color: var(--text-main);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

    .tk-form-control:focus[b-sf92966vs2] {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px var(--primary-light);
    }

/* حقل الاختيار المخصص للمصنفات */
.custom-select-wrapper[b-sf92966vs2] {
    position: relative;
    user-select: none;
}

.custom-select-trigger[b-sf92966vs2] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-body);
    color: var(--text-main);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .custom-select-trigger:hover[b-sf92966vs2] {
        border-color: var(--primary-light);
    }

.custom-select-wrapper.open .custom-select-trigger[b-sf92966vs2] {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.custom-select-trigger i[b-sf92966vs2] {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.custom-select-wrapper.open .custom-select-trigger i[b-sf92966vs2] {
    transform: rotate(180deg);
}

.custom-select-dropdown[b-sf92966vs2] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-select-wrapper.open .custom-select-dropdown[b-sf92966vs2] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-option[b-sf92966vs2] {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-main);
    cursor: pointer;
    transition: background 0.2s;
}

    .custom-option:hover[b-sf92966vs2] {
        background: var(--bg-body);
    }

    .custom-option.selected[b-sf92966vs2] {
        color: var(--primary-color);
        font-weight: 700;
        background: var(--primary-light);
    }

/* نافذة عرض تفاصيل ومحادثة التذكرة */
.chat-discussion-panel[b-sf92966vs2] {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.chat-header[b-sf92966vs2] {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-body);
}

.chat-history-body[b-sf92966vs2] {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 400px;
    overflow-y: auto;
}

/* فقاعات المحادثة الثنائية المتجاوبة */
.chat-bubble[b-sf92966vs2] {
    max-width: 75%;
    padding: 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    white-space: pre-wrap;
}

    .chat-bubble.user[b-sf92966vs2] {
        background: var(--bg-body);
        color: var(--text-main);
        align-self: flex-start;
        border-bottom-left-radius: 4px;
    }

[dir="rtl"] .chat-bubble.user[b-sf92966vs2] {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 4px;
}

.chat-bubble.support[b-sf92966vs2] {
    background: var(--primary-light);
    color: var(--text-main);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    border-left: 3px solid var(--primary-color);
}

[dir="rtl"] .chat-bubble.support[b-sf92966vs2] {
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 4px;
    border-right: 3px solid var(--primary-color);
    border-left: none;
}

.chat-meta-time[b-sf92966vs2] {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    font-family: monospace;
}

.chat-footer-reply[b-sf92966vs2] {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-body);
}

/* الأسئلة الشائعة FAQ */
.faq-item[b-sf92966vs2] {
    border-bottom: 1px solid var(--border-color);
}
.faq-item:last-child[b-sf92966vs2] {
    border-bottom: none;
}
.faq-question[b-sf92966vs2] {
    width: 100%;
    background: none;
    border: none;
    text-align: right;
    padding: 16px 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}
[dir="ltr"] .faq-question[b-sf92966vs2] { text-align: left; }
.faq-question:hover[b-sf92966vs2] {
    color: var(--primary-color);
}
.faq-question i[b-sf92966vs2] {
    width: 16px; height: 16px;
    transition: transform 0.3s;
}
.faq-question.active i[b-sf92966vs2] {
    transform: rotate(180deg);
}
.faq-answer[b-sf92966vs2] {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}
.faq-question.active + .faq-answer[b-sf92966vs2] {
    max-height: 150px;
    padding-bottom: 16px;
}

.tk-create-grid[b-sf92966vs2] {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 24px;
    align-items: start;
}
@media (max-width: 992px) {
    .tk-create-grid[b-sf92966vs2] { grid-template-columns: 1fr; }
}

[v-cloak][b-sf92966vs2] { display: none; }

/* NEW CHAT STYLES */
.chat-bubble.system[b-sf92966vs2] {
    background: var(--bg-body);
    color: var(--text-muted);
    align-self: center;
    border-radius: 8px;
    font-size: 12px;
    padding: 8px 16px;
    border: 1px dashed var(--border-color);
    max-width: 90%;
    text-align: center;
}

.chat-bubble.ai[b-sf92966vs2] {
    background: var(--icon-indigo-bg);
    color: var(--text-main);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid var(--border-color);
}
[dir="rtl"] .chat-bubble.ai[b-sf92966vs2] {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 4px;
}

.chat-attachment[b-sf92966vs2] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.05);
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 8px;
    text-decoration: none;
    color: inherit;
    font-weight: 700;
    font-size: 12px;
    border: 1px solid rgba(0,0,0,0.1);
}
.chat-attachment:hover[b-sf92966vs2] {
    background: rgba(0,0,0,0.1);
}

.tk-active-chats-row[b-sf92966vs2] {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 4px 16px 4px;
    scrollbar-width: none;
}
.tk-active-chats-row[b-sf92966vs2]::-webkit-scrollbar { display: none; }

.tk-chat-card[b-sf92966vs2] {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    min-width: 250px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.tk-chat-card:hover[b-sf92966vs2] {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.tk-chat-card-header[b-sf92966vs2] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tk-chat-card-title[b-sf92966vs2] {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tk-chat-card-time[b-sf92966vs2] {
    font-size: 11px;
    color: var(--text-muted);
    font-family: monospace;
}
.tk-chat-card-body[b-sf92966vs2] {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tk-chat-card-footer[b-sf92966vs2] {
    display: flex;
    align-items: center;
    gap: 8px;
}
.tk-chat-avatar[b-sf92966vs2] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.chat-input-wrapper[b-sf92966vs2] {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}
.chat-input-wrapper .tk-form-group[b-sf92966vs2] {
    flex-grow: 1;
    margin-bottom: 0;
}
.chat-attach-btn[b-sf92966vs2] {
    background: var(--bg-body);
    border: 1px dashed var(--border-color);
    color: var(--text-muted);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.chat-attach-btn:hover[b-sf92966vs2] {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: var(--primary-light);
}

/* ???? ???? ??????? (Optimistic) */
.chat-bubble.sending[b-sf92966vs2] {
    opacity: 0.6;
}

