/* ─────────────────────────────────────
   TEMEL DEĞİŞKENLER
───────────────────────────────────── */
:root {
    --bg: #f4f6f9;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --border-focus: #3b82f6;
    --text: #1e293b;
    --text-2: #64748b;
    --text-3: #94a3b8;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-light: #eff6ff;
    --green: #16a34a;
    --green-light: #f0fdf4;
    --red: #dc2626;
    --red-light: #fef2f2;
    --yellow: #d97706;
    --yellow-light: #fffbeb;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 16px rgba(0,0,0,0.08);
    --nav-h: 60px;
    --bottom-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ─────────────────────────────────────
   ÜST NAVİGASYON
───────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    height: var(--nav-h);
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-shadow: var(--shadow-sm);
}

.navbar-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }

.brand-icon {
    width: 34px; height: 34px;
    background: var(--accent);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 16px; font-weight: 700;
}

.brand-text { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; }

.navbar-right { display: flex; align-items: center; gap: 10px; }

/* Masaüstü nav linkleri (varsayılan gizli, 768px+ görünür) */
.navbar-links {
    display: none;
    align-items: center;
    gap: 4px;
    flex: 1;
    margin-left: 24px;
}

.navbar-link {
    display: flex; align-items: center; gap: 6px;
    text-decoration: none;
    color: var(--text-2);
    font-size: 13.5px; font-weight: 500;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.15s;
}
.navbar-link:hover { background: var(--bg); color: var(--text); }
.navbar-link.active { background: var(--accent-light, #eff6ff); color: var(--accent); font-weight: 600; }
.nav-excel-icon {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: #16a34a;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    box-shadow: inset -3px 0 0 rgba(0,0,0,0.12);
}

.navbar-link-btn {
    display: flex; align-items: center;
    text-decoration: none;
    background: var(--accent);
    color: white;
    font-size: 13px; font-weight: 600;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    margin-left: 8px;
    transition: background 0.15s;
}
.navbar-link-btn:hover { background: var(--accent-hover); }

.nav-user-info { display: flex; flex-direction: column; align-items: flex-end; }
.nav-username { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.2; }
.nav-role { font-size: 11px; color: var(--text-3); }
.nav-role.admin { color: var(--accent); font-weight: 600; }

.btn-cikis {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; color: var(--text-2); font-size: 16px;
    transition: all 0.15s;
}
.btn-cikis:hover { background: var(--red-light); color: var(--red); border-color: #fecaca; }

/* ─────────────────────────────────────
   ALT NAVİGASYON (MOBİL)
───────────────────────────────────── */
.bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 200;
    height: var(--bottom-h);
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 8px;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}

.bottom-nav-item {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: var(--text-3);
    padding: 8px 4px;
    border-radius: var(--radius-sm);
    transition: all 0.15s;
    font-size: 10px; font-weight: 500;
}
.bottom-nav-item.active { color: var(--accent); }
.bottom-nav-item .nav-icon { font-size: 20px; line-height: 1; }

.bottom-nav-add { flex: 1; display: flex; justify-content: center; }

.btn-add-fab {
    width: 48px; height: 48px;
    background: var(--accent);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; color: white;
    font-size: 26px; font-weight: 300;
    box-shadow: 0 4px 14px rgba(37,99,235,0.4);
    transition: transform 0.15s;
    line-height: 1;
}
.btn-add-fab:active { transform: scale(0.92); }

/* ─────────────────────────────────────
   MAIN
───────────────────────────────────── */
.main-content {
    padding: calc(var(--nav-h) + 16px) 8px calc(var(--bottom-h) + 16px);
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* ─────────────────────────────────────
   FLASH
───────────────────────────────────── */
.flash-container { margin-bottom: 16px; }

.flash {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 16px;
    border-radius: var(--radius);
    margin-bottom: 8px;
    font-size: 14px; font-weight: 500;
}

.flash-icon {
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; flex-shrink: 0;
}

.flash-basari { background: var(--green-light); color: var(--green); border: 1px solid #bbf7d0; }
.flash-basari .flash-icon { background: var(--green); color: white; }
.flash-hata { background: var(--red-light); color: var(--red); border: 1px solid #fecaca; }
.flash-hata .flash-icon { background: var(--red); color: white; }

/* ─────────────────────────────────────
   SAYFA BAŞLIK
───────────────────────────────────── */
.page-header { margin-bottom: 18px; }
.page-title { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; }
.page-sub { font-size: 13px; color: var(--text-3); margin-top: 2px; }

/* ─────────────────────────────────────
   SİPARİŞ KARTLARI
───────────────────────────────────── */
.siparis-liste { display: flex; flex-direction: column; gap: 12px; }

.siparis-kart {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.kart-ust {
    display: flex; align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}

.kart-musteri { font-size: 16px; font-weight: 700; }
.kart-id { font-size: 11px; color: var(--text-3); font-family: monospace; margin-top: 2px; }
.kart-tutar { font-size: 18px; font-weight: 700; color: var(--green); white-space: nowrap; }

.kart-bilgiler { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }

.kart-tag {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; padding: 4px 8px;
    border-radius: 6px; background: var(--bg);
    color: var(--text-2); font-weight: 500;
}

.kart-urun {
    font-size: 13px; color: var(--text-2);
    margin-bottom: 12px; line-height: 1.4;
    padding: 9px 12px;
    background: var(--bg); border-radius: var(--radius-sm);
}

.kart-alt {
    display: flex; align-items: center;
    justify-content: space-between;
    padding-top: 10px; border-top: 1px solid var(--border);
}

.kart-tarih { font-size: 11px; color: var(--text-3); font-family: monospace; }
.kart-islemler { display: flex; gap: 8px; }

.btn-duzenle {
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--accent-light); color: var(--accent);
    text-decoration: none; font-size: 13px; font-weight: 600;
    padding: 8px 14px; border-radius: var(--radius-sm);
    border: 1px solid #bfdbfe;
}
.btn-duzenle:active { background: #dbeafe; }
.btn-duzenle-guncellendi {
    background: #dcfce7; color: #16a34a;
    border-color: #86efac;
}
.btn-duzenle-guncellendi:active { background: #bbf7d0; }

.btn-suresi-doldu {
    display: inline-flex; align-items: center;
    font-size: 12px; color: var(--text-3);
    padding: 8px 12px; border-radius: var(--radius-sm);
    background: var(--bg); border: 1px solid var(--border);
}

/* Ödeme badge */
.badge-odeme { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 5px; white-space: nowrap; }
.badge-kapida-nakit, .badge-kapıda-nakit { background: #f0fdf4; color: #16a34a; }
.badge-kapida-kredi-karti, .badge-kapıda-kredi-kartı,
.badge-kapida-kart, .badge-kapıda-kart { background: #fef2f2; color: #dc2626; }
.badge-havale-eft { background: #fffbeb; color: #d97706; }


/* ─────────────────────────────────────
   BOŞ DURUM
───────────────────────────────────── */
.bos-durum {
    text-align: center; padding: 60px 24px;
    background: var(--bg-white);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}
.bos-ikon { font-size: 48px; margin-bottom: 12px; }
.bos-durum h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.bos-durum p { color: var(--text-3); font-size: 14px; margin-bottom: 20px; }

/* ─────────────────────────────────────
   FORM
───────────────────────────────────── */
.form-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.form-section {
    padding: 18px 16px;
    border-bottom: 1px solid var(--border);
}
.form-section:last-of-type { border-bottom: none; }

.section-baslik {
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.8px;
    color: var(--accent); margin-bottom: 14px;
}

.form-group { margin-bottom: 14px; display: flex; flex-direction: column; gap: 6px; }
.form-group:last-child { margin-bottom: 0; }

.form-label { font-size: 14px; font-weight: 600; color: var(--text); }
.zorunlu { color: var(--red); margin-left: 2px; }

.form-input {
    width: 100%;
    background: var(--bg);
    border: 1.5px solid var(--border);
    color: var(--text);
    padding: 14px;
    border-radius: var(--radius);
    font-size: 16px; /* iOS zoom önleme */
    font-family: inherit;
    transition: border-color 0.15s, background 0.15s;
    outline: none;
    -webkit-appearance: none;
}
.form-input:focus {
    border-color: var(--border-focus);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-input::placeholder { color: var(--text-3); }
.form-textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.sure-bilgi {
    display: flex; align-items: center; gap: 10px;
    background: var(--yellow-light);
    border: 1px solid #fde68a;
    color: var(--yellow);
    padding: 12px 16px; border-radius: var(--radius);
    margin-bottom: 16px; font-size: 13.5px; font-weight: 500;
}
.sure-doldu { background: var(--red-light); border-color: #fecaca; color: var(--red); }

.form-actions {
    padding: 16px; display: flex; gap: 10px;
    background: var(--bg); border-top: 1px solid var(--border);
}

.btn-iptal {
    flex: 1; text-align: center;
    padding: 14px; border-radius: var(--radius);
    border: 1.5px solid var(--border);
    color: var(--text-2); text-decoration: none;
    font-size: 15px; font-weight: 600;
    background: var(--bg-white);
}

.btn-kaydet {
    flex: 2; padding: 14px;
    border-radius: var(--radius);
    background: var(--accent); color: white;
    border: none; font-size: 15px; font-weight: 700;
    cursor: pointer; font-family: inherit;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.btn-kaydet:active { background: var(--accent-hover); transform: scale(0.98); }

.btn-geri {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--text-2); text-decoration: none;
    font-size: 14px; font-weight: 500;
    margin-bottom: 16px; padding: 6px 0;
}

/* ─────────────────────────────────────
   KULLANICI KARTLARI
───────────────────────────────────── */
.kullanici-liste { display: flex; flex-direction: column; gap: 10px; }

.kullanici-kart {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    display: flex; align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.kullanici-sol { display: flex; align-items: center; gap: 12px; }

.kullanici-avatar {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--accent-light); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700; flex-shrink: 0;
    overflow: hidden;
}
.kullanici-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.kullanici-avatar.admin-av { background: #f5f3ff; color: #7c3aed; }

.kullanici-adi { font-size: 15px; font-weight: 600; }
.kullanici-tarih { font-size: 11px; color: var(--text-3); font-family: monospace; }

.badge-rol { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 5px; text-transform: uppercase; }
.badge-admin-rol { background: #f5f3ff; color: #7c3aed; }
.badge-kullanici-rol { background: var(--bg); color: var(--text-2); }

.btn-sil {
    background: transparent; color: var(--red);
    border: 1.5px solid #fecaca;
    padding: 8px 14px; border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 600;
    cursor: pointer; font-family: inherit;
}
.btn-sil:active { background: var(--red-light); }
.td-ben { color: var(--text-3); font-size: 12px; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--accent); color: white;
    text-decoration: none; padding: 11px 16px;
    border-radius: var(--radius); font-size: 14px; font-weight: 600;
    box-shadow: 0 3px 10px rgba(37,99,235,0.25);
    border: none; cursor: pointer; font-family: inherit;
}
.btn-primary:active { background: var(--accent-hover); }

/* ─────────────────────────────────────
   GİRİŞ SAYFASI
───────────────────────────────────── */
.giris-sayfasi {
    background: linear-gradient(160deg, #1e3a8a 0%, #1d4ed8 50%, #3b82f6 100%);
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 24px 20px;
}

.giris-logo { text-align: center; margin-bottom: 28px; }

.giris-logo-icon {
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: white;
    margin: 0 auto 12px;
}

.giris-logo h1 { font-size: 22px; font-weight: 700; color: white; }
.giris-logo p { font-size: 14px; color: rgba(255,255,255,0.65); margin-top: 4px; }

.giris-kart {
    background: white; border-radius: 24px;
    padding: 28px 22px;
    width: 100%; max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.giris-kart h2 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.giris-kart > p { font-size: 14px; color: var(--text-3); margin-bottom: 22px; }

.giris-form { display: flex; flex-direction: column; gap: 14px; }

.btn-giris {
    width: 100%; padding: 15px;
    border-radius: var(--radius);
    background: var(--accent); color: white;
    border: none; font-size: 16px; font-weight: 700;
    cursor: pointer; font-family: inherit;
    margin-top: 4px;
    box-shadow: 0 4px 16px rgba(37,99,235,0.35);
}
.btn-giris:active { background: var(--accent-hover); transform: scale(0.98); }

/* ─────────────────────────────────────
   DESKTOP 768px+
───────────────────────────────────── */
@media (min-width: 768px) {
    .bottom-nav { display: none; }
    .navbar-links { display: flex; }
    .main-content {
        padding: calc(var(--nav-h) + 28px) 32px 48px;
        max-width: 100%;
    }
    .navbar { padding: 0 32px; }
    .form-section { padding: 22px 24px; }
    .form-actions { padding: 20px 24px; }
    .form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .form-card-kucuk { max-width: 500px; }
    .page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
    .page-title { font-size: 26px; }
    .siparis-kart { padding: 20px 24px; }
    .kullanici-kart { padding: 16px 24px; }
    .tablo-kap { min-width: unset; width: 100%; }
    .siparis-tablo { font-size: 11.5px; }
}

/* ─────────────────────────────────────
   GÖRÜNÜM TOGGLE BUTONLARI
───────────────────────────────────── */
.goruntum-toggle {
    display: flex;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-white);
}

.toggle-btn {
    background: transparent;
    border: none;
    padding: 8px 13px;
    font-size: 17px;
    cursor: pointer;
    color: var(--text-3);
    transition: all 0.15s;
    font-family: inherit;
    line-height: 1;
}

.toggle-btn:first-child {
    border-right: 1.5px solid var(--border);
}

.toggle-btn.active {
    background: var(--accent);
    color: white;
}

.toggle-btn:not(.active):hover {
    background: var(--bg);
    color: var(--text);
}

/* ─────────────────────────────────────
   TABLO GÖRÜNÜMÜ
───────────────────────────────────── */
.tablo-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.tablo-kap {
    min-width: 600px;
}

.siparis-tablo {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    font-size: 12px;
}

.siparis-tablo thead tr {
    background: var(--bg);
    border-bottom: 2px solid var(--border);
}

.siparis-tablo th {
    padding: 9px 10px;
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-2);
    white-space: nowrap;
}

.siparis-tablo tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.1s;
}

.siparis-tablo tbody tr:last-child {
    border-bottom: none;
}

.siparis-tablo tbody tr:hover {
    background: var(--accent-light);
}

.siparis-tablo td {
    padding: 8px 10px;
    vertical-align: middle;
    color: var(--text);
}

.td-id {
    font-family: monospace;
    font-size: 11px;
    color: var(--text-3);
    white-space: nowrap;
}

.td-musteri {
    font-weight: 600;
    font-size: 12px;
    min-width: 110px;
}

.td-telefon {
    font-family: monospace;
    font-size: 11.5px;
    white-space: nowrap;
    color: var(--text-2);
}

.td-urun {
    min-width: 140px;
    max-width: 200px;
}

.urun-metin {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-2);
    font-size: 11.5px;
    line-height: 1.4;
}

.td-konum {
    font-size: 11.5px;
    white-space: nowrap;
}

.td-ilce {
    font-size: 10.5px;
    color: var(--text-3);
}

.td-tutar {
    font-weight: 700;
    color: var(--green);
    white-space: nowrap;
    font-size: 12.5px;
}

.td-tarih {
    font-family: monospace;
    font-size: 10.5px;
    color: var(--text-3);
    white-space: nowrap;
}

.td-kullanici {
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
}

.badge-odeme {
    font-size: 10px !important;
    padding: 2px 6px !important;
}

/* ─────────────────────────────────────
   MOBİL TABLO OPTİMİZASYONU
───────────────────────────────────── */
@media (max-width: 767px) {
    .main-content {
        padding-left: 4px;
        padding-right: 4px;
    }
    .tablo-wrapper {
        border-radius: 8px;
        margin: 0;
        width: 100%;
    }
    .siparis-tablo {
        font-size: 6.5px;
    }
    .siparis-tablo th {
        font-size: 6px;
        padding: 4px 4px;
        letter-spacing: 0.1px;
    }
    .siparis-tablo td {
        padding: 3px 4px;
    }
    .td-musteri { min-width: 55px; font-size: 6.5px; }
    .td-urun { min-width: 70px; max-width: 90px; }
    .td-telefon { font-size: 6px; }
    .td-tarih { font-size: 6px; }
    .td-tutar { font-size: 6.5px; }
    .td-konum { font-size: 6px; }
    .td-ilce { font-size: 5.5px; }
    .td-id { font-size: 6px; }
    .urun-metin { font-size: 6px; }
    .badge-odeme { font-size: 6px !important; padding: 1px 3px !important; }
    .page-header {
        margin-bottom: 14px;
    }
}

/* Yeni rol badge'leri */
.badge-yonetici-rol { background: #f0fdf4; color: #16a34a; }
.badge-bayii-rol { background: #fff7ed; color: #ea580c; }
.badge-admin-rol { background: #f5f3ff; color: #7c3aed; }
.badge-kullanici-rol { background: var(--bg); color: var(--text-2); }

/* ─────────────────────────────────────
   DARK MODE
───────────────────────────────────── */
html.dark {
    --bg: #0f172a;
    --bg-white: #1e293b;
    --border: #334155;
    --border-focus: #60a5fa;
    --text: #f1f5f9;
    --text-2: #94a3b8;
    --text-3: #64748b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-light: #1e3a5f;
    --green: #22c55e;
    --green-light: #052e16;
    --red: #f87171;
    --red-light: #1f1010;
    --yellow: #fbbf24;
    --yellow-light: #1f1500;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow: 0 4px 16px rgba(0,0,0,0.4);
}

html.dark .form-input { color: var(--text); }
html.dark .giris-kart { background: #1e293b; }

.nav-icon-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 16px;
    transition: all 0.15s;
    padding: 0;
}
.nav-icon-btn:hover { background: var(--accent-light); border-color: var(--border-focus); }
/* ─────────────────────────────────────────
   PROFİL FOTOĞRAFI (yuvarlak)
   ───────────────────────────────────────── */
.nav-profil-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 3px 6px 3px 3px;
    border-radius: 999px;
    transition: background .15s;
}
.nav-profil-link:hover { background: var(--bg, #f3f4f6); }

.nav-profil-foto {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid rgba(255,255,255,0.6);
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.nav-profil-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Profil sayfasındaki büyük yuvarlak foto */
.profil-foto-buyuk {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-weight: 700;
    font-size: 52px;
    border: 4px solid rgba(255,255,255,0.7);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.profil-foto-buyuk img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
