﻿.heilton-pro-toolbar {
    /*    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
*/ padding: 14px 32px;
    direction: rtl;
    font-family: 'IRANSans' !important;
    font-size: 1.2rem !important;
    position: relative;
    z-index: 30;
    /*    box-shadow: 0 10px 30px -10px rgba(35, 31, 64, 0.04);
*/
}

.toolbar-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    direction: rtl;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    flex: 1;
    justify-content: flex-end;
}

.pro-explorer-btn {
    background: #231F40;
    color: #ffffff;
    border: none;
    padding: 9px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(35, 31, 64, 0.2);
    transition: all 0.25s ease;
}

    .pro-explorer-btn:hover {
        background: #312b59;
        transform: translateY(-1px);
    }

.btn-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px;
    border-radius: 6px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.pro-divider {
    width: 1px;
    height: 24px;
    background: #e2e8f0;
}

.pro-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

    .pro-breadcrumb a {
        color: #64748b;
        text-decoration: none;
        font-weight: 500;
    }

        .pro-breadcrumb a:hover {
            color: #231F40;
        }

    .pro-breadcrumb .sep {
        color: #cbd5e1;
        font-size: 11px;
    }

.quick-chips-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    max-width: 100%;
    flex-direction: row-reverse;
}

    .quick-chips-scroll::-webkit-scrollbar {
        display: none;
    }

.pro-chip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    text-decoration: none;
}

    .pro-chip:hover {
        background: #f1f5f9;
        color: #231F40;
    }

    .pro-chip.active {
        background: #f0edff;
        color: #4c3f91;
        border-color: #dcd6ff;
    }

.category-tree-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 390px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -20px 0 50px rgba(35, 31, 64, 0.12);
    z-index: 20000 !important;
    transform: translateZ(0);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    direction: rtl;
    text-align: right;
}

    .category-tree-drawer.open {
        right: 0;
    }

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(35, 31, 64, 0.45);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s;
    z-index: 999;
}

    .drawer-backdrop.open {
        opacity: 1;
        visibility: visible;
    }

.drawer-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.drawer-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #231F40;
}

.drawer-close {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    color: #64748b;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-search-box {
    padding: 14px 24px;
    border-bottom: 1px solid #f1f5f9;
}

    .drawer-search-box input {
        width: 100%;
        padding: 9px 14px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        font-size: 12px;
        outline: none;
    }

        .drawer-search-box input:focus {
            border-color: #4c3f91;
            background: #fff;
            box-shadow: 0 0 0 3px rgba(76, 63, 145, 0.08);
        }

.tree-container {
    flex: 1;
    overflow-y: auto;
    padding: 18px 24px;
}

.t-node {
    margin-top: 6px;
}

.t-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 12px;
    color: #334155;
    transition: all 0.15s;
}

    .t-row:hover {
        background: #f8fafc;
        color: #231F40;
    }

.t-arrow {
    color: #94a3b8;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.t-node.open > .t-row > .t-arrow {
    transform: rotate(90deg);
}

.t-dot {
    width: 6px;
    height: 6px;
    background: #cbd5e1;
    border-radius: 50%;
    margin-right: 4px;
    flex-shrink: 0;
}

.t-label {
    flex: 1;
    font-weight: 500;
}

.t-badge {
    font-size: 10px;
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 7px;
    border-radius: 6px;
    font-weight: 600;
}

.t-children {
    padding-right: 18px;
    border-right: 1px dashed #e2e8f0;
    margin-right: 14px;
    margin-top: 4px;
    margin-bottom: 4px;
    display: none;
}

.t-node.open > .t-children {
    display: block;
}

.t-node.active > .t-row {
    background: #f0edff;
    color: #4c3f91;
}

    .t-node.active > .t-row .t-label {
        font-weight: 700;
    }

    .t-node.active > .t-row .t-badge {
        background: #4c3f91;
        color: #fff;
    }

    .t-node.active > .t-row .t-dot {
        background: #4c3f91;
    }
