/* Ortak sayfa düzeni — HTML altyapı */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f172a;
    min-height: 100vh;
    color: var(--brand-ink, #f2efe8);
    padding-top: 120px;
    font-family: var(--font-body, 'Manrope', 'Segoe UI', sans-serif);
}

nav.site-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--brand-nav, rgba(6, 8, 12, 0.78));
    z-index: 1000;
    min-height: 72px;
    gap: 1rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    color: var(--brand-muted, #c8c2b6);
    text-decoration: none;
    font-weight: 600;
    padding: 5px 8px;
    border-radius: 4px;
    transition: 0.3s;
    font-size: 0.9rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.nav-link:hover,
.nav-link.active {
    background: var(--theme-hover, rgba(201, 169, 98, 0.12));
    color: var(--theme-accent, #c9a962);
}

nav.site-nav,
.nav-desktop,
.nav-more,
.nav-profile-wrap {
    overflow: visible;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.35rem 0.5rem;
    flex-wrap: nowrap;
    margin-left: auto;
    justify-content: flex-end;
}

.nav-more,
.nav-profile-wrap {
    position: relative;
}

.nav-more-menu,
.nav-profile-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    min-width: 180px;
    padding: 0.4rem;
    background: var(--theme-panel, rgba(8, 10, 14, 0.96));
    border: 1px solid var(--theme-border, rgba(201, 169, 98, 0.28));
    border-radius: 8px;
    z-index: 1200;
    flex-direction: column;
    gap: 0.12rem;
    box-shadow: var(--theme-shadow, 0 12px 32px rgba(0, 0, 0, 0.35));
}

.nav-profile-menu {
    min-width: 176px;
}

.nav-more-menu--tools {
    min-width: 300px;
}

.nav-more-menu--mevzuat {
    min-width: 220px;
}

.nav-more-menu--account {
    min-width: 220px;
}

.nav-account-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    max-width: 9.5rem;
}

.nav-account-text {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.nav-account-avatar {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}

.nav-account-avatar > .nav-notif-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    z-index: 2;
}

.nav-menu-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.nav-menu-row-main {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.nav-menu-row-label {
    line-height: 1.25;
}

.nav-menu-row-icon {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    position: relative;
}

.nav-menu-row-icon::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: currentColor;
    opacity: 0.85;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.nav-menu-row-icon--profile::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E");
}

.nav-menu-row-icon--messages::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E");
}

.nav-menu-row-icon--notif::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M18 8a6 6 0 1 0-12 0c0 7-3 8-3 8h18s-3-1-3-8'/%3E%3Cpath d='M13.7 21a2 2 0 0 1-3.4 0'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M18 8a6 6 0 1 0-12 0c0 7-3 8-3 8h18s-3-1-3-8'/%3E%3Cpath d='M13.7 21a2 2 0 0 1-3.4 0'/%3E%3C/svg%3E");
}

.nav-menu-row-icon--admin::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 3l8 4v6c0 5-4 8-8 8s-8-3-8-8V7l8-4z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 3l8 4v6c0 5-4 8-8 8s-8-3-8-8V7l8-4z'/%3E%3C/svg%3E");
}

.nav-menu-row-icon--login::after,
.nav-menu-row-icon--register::after,
.nav-menu-row-icon--anon::after {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4M10 17l5-5-5-5M15 12H3'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4M10 17l5-5-5-5M15 12H3'/%3E%3C/svg%3E");
}

