/* =============================================
   NUR PLASTİK B2B – Bayi Panel Stylesheet
   Simetrik yapı: admin/assets/css/admin.css
   ============================================= */

:root {
    --sidebar-width: 260px;
    --surface: #ffffff;
    --surface-2: #f8f9fa;
    --border-color: #e9ecef;
    --primary: #0d6efd;
}

body {
    background-color: var(--surface-2);
}

/* ---------- Sidebar ---------- */
.bayi-sidebar {
    position: fixed;
    top: 57px;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    overflow-y: auto;
    z-index: 1020;
}

/* ---------- Main Content ---------- */
.bayi-main {
    min-height: calc(100vh - 57px);
}

@media (min-width: 768px) {
    .bayi-main {
        margin-left: var(--sidebar-width);
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .bayi-main {
        margin-left: 0;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* ---------- Sidebar Links ---------- */
.sidebar-link {
    border-radius: 0.5rem;
    color: #495057;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
}

.sidebar-link:hover {
    background-color: #eef2ff;
    color: var(--primary);
}

.sidebar-link.active {
    background-color: var(--primary);
    color: #fff;
}

/* ---------- Page Header ---------- */
.page-header {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 0.25rem 1rem rgba(15, 23, 42, 0.04);
}

.page-breadcrumb {
    font-size: 0.875rem;
    color: #6c757d;
}

/* ---------- Card ---------- */
.card {
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: 0 0.25rem 1rem rgba(15, 23, 42, 0.04);
}

/* ---------- Table ---------- */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ---------- Modal ---------- */
.modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

/* ---------- Empty State ---------- */
.empty {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.empty-subtitle {
    color: #6c757d;
    margin-bottom: 1rem;
}

/* ---------- Avatar ---------- */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    background-size: cover;
    background-position: center;
    font-size: 0.75rem;
    color: #6c757d;
}

.avatar-sm {
    width: 32px;
    height: 32px;
}

/* ---------- Footer ---------- */
.footer {
    padding: 1rem 0;
    font-size: 0.875rem;
    color: #6c757d;
}
