/* _content/WebMuhasebe.Web/Components/Layout/MainLayout.razor.rz.scp.css */
/* ==========================================================================
   WEBMUHASEBE - MAINLAYOUT SCOPED RESPONSIVE STYLES
   ========================================================================== */

/* 🖥️ MASAÜSTÜ VE LAPTOP EKRANLARI (769px ve üzeri) */
@media (min-width: 769px) {
    .sidebar[b-dmgz3qg6d1] {
        width: 260px !important;
        min-width: 260px !important;
        height: 100vh !important;
        max-height: 100vh !important;
        position: sticky !important;
        top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
        z-index: 80 !important;
    }

    .sidebar.collapsed[b-dmgz3qg6d1] {
        width: 68px !important;
        min-width: 68px !important;
    }
}

/* 📱 TELEFON VE MOBİL CİHAZLAR (768px ve altı) */
@media (max-width: 768px) {
    .sidebar[b-dmgz3qg6d1] {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 285px !important;
        min-width: 285px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
        z-index: 99999 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: 10px 0 35px rgba(0, 0, 0, 0.5) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    .sidebar.mobile-open[b-dmgz3qg6d1] {
        transform: translateX(0) !important;
    }

    .app-layout[b-dmgz3qg6d1] {
        display: block !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        min-height: 100vh !important;
    }

    .main-wrapper[b-dmgz3qg6d1] {
        width: 100% !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    .desktop-only[b-dmgz3qg6d1] {
        display: none !important;
    }
}

#blazor-error-ui[b-dmgz3qg6d1] {
    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-dmgz3qg6d1] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* _content/WebMuhasebe.Web/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-wqlfg5fzx9] {
    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-wqlfg5fzx9] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-wqlfg5fzx9] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-wqlfg5fzx9] {
    font-size: 1.1rem;
}

.bi[b-wqlfg5fzx9] {
    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-wqlfg5fzx9] {
    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-wqlfg5fzx9] {
    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-wqlfg5fzx9] {
    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-wqlfg5fzx9] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-wqlfg5fzx9] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-wqlfg5fzx9] {
        padding-bottom: 1rem;
    }

    .nav-item[b-wqlfg5fzx9]  .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-wqlfg5fzx9]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-wqlfg5fzx9]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-wqlfg5fzx9] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-wqlfg5fzx9] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-wqlfg5fzx9] {
        display: none;
    }

    .nav-scrollable[b-wqlfg5fzx9] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/WebMuhasebe.Web/Components/Shared/ReportFilterBar.razor.rz.scp.css */
.report-filter-panel[b-j8o9ejiaya] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.filter-top-row[b-j8o9ejiaya] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}
.filter-presets[b-j8o9ejiaya] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.preset-label[b-j8o9ejiaya] {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    margin-right: 4px;
    letter-spacing: 0.5px;
}
.preset-pill[b-j8o9ejiaya] {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}
.preset-pill:hover[b-j8o9ejiaya] {
    background: #e2e8f0;
    color: #0f172a;
}
.preset-pill.active[b-j8o9ejiaya] {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(37,99,235,0.3);
}
.filter-actions[b-j8o9ejiaya] {
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-filter-action[b-j8o9ejiaya] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
    height: 36px;
}
.btn-filter-action:hover[b-j8o9ejiaya] {
    background: #f8fafc;
    border-color: #94a3b8;
}
.btn-filter-action.excel[b-j8o9ejiaya] {
    color: #15803d;
    border-color: #bbf7d0;
    background: #f0fdf4;
}
.btn-filter-action.excel:hover[b-j8o9ejiaya] {
    background: #dcfce7;
    border-color: #86efac;
}
.btn-filter-action.print[b-j8o9ejiaya] {
    color: #0f172a;
    border-color: #cbd5e1;
}
.btn-filter-action.print:hover[b-j8o9ejiaya] {
    background: #f1f5f9;
}
.col-chooser-wrapper[b-j8o9ejiaya] {
    position: relative;
}
.col-chooser-backdrop[b-j8o9ejiaya] {
    position: fixed;
    inset: 0;
    z-index: 1040;
}
.col-chooser-menu[b-j8o9ejiaya] {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    width: 250px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
    z-index: 1050;
    padding: 10px;
}
.col-chooser-header[b-j8o9ejiaya] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px 8px 6px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
}
.link-btn[b-j8o9ejiaya] {
    background: none;
    border: none;
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}
.link-btn:hover[b-j8o9ejiaya] {
    text-decoration: underline;
}
.col-chooser-list[b-j8o9ejiaya] {
    max-height: 260px;
    overflow-y: auto;
    padding-top: 6px;
}
.col-chooser-item[b-j8o9ejiaya] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    font-size: 12px;
    color: #334155;
    border-radius: 6px;
    cursor: pointer;
}
.col-chooser-item:hover[b-j8o9ejiaya] {
    background: #f1f5f9;
}
.filter-controls-grid[b-j8o9ejiaya] {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}
.filter-field[b-j8o9ejiaya] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 140px;
    flex: 1 1 140px;
}
.filter-field.custom-filter[b-j8o9ejiaya] {
    min-width: 180px;
    flex: 1.2 1 180px;
}
.filter-field.search-field[b-j8o9ejiaya] {
    min-width: 240px;
    flex: 2 1 240px;
}
.filter-field.action-field[b-j8o9ejiaya] {
    min-width: 110px;
    flex: 0 0 auto;
}
.filter-field label[b-j8o9ejiaya] {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}
.filter-field input[b-j8o9ejiaya], .filter-field select[b-j8o9ejiaya] {
    height: 38px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
    width: 100%;
    transition: all 0.15s ease;
}
.filter-field input:focus[b-j8o9ejiaya], .filter-field select:focus[b-j8o9ejiaya] {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.search-box[b-j8o9ejiaya] {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.search-box input[b-j8o9ejiaya] {
    width: 100%;
    padding-left: 36px !important;
    padding-right: 30px !important;
}
.search-icon[b-j8o9ejiaya] {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    font-size: 14px;
    line-height: 1;
}
.clear-btn[b-j8o9ejiaya] {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 13px;
    padding: 2px 6px;
    line-height: 1;
}
.clear-btn:hover[b-j8o9ejiaya] {
    color: #0f172a;
}
.btn-report-run[b-j8o9ejiaya] {
    height: 38px;
    padding: 0 22px;
    background: #2563eb;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.15s ease, transform 0.1s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(37,99,235,0.2);
}
.btn-report-run:hover[b-j8o9ejiaya] {
    background: #1d4ed8;
    transform: translateY(-1px);
}
.btn-report-run:active[b-j8o9ejiaya] {
    transform: translateY(0);
}
