/* /Pages/Admin/TemplateData.razor.rz.scp.css */
/* Two Column Layout */
.admin-datatables-container[b-29d3t6cn0l] {
    display: flex;
    min-height: calc(100vh - 120px);
    background: #f8f9fa;
}

/* Left Sidebar */
.admin-datatables-sidebar[b-29d3t6cn0l] {
    width: 280px;
    min-width: 280px;
    background: #ffffff;
    border-right: 1px solid #e9ecef;
    overflow-y: auto;
    padding: 10px 0;
}

.sidebar-group[b-29d3t6cn0l] {
    margin-bottom: 5px;
}

.sidebar-group-title[b-29d3t6cn0l] {
    padding: 8px 15px;
    font-size: 11px;
    font-weight: 600;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f5f3ff;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.sidebar-group:first-child .sidebar-group-title[b-29d3t6cn0l] {
    border-top: none;
}

.sidebar-group-title.mydata[b-29d3t6cn0l] {
    color: #155724;
    background: #d4edda;
    border-top: 2px solid #28a745;
}

.sidebar-item[b-29d3t6cn0l] {
    padding: 10px 15px 10px 20px;
    cursor: pointer;
    font-size: 13px;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
    white-space: nowrap;
}

.sidebar-item i[b-29d3t6cn0l] {
    width: 18px;
    text-align: center;
    font-size: 13px;
    color: #667eea;
}

.sidebar-item:hover[b-29d3t6cn0l] {
    background: #eef0ff;
    color: #4c51bf;
}

.sidebar-item.active[b-29d3t6cn0l] {
    background: #e0e3ff;
    color: #4c51bf;
    font-weight: 500;
    border-left-color: #667eea;
}

.sidebar-item.active i[b-29d3t6cn0l] {
    color: #4c51bf;
}

/* myDATA section items */
.sidebar-item.mydata-item i[b-29d3t6cn0l] {
    color: #28a745;
}

.sidebar-item.mydata-item:hover[b-29d3t6cn0l] {
    background: #e8f5e9;
    color: #155724;
}

.sidebar-item.mydata-item.active[b-29d3t6cn0l] {
    background: #c8e6c9;
    color: #155724;
    border-left-color: #28a745;
}

.sidebar-item.mydata-item.active i[b-29d3t6cn0l] {
    color: #155724;
}

.sidebar-link[b-29d3t6cn0l] {
    text-decoration: none;
    color: inherit;
}

.sidebar-link:hover[b-29d3t6cn0l] {
    text-decoration: none;
}

/* Right Content Area */
.admin-datatables-content[b-29d3t6cn0l] {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

/* v3.9.3: Type filter buttons */
.type-filter-bar[b-29d3t6cn0l] {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    padding: 8px 0;
    flex-wrap: wrap;
}

.type-filter-btn[b-29d3t6cn0l] {
    padding: 6px 14px;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    background: white;
    color: #495057;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.type-filter-btn:hover[b-29d3t6cn0l] {
    background: #e9ecef;
    border-color: #adb5bd;
}

.type-filter-btn.active[b-29d3t6cn0l] {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.type-filter-btn.sales.active[b-29d3t6cn0l] {
    background: #667eea;
    border-color: #667eea;
}

.type-filter-btn.purchases.active[b-29d3t6cn0l] {
    background: #f59e0b;
    border-color: #f59e0b;
}

.type-filter-btn.receipts.active[b-29d3t6cn0l] {
    background: #48bb78;
    border-color: #48bb78;
}

.type-filter-btn.payments.active[b-29d3t6cn0l] {
    background: #ef4444;
    border-color: #ef4444;
}

.type-filter-btn.warehouse.active[b-29d3t6cn0l] {
    background: #8b5cf6;
    border-color: #8b5cf6;
}
/* /Pages/Settings/DataTables/DataTables.razor.rz.scp.css */
    /* Two Column Layout */
    .datatables-container[b-43ura4k4ue] {
        display: flex;
        height: calc(100vh - 130px);
        background: #f8f9fa;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    /* Left Sidebar */
    .datatables-sidebar[b-43ura4k4ue] {
        width: 260px;
        min-width: 260px;
        background: #ffffff;
        border-right: 1px solid #e9ecef;
        overflow-y: auto;
        padding: 10px 0;
    }

    .sidebar-group[b-43ura4k4ue] {
        margin-bottom: 5px;
    }

    .sidebar-group-title[b-43ura4k4ue] {
        padding: 8px 15px;
        font-size: 11px;
        font-weight: 600;
        color: #22B2A8;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        background: #f8fafa;
        border-top: 1px solid #e9ecef;
        border-bottom: 1px solid #e9ecef;
    }

    .sidebar-group:first-child .sidebar-group-title[b-43ura4k4ue] {
        border-top: none;
    }

    .sidebar-item[b-43ura4k4ue] {
        padding: 10px 15px 10px 20px;
        cursor: pointer;
        font-size: 14px;
        color: #495057;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: all 0.15s ease;
        border-left: 3px solid transparent;
    }

    .sidebar-item i[b-43ura4k4ue] {
        width: 18px;
        text-align: center;
        font-size: 13px;
        color: #22B2A8;
    }

    .sidebar-item:hover[b-43ura4k4ue] {
        background: #e6f9fd;
        color: #1a8f87;
    }

    .sidebar-item.active[b-43ura4k4ue] {
        background: #d4f5f2;
        color: #1a8f87;
        font-weight: 500;
        border-left-color: #22B2A8;
    }

    .sidebar-item.active i[b-43ura4k4ue] {
        color: #1a8f87;
    }

    .sidebar-link[b-43ura4k4ue] {
        text-decoration: none;
        color: inherit;
    }

    .sidebar-link:hover[b-43ura4k4ue] {
        text-decoration: none;
    }

    /* Right Content Area */
    .datatables-content[b-43ura4k4ue] {
        flex: 1;
        overflow-y: auto;
        background: #ffffff;
    }

    .content-header[b-43ura4k4ue] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        border-bottom: 1px solid #e9ecef;
        background: #f8f9fa;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .content-header h5[b-43ura4k4ue] {
        color: #495057;
        font-weight: 600;
    }

    .content-body[b-43ura4k4ue] {
        padding: 15px;
    }

    /* Data Tables */
    .data-table[b-43ura4k4ue] {
        background: white;
        font-size: 14px;
        margin-bottom: 0;
    }

    .data-table thead[b-43ura4k4ue] {
        background: #f8f9fa;
    }

    .data-table th[b-43ura4k4ue] {
        font-weight: 600;
        color: #495057;
        border-bottom: 2px solid #dee2e6;
        padding: 10px 12px;
        white-space: nowrap;
    }

    .data-table td[b-43ura4k4ue] {
        padding: 8px 12px;
        vertical-align: middle;
    }

    .code-badge[b-43ura4k4ue] {
        background: #e9ecef;
        padding: 2px 6px;
        border-radius: 3px;
        font-size: 13px;
    }

    /* Expense Groups Container */
    .expense-groups-container[b-43ura4k4ue] {
        max-width: 900px;
    }

    /* v3.9.3: Type filter buttons */
    .type-filter-bar[b-43ura4k4ue] {
        display: flex;
        gap: 6px;
        margin-bottom: 12px;
        padding: 8px 0;
        flex-wrap: wrap;
    }

    .type-filter-btn[b-43ura4k4ue] {
        padding: 6px 14px;
        border: 1px solid #dee2e6;
        border-radius: 20px;
        background: white;
        color: #495057;
        font-size: 13px;
        cursor: pointer;
        transition: all 0.15s ease;
        white-space: nowrap;
    }

    .type-filter-btn:hover[b-43ura4k4ue] {
        background: #e9ecef;
        border-color: #adb5bd;
    }

    .type-filter-btn.active[b-43ura4k4ue] {
        background: #22B2A8;
        color: white;
        border-color: #22B2A8;
    }

    .type-filter-btn.sales.active[b-43ura4k4ue] {
        background: #667eea;
        border-color: #667eea;
    }

    .type-filter-btn.purchases.active[b-43ura4k4ue] {
        background: #f59e0b;
        border-color: #f59e0b;
    }

    .type-filter-btn.receipts.active[b-43ura4k4ue] {
        background: #48bb78;
        border-color: #48bb78;
    }

    .type-filter-btn.payments.active[b-43ura4k4ue] {
        background: #ef4444;
        border-color: #ef4444;
    }

    .type-filter-btn.warehouse.active[b-43ura4k4ue] {
        background: #8b5cf6;
        border-color: #8b5cf6;
    }
/* /Pages/Settings/SettingsToolsTab.razor.rz.scp.css */
.tool-group-card[b-ho0a8u6fko] {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.tool-group-card:hover[b-ho0a8u6fko] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tool-group-header[b-ho0a8u6fko] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid #f3f4f6;
    background: #fafbfc;
}

.tool-group-header i[b-ho0a8u6fko] {
    font-size: 1.1rem;
    width: 1.5rem;
    text-align: center;
}

.tool-row[b-ho0a8u6fko] {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s ease;
    cursor: pointer;
}

.tool-row:hover[b-ho0a8u6fko] {
    background-color: #f8fafc;
    text-decoration: none;
    color: inherit;
}

.tool-row:not(:last-child)[b-ho0a8u6fko] {
    border-bottom: 1px solid #f3f4f6;
}

.tool-icon-wrap[b-ho0a8u6fko] {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.tool-text[b-ho0a8u6fko] {
    flex: 1;
    min-width: 0;
    margin-left: 0.75rem;
}

.tool-name[b-ho0a8u6fko] {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1f2937;
    line-height: 1.3;
}

.tool-desc[b-ho0a8u6fko] {
    font-size: 0.75rem;
    color: #9ca3af;
    line-height: 1.3;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tool-arrow[b-ho0a8u6fko] {
    color: #d1d5db;
    font-size: 0.75rem;
    margin-left: 0.5rem;
    transition: color 0.15s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.tool-row:hover .tool-arrow[b-ho0a8u6fko] {
    color: #6b7280;
    transform: translateX(2px);
}