.nav-drawer-group {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    margin: 0 0 0.65rem;
    padding: 0.35rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-drawer-group--flat {
    background: transparent;
    border-color: transparent;
    padding: 0;
    margin-bottom: 0.35rem;
}

.nav-drawer-group--account {
    border-color: rgba(167, 139, 250, 0.28);
    background: linear-gradient(160deg, rgba(99, 102, 241, 0.1), rgba(6, 8, 12, 0.5));
}

.nav-drawer-group--account .nav-link {
    display: flex !important;
}

.nav-drawer-group .nav-link {
    border-radius: 8px;
}

.nav-drawer-group .nav-link:hover,
.nav-drawer-group .nav-link.active {
    background: rgba(201, 169, 98, 0.12);
}

.nav-drawer-label--hesap {
    color: #c4b5fd;
}

.nav-drawer-logout {
    margin-top: 0.25rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-drawer-logout .logoutButton {
    width: 100%;
    justify-content: center;
}

.nav-more-menu {
    padding: 0.5rem;
    border-radius: 12px;
    gap: 0.15rem;
}

.nav-drawer-auth {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1rem 0 0.35rem;
    padding: 0.65rem 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(34, 211, 238, 0.35);
    background: linear-gradient(145deg, rgba(34, 211, 238, 0.1), rgba(6, 8, 12, 0.92));
}

.nav-drawer-auth-btn {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.35rem;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
    line-height: 1.2;
    border: 1px solid transparent;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.nav-drawer-auth-btn--login {
    color: #e0f2fe;
    background: rgba(34, 211, 238, 0.18);
    border-color: rgba(34, 211, 238, 0.45);
}

.nav-drawer-auth-btn--register {
    color: #fef3c7;
    background: rgba(201, 169, 98, 0.16);
    border-color: rgba(201, 169, 98, 0.5);
}

.nav-drawer-auth-btn--anon {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.22);
}

.nav-drawer-auth-btn:hover {
    filter: brightness(1.08);
}

.nav-drawer-label {
    margin: 0.65rem 0 0.25rem;
    padding: 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--theme-accent, #22d3ee);
    opacity: 0.9;
}

.nav-more-menu.is-open,
.nav-profile-menu.is-open {
    display: flex;
}

.nav-more-menu .nav-link,
.nav-profile-menu .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    text-align: left;
    padding: 0.45rem 0.65rem;
    border-radius: 6px;
    font-size: 0.88rem;
}

.nav-profile-menu .nav-link:hover,
.nav-profile-menu .nav-link.active {
    background: rgba(201, 169, 98, 0.1);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(201, 169, 98, 0.35);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    flex-shrink: 0;
}

.nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--brand-accent, #c9a962);
    border-radius: 2px;
}

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1090;
}

.nav-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100vh;
    padding: 4.5rem 1rem 1.5rem;
    background: var(--theme-nav, rgba(6, 8, 12, 0.97));
    border-left: 1px solid var(--theme-border, rgba(201, 169, 98, 0.28));
    z-index: 1100;
    overflow-y: auto;
    flex-direction: column;
    gap: 0.35rem;
}

.nav-drawer .nav-link {
    display: block;
    padding: 0.7rem 0.85rem;
    font-size: 0.95rem;
}

.nav-drawer-theme {
    margin: 0.5rem 0;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-search--drawer {
    display: inline-flex !important;
    margin: 0 auto 0.85rem;
    min-width: 0;
    width: 100%;
    max-width: 17em;
    height: 2.6rem;
}

.nav-search--drawer .nav-search-icon {
    width: 2.6rem;
    height: 2.6rem;
}

.nav-search--drawer.is-open input,
.nav-search--drawer input:focus {
    padding-left: 2.6rem;
}

body.nav-drawer-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    touch-action: none;
}

body.nav-drawer-open .nav-backdrop {
    display: block;
    touch-action: none;
}

/* Mobil tarayıcılarda 100vh adres çubuğunu da kapsar: menünün altı görünmez kalmasın */
@supports (height: 100dvh) {
    .nav-drawer { height: 100dvh; }
}

body.nav-drawer-open .nav-drawer {
    display: flex;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

/* Icerik ekrana sigiyorsa drawer icinde de kaydirma yok; arka plana sizmaz */
body.nav-drawer-open .nav-drawer.nav-drawer--fit {
    overflow-y: hidden;
    touch-action: none;
}

body.nav-drawer-open .nav-drawer.nav-drawer--fit .nav-link,
body.nav-drawer-open .nav-drawer.nav-drawer--fit .nav-drawer-label {
    touch-action: manipulation;
}

@media (max-width: 960px) {
    .nav-desktop {
        display: none !important;
    }

    .nav-toggle {
        display: inline-flex;
    }

    nav.site-nav {
        align-items: center !important;
        flex-wrap: nowrap !important;
        min-height: 64px;
        padding: 0.65rem 0.9rem !important;
    }

    body {
        padding-top: 5.5rem !important;
    }
}

.auth-box {
    width: 92%;
    max-width: 420px;
    margin: 2rem auto 3rem;
    background: rgba(8, 10, 14, 0.85);
    border: 1px solid rgba(201, 169, 98, 0.28);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
}

.auth-box h1,
.auth-box h2 {
    color: #c9a962;
    font-family: var(--font-display, Georgia, serif);
    margin-bottom: 1rem;
}

.auth-box label {
    display: block;
    text-align: left;
    font-weight: 700;
    margin: 0.65rem 0 0.35rem;
}

.auth-box input,
.auth-box select,
.auth-box textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid #555;
    background: #222;
    color: #fff;
    font: inherit;
}

