/* _content/NegahDaar/Components/Layout/MainLayout.razor.rz.scp.css */
.layout[b-jauc2x5llq] {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    overflow: hidden;
    background: var(--bg);
}

.content[b-jauc2x5llq] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    /* فضای خالی پایین برای اینکه محتوا زیر نوار شناور گم نشود */
    padding-bottom: 110px; 
    box-sizing: border-box;
    width: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* ============ اپ بار پایین (شناور و کپسولی) ============ */
.bottom-bar[b-jauc2x5llq] {
    position: fixed;
    /* فاصله از پایین صفحه */
    bottom: calc(16px + env(safe-area-inset-bottom, 0)); 
    /* فاصله از چپ و راست برای حالت شناور */
    left: 16px;
    right: 16px;
    height: 64px;
    display: flex;
    align-items: center;
    background: var(--accent);
    /* ایجاد شکل کپسولی */
    border-radius: 32px;
    /* سایه برای افکت شناور بودن */
    box-shadow: 0 8px 24px rgba(1, 22, 39, 0.15), 0 2px 8px rgba(1, 22, 39, 0.08);
    border: 1px solid rgba(1, 22, 39, 0.1);
    z-index: 40;
    padding: 6px;
    box-sizing: border-box;
    overflow: hidden;
}

.bottom-bar[b-jauc2x5llq]  .bar-btn {
    flex: 1 1 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 0;
    outline: 0;
    background: transparent;
    cursor: pointer;
    color: var(--primary);
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    margin: 0 2px;
    border-radius: 26px; 
    transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
}

.bottom-bar[b-jauc2x5llq]  .bar-btn svg {
    display: block;
    transition: transform .25s ease;
}

/* ============ حالت فعال (انتخاب شده) ============ */
.bottom-bar[b-jauc2x5llq]  .bar-btn.active {
    background: var(--primary);
    color: var(--accent) !important;
    transform: translateY(-2px); 
}

.bottom-bar[b-jauc2x5llq]  .bar-btn.active svg {
    transform: scale(1.05);
}