.auth-box button,
.auth-box .btn-submit {
    margin-top: 1.1rem;
    width: 100%;
    background: #c9a962;
    color: #111;
    border: none;
    padding: 0.85rem 1.25rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

.auth-box button:hover {
    background: #dbbc74;
}

.auth-links {
    margin-top: 1.25rem;
}

.auth-links a {
    color: #c9a962;
    text-decoration: none;
    font-weight: 700;
    margin: 0 0.4rem;
    display: inline-block;
}

.auth-links a:hover {
    text-decoration: underline;
}

.error-message {
    color: #ff8a80;
    margin-top: 0.85rem;
}

.success-message {
    color: #c9a962;
    margin-top: 0.85rem;
}

.legal-panel,
.about-panel {
    width: 92%;
    max-width: 820px;
    margin: 2rem auto 3rem;
    background: var(--theme-panel, rgba(8, 10, 14, 0.82));
    padding: 2rem 1.75rem;
    border-radius: 10px;
    border: 1px solid var(--theme-border, rgba(201, 169, 98, 0.28));
}

.legal-panel h1,
.about-panel h1 {
    color: var(--theme-accent, #c9a962);
    font-family: var(--font-display, Georgia, serif);
    font-size: clamp(1.55rem, 4vw, 2.2rem);
    margin-bottom: 1.25rem;
    text-align: center;
}

.legal-panel h2 {
    color: var(--theme-accent-hover, #dbbc74);
    font-size: 1.15rem;
    margin: 1.25rem 0 0.5rem;
}

.legal-panel p,
.legal-panel li,
.about-panel p,
.about-panel li {
    color: var(--theme-muted, #e8e4dc);
    line-height: 1.7;
    margin-bottom: 0.85rem;
    font-size: 0.98rem;
    text-align: justify;
    text-align-last: start;
    hyphens: auto;
}

.about-panel ul,
.legal-panel ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.legal-contact-link {
    color: #e11d48;
    font-weight: 800;
    font-style: italic;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-contact-link:hover {
    color: #fb7185;
}

.about-panel .note {
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    border-left: 3px solid var(--theme-accent, #c9a962);
    background: var(--theme-hover, rgba(201, 169, 98, 0.1));
    color: var(--theme-muted, #d9d2c4);
    font-size: 0.95rem;
    text-align: justify;
    text-align-last: start;
}

.about-cta {
    margin-top: 1.75rem;
    text-align: center;
}

.about-cta a {
    display: inline-block;
    background: #c9a962;
    color: #111;
    font-weight: 700;
    text-decoration: none;
    padding: 0.75rem 1.35rem;
    border-radius: 6px;
}

.about-cta a:hover {
    background: #dbbc74;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    color: var(--brand-muted, #c8c2b6);
    text-align: left;
}

.check-row input {
    width: auto;
}

@media (max-width: 768px) {
    body { padding-top: 7.5rem; }
    nav.site-nav { padding: 0.75rem 1rem; align-items: flex-start; }
    .nav-right { gap: 4px; }
    .nav-link { font-size: 0.8rem; padding: 4px 6px; }
}

/* ================================================================
   Menüler v10 — ikonlu, açıklamalı açılır menüler ve mobil çekmece
   ================================================================ */
.site-nav .nav-menu-card {
    padding: 0.55rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background:
        linear-gradient(180deg, rgba(34, 211, 238, 0.06), rgba(34, 211, 238, 0) 38%),
        rgba(9, 14, 28, 0.98);
    box-shadow:
        0 22px 48px rgba(2, 6, 23, 0.6),
        0 0 0 1px rgba(2, 6, 23, 0.4);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    gap: 0.1rem;
    top: calc(100% + 0.6rem);
    transform-origin: top right;
}
.site-nav .nav-menu-card.is-open {
    animation: nav-menu-in 0.16s ease-out;
}
@keyframes nav-menu-in {
    from { opacity: 0; transform: translateY(-6px) scale(0.98); }
    to { opacity: 1; transform: none; }
}
/* Menü kartı ile düğme arasında küçük ok */
.site-nav .nav-menu-card::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 1.4rem;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    background: rgba(12, 19, 36, 1);
    border-left: 1px solid rgba(148, 163, 184, 0.18);
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}
.site-nav .nav-more-menu--tools.nav-menu-card { min-width: 360px; }
.site-nav .nav-more-menu--mevzuat.nav-menu-card { min-width: 320px; }
.site-nav .nav-profile-menu.nav-menu-card { min-width: 270px; }

.nav-menu-kicker {
    margin: 0.2rem 0.6rem 0.4rem;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}
.nav-menu-sep {
    height: 1px;
    margin: 0.35rem 0.4rem;
    background: rgba(148, 163, 184, 0.16);
}

/* Menü öğesi */
.site-nav .nav-link.nav-mi {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100%;
    padding: 0.55rem 0.6rem;
    border-radius: 10px;
    color: #e2e8f0;
    text-align: left;
    line-height: 1.25;
    transition: background 0.14s ease, color 0.14s ease;
}
.nav-mi-ico {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 9px;
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.12);
    transition: color 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}
.nav-mi-txt {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}
.nav-mi-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: inherit;
}
.nav-mi-desc {
    font-size: 0.72rem;
    font-weight: 500;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-mi-ext .nav-mi-ico {
    width: auto;
    height: auto;
    border: 0;
    background: none;
    opacity: 0.55;
}
.nav-mi-ext svg { width: 14px; height: 14px; }
.site-nav .nav-link.nav-mi .nav-notif-badge {
    position: static;
    margin-left: auto;
    transform: none;
}

.site-nav .nav-link.nav-mi:hover,
.site-nav .nav-link.nav-mi:focus-visible {
    background: rgba(34, 211, 238, 0.08);
    color: #f8fafc;
    outline: none;
}
.site-nav .nav-link.nav-mi:hover .nav-mi-ico,
.site-nav .nav-link.nav-mi:focus-visible .nav-mi-ico {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.12);
    border-color: rgba(34, 211, 238, 0.3);
}
.site-nav .nav-link.nav-mi.active {
    background: rgba(34, 211, 238, 0.12);
    color: #67e8f9 !important;
}
.site-nav .nav-link.nav-mi.active .nav-mi-ico {
    color: #0f172a;
    background: linear-gradient(180deg, #67e8f9, #22d3ee);
    border-color: transparent;
}

/* Profil menüsü başlığı */
.nav-menu-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.6rem 0.6rem;
    border-radius: 10px;
    text-decoration: none;
    color: #f8fafc;
    transition: background 0.14s ease;
}
.nav-menu-head:hover { background: rgba(148, 163, 184, 0.08); }
.nav-menu-head-txt {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0.1rem;
}
.nav-menu-head-txt strong {
    font-size: 0.92rem;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-menu-head-txt span {
    font-size: 0.72rem;
    color: #94a3b8;
}

/* Mobil çekmece */
.nav-drawer .nav-drawer-group {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.3rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.55);
}
.nav-drawer .nav-link.nav-mi {
    padding: 0.55rem 0.55rem;
    font-size: 0.92rem;
}
.nav-drawer .nav-mi-ico { width: 2rem; height: 2rem; }
.nav-drawer .nav-drawer-label {
    margin: 1rem 0 0.4rem;
    padding: 0 0.4rem;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    color: #64748b;
    opacity: 1;
}
.nav-menu-head--drawer {
    margin-bottom: 0.35rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(167, 139, 250, 0.08));
    border-radius: 14px;
    padding: 0.7rem;
}
.nav-drawer .nav-drawer-logout {
    margin-top: 0.75rem;
}
@media (prefers-reduced-motion: reduce) {
    .site-nav .nav-menu-card.is-open { animation: none; }
}
.nav-drawer { background: rgba(5, 9, 20, 0.985); }
.nav-drawer .nav-mi-desc { white-space: normal; }
@media (hover: none) {
    .site-nav .nav-link.nav-mi:hover:not(.active):not(:focus-visible) {
        background: transparent;
        color: #e2e8f0;
    }
    .site-nav .nav-link.nav-mi:hover:not(.active):not(:focus-visible) .nav-mi-ico {
        color: #94a3b8;
        background: rgba(148, 163, 184, 0.08);
        border-color: rgba(148, 163, 184, 0.12);
    }
}

/* Çekmece menü: Hesabım bölümü Araçlar'ın üstünde */
.nav-drawer-account {
    margin: 0.2rem 0 0.55rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-drawer-account .nav-drawer-logout { margin-top: 0.55rem; }
/* Giriş yapan üyede Hesabım çekmecenin en üstünde, Oturumu Kapat en altta */
.nav-drawer-account--top { margin-top: 0.1rem; }
.nav-drawer .nav-drawer-logout--end { margin-top: 1rem; padding-bottom: 0.4rem; }

/* Hesabım bölümünde çıkış düğmesi */
.nav-drawer .nav-drawer-logout--account {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
}
.nav-menu-logout { padding: 0.25rem 0.35rem 0.15rem; display: flex; justify-content: center; }
.nav-menu-logout .logoutButton { width: 118px !important; }
.nav-drawer .nav-drawer-logout--account .logoutButton { width: 140px !important; }
.nav-drawer .nav-drawer-logout--account { display: flex; justify-content: center; }

/* Üç çizgili menü düğmesi: okunmamış bildirim + mesaj sayısı */
.nav-toggle { position: relative; }
.nav-toggle-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font: 700 11px/20px system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    text-align: center;
    box-shadow: 0 0 0 2px #050b14, 0 2px 8px rgba(239, 68, 68, 0.45);
    pointer-events: none;
    animation: nav-toggle-badge-pop 0.35s ease-out;
}
@keyframes nav-toggle-badge-pop {
    0% { transform: scale(0.4); opacity: 0; }
    70% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .nav-toggle-badge { animation: none; }
}
