@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');
@import url('header.css');

/* Reset ve Temel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0d1321;
    --bg-secondary: #162235;
    --bg-tertiary: #22324b;
    --accent-color: #14b8a6;
    --accent-hover: #0d9488;
    --accent-light: #5eead4;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #2b3d5b;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-lg: rgba(0, 0, 0, 0.5);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-xl: 40px;
}

html {
    scroll-behavior: smooth;
    /* Scrollbar olsa da olmasa da alanını rezerve et, kayma olmasın */
    scrollbar-gutter: stable;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sayfa layout: header + sidebar + içerik (index3 üst bar yüksekliğine yakın) */
:root {
    --header-height: 96px;
}
.app-with-sidebar {
    display: block;
    min-height: calc(100vh - var(--header-height));
}
.app-with-sidebar .main-content {
    margin-left: 260px;
    min-height: calc(100vh - var(--header-height));
}

/* Sol sidebar — üst çubuk akışta kaydığı için tam yükseklik; üst şeritte header üstte (z-index) */
.app-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 0;
    overflow-y: auto;
    z-index: 90;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 1rem 1.25rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.2s, color 0.2s;
}
.sidebar-brand:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}
.sidebar-brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}
.sidebar-brand-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.sidebar-nav {
    padding: 1rem 0.5rem;
}
.sidebar-category {
    margin-bottom: 0.25rem;
}
.sidebar-category-title {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 0.75rem;
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.sidebar-category-title:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}
.sidebar-category-title i:first-child {
    font-size: 0.9rem;
    opacity: 0.9;
}
.sidebar-category-chevron {
    margin-left: auto;
    font-size: 0.65rem;
    transition: transform 0.2s;
}
.sidebar-category[data-collapsed="true"] .sidebar-category-chevron {
    transform: rotate(-90deg);
}
.sidebar-category[data-collapsed="true"] .sidebar-category-list {
    display: none;
}
.sidebar-category-list {
    list-style: none;
    padding: 0.25rem 0 0.5rem;
    margin: 0;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.5rem 0.75rem 0.5rem 2rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s;
}
.sidebar-link:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}
.sidebar-link.active {
    background: rgba(20, 184, 166, 0.15);
    color: var(--accent-light);
    font-weight: 500;
}
.sidebar-link i {
    font-size: 0.9rem;
    width: 1.2em;
    text-align: center;
}
.sidebar-link.sidebar-link--with-badge .sidebar-link__label {
    flex: 1;
    min-width: 0;
}
.admin-nav-pending-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    min-height: 1.4rem;
    padding: 2px 8px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    border-radius: 6px;
    background: #dc2626;
    color: #fff;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.admin-nav-pending-badge--muted {
    background: #475569;
    color: #f1f5f9;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.28);
}
@media (max-width: 900px) {
    .app-with-sidebar .main-content {
        margin-left: 0;
    }
    .app-sidebar {
        top: 0;
        transform: translateX(-100%);
        transition: transform 0.2s;
    }
    .app-with-sidebar.sidebar-open .app-sidebar {
        transform: translateX(0);
    }
    body.has-sidebar .sidebar-open-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-right: 8px;
        background: transparent;
        border: none;
        color: var(--text-primary);
        cursor: pointer;
        border-radius: var(--radius-sm);
    }
    body.has-sidebar .sidebar-open-btn:hover {
        background: var(--bg-tertiary);
    }
    /* Mobilde footer tam genişlik */
    .app-with-sidebar + .main-footer {
        margin-left: 0;
    }
}

.btn-hub {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-hub:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.4);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding-top: 1.25rem;
    padding-bottom: 3rem;
}

/* Global internal pages: lighter glass style like landing */
body.has-sidebar .main-content {
    position: relative;
    overflow: hidden;
}
body.has-sidebar .main-content::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(13, 19, 33, 0.34) 0%, rgba(22, 34, 53, 0.5) 100%),
        radial-gradient(ellipse 120% 80% at 50% -15%, rgba(59, 130, 246, 0.16), transparent 52%),
        radial-gradient(ellipse 70% 55% at 95% 35%, rgba(37, 99, 235, 0.12), transparent 50%),
        radial-gradient(ellipse 55% 45% at 0% 85%, rgba(30, 64, 175, 0.1), transparent 48%);
}
body.has-sidebar .main-content > * {
    position: relative;
    z-index: 1;
}
body.has-sidebar .vtc-form-card,
body.has-sidebar .vtc-search-card,
body.has-sidebar .vtc-card,
body.has-sidebar .vtc-view-header,
body.has-sidebar .vtc-view-card,
body.has-sidebar .ban-card,
body.has-sidebar .profile-history-modal-box,
body.has-sidebar .profile-ban-modal-content,
body.has-sidebar .settings-card,
body.has-sidebar .table-wrap {
    background: rgba(22, 34, 53, 0.5);
    border-color: rgba(71, 85, 105, 0.45);
    backdrop-filter: blur(12px);
}

/* Erişilebilirlik: “Şeffaflığı azalt” — blur CPU/GPU’da pahalı */
@media (prefers-reduced-transparency: reduce) {
    body.has-sidebar .vtc-form-card,
    body.has-sidebar .vtc-search-card,
    body.has-sidebar .vtc-card,
    body.has-sidebar .vtc-view-header,
    body.has-sidebar .vtc-view-card,
    body.has-sidebar .ban-card,
    body.has-sidebar .profile-history-modal-box,
    body.has-sidebar .profile-ban-modal-content,
    body.has-sidebar .settings-card,
    body.has-sidebar .table-wrap {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: var(--bg-secondary);
        border-color: var(--border-color);
    }
}

/* Hero */
.hero-section {
    position: relative;
    padding: 0 0 60px;
    margin-top: -1.25rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(20, 184, 166, 0.4);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(20, 184, 166, 0.6);
}

/* Stats */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.stat-card {
    background: var(--bg-tertiary);
    padding: 24px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
    color: var(--accent-color);
}

.stat-number {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Technology Section */
.technology-section {
    padding: 60px 0;
}

.technology-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.technology-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.technology-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 16px;
}

.technology-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.technology-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.technology-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.technology-features li i {
    color: var(--accent-color);
}

.technology-image-display {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.main-footer {
    position: relative;
    margin-top: auto;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, var(--bg-secondary) 38%);
    border-top: 1px solid rgba(94, 234, 212, 0.12);
    padding: 2rem 0 1rem;
    overflow: hidden;
}

.main-footer__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), var(--accent-light), transparent);
    opacity: 0.85;
    pointer-events: none;
}

.main-footer__inner {
    position: relative;
    z-index: 1;
}

/* Sidebar'lı sayfalarda footer'ı içerikle hizala (desktop) */
.app-with-sidebar + .main-footer {
    margin-left: 260px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(200px, 1.2fr) minmax(260px, 1fr);
    gap: 1.25rem 2rem;
    margin-bottom: 1.25rem;
    align-items: start;
}

.footer-brand-block {
    max-width: 22rem;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.2s ease, filter 0.2s ease;
}

.footer-brand-link:hover {
    color: var(--accent-light);
}

.footer-brand-name {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: lowercase;
}

.footer-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 12px rgba(20, 184, 166, 0.25));
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0.85rem 0 0;
}

.footer-col .footer-title {
    margin-top: 0;
}

.footer-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.85rem;
    color: var(--accent-light);
}

.footer-col:has(.footer-links--inline) .footer-title {
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

/* Explore: tek satırda (gerekirse sarar), footer yüksekliğini düşürür */
.footer-links--inline {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0;
    row-gap: 0.4rem;
}

.footer-links--inline li {
    display: inline-flex;
    align-items: center;
}

.footer-links--inline li .footer-link-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    margin-left: 0.65rem;
    margin-right: 0.65rem;
    background: rgba(94, 234, 212, 0.35);
    flex-shrink: 0;
    align-self: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* Tam ekran harita: ince alt şerit (#map yüksekliği sayfada calc ile kısaltılır) */
.main-footer--map-dock {
    margin: 0;
    padding: 0.55rem 0.75rem;
    background: rgba(11, 19, 26, 0.96);
    border-top: 1px solid rgba(94, 234, 212, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.main-footer-map-dock-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    max-width: 1120px;
    margin: 0 auto;
    font-size: 0.8rem;
    font-weight: 600;
}

.main-footer--map-dock a {
    color: rgba(226, 232, 240, 0.92);
    text-decoration: none;
    padding: 0.2rem 0.45rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s ease, background 0.2s ease;
}

.main-footer--map-dock a:hover {
    color: var(--accent-light);
    background: rgba(20, 184, 166, 0.12);
}

.main-footer-map-dock-sep {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(94, 234, 212, 0.35);
    vertical-align: middle;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.alert > i:first-child {
    flex-shrink: 0;
    margin-top: 0.15em;
}

.alert-message {
    flex: 1;
    min-width: 0;
    line-height: 1.5;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

/* Settings Page - Premium Design */
.settings-main {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    min-height: calc(100vh - 200px);
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

.settings-page {
    padding: 48px 0 80px;
}

.settings-layout {
    display: block;
}

.settings-sidebar {
    display: none;
}

.settings-sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.settings-topbar {
    margin: 0 auto 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.settings-nav {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
}

.settings-nav-horizontal {
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
    padding: 8px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.92));
    box-shadow: 0 8px 24px rgba(2, 8, 23, 0.28);
}

.settings-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    width: auto;
    white-space: nowrap;
}

.settings-nav-item i {
    font-size: 1.2rem;
    width: 24px;
    opacity: 0.8;
}

.settings-nav-item:hover {
    background: rgba(20, 184, 166, 0.08);
    color: var(--accent-light);
}

.settings-nav-item.active {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(20, 184, 166, 0.1));
    color: var(--accent-light);
    border: 1px solid rgba(20, 184, 166, 0.3);
}

#tab-connections .settings-card + .settings-card {
    margin-top: 24px;
}

.settings-panel {
    min-width: 0;
}

.settings-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.08));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-md);
    color: #86efac;
    font-weight: 500;
    animation: slideDown 0.4s ease;
}

.settings-toast i {
    font-size: 1.3rem;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.settings-tab-content {
    display: none;
}

.settings-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.settings-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.settings-card-header {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.15);
}

.settings-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.settings-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 8px 0 0 0;
}

.settings-card-body {
    padding: 28px;
}

.settings-profile-hero {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.settings-avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.settings-avatar-sync-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(20, 184, 166, 0.1));
    border: 1px solid rgba(20, 184, 166, 0.4);
    border-radius: var(--radius-md);
    color: var(--accent-light);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.settings-avatar-sync-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.settings-avatar-sync-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.settings-avatar-sync-btn .fa-spin {
    animation: fa-spin 1s infinite linear;
}

.settings-profile-fields-grid {
    flex: 1;
    min-width: 280px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 640px) {
    .settings-profile-fields-grid {
        grid-template-columns: 1fr;
    }
}

.settings-field-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.settings-inline-error {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fca5a5;
}

#security-form-error[hidden] {
    display: none !important;
}

.settings-avatar-ring {
    position: relative;
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 50%;
}

.settings-avatar,
.settings-avatar-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-secondary);
}

.settings-avatar-placeholder {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
}

.settings-profile-meta {
    flex: 1;
}

.settings-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.settings-label-bio { color: var(--accent-light); }
.settings-field-group-bio .settings-field-hint { color: rgba(94, 234, 212, 0.85); }

.settings-readonly-field {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.settings-field-group {
    margin-bottom: 24px;
}

.settings-textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    min-height: 140px;
    transition: all 0.25s ease;
}
/* KULLANICI BİO - toolbar + textarea tek blok */
.profile-bio-editor-block { border-radius: var(--radius-md); overflow: hidden; }
.profile-bio-editor-block .vtc-md-toolbar { margin-bottom: 0; }
.profile-bio-editor-block .profile-bio-textarea { border-radius: 0 0 var(--radius-md) var(--radius-md); border-top: none; }
.profile-bio-editor-block .vtc-input.vtc-md-editor-textarea { border-radius: 0 0 var(--radius-md) var(--radius-md); border-top: none; }

.settings-textarea::placeholder {
    color: var(--text-muted);
}

.settings-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.settings-field-footer {
    margin-top: 10px;
}

.settings-char-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.settings-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.35);
}

.settings-save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(20, 184, 166, 0.45);
}

/* Connected Accounts */
.settings-connected-accounts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.settings-connected-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.25s ease;
}

.settings-connected-item:hover {
    border-color: rgba(20, 184, 166, 0.2);
}

.settings-connected-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.settings-connected-icon.steam {
    background: linear-gradient(135deg, #1b2838, #2a475e);
    color: #c7d5e0;
}

.settings-connected-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.settings-connected-name {
    font-weight: 600;
    color: var(--text-primary);
}

.settings-connected-user {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.settings-connected-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tracker API tokens */
.settings-token-display { margin-top: 1rem; padding: 1rem; background: rgba(0,0,0,0.2); border-radius: var(--radius-md); }
.settings-token-warning { color: var(--warning, #f59e0b); margin-bottom: 0.75rem; font-size: 0.9rem; }
.settings-token-row { display: flex; gap: 8px; align-items: center; }
.settings-token-row .settings-input { flex: 1; font-family: monospace; }
.settings-copy-btn { padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); color: var(--text-primary); cursor: pointer; }
.settings-copy-btn:hover { background: rgba(255,255,255,0.1); }
.settings-token-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.settings-token-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(0,0,0,0.2); border-radius: var(--radius-sm); }
.settings-token-label { flex: 1; font-family: monospace; font-size: 0.9rem; }
.settings-token-meta { font-size: 0.8rem; color: var(--text-muted); }
.settings-revoke-btn { padding: 8px 12px; border: none; border-radius: var(--radius-sm); background: rgba(239,68,68,0.2); color: #f87171; cursor: pointer; }
.settings-revoke-btn:hover { background: rgba(239,68,68,0.3); }
.settings-muted { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* Social Input Rows */
.settings-social-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.settings-social-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.settings-social-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.settings-social-icon-wrap.twitch {
    background: rgba(145, 70, 255, 0.2);
    color: #a78bfa;
}

.settings-social-icon-wrap.youtube {
    background: rgba(255, 0, 0, 0.2);
    color: #f87171;
}

.settings-social-icon-wrap.tiktok {
    background: rgba(0, 0, 0, 0.2);
    color: #25f4ee;
}

.settings-social-icon-wrap.instagram {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.2), rgba(253, 29, 29, 0.2));
    color: #f472b6;
}

.settings-social-icon-wrap.discord {
    background: rgba(88, 101, 242, 0.2);
    color: #818cf8;
}

.settings-social-icon-wrap.truckersmp {
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
}

.settings-input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.25s ease;
}

.settings-input::placeholder {
    color: var(--text-muted);
}

.settings-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.settings-input:read-only {
    opacity: 0.9;
    cursor: default;
}

.settings-refresh-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(20, 184, 166, 0.15);
    border: 1px solid rgba(20, 184, 166, 0.3);
    color: var(--accent-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.settings-refresh-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.05);
}

.settings-refresh-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.settings-link-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.settings-link-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.settings-info-box {
    display: flex;
    gap: 14px;
    padding: 18px 22px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(20, 184, 166, 0.04));
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-color);
}

.settings-info-box i {
    font-size: 1.2rem;
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.settings-info-box p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.settings-info-box strong {
    color: var(--accent-light);
}

@media (max-width: 968px) {
    .settings-layout {
        grid-template-columns: 1fr;
    }

    .settings-sidebar {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .settings-sidebar-title {
        margin-bottom: 0;
    }

    .settings-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .settings-nav-item {
        flex: 1;
        min-width: 120px;
    }

    .settings-nav-horizontal {
        width: 100%;
        border-radius: var(--radius-md);
        justify-content: flex-start;
    }
}

/* Profile Layout – sayfa ortalı */
.profile-page-wrap {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

/* Profil sayfası: sticky için üst sarmalayıcılarda overflow görünür */
.main-content.profile-page .container.profile-page-wrap,
.main-content.profile-page .profile-layout {
    overflow: visible;
}

.profile-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    padding: 40px 0;
    align-items: start;
}

.profile-sidebar {
    height: fit-content;
    align-self: start;
}

.profile-sidebar-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
}

.profile-sidebar-manage {
    margin-top: 12px;
}

.profile-management-card { margin-top: 1rem; }
.profile-management-notice { display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0; font-size: 0.9rem; color: var(--text-muted); }
.profile-management-notice i { width: 1.1em; text-align: center; color: #f59e0b; }
.profile-vtc-role-edit-card { margin-top: 1rem; }
.profile-vtc-role-edit-desc { font-size: 0.9rem; color: var(--text-muted); margin: 0 0 0.75rem; }
.profile-vtc-role-form { margin-bottom: 0.75rem; }
.profile-vtc-role-form:last-of-type { margin-bottom: 0; }
.profile-vtc-role-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.profile-vtc-role-label { font-size: 0.9rem; font-weight: 600; min-width: 6rem; }
.profile-vtc-role-select { min-width: 120px; }
.profile-history-btn { width: 100%; text-align: left; cursor: pointer; background: none; border: none; font: inherit; color: inherit; padding: 0.4rem 0; }
.profile-history-btn:hover { color: var(--accent-light); }
.profile-history-btn i { width: 1.1em; text-align: center; opacity: 0.9; }
/* Profil Geçmişi modal – Kullanıcı Yönetimi'nden açılır */
#profile-history-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; pointer-events: none; }
#profile-history-modal[hidden] { display: none !important; }
.profile-history-modal--open { pointer-events: auto; }
.profile-history-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.85); cursor: pointer; }
.profile-history-modal-box { position: relative; z-index: 2; width: min(980px, calc(100vw - 1.5rem)); max-width: 100%; max-height: min(92vh, 960px); background: var(--bg-secondary); border-radius: var(--radius-lg); border: 1px solid var(--border-color); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); display: flex; flex-direction: column; overflow: hidden; pointer-events: auto; box-sizing: border-box; }
.profile-history-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-color); flex-shrink: 0; }
.profile-history-modal-title { font-size: 1.05rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; margin: 0; color: var(--text-primary); }
.profile-history-modal-title i { color: var(--accent-color); }
.profile-history-modal-close { border: none; background: transparent; color: var(--text-muted); cursor: pointer; padding: 0.35rem; border-radius: var(--radius-sm); line-height: 1; transition: color 0.2s, background 0.2s; pointer-events: auto; position: relative; z-index: 3; }
.profile-history-modal-close:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.profile-history-modal-body { padding: 1.25rem; overflow-x: hidden; overflow-y: auto; flex: 1; min-height: 0; max-width: 100%; box-sizing: border-box; }
.profile-history-account-section {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}
.profile-timeline-row--modal {
    margin-top: 0.5rem;
    max-width: 100%;
}
.profile-history-modal .profile-history-account-section .profile-timeline {
    margin: 0;
}
.profile-history-modal-empty { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.profile-history-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.profile-history-list--modal .profile-history-item { border-color: var(--border-color); max-width: 100%; min-width: 0; box-sizing: border-box; }
.profile-history-item { padding: 0.75rem 0.85rem; border-radius: var(--radius-md); background: rgba(15, 23, 42, 0.75); border: 1px solid rgba(148, 163, 184, 0.25); }
.profile-history-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; font-size: 0.8rem; margin-bottom: 0.5rem; color: var(--text-muted); max-width: 100%; }
.profile-history-field { font-weight: 600; color: var(--accent-light); }
.profile-history-user::before { content: '• '; opacity: 0.7; }
.profile-history-date::before { content: '• '; opacity: 0.7; }
.profile-history-values { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.75rem; font-size: 0.85rem; width: 100%; max-width: 100%; min-width: 0; }
.profile-history-value-block { min-width: 0; max-width: 100%; }
.profile-history-label { display: inline-block; margin-bottom: 0.2rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.profile-history-value { padding: 0.5rem 0.6rem; border-radius: var(--radius-sm); background: rgba(15, 23, 42, 0.9); border: 1px solid rgba(148, 163, 184, 0.3); max-height: 10rem; overflow-x: hidden; overflow-y: auto; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; max-width: 100%; box-sizing: border-box; }
.profile-history-value-old { border-color: rgba(248, 113, 113, 0.5); }
.profile-history-value-new { border-color: rgba(52, 211, 153, 0.5); }
.profile-history-empty { font-size: 0.9rem; color: var(--text-muted); }

@media (max-width: 640px) {
    .profile-history-values { grid-template-columns: 1fr; }
}

.profile-ban-staff-notice {
    font-size: 0.875rem;
    color: var(--text-muted);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.profile-ban-staff-notice i {
    margin-top: 0.15rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.profile-sidebar-ban-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.profile-avatar-wrapper {
    position: relative;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-color);
}

.profile-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.profile-role-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    object-fit: cover;
    display: inline-block;
    border: 2px solid var(--accent-color);
}

.profile-role-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.profile-role-icon-plain {
    max-width: 100%;
    height: auto;
    display: block;
}

.profile-level-badge {
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translate(50%, 50%);
    background: var(--accent-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.profile-username {
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
    word-break: break-word;
    hyphens: auto;
}
.profile-username--medium {
    font-size: 1.1rem;
}
.profile-username--long {
    font-size: 0.9rem;
}

.profile-badge {
    --badge-color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    background: var(--bg-primary);
    border: 2px solid var(--badge-color);
    color: var(--badge-color);
    white-space: nowrap;
}

.profile-badge--role {
    width: 100%;
    padding: 8px 18px;
    margin: 0 auto 14px;
}

.profile-badge--neutral {
    --badge-color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 10px;
    border-width: 1px;
}

/* Backward compatibility (older markup) */
.profile-role-badge {
    width: 100%;
}

.profile-sidebar-settings {
    width: 100%;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 0.35rem;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(45, 212, 191, 0.35);
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.25), rgba(45, 212, 191, 0.15));
    color: #e2fdf9;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.2);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

.profile-sidebar-settings i {
    font-size: 0.85rem;
    opacity: 0.92;
}

.profile-sidebar-settings:hover {
    border-color: rgba(45, 212, 191, 0.55);
    box-shadow: 0 12px 28px rgba(20, 184, 166, 0.28);
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.profile-stats-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.profile-stat-item {
    background: var(--bg-tertiary);
    padding: 12px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.profile-stat-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-light);
}

.profile-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Profile Main */
.profile-main {
    min-width: 0;
}

.profile-time-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.profile-time-card {
    background: var(--bg-secondary);
    border: 1px solid var(--accent-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
}

.profile-time-card--link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.profile-time-card--link:hover {
    background: rgba(15, 23, 42, 0.75);
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.profile-time-card--link .profile-time-value {
    color: var(--accent-light);
}

.profile-graphs-card .profile-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.profile-graphs-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.35);
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.profile-graphs-link:hover {
    color: var(--accent-light);
    border-color: rgba(96, 165, 250, 0.5);
    background: rgba(15, 23, 42, 0.55);
}

.profile-graphs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.profile-graph {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: var(--radius-md);
    padding: 12px 12px 6px;
}

.profile-graph-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--text-primary);
    text-transform: capitalize;
}

.profile-stats-filter-card { margin-bottom: 1rem; }
.profile-stats-filter { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.profile-stats-filter-left, .profile-stats-filter-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.profile-stats-filter-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
/* İstatistik dönem seçicileri: kapalı + açılır liste site teması (gri sistem menüsü olmasın) */
.profile-stats-filter-select {
    min-height: 42px;
    padding: 10px 36px 10px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    color: var(--text-primary);
    color-scheme: dark;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.profile-stats-filter-select:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.65);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}
.profile-stats-filter-select option,
.profile-stats-filter-select optgroup {
    background: var(--bg-primary);
    color: var(--text-primary);
}
.profile-stats-filter-select option:checked {
    background: var(--bg-secondary);
    color: var(--text-primary);
}
.profile-stats-filter-select optgroup {
    color: var(--text-muted);
}
.profile-stats-year { display: inline-flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.22); background: rgba(15, 23, 42, 0.35); }
.profile-stats-year-value { font-weight: 800; color: var(--text-primary); min-width: 4ch; text-align: center; }
.profile-stats-step { border: none; background: transparent; color: var(--text-muted); cursor: pointer; width: 34px; height: 34px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s; }
.profile-stats-step:hover { background: rgba(30, 41, 59, 0.6); color: var(--text-primary); }
.profile-stats-step:disabled { opacity: 0.45; cursor: not-allowed; }
.profile-stats-step:disabled:hover { background: transparent; color: var(--text-muted); }

.profile-stats-chart-wrap { max-width: 520px; margin: 0 auto; }

.profile-stats-metric-list { display: flex; flex-direction: column; gap: 10px; }
.profile-stats-metric-row { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: var(--radius-md); background: rgba(15,23,42,0.75); border: 1px solid rgba(148,163,184,0.3); }
.profile-stats-metric-label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.profile-stats-metric-values { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.profile-stats-metric-value { background: var(--bg-tertiary); border-radius: var(--radius-sm); padding: 0.6rem 0.75rem; border: 1px solid var(--border-color); text-align: center; }
.profile-stats-metric-value-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 2px; }
.profile-stats-metric-value-number { display: block; font-size: 0.95rem; font-weight: 700; color: var(--accent-light); }
.profile-stats-metric-value--combined { background: rgba(15,23,42,0.95); }

@media (max-width: 768px) {
    .profile-stats-metric-values { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .profile-graphs-grid { grid-template-columns: 1fr; }
}

.profile-time-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-time-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.profile-tabs {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.profile-tab {
    padding: 10px 14px;
    background: transparent;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.2s;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    text-transform: capitalize;
    white-space: nowrap;
}

.profile-tab--link {
    text-decoration: none;
    color: inherit;
}

.profile-tab--link:hover {
    text-decoration: none;
}

.profile-tab:hover:not(.active) {
    background: rgba(148, 163, 184, 0.10);
    border-color: rgba(148, 163, 184, 0.25);
    color: var(--text-primary);
}

.profile-tab.active {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border-color: rgba(255,255,255,0.12);
}

@media (max-width: 520px) {
    .profile-tabs {
        width: 100%;
        justify-content: center;
    }
}

.profile-tab-content {
    display: none;
}

.profile-tab-content.active {
    display: block;
}

/* Profile - Statistics tab: içerdeki linkleri gizle */
#tab-statistics a {
    display: none !important;
}

.profile-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

.profile-content-left {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.profile-content-left > .profile-card,
.profile-content-left > section.profile-card {
    margin-bottom: 0;
}

/* VTC (Şirket) altında: Pozisyon + Yasak geçmişi yan yana, tam genişlik */
.profile-vtc-below {
    grid-column: 1 / -1;
    margin-top: 0;
}
.profile-history-row-horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
@media (max-width: 900px) {
    .profile-history-row-horizontal {
        grid-template-columns: 1fr;
    }
}

/* Pozisyon Geçmişi + Yasak Geçmişi: alt alta, tam genişlik (yataya büyüsün) */
.profile-history-stack-vertical {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.profile-history-stack-vertical .profile-position-section,
.profile-history-stack-vertical .profile-bans-section {
    width: 100%;
    max-width: 100%;
}
.profile-history-stack-vertical > .profile-bottom-card,
.profile-history-stack-vertical > .profile-card {
    margin-bottom: 0;
}

/* Account History: ~3 satır görünür, geri kalanı dikey kaydırma */
.profile-history-card-inline .profile-activity-list.profile-timeline {
    --account-history-visible-rows: 3;
    max-height: calc(var(--account-history-visible-rows) * 4.65rem + 0.35rem);
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 6px;
    margin-bottom: 0;
}

.profile-history-card-inline .profile-activity-list.profile-timeline::-webkit-scrollbar {
    width: 8px;
}
.profile-history-card-inline .profile-activity-list.profile-timeline::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.35);
    border-radius: 999px;
}
.profile-content-grid .profile-vtc-below > .profile-bottom-card,
.profile-content-grid .profile-vtc-below > .profile-card {
    margin-bottom: 0;
}

.profile-content-right {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Sağ sütun: sayfa kaydırıldığında sabit kalsın */
.profile-right-sidebar {
    align-self: start;
}
.profile-right-sidebar .profile-sidebar-card {
    width: 100%;
    border-radius: var(--radius-lg);
}

.profile-content-right .profile-card {
    margin-bottom: 0;
}

/* Sağ panelde Hesap Geçmişi timeline: tek sütun */
.profile-content-right .profile-timeline-h {
    grid-template-columns: 1fr;
}
.profile-content-right .profile-timeline-h .profile-activity-item {
    border-right: none;
}

.profile-bottom-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}
.profile-bottom-card {
    margin-bottom: 0;
}
.profile-bottom-card--full {
    width: 100%;
    max-width: 100%;
}

/* Hesap Geçmişi – 4 sütun grid, kaydırma yok, çizgili (önceki sistem gibi) */
.profile-history-row {
    margin-top: 0;
}
.profile-timeline-row {
    padding-bottom: 0;
}
.profile-timeline-h {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.profile-timeline-h .profile-activity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    min-height: 0;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}
.profile-timeline-h .profile-activity-item:nth-child(4n) {
    border-right: none;
}
.profile-timeline-h .profile-activity-item::before {
    display: none;
}
.profile-timeline-h .profile-activity-icon {
    flex-shrink: 0;
}
.profile-timeline-h .profile-activity-more {
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
}
.profile-timeline-h .profile-activity-more .profile-activity-more-text {
    margin: 0;
}

/* Yasak Geçmişi – kart yok, timeline liste (2. resim örnek) */
.profile-bans-timeline-style .profile-bans-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.profile-bans-timeline-style .profile-ban-entry {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    align-items: start;
    background: transparent;
    border: none;
    border-radius: 0;
}
.profile-bans-timeline-style .profile-ban-entry:last-child {
    border-bottom: none;
}
.profile-bans-timeline-style .profile-ban-entry-side {
    flex-direction: column;
    gap: 0.2rem;
    padding-right: 1rem;
    border-right: 1px solid var(--border-color);
}
.profile-bans-timeline-style .profile-ban-entry-body {
    padding-left: 1.25rem;
    border: none;
    border-top: none;
    padding-top: 0;
}
.profile-bans-timeline-style .profile-ban-entry-issued {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.profile-bans-timeline-style .profile-ban-entry-reason-text {
    margin: 0 0 0 0;
    font-size: 0.9rem;
    display: block;
    width: 100%;
    line-height: 0.5;
}
.profile-bans-timeline-style .profile-ban-entry-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.05rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    width: 100%;
    margin-top: 0;
}

.profile-bans-timeline-style .profile-ban-entry-footer > span {
    display: block;
    width: 100%;
}

@media (max-width: 900px) {
    .profile-timeline-h {
        grid-template-columns: repeat(2, 1fr);
    }
    .profile-timeline-h .profile-activity-item:nth-child(4n) {
        border-right: 1px solid var(--border-color);
    }
    .profile-timeline-h .profile-activity-item:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .profile-timeline-h {
        grid-template-columns: 1fr;
    }
    .profile-timeline-h .profile-activity-item:nth-child(2n),
    .profile-timeline-h .profile-activity-item:nth-child(4n) {
        border-right: none;
    }
    .profile-bans-timeline-style .profile-ban-entry {
        grid-template-columns: 1fr;
    }
    .profile-bans-timeline-style .profile-ban-entry-side {
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
    }
}

.profile-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.profile-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-color);
    text-transform: capitalize;
}

.profile-card-title i {
    margin-right: 8px;
}

/* Profil başlık ikonları: renklendirme */
.profile-company-card .profile-card-title i {
    color: #22d3ee;
}

.profile-history-card .profile-card-title i {
    color: #60a5fa;
}

.profile-subscription-card .profile-card-title i {
    color: #f59e0b;
}

.profile-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.profile-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-detail-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.profile-detail-value {
    font-size: 1rem;
    color: var(--text-primary);
}

.profile-detail-value a {
    color: var(--accent-light);
    text-decoration: none;
}

.profile-detail-value a:hover {
    text-decoration: underline;
}

.pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pill-accent {
    background: rgba(20, 184, 166, 0.2);
    color: var(--accent-light);
    border: 1px solid var(--accent-color);
}

.profile-client-version {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.22rem 0.5rem;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background: rgba(2, 6, 23, 0.35);
    color: var(--text-secondary);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.profile-client-version::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.85);
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.18);
}

.profile-client-version--ok {
    border-color: rgba(34, 197, 94, 0.65);
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
}

.profile-client-version--ok::before {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

.profile-client-version--old {
    border-color: rgba(239, 68, 68, 0.65);
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
}

.profile-client-version--old::before {
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

/* Bio kartı - TruckersMP tarzı: içerik kutu içinde sınırlı */
.profile-bio-card {
    overflow: hidden;
}
.profile-bio-content {
    color: var(--text-secondary);
    line-height: 1.7;
    overflow: hidden;
}
.profile-bio-content p { margin: 0 0 0.75rem; }
.profile-bio-content p:last-child { margin-bottom: 0; }
.profile-bio-content h1, .profile-bio-content h2, .profile-bio-content h3 { margin: 1rem 0 0.5rem; color: var(--text-primary); }
.profile-bio-content ul, .profile-bio-content ol { margin: 0.5rem 0 1rem; padding-left: 1.5rem; }
.profile-bio-content a { color: var(--accent-light); }
.profile-bio-content .profile-muted { color: var(--text-muted); }
/* Bio resimleri - kutu içinde sınırlı, çerçevesiz */
.profile-bio-content img {
    max-width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    border-radius: 0;
    display: block;
    margin: 0.75rem 0;
    box-sizing: border-box;
}
.profile-bio-content img:first-child { margin-top: 0; }
.profile-bio-content img:last-child { margin-bottom: 0; }
/* Yatay çizgi (---) - üst/alt boşluklu, görünür */
.profile-bio-content hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 1rem 0;
    display: block;
}

/* Profil - Şirket kartı */
.profile-company-card {
    overflow: hidden;
}
.profile-company-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    padding: 1.25rem;
    transition: border-color 0.2s, background 0.2s;
}
.profile-company-link:hover {
    border-color: var(--accent-color);
    background: rgba(20, 184, 166, 0.06);
}
.profile-company-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.profile-company-logo-wrap {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    background: var(--bg-tertiary);
    box-sizing: border-box;
}
.profile-company-logo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}
.profile-company-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    font-size: 1.75rem;
}
.profile-company-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.profile-company-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.profile-company-link:hover .profile-company-name {
    color: var(--accent-light);
}
.profile-company-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.profile-company-meta i {
    margin-right: 0.3rem;
    opacity: 0.8;
}
.profile-company-cta {
    font-size: 0.9rem;
    color: var(--accent-light);
    margin-top: 0.15rem;
}
.profile-company-cta i {
    margin-left: 0.35rem;
    font-size: 0.75rem;
    transition: transform 0.2s;
}
.profile-company-link:hover .profile-company-cta i {
    transform: translateX(4px);
}

.profile-muted {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Hesap Geçmişi - Timeline tasarımı */
.profile-activity-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.profile-timeline {
    position: relative;
    padding-left: 0.25rem;
}
/* Dikey çizgi: ikonların arasında, ikonların içinden geçmez */
.profile-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    position: relative;
}
.profile-activity-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: calc(0.25rem + 2.25rem / 2 - 1px);
    top: calc(0.75rem + 2.25rem);
    bottom: -0.75rem;
    width: 2px;
    background: rgba(20, 184, 166, 0.35);
    border-radius: 1px;
    z-index: 0;
}
.profile-activity-item:not(:last-child) {
    border-bottom: none;
}
.profile-activity-icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
    border: 2px solid var(--bg-secondary);
    box-shadow: 0 0 0 1px var(--border-color);
}
.profile-activity-account .profile-activity-icon {
    background: rgba(34, 197, 94, 0.25);
    color: #4ade80;
}
.profile-activity-vtc .profile-activity-icon {
    background: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
}
.profile-activity-vtc-left .profile-activity-icon {
    background: rgba(251, 146, 60, 0.25);
    color: #fb923c;
}
.profile-activity-vtc-removed .profile-activity-icon {
    background: rgba(239, 68, 68, 0.25);
    color: #f87171;
}
.profile-activity-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
}

.profile-activity-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-bottom: 4px;
}

.profile-activity-date {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 900;
    white-space: nowrap;
}
.profile-activity-body strong {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    text-transform: capitalize;
}
.profile-activity-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.profile-activity-vtc-link {
    color: var(--accent-light);
    text-decoration: none;
    font-size: 0.9rem;
}
.profile-activity-vtc-link:hover {
    text-decoration: underline;
}

.profile-activity-company-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(20, 184, 166, 0.28);
    background: rgba(20, 184, 166, 0.10);
    color: var(--accent-light);
    font-weight: 900;
    font-size: 0.9rem;
    line-height: 1;
    width: fit-content;
}

.profile-activity-company-badge:hover {
    background: rgba(20, 184, 166, 0.16);
}

.profile-activity-company-badge.profile-activity-vtc-link:hover {
    text-decoration: none;
}
.profile-activity-empty .profile-activity-icon {
    background: var(--bg-tertiary);
    color: var(--text-muted);
}
.profile-activity-more {
    padding: 0.6rem 0 0;
    margin-top: 0.25rem;
    border-top: 1px dashed var(--border-color);
}
.profile-activity-more-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Kullanıcı banları listesi */
.profile-ban-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.profile-ban-item {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
}
.profile-ban-item:last-child {
    border-bottom: none;
}
.profile-ban-reason {
    flex: 1 1 100%;
    color: var(--text-primary);
    font-size: 0.95rem;
}
.profile-ban-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.profile-ban-expires {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.profile-ban-permanent {
    color: #f87171;
}

/* Yasaklama başarı mesajı (session flash) */
.profile-ban-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid #22c55e;
    color: #4ade80;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Yetkili yasaklama reddi (linkle gelince veya başka yetkiliye tıklayınca) */
.profile-ban-denied {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Profil sayfasında: bu kullanıcı şu an yasaklı (kırmızı banner) */
.profile-user-banned-banner {
    background: #b91c1c;
    color: #fff;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-weight: 600;
}
.profile-user-banned-banner i {
    font-size: 1.1rem;
}
.profile-user-banned-expires {
    opacity: 0.95;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Profil Görüntülenmeleri / Son bakanlar: sayı + kart listesi, tam genişlik */
.profile-views-count {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: var(--text-primary);
}
/* Son bakanlar: yatay kart örneği – avatar + isim + ok, içeriğe göre genişlik (tam satır değil) */
.profile-viewers-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.profile-viewer-item {
    margin: 0;
}
.profile-viewer-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0.6rem 0.9rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.profile-viewer-card:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-color);
    color: var(--text-primary);
}
.profile-viewer-card--guest {
    cursor: default;
}
.profile-viewer-card--guest:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}
.profile-viewer-card-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
}
.profile-viewer-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-viewer-card-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.profile-viewer-card-meta {
    display: block;
    margin-top: 2px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}
.profile-viewer-card-arrow {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.8;
}
.profile-viewer-card:hover .profile-viewer-card-arrow {
    color: var(--accent-color);
    opacity: 1;
}

/* Başlık altı teal çizgi (Profil Görüntülenmeleri, Sosyal, Yasak Geçmişi) – sadece başlık altında tek çizgi */
.profile-card-title-divider,
.profile-bans-section-divider {
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
    margin: 0 0 1rem 0;
}

.profile-card-title--with-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.profile-card-title--with-icon i {
    color: var(--accent-color);
}

/* Alt bölüm kartlarında tek çizgi: başlığın border'ı kaldırıldı, sadece .profile-card-title-divider / .profile-bans-section-divider kullanılıyor */
.profile-bottom-card .profile-card-title,
.profile-bans-section .profile-bans-section-title {
    border-bottom: none;
    padding-bottom: 0;
}

/* ─── Kullanıcı Banları / Yasak Geçmişi (yeniden tasarım) ─── */
.profile-bans-section {
    padding: 1.25rem 1.5rem;
}

.profile-bans-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: capitalize;
}

.profile-bans-section-title i {
    color: var(--accent-color);
}

.profile-ban-entry-body {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem;
}
.profile-card-title--with-icon {
    flex-wrap: wrap;
}

.profile-bans-empty {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.profile-bans-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.profile-ban-entry {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem 1.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    align-items: start;
}

.profile-ban-entry:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.profile-ban-entry:first-child {
    padding-top: 0;
}

/* Sol sütun: tarih + süre */
.profile-ban-entry-side {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profile-ban-entry-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.profile-ban-entry-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.profile-ban-entry-duration {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    width: fit-content;
}

.profile-ban-entry-duration--permanent {
    background: rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

/* Sağ sütun: sebep + footer */
.profile-ban-entry-body {
    min-width: 0;
}

.profile-ban-entry-reason-text {
    margin: 0 0 0.6rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.profile-ban-entry-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.profile-ban-entry-by {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-secondary);
}

.profile-ban-entry-by i {
    opacity: 0.8;
    color: var(--accent-color);
}

.profile-ban-entry-expires {
    color: var(--text-muted);
}

@media (max-width: 560px) {
    .profile-ban-entry {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .profile-ban-entry-side {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.5rem;
    }
}

/* Pozisyon Geçmişi – dikey timeline, nokta + çizgi */
.profile-position-section {
    padding: 1.25rem 1.5rem;
}
.profile-position-section .profile-card-title-divider {
    margin-bottom: 1.25rem;
}
.profile-position-empty {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}
.profile-position-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    padding-left: 0.5rem;
}
.profile-position-timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    border-radius: 1px;
}
.profile-position-entry {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    padding-left: 0.5rem;
}
.profile-position-entry:first-child {
    padding-top: 0.2rem;
}
.profile-position-entry:last-child {
    padding-bottom: 0.2rem;
}
.profile-position-entry-dot {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    margin-left: 2px;
    border-radius: 50%;
    background: var(--role-color, #ef4444);
    border: 2px solid var(--bg-secondary);
    box-shadow: 0 0 0 1px var(--role-color, rgba(239, 68, 68, 0.4));
    z-index: 1;
}
.profile-position-entry-content {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 0 1rem;
    align-items: start;
}
.profile-position-entry-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.profile-position-entry-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}
.profile-position-entry-ago {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.profile-position-entry-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}
.profile-position-entry-role {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--role-color, #ef4444);
}
.profile-position-entry-from {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.profile-position-entry-from-role {
    font-weight: 500;
    color: var(--old-role-color, var(--role-color, #ef4444));
}
@media (max-width: 560px) {
    .profile-position-entry {
        gap: 0.75rem;
        padding: 0.7rem 0;
    }
    .profile-position-entry-content {
        grid-template-columns: 1fr;
    }
    .profile-position-entry-dot {
        width: 10px;
        height: 10px;
        margin-left: 4px;
    }
}

/* Game / DLCs section */
.profile-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-color);
}
.profile-card-title-row .profile-card-title {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.profile-games-refresh-btn {
    padding: 6px 12px;
    font-size: 0.85rem;
}
.profile-games-updated {
    font-size: 0.8rem;
    margin-bottom: 12px;
}
.profile-linked-games,
.profile-connected-dlcs {
    margin-top: 16px;
}
.profile-games-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.profile-games-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.profile-game-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}
.profile-game-tag-ets2 {
    background: rgba(20, 184, 166, 0.2);
    color: var(--accent-light);
    border: 1px solid var(--accent-color);
}
.profile-game-tag-ats {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border: 1px solid #3b82f6;
}
.profile-dlcs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 8px;
}
.profile-dlc-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    position: relative;
    min-height: 70px;
}
.profile-dlc-badge {
    position: absolute;
    top: 6px;
    left: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}
.profile-dlc-game-badge {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}
.profile-dlc-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 20px;
    line-height: 1.3;
}

/* Linked DLC: yeşil başlık, özet satırı, harita ikonu */
.profile-linked-dlc-title {
    color: var(--accent-light, #5eead4);
}

.profile-dlc-summary {
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.profile-dlc-summary strong {
    color: var(--accent-light, #5eead4);
}

.profile-linked-dlc-list {
    margin-top: 8px;
    min-width: 0;
    overflow: hidden;
}

/* Kapalıyken altta boşluk kalmasın; açıkken içerik kadar yükseklik, max ile scroll */
.profile-dlc-accordion-fixed {
    height: auto;
    min-height: 0;
    max-height: 420px;
    overflow: auto;
    overflow-x: hidden;
    border: 1px solid var(--border-color, #45475a);
    border-radius: var(--radius-sm);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.profile-dlc-accordion-fixed::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/* Accordion: tıklanıp açılır/kapanır */
.profile-dlc-accordion {
    margin-bottom: 0;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.profile-dlc-accordion + .profile-dlc-accordion {
    border-top: 1px solid var(--border-color, #45475a);
}

.profile-dlc-accordion summary.profile-dlc-by-game-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 12px 14px;
    cursor: pointer;
    list-style: none;
    background: var(--bg-tertiary);
    user-select: none;
}

.profile-dlc-accordion summary::-webkit-details-marker,
.profile-dlc-accordion summary::marker {
    display: none;
}

.profile-dlc-accordion summary:hover {
    background: var(--bg-secondary);
}

.profile-dlc-accordion .profile-dlc-accordion-icon {
    font-size: 0.65rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.profile-dlc-accordion[open] .profile-dlc-accordion-icon {
    transform: rotate(-180deg);
}

.profile-dlc-accordion .profile-dlc-items {
    margin-bottom: 0;
    border-top: 1px solid var(--border-color, #45475a);
}

.profile-dlc-accordion .profile-dlc-items-horizontal {
    padding: 6px 8px 8px;
    min-width: 0;
}

.profile-dlc-by-game:not(.profile-dlc-accordion) .profile-dlc-by-game-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--accent-color, rgba(20, 184, 166, 0.3));
}

.profile-dlc-accordion .profile-dlc-count {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.profile-dlc-count {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.settings-linked-dlc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.settings-linked-dlc-header .settings-card-title {
    margin-bottom: 0;
}

.profile-dlc-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px 24px;
}

/* Açılınca 3. resim gibi: yan yana 3 DLC, küçük ama okunaklı yazı */
.profile-dlc-items-horizontal {
    padding: 8px 10px 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 12px;
}

@media (max-width: 767px) {
    .profile-dlc-items {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 16px;
    }
    .profile-dlc-items-horizontal {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 10px;
    }
}

.profile-dlc-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.78rem;
    line-height: 1.3;
    color: var(--accent-light, #5eead4);
    padding: 2px 0;
    min-width: 0;
}

.profile-dlc-item .profile-dlc-name {
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Tam tablo: yazılar alt satıra geçmesin, tek satırda ellipsis */
.profile-dlc-items-nowrap .profile-dlc-item .profile-dlc-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
    overflow-wrap: normal;
}

.profile-dlc-map-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light, #5eead4);
    font-size: 0.7rem;
}

/* Harita DLC olmayanlar için madde işareti – yazının solunda dikey ortada */
.profile-dlc-dot {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #94a3b8);
    font-size: 0.78rem;
    line-height: 1.3;
    width: 1em;
    height: 1em;
}

.profile-dlc-name-with-icon {
    margin-top: 0;
}

.profile-dlc-card .profile-dlc-name {
    margin-top: 20px;
}

.profile-dlc-api-note {
    margin-top: 8px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.profile-all-steam-games {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color, #45475a);
}

.profile-all-games-note {
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.profile-all-games-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 400px;
    overflow-y: auto;
}

.profile-all-games-list li {
    padding: 6px 0;
    border-bottom: 1px solid var(--border-color, #313244);
}

.profile-all-games-list li:last-child {
    border-bottom: none;
}

.profile-all-game-link {
    color: var(--accent-color, #89b4fa);
    text-decoration: none;
}

.profile-all-game-link:hover {
    text-decoration: underline;
}

.profile-game-playtime {
    margin-left: 8px;
    font-size: 0.85rem;
    color: var(--text-muted, #a6adc8);
}

/* DLC Steam modal (bookmarklet) */
.profile-dlc-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.profile-dlc-modal[hidden] {
    display: none;
}

.profile-dlc-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.profile-dlc-modal-box {
    position: relative;
    background: var(--card-bg, #313244);
    border-radius: 12px;
    padding: 24px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.profile-dlc-modal-title {
    margin: 0 0 12px;
    font-size: 1.1rem;
    color: var(--text-color, #cdd6f4);
}

.profile-dlc-modal-title i {
    margin-right: 8px;
    color: var(--accent-color, #89b4fa);
}

.profile-dlc-modal-steps {
    margin: 16px 0;
    padding-left: 20px;
    line-height: 1.8;
    color: var(--text-color, #cdd6f4);
}

.profile-dlc-modal-steps li {
    margin-bottom: 8px;
}

.profile-dlc-bookmarklet-wrap {
    margin: 20px 0;
    padding: 16px;
    background: var(--bg-color, #1e1e2e);
    border-radius: 8px;
    display: block;
}

.profile-dlc-bookmarklet-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--accent-color, #89b4fa);
    color: #1e1e2e;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

.profile-dlc-bookmarklet-link:hover {
    filter: brightness(1.1);
}

.profile-dlc-modal-close {
    margin-top: 16px;
}

.profile-dlc-help {
    margin-bottom: 12px;
}

.profile-dlc-help-text {
    font-size: 0.9rem;
    margin: 0 0 8px;
}

.profile-dlc-alt-link {
    background: none;
    border: none;
    color: var(--accent-color, #89b4fa);
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
    padding: 0;
}

.profile-dlc-alt-link:hover {
    color: var(--accent-hover, #b4befe);
}

/* Jobs Table – kompakt, en fazla 2 satır; detayda sadece göz ikonu */
.jobs-table-wrap {
    overflow-x: auto;
    overflow-y: visible;
}

.jobs-table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 0.8125rem;
}

.jobs-table th,
.jobs-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    line-height: 1.4;
}

.jobs-table th {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Metin satır içinde kırılsın; td display'ini değiştirme (tablo hizası bozulmasın) */
.jobs-cell-ellipsis {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.jobs-cell-nowrap {
    white-space: nowrap;
}

/* Sütun genişlikleri – kompakt, sığabildiği kadar tek satır */
.jobs-table th:nth-child(1),
.jobs-table td:nth-child(1) {
    width: 3rem;
    max-width: 3rem;
}
.jobs-table th:nth-child(2),
.jobs-table td:nth-child(2) {
    width: 18%;
}
.jobs-table th:nth-child(3),
.jobs-table td:nth-child(3) {
    width: 18%;
}
.jobs-table th:nth-child(4),
.jobs-table td:nth-child(4) {
    width: 20%;
}
.jobs-table th:nth-child(5),
.jobs-table td:nth-child(5) {
    width: 4.5rem;
}
.jobs-table th:nth-child(6),
.jobs-table td:nth-child(6) {
    width: 7.5rem;
}
.jobs-table th:nth-child(7),
.jobs-table td:nth-child(7) {
    width: 3rem;
    min-width: 3rem;
    text-align: right;
    padding-left: 12px;
    padding-right: 10px;
}

.jobs-table tbody tr:hover {
    background: rgba(20, 184, 166, 0.06);
}

.jobs-id {
    font-weight: 600;
    color: var(--accent-light);
    white-space: nowrap;
}

.jobs-cell-actions {
    white-space: nowrap;
    vertical-align: middle;
    text-align: right;
}

/* Sadece göz ikonu – link içindeki yazı asla görünmesin */
.jobs-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    min-height: 2rem;
    padding: 0;
    background: rgba(20, 184, 166, 0.2);
    border: 1px solid rgba(20, 184, 166, 0.4);
    border-radius: 4px;
    color: var(--accent-light);
    font-size: 0;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.jobs-detail-btn i {
    font-size: 0.9rem;
}
.jobs-detail-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.jobs-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
}
.jobs-pagination-info {
    font-size: 0.875rem;
    color: var(--text-muted);
}
.jobs-pagination-links {
    display: flex;
    gap: 8px;
}
.jobs-pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.875rem;
    color: var(--text-color);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}
.jobs-pagination-btn:hover {
    background: var(--hover-bg);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Tamper log (şüpheli denemeler) sayfası */
.page-title {
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.tamper-log-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.tamper-log-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.tamper-log-table th,
.tamper-log-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.tamper-log-table th {
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-secondary);
}

.tamper-log-table tbody tr:hover {
    background: rgba(20, 184, 166, 0.05);
}

.tamper-log-table a {
    color: var(--accent-light);
    text-decoration: none;
}

.tamper-log-table a:hover {
    text-decoration: underline;
}

.tamper-log-ua {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-muted);
}

/* Job Detail Page - Tracksy style */
.job-detail-invalid-wrap {
    position: relative;
}

.job-detail-invalid-wrap.is-invalid-job .job-detail-layout {
    filter: blur(10px);
    pointer-events: none;
    user-select: none;
}

.job-invalid-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    box-sizing: border-box;
    background: rgba(15, 23, 42, 0.35);
}

.job-invalid-overlay-inner {
    max-width: 420px;
    text-align: center;
    padding: 1.75rem 1.5rem;
    border-radius: 12px;
    background: var(--card-bg, #1e293b);
    border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.2));
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.job-invalid-overlay-icon {
    font-size: 2rem;
    color: var(--accent, #f97316);
    margin-bottom: 0.75rem;
}

.job-invalid-overlay-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary, #f1f5f9);
}

.job-invalid-overlay-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary, #94a3b8);
}

.job-invalid-admin-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0 0 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(251, 191, 36, 0.35);
    background: rgba(251, 191, 36, 0.1);
    color: #fcd34d;
    font-size: 0.88rem;
    line-height: 1.45;
}
.job-invalid-admin-banner i {
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: #fbbf24;
}

.job-detail-layout {
    padding: 40px 0 60px;
}

.job-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.job-back-link:hover {
    color: var(--accent-light);
}

.job-detail-top--bar .job-back-link {
    margin-bottom: 0;
}

.job-detail-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.job-detail-top-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.job-report-done-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
}

.job-report-done-label--compact {
    font-size: 0.78rem;
    font-weight: 500;
    max-width: min(220px, 55vw);
    line-height: 1.3;
    text-align: right;
    justify-content: flex-end;
}

.job-detail-header {
    margin-bottom: 32px;
}

.job-detail-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.job-detail-route {
    font-size: 1.1rem;
    color: var(--accent-light);
}

.job-detail-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

@media (max-width: 900px) {
    .job-detail-grid {
        grid-template-columns: 1fr;
    }
}

.job-detail-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.job-detail-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-content: start;
}

@media (max-width: 600px) {
    .job-detail-right {
        grid-template-columns: 1fr;
    }
}

.job-detail-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
}

.job-detail-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-color);
    text-transform: capitalize;
}

.job-detail-card h3 i {
    margin-right: 8px;
    color: var(--accent-color);
}

.job-user-card {
    text-align: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

.job-user-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 14px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(20, 184, 166, 0.5);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.job-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    color: var(--text-muted);
    font-size: 1.75rem;
}

.job-username {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.job-user-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.job-user-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.job-user-tag-game {
    background: rgba(30, 58, 138, 0.25);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.35);
}

.job-user-tag-park {
    background: rgba(120, 53, 15, 0.2);
    color: #fcd34d;
    border: 1px solid rgba(180, 83, 9, 0.35);
}

.job-user-tag-mode {
    background: rgba(20, 184, 166, 0.15);
    color: var(--accent-light);
    border: 1px solid rgba(20, 184, 166, 0.4);
}

.job-user-tag-warp {
    background: rgba(127, 29, 29, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(248, 113, 113, 0.45);
}

.job-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.job-detail-row:last-child {
    border-bottom: none;
}

.job-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: capitalize;
}

.job-stats-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.job-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.job-stat-row:last-child {
    border-bottom: none;
}

.job-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: capitalize;
}

.job-stat-label i {
    width: 16px;
    color: var(--accent-color);
    opacity: 0.9;
}

.job-stat-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.job-stat-row-cargo {
    align-items: flex-start;
    gap: 12px;
}

.job-stat-value-cargo {
    font-size: 0.88rem;
    line-height: 1.35;
    max-width: 60%;
    text-align: right;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Ek Bilgi kartı sağ sütunda tam genişlik (yanı boş kalmasın) */
.job-more-info {
    grid-column: 1 / -1;
}

.job-plates {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px 32px;
    align-items: flex-start;
}

.job-plate-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 140px;
}


.job-plate-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-plate-value {
    font-family: monospace;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 2px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    text-align: center;
}

/* Job rota haritası ve oynatma */
.job-route-card {
    margin-top: 24px;
}
.job-route-map-wrap {
    position: relative;
    width: 100%;
    height: 460px;
    background: #0b131a;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 12px;
}
#job-route-map {
    width: 100%;
    height: 100%;
}
.job-route-map-wrap .leaflet-container,
.job-route-map-wrap .leaflet-tile-pane {
    background: #0b131a !important;
}
.job-route-marker-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #1caca0;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.job-route-marker-wrap i {
    color: #fff;
    font-size: 12px;
    line-height: 1;
    display: block;
    margin: 0;
    padding: 0;
    text-align: center;
    transform: translate(1px, 5px);
}
.job-route-playback {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.job-route-play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.2s;
}
.job-route-play-btn:hover {
    background: var(--accent-hover, #0d9488);
}
.job-route-slider {
    flex: 1;
    min-width: 120px;
    height: 8px;
    accent-color: var(--accent-color);
}
.job-route-point-info,
.job-route-speed {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.job-route-no-data {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.job-timeline-card {
    margin-top: 24px;
}
.job-timeline {
    position: relative;
    padding: 4px 0 8px 0;
    max-height: 420px;
    overflow-y: auto;
}
.job-timeline-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    min-height: 48px;
}
.job-timeline-axis {
    position: relative;
    flex: 0 0 36px;
    display: flex;
    justify-content: center;
    padding-top: 2px;
}
.job-timeline-axis::before {
    content: '';
    position: absolute;
    top: 22px;
    bottom: -8px;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1px;
}
.job-timeline-row:last-child .job-timeline-axis::before {
    bottom: 0;
}
.job-timeline-dot {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.75rem;
    color: #fff;
    flex-shrink: 0;
}
.job-timeline-dot--blue { background: #2563eb; }
.job-timeline-dot--yellow { background: #ca8a04; }
.job-timeline-dot--orange { background: #ea580c; }
.job-timeline-dot--red { background: #dc2626; }
.job-timeline-dot--green { background: #16a34a; }
.job-timeline-dot--muted { background: #475569; }
.job-timeline-body {
    flex: 1;
    min-width: 0;
    padding-bottom: 12px;
}
.job-timeline-label {
    font-weight: 600;
    color: var(--text-color, #e2e8f0);
    font-size: 0.95rem;
}
.job-timeline-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.35;
}
.job-timeline-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
    .job-route-map-wrap {
        height: 340px;
    }
}

/* Gerçek plaka görünümü - EU tarzı */
.license-plate {
    display: inline-flex;
    align-items: stretch;
    min-width: 140px;
    height: 36px;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid #1a1a1a;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.license-plate-eu {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 0 6px;
    background: linear-gradient(135deg, #003399 0%, #0044bb 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.license-plate-num {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 0 12px;
    background: #fff;
    color: #000;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.license-plate-trailer .license-plate-num {
    background: #f5e642;
    color: #000;
}

/* World of Trucks API plaka görseli */
.license-plate-img {
    display: block;
    max-width: 200px;
    height: auto;
    border-radius: 4px;
}

.license-plate-fallback {
    font-family: monospace;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
}

.profile-socials {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.3s;
}

.profile-social-item:hover {
    color: var(--accent-light);
}

/* Login / Auth Pages */
.login-main {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    border: 1px solid rgba(20, 184, 166, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.login-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    text-align: center;
}

.login-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 0 28px 0;
    text-align: center;
    line-height: 1.5;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.login-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-forgot {
    font-size: 0.85rem;
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s;
}

.login-forgot:hover {
    color: var(--accent-light);
}

.login-remember-row {
    margin-top: -4px;
}

.login-remember-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.login-remember-label input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--accent-color);
}

.login-remember-hint {
    margin: 4px 0 0 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.login-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s;
}

.login-input::placeholder {
    color: var(--text-muted);
}

.login-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.35);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(20, 184, 166, 0.45);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.login-divider span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.login-steam-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.login-steam-btn:hover {
    background: linear-gradient(135deg, #1b2838, #2a475e);
    border-color: rgba(199, 213, 224, 0.3);
    color: #c7d5e0;
    transform: translateY(-2px);
}

.login-steam-btn i {
    font-size: 1.4rem;
}

.login-footer {
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}

.login-link {
    color: var(--accent-color);
    text-decoration: none;
}

.login-link:hover {
    color: var(--accent-light);
}

/* Password reset result modal (replaces window.alert) */
.auth-reset-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.auth-reset-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.auth-reset-modal[hidden] {
    display: none !important;
}

.auth-reset-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.auth-reset-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.5rem 1.35rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.auth-reset-modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.65rem;
    color: var(--text-primary);
}

.auth-reset-modal-body {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.auth-reset-modal-actions {
    margin: 0;
}

.auth-reset-modal-actions .login-btn {
    width: 100%;
    justify-content: center;
}

/* Error pages */
.error-page-content,
.error-container {
    text-align: center;
    padding: 80px 20px;
}

.error-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 50px;
    color: white;
}

.error-code {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-color);
    margin: 20px 0;
}

.error-title {
    font-size: 28px;
    margin-bottom: 15px;
}

.error-message {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 968px) {
    .technology-content {
        grid-template-columns: 1fr;
    }

    .technology-features {
        grid-template-columns: 1fr;
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        position: static;
    }

    .profile-right-sidebar {
        position: static;
    }

    .profile-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-details-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== VTC System ========== */
.vtc-create-main .page-title,
.vtc-list-main .page-title { margin-bottom: 0.5rem; }
.site-roles-intro { margin-bottom: 1.25rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }
.site-roles-intro code { background: var(--bg-tertiary); padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.9em; }
/* ========== Tracksy admin (muz/*) — açık cam palet (sidebar ile aynı ton) ========== */
body.tracksy-admin-page {
    --admin-bg-gradient:
        linear-gradient(180deg, rgba(13, 19, 33, 0.34) 0%, rgba(22, 34, 53, 0.5) 100%),
        radial-gradient(ellipse 120% 80% at 50% -15%, rgba(59, 130, 246, 0.16), transparent 52%),
        radial-gradient(ellipse 70% 55% at 95% 35%, rgba(37, 99, 235, 0.12), transparent 50%),
        radial-gradient(ellipse 55% 45% at 0% 85%, rgba(30, 64, 175, 0.1), transparent 48%);
    --admin-header-bg: rgba(22, 34, 53, 0.52);
    --admin-header-border: rgba(100, 116, 139, 0.38);
    --admin-card-bg: rgba(22, 34, 53, 0.5);
    --admin-card-border: rgba(71, 85, 105, 0.45);
    --admin-eyebrow: #7dd3fc;
    --admin-title: #f8fafc;
    --admin-intro: #cbd5e1;
    --admin-table-text: #e2e8f0;
    --admin-pagination-muted: #94a3b8;
    --admin-row-hover: rgba(20, 184, 166, 0.1);
}

body.tracksy-admin-page.has-sidebar .main-content {
    position: relative;
    overflow: hidden;
}

body.tracksy-admin-page.has-sidebar .main-content::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: var(--admin-bg-gradient);
}

body.tracksy-admin-page.has-sidebar .main-content > * {
    position: relative;
    z-index: 1;
}

body.tracksy-admin-page .site-header-l3 {
    background: var(--admin-header-bg) !important;
    border-bottom: 1px solid var(--admin-header-border);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.admin-users-main { position: relative; z-index: 1; }
.admin-users-hero { margin-bottom: 1rem; }
.admin-users-eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
body.tracksy-admin-page .admin-users-eyebrow {
    color: var(--admin-eyebrow);
}

body.tracksy-admin-page .page-title {
    color: var(--admin-title);
    margin-bottom: 0.4rem;
}

body.tracksy-admin-page .site-roles-intro {
    color: var(--admin-intro);
}

/* Yarı saydam kartlar — eski sidebar cam görünümü; blur kapalı (düşük GPU’da kaydırma) */
body.tracksy-admin-page.has-sidebar .vtc-form-card,
body.tracksy-admin-page.has-sidebar .vtc-search-card,
body.tracksy-admin-page.has-sidebar .vtc-card,
body.tracksy-admin-page.has-sidebar .vtc-view-header,
body.tracksy-admin-page.has-sidebar .vtc-view-card,
body.tracksy-admin-page.has-sidebar .ban-card,
body.tracksy-admin-page.has-sidebar .settings-card,
body.tracksy-admin-page.has-sidebar .table-wrap {
    background: var(--admin-card-bg) !important;
    border-color: var(--admin-card-border) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.tracksy-admin-page.has-sidebar .profile-history-modal-box,
body.tracksy-admin-page.has-sidebar .profile-ban-modal-content {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.tracksy-admin-page.has-sidebar .vtc-form-card.admin-users-card {
    background: var(--admin-card-bg);
    border: 1px solid var(--admin-card-border);
}

body.tracksy-admin-page .vtc-members-table thead th,
body.tracksy-admin-page .vtc-members-table tbody td {
    color: var(--admin-table-text);
}

body.tracksy-admin-page .manage-users-pagination-info {
    color: var(--admin-pagination-muted);
}

body.tracksy-admin-page .vtc-members-table tbody tr:hover {
    background: var(--admin-row-hover);
}

.admin-jobs-game-pill {
    white-space: nowrap;
}
.vtc-create-intro,
.vtc-list-intro { color: var(--text-muted); margin-bottom: 1.5rem; }

/* Geri gitme alanı - geri butonu vurgulu */
.vtc-breadcrumb { display: inline-flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; font-size: 0.95rem; }
.vtc-breadcrumb .vtc-back-link { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.75rem; background: rgba(20, 184, 166, 0.2); border: 1px solid rgba(20, 184, 166, 0.4); border-radius: var(--radius-sm); color: var(--accent-light); text-decoration: none; font-weight: 500; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.vtc-breadcrumb .vtc-back-link:hover { background: rgba(20, 184, 166, 0.3); border-color: var(--accent-color); color: #fff; }
.vtc-breadcrumb .vtc-back-link i { font-size: 0.85em; }

.vtc-alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.vtc-alert-error { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.4); color: #fca5a5; }
.vtc-alert:not(.vtc-alert-error) { background: rgba(20, 184, 166, 0.15); border: 1px solid rgba(20, 184, 166, 0.4); color: var(--accent-light); }
.vtc-alert i { flex-shrink: 0; }
.vtc-back-link { color: var(--accent-light); text-decoration: none; }
.vtc-back-link:hover { text-decoration: underline; }
.vtc-members-add-card { margin-bottom: 1.5rem; }
.vtc-members-add-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.vtc-members-add-row .vtc-input { flex: 1; min-width: 200px; }
.vtc-members-list-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.vtc-members-search-wrap { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.vtc-members-search-label { font-size: 0.9rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 0.35rem; }
.vtc-members-search-input { width: 100%; max-width: 280px; padding: 0.5rem 0.75rem; font-size: 0.95rem; }
.vtc-members-search-result { font-size: 0.85rem; color: var(--text-muted); margin-left: 0.25rem; }
.vtc-members-table-wrap { overflow-x: auto; }
.vtc-members-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.vtc-members-table th, .vtc-members-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border-color); }
.vtc-members-table th { color: var(--text-muted); font-weight: 600; }
/* Uzun tablolarda görünmeyen satırların düzenini atlayarak kaydırmayı hafifletir */
body.tracksy-admin-page.admin-users-page .vtc-members-table tbody tr,
body.tracksy-admin-page.admin-jobs-page .vtc-members-table tbody tr {
    content-visibility: auto;
    contain-intrinsic-size: auto 3.25rem;
}
.steam-access-page .steam-access-id-cell { min-width: 230px; }
.steam-access-page .steam-access-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  color: var(--accent-light);
  text-decoration: none;
}
.steam-access-page .steam-access-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.steam-access-page .steam-access-id-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: 0.01em;
}
.steam-access-page .steam-access-nick { font-weight: 600; }
.steam-access-page .steam-access-link-icon {
  font-size: 0.72rem;
  opacity: 0.75;
  transform: translateY(-1px);
}
.steam-access-page .steam-access-empty {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.vtc-roles-order-col { width: 1%; white-space: nowrap; vertical-align: middle; }
.vtc-role-reorder-form { display: inline-flex; gap: 0.15rem; }
.vtc-btn-icon { padding: 0.35rem 0.5rem; min-width: auto; }
.vtc-role-order-btn { color: var(--text-muted); }
.vtc-role-order-btn:hover { color: var(--accent-color); }
.manage-users-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: block; }
.manage-users-avatar-placeholder { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-tertiary); color: var(--text-muted); font-size: 0.85rem; }
.manage-users-role-pill { border: 2px solid; background: var(--bg-primary); padding: 0.25rem 0.5rem; border-radius: var(--radius-md); font-size: 0.85rem; font-weight: 600; }
.manage-users-status { font-size: 0.85rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.manage-users-status-dot { width: 8px; height: 8px; border-radius: 999px; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25); }
.manage-users-status--online { color: #4ade80; }
.manage-users-status--offline { color: var(--text-muted); }
.manage-users-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-top: 1rem; }
.manage-users-pagination-info { font-size: 0.9rem; color: var(--text-muted); }
.manage-users-pagination-links { display: flex; gap: 0.5rem; }
.vtc-members-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-top: 1rem; }
.vtc-members-pagination-info { font-size: 0.9rem; color: var(--text-muted); }
.vtc-members-pagination-links { display: flex; gap: 0.5rem; }
.vtc-member-row-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-primary); text-decoration: none; }
.vtc-member-row-link:hover { color: var(--accent-light); }
.vtc-member-row-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.vtc-member-row-avatar-placeholder { display: inline-flex; align-items: center; justify-content: center; background: var(--bg-tertiary); color: var(--text-muted); font-size: 0.9rem; }
.vtc-member-role-form { margin: 0; display: inline-block; }
.vtc-member-role-select { width: auto; min-width: 100px; padding: 0.4rem 0.6rem; font-size: 0.9rem; }
.vtc-btn-danger-inline { padding: 0.4rem 0.65rem; background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.4); border-radius: var(--radius-sm); cursor: pointer; }
.vtc-btn-danger-inline:hover { background: rgba(239, 68, 68, 0.35); color: #fecaca; }

.vtc-form-card { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 1.5rem; margin-bottom: 1.5rem; }
.vtc-form-title { font-size: 1.1rem; margin-bottom: 1rem; color: var(--text-primary); }
.vtc-tmp-sync-card .vtc-tmp-sync-desc { font-size: 0.9rem; color: var(--text-muted); margin: 0 0 1.25rem; line-height: 1.5; }
.vtc-tmp-sync-status { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; padding: 0.75rem 1rem; background: rgba(20, 184, 166, 0.1); border: 1px solid rgba(20, 184, 166, 0.25); border-radius: var(--radius-sm); }
.vtc-tmp-sync-badge { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; font-weight: 600; color: var(--accent-light); }
.vtc-tmp-sync-badge i { font-size: 1em; }
.vtc-tmp-sync-link { font-size: 0.9rem; color: var(--text-secondary); text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; transition: color 0.2s; }
.vtc-tmp-sync-link:hover { color: var(--accent-light); }
.vtc-tmp-sync-link i { font-size: 0.75em; opacity: 0.8; }
.vtc-tmp-sync-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.vtc-tmp-sync-msg { font-size: 0.9rem; }
.vtc-tmp-sync-msg-ok { color: var(--accent-light); }
.vtc-tmp-sync-msg-err { color: #f87171; }
.vtc-field { margin-bottom: 1rem; }
.vtc-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; margin-bottom: 1.25rem; }
.vtc-field-row .vtc-label { margin-bottom: 0; }
/* Yetkili paneli rol düzenleme: renk kutusu üstteki alana yapışmasın */
.manage-role-edit-form .vtc-field-row { margin-bottom: 1.25rem; }
.vtc-field-row-right { display: flex; flex-direction: column; gap: 0.25rem; }
.vtc-field-row-right .vtc-input-color { flex-shrink: 0; }
.vtc-label { display: block; font-weight: 600; margin-bottom: 0.35rem; color: var(--text-secondary); }
/* Açıklama / Bio tarzı alanlar için label - turquoise vurgu (KULLANICI BİO ile uyumlu) */
.vtc-field.vtc-field-description .vtc-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--accent-light); margin-bottom: 8px; }
.vtc-field.vtc-field-description .vtc-hint { color: rgba(94, 234, 212, 0.85); font-size: 0.8rem; margin: 0 0 10px 0; }
.vtc-required { color: #f87171; }
.vtc-hint { font-size: 0.8rem; color: var(--text-muted); margin: 0.25rem 0 0.5rem; }
.vtc-input, .vtc-textarea, .vtc-file { width: 100%; padding: 10px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); background: rgba(0, 0, 0, 0.25); color: var(--text-primary); font-size: 1rem; }
.vtc-input:focus, .vtc-textarea:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15); }
/* Select (rol seçimi vb.) – metin alanlarıyla aynı yükseklik ve görünüm */
.vtc-input-select,
select.vtc-input { min-height: 42px; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.vtc-input-select:focus,
select.vtc-input:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15); }
/* Native select açılır menü (özellikle Transfer Ownership listesi) koyu tema */
select.vtc-input option {
    background: #0f172a;
    color: #e2e8f0;
}
select.vtc-input option:checked {
    background: #1e293b;
    color: #f8fafc;
}
select.vtc-input optgroup {
    background: #0f172a;
    color: #94a3b8;
}

/* Özel dropdown (site rolü) – koyu tema listesi */
.custom-select-wrap { position: relative; width: 100%; }
.custom-select-native { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; opacity: 0; pointer-events: none; }
.custom-select-trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 42px; padding: 10px 14px; text-align: left; cursor: pointer; border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: rgba(0, 0, 0, 0.25); color: var(--text-primary); font-size: 1rem; }
.custom-select-trigger:hover { border-color: rgba(148, 163, 184, 0.4); }
.custom-select-trigger:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15); }
.custom-select-trigger-icon { color: var(--text-muted); font-size: 0.75rem; transition: transform 0.2s; }
.custom-select-wrap.is-open .custom-select-trigger-icon { transform: rotate(180deg); }
.custom-select-wrap.is-open .custom-select-trigger { border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15); }
.custom-select-dropdown { position: absolute; top: 100%; left: 0; right: 0; margin: 4px 0 0; padding: 4px; list-style: none; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-sm); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); max-height: 260px; overflow-y: auto; z-index: 50; }
.custom-select-option { display: block; margin: 0; padding: 10px 12px; cursor: pointer; color: var(--text-primary); transition: background 0.2s ease, color 0.2s ease; border-radius: 4px; }
.custom-select-option:hover { background: rgba(20, 184, 166, 0.15); color: var(--accent-light); }
.custom-select-option.is-selected { background: rgba(20, 184, 166, 0.28); color: var(--accent-light); }
.vtc-textarea { min-height: 120px; resize: vertical; }
.vtc-description { min-height: 200px; font-family: inherit; }
/* Markdown toolbar - KULLANICI BİO tarzı tek blok */
.vtc-md-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; padding: 8px 10px; background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.08); border-bottom: none; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.vtc-md-toolbar-group { display: flex; align-items: center; gap: 2px; }
.vtc-md-toolbar-divider { width: 1px; height: 22px; background: var(--border-color); margin: 0 6px; flex-shrink: 0; }
.vtc-md-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: none; border-radius: var(--radius-sm); background: transparent; color: var(--accent-light); cursor: pointer; font-size: 1rem; transition: background 0.15s, color 0.15s; }
.vtc-md-btn:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.vtc-md-btn[aria-pressed="true"] { background: rgba(20, 184, 166, 0.25); color: var(--accent-light); }
.vtc-md-btn-label { font-size: 0.85rem; }
.vtc-md-editor-wrap { border: 1px solid rgba(255, 255, 255, 0.08); border-top: none; border-radius: 0 0 var(--radius-md) var(--radius-md); background: rgba(0, 0, 0, 0.25); overflow: hidden; }
.vtc-md-editor-wrap .vtc-textarea { border: none; border-radius: 0; background: transparent; padding: 16px 20px; min-height: 200px; }
.vtc-md-editor-wrap .vtc-textarea:focus { box-shadow: none; }
.vtc-file { padding: 10px 14px; background: rgba(0, 0, 0, 0.25); border-color: rgba(255, 255, 255, 0.08); color: var(--text-primary); cursor: pointer; }
.vtc-file::file-selector-button { padding: 6px 14px; margin-right: 12px; background: linear-gradient(135deg, rgba(20, 184, 166, 0.3), rgba(20, 184, 166, 0.2)); border: 1px solid rgba(20, 184, 166, 0.4); border-radius: var(--radius-sm); color: var(--accent-light); font-weight: 600; cursor: pointer; }
.vtc-file:hover::file-selector-button { background: var(--accent-color); color: #0f172a; }
.vtc-markdown-preview-wrap { margin-top: 0.75rem; }
.vtc-field-description .vtc-markdown-preview-wrap { margin-top: 0.5rem; }
.vtc-preview-btn { padding: 6px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border-color); background: var(--bg-tertiary); color: var(--text-secondary); cursor: pointer; font-size: 0.9rem; }
.vtc-preview-btn:hover { background: var(--border-color); color: var(--text-primary); }
.vtc-md-help-dialog { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(15, 23, 42, 0.85); padding: 1rem; }
.vtc-md-help-dialog[hidden] { display: none; }
.vtc-md-help-content { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 1.5rem; max-width: 420px; width: 100%; max-height: 85vh; overflow-y: auto; box-shadow: 0 10px 40px var(--shadow); }
.vtc-md-help-content h3 { margin: 0 0 1rem; color: var(--text-primary); font-size: 1.1rem; }
.vtc-md-help-content table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.vtc-md-help-content th, .vtc-md-help-content td { text-align: left; padding: 0.4rem 0.6rem; border-bottom: 1px solid var(--border-color); color: var(--text-secondary); }
.vtc-md-help-content code { background: var(--bg-tertiary); padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.85em; }
.vtc-md-help-close { margin-top: 1rem; padding: 0.5rem 1rem; background: var(--accent-color); color: #0f172a; border: none; border-radius: var(--radius-sm); cursor: pointer; font-weight: 600; }
.vtc-md-help-close:hover { filter: brightness(1.1); }
.vtc-markdown-preview { margin-top: 0.75rem; padding: 1rem; border-radius: var(--radius-sm); background: var(--bg-primary); border: 1px solid var(--border-color); min-height: 80px; color: var(--text-secondary); }
.vtc-markdown-preview h1, .vtc-markdown-preview h2, .vtc-markdown-preview h3 { color: var(--text-primary); margin-top: 0.5rem; }
.vtc-markdown-preview a { color: var(--accent-light); }
.vtc-social-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.vtc-form-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; margin-bottom: 3rem; }
.vtc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; border: none; cursor: pointer; font-size: 1rem; transition: all 0.2s; }
.vtc-btn-primary { background: var(--accent-color); color: #0f172a; }
.vtc-btn-primary:hover { background: var(--accent-hover); color: white; }
.vtc-btn-secondary { background: var(--bg-tertiary); color: var(--text-secondary); border: 1px solid var(--border-color); }
.vtc-btn-secondary:hover { background: var(--border-color); color: var(--text-primary); }
.vtc-btn-accent { background: rgba(20, 184, 166, 0.2); color: var(--accent-light); border: 1px solid rgba(20, 184, 166, 0.4); }
.vtc-btn-accent:hover { background: var(--accent-color); color: #0f172a; }
.vtc-btn-disabled { opacity: 0.6; cursor: not-allowed; pointer-events: none; }
.vtc-current-file { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.35rem; font-size: 0.9rem; color: var(--text-muted); }
.vtc-edit-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border-color); flex-shrink: 0; }
.vtc-edit-thumb-banner { width: 120px; height: 22px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border-color); flex-shrink: 0; }

/* VTC List */
.vtc-search-card { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 1.5rem 1.75rem; margin-bottom: 1.5rem; border-left: 4px solid var(--accent-color); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15); }
.vtc-search-card .vtc-search-title { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--accent-light); margin: 0 0 1rem; display: flex; align-items: center; gap: 0.5rem; }
.vtc-search-card .vtc-search-title i { opacity: 0.9; }
.vtc-search-form .vtc-search-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 1.25rem; margin-bottom: 1.25rem; }
@media (max-width: 768px) { .vtc-search-form .vtc-search-row { grid-template-columns: 1fr 1fr; } }
.vtc-search-field { display: flex; flex-direction: column; gap: 0.35rem; }
.vtc-search-field .vtc-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin: 0; }
.vtc-search-field .vtc-input { padding: 0.6rem 0.9rem; font-size: 0.95rem; border-radius: var(--radius-sm); border: 1px solid var(--border-color); background: rgba(0, 0, 0, 0.2); transition: border-color 0.2s, box-shadow 0.2s; }
.vtc-search-field .vtc-input:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2); }
.vtc-search-field .vtc-input::placeholder { color: var(--text-muted); opacity: 0.8; }
.vtc-search-actions { display: flex; gap: 0.75rem; align-items: center; }
.vtc-search-actions .vtc-btn-primary { padding: 0.6rem 1.25rem; }
.vtc-search-actions .vtc-btn-secondary { padding: 0.6rem 1rem; background: transparent; border: 1px solid var(--border-color); color: var(--text-secondary); }
.vtc-search-actions .vtc-btn-secondary:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.vtc-list-actions { margin-bottom: 1rem; }
.vtc-list-main .vtc-stats-bar { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; color: var(--text-muted); font-size: 0.95rem; }
.vtc-list-main .vtc-stat strong { color: var(--accent-light); }
.vtc-empty { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.vtc-empty i { font-size: 3rem; opacity: 0.5; margin-bottom: 1rem; display: block; }
.vtc-empty .vtc-btn { margin-top: 1rem; }
.vtc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.vtc-card { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: all 0.2s; }
.vtc-card:hover { border-color: var(--accent-color); box-shadow: 0 4px 20px var(--shadow); transform: translateY(-2px); }
.vtc-card-media { padding: 1.25rem; display: flex; justify-content: center; align-items: center; min-height: 120px; }
.vtc-card-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: contain;
    object-position: center;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    box-sizing: border-box;
    image-rendering: auto;
    filter: blur(0.35px);
}
.vtc-card-logo-placeholder { width: 80px; height: 80px; border-radius: 50%; background: var(--bg-tertiary); border: 2px solid var(--border-color); box-sizing: border-box; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--text-muted); }
.vtc-card-body { padding: 0 1.25rem 1.25rem; flex: 1; }
.vtc-card-name { font-size: 1.15rem; margin: 0 0 0.5rem; color: var(--text-primary); }
.vtc-card-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; font-size: 0.85rem; color: var(--text-muted); }
.vtc-card-km { font-size: 0.9rem; color: var(--accent-light); margin: 0.5rem 0 0; }

/* VTC View (profile) */
.vtc-view-main { padding-top: 2.5rem; }
/* Banner: sayfa ortasında, 1920×350 oranı */
.vtc-view-banner-wrap { width: 100%; max-width: 960px; margin: 0 auto; aspect-ratio: 1920 / 350; max-height: 175px; overflow: hidden; background: var(--bg-secondary); border-radius: var(--radius-md); box-shadow: 0 4px 20px var(--shadow); }
.vtc-view-banner { width: 100%; height: 100%; object-fit: cover; display: block; }
.vtc-view-banner-placeholder { width: 100%; height: 100%; min-height: 100px; background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary)); }
/* İçerik banner'ın altında, net boşlukla */
.vtc-view-container { margin-top: 2rem; position: relative; z-index: 1; padding-bottom: 2rem; }
/* Logo + isim alanı - kompakt kart */
.vtc-view-header { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: 0 4px 20px var(--shadow); }
.vtc-view-logo-wrap {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    background: var(--bg-tertiary);
    box-sizing: border-box;
}
.vtc-view-logo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    border: none;
    border-radius: 0;
    image-rendering: auto;
    filter: blur(0.35px);
}
.vtc-view-logo-placeholder {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: var(--text-muted);
    border: 3px solid var(--border-color);
    box-sizing: border-box;
}
.vtc-view-title-block { padding: 0; flex: 1; min-width: 200px; }
/* Şirket Yönetimi - Bilgiler kutusu gibi sidebar kartı */
.vtc-view-admin-nav { width: 100%; }
.vtc-view-admin-nav-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.vtc-view-admin-nav-list li { margin: 0; }
.vtc-view-admin-nav-link { display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0; font-size: 0.9rem; color: var(--text-secondary); text-decoration: none; transition: all 0.2s; background: transparent; border: none; cursor: pointer; width: 100%; text-align: left; border-radius: var(--radius-sm); font-family: inherit; }
.vtc-view-admin-nav-link:hover { color: var(--accent-light); background: rgba(148, 163, 184, 0.08); }
.vtc-view-admin-nav-link-btn { appearance: none; }
.vtc-view-admin-nav-link i { width: 1.1em; text-align: center; opacity: 0.9; }
.vtc-view-admin-nav-badge { margin-left: auto; min-width: 1.5rem; padding: 0.05rem 0.45rem; border-radius: 999px; background: var(--accent-color); color: #0f172a; font-size: 0.75rem; font-weight: 600; text-align: center; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.35); }
.vtc-view-admin-nav-link--danger { color: #fecaca; background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.5); padding: 0.45rem 0.65rem; margin-top: 0.35rem; }
.vtc-view-admin-nav-link--danger:hover { color: #fee2e2; background: rgba(248, 113, 113, 0.2); border-color: rgba(248, 113, 113, 0.9); }
.vtc-view-name { font-size: 1.6rem; margin: 0 0 0.35rem; color: var(--text-primary); width: 100%; }
.vtc-view-meta { font-size: 0.9rem; color: var(--text-muted); margin: 0; width: 100%; }
.vtc-btn-edit { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.9rem; font-size: 0.9rem; background: var(--bg-tertiary); color: var(--text-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-sm); text-decoration: none; transition: all 0.2s; white-space: nowrap; }
.vtc-btn-edit:hover { background: var(--accent-color); color: #0f172a; border-color: var(--accent-color); }
.vtc-view-layout { display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; }
.vtc-view-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.vtc-view-card { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 1.25rem; }
.vtc-view-card-title { font-size: 0.95rem; margin: 0 0 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
/* Açıklama ile Üyeler kutusu arasında belirgin boşluk */
.vtc-view-content { display: flex; flex-direction: column; gap: 1.5rem; }
.vtc-view-description-card { margin-bottom: 0; }
.vtc-view-info { margin: 0; font-size: 0.9rem; }
.vtc-view-info dt { color: var(--text-muted); margin-top: 0.5rem; margin-bottom: 0.2rem; }
.vtc-view-info dd { margin: 0; color: var(--text-primary); }
.vtc-view-info dd:first-of-type { margin-top: 0; }
.vtc-view-info a { color: var(--accent-light); text-decoration: none; }
.vtc-owner-name { display: inline-block; max-width: 100%; }
.vtc-owner-name--medium { font-size: 0.9rem; }
.vtc-owner-name--long { font-size: 0.8rem; }
.vtc-view-info a:hover { text-decoration: underline; }
.vtc-view-socials { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.vtc-view-social-link { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--bg-tertiary); color: var(--text-secondary); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.2s; }
.vtc-view-social-link:hover { background: var(--accent-color); color: #0f172a; }
.vtc-view-social-link--truckersmp { background: rgba(249, 115, 22, 0.18); color: #f97316; }
.vtc-view-social-link--truckersmp:hover { background: #f97316; color: #0f172a; }
.vtc-view-section-title { font-size: 1.1rem; margin: 0 0 1rem; color: var(--text-primary); }
.vtc-description-content { color: var(--text-secondary); line-height: 1.7; }
.vtc-description-content p { margin: 0 0 0.75rem; }
.vtc-description-content h1, .vtc-description-content h2, .vtc-description-content h3 { margin: 1rem 0 0.5rem; color: var(--text-primary); }
.vtc-description-content ul, .vtc-description-content ol { margin: 0.5rem 0 1rem; padding-left: 1.5rem; }
.vtc-description-content a { color: var(--accent-light); }
.vtc-description-content img {
    max-width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    border-radius: 0;
    display: block;
    margin: 0.75rem 0;
    box-sizing: border-box;
}
.vtc-description-content hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 1rem 0;
    display: block;
}
.vtc-members-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.vtc-member-card { display: flex; flex-direction: column; align-items: center; padding: 1rem; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius-sm); text-decoration: none; color: inherit; transition: all 0.2s; }
.vtc-member-card:hover { border-color: var(--accent-color); background: rgba(20, 184, 166, 0.05); }
.vtc-member-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: 0.5rem; image-rendering: auto; filter: blur(0.35px); }
.vtc-member-avatar-placeholder { width: 56px; height: 56px; border-radius: 50%; background: var(--bg-tertiary); display: flex; align-items: center; justify-content: center; color: var(--text-muted); margin-bottom: 0.5rem; }
.vtc-member-name { font-weight: 600; color: var(--text-primary); font-size: 0.95rem; }
.vtc-member-name--medium { font-size: 0.85rem; }
.vtc-member-name--long { font-size: 0.8rem; }
.vtc-member-role { font-size: 0.8rem; color: var(--accent-light); margin-top: 0.25rem; }
.vtc-view-header-actions { margin-left: auto; align-self: flex-start; display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.vtc-view-header-actions .vtc-leave-form { margin: 0; }
.vtc-view-apply-wrap { position: relative; display: flex; flex-direction: column; align-items: flex-end; }
.vtc-view-apply-wrap .vtc-apply-form-wrap { margin-top: 0.5rem; min-width: 260px; padding: 0.75rem; background: var(--bg-tertiary); border: 1px solid var(--border-color); border-radius: var(--radius-sm); }
.vtc-view-action-msg { margin: 0; font-size: 0.9rem; }
.vtc-view-action-success { color: var(--accent-light); }
.vtc-view-action-error { color: #fca5a5; background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.4); border-radius: var(--radius-sm); padding: 0.5rem 0.75rem; }
.vtc-leave-form { margin: 0; }
.vtc-apply-form-wrap { margin-top: 0.75rem; }
.vtc-apply-form .vtc-apply-label { display: block; margin-bottom: 0.35rem; font-size: 0.85rem; color: var(--text-muted); }
.vtc-apply-form .vtc-textarea { width: 100%; margin-bottom: 0.5rem; resize: vertical; }
.vtc-btn-block { display: block; width: 100%; text-align: center; }
.vtc-btn-danger { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.4); }
.vtc-btn-danger:hover { background: rgba(239, 68, 68, 0.35); color: #fecaca; }
.vtc-member-role-badge { font-weight: 500; }

/* VTC Modal (Başvur) */
.vtc-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.vtc-modal[hidden] { display: none; }
.vtc-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); }
.vtc-modal-content { position: relative; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 1.5rem; max-width: 420px; width: 100%; box-shadow: 0 20px 40px var(--shadow-lg); }
.vtc-modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.vtc-modal-title { font-size: 1.15rem; margin: 0; color: var(--text-primary); }
.vtc-modal-close { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 0.35rem; border-radius: var(--radius-sm); }
.vtc-modal-close:hover { color: var(--text-primary); background: var(--bg-tertiary); }
.vtc-modal-actions { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1rem; }
.vtc-modal .vtc-apply-form .vtc-textarea { margin-bottom: 0; }
.vtc-modal-content--wide { max-width: 480px; }
.vtc-modal-confirm-icon { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; border: 2px solid rgba(251, 191, 36, 0.5); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; color: #fbbf24; }
.vtc-modal-warning { color: #f87171; font-weight: 500; }
.vtc-modal-result-icon { width: 48px; height: 48px; margin: 0 auto 1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.vtc-modal-result-icon--ok { background: rgba(20, 184, 166, 0.2); color: var(--accent-light); }
.vtc-modal-result-icon--err { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.vtc-modal-loading-spinner { border-color: rgba(20, 184, 166, 0.4); color: var(--accent-color); font-size: 2rem; }
.vtc-transfer-confirm-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0.75rem 0 0.9rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.vtc-transfer-confirm-check input[type="checkbox"] {
    margin-top: 0.15rem;
    width: 1rem;
    height: 1rem;
    accent-color: var(--accent-color);
}

.admin-notify-icon-preview {
    margin-top: 0.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.12);
    border: 1px solid rgba(20, 184, 166, 0.3);
    color: var(--text-primary);
    font-size: 0.85rem;
}

.admin-notify-icon-preview-icon {
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    background: rgba(15, 23, 42, 0.65);
}
.vtc-tmp-sync-to-remove-list { list-style: none; margin: 0.75rem 0 0; padding: 0.75rem 1rem; background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.2); border-radius: var(--radius-sm); max-height: 160px; overflow-y: auto; }
.vtc-tmp-sync-to-remove-list li { font-size: 0.9rem; color: var(--text-primary); padding: 0.25rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.vtc-tmp-sync-to-remove-list li:last-child { border-bottom: none; }
.vtc-tmp-sync-to-remove-list::before { content: 'Çıkarılacak üyeler:'; display: block; font-size: 0.85rem; font-weight: 600; color: #f87171; margin-bottom: 0.5rem; }
.vtc-tmp-sync-to-remove-link { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
.vtc-tmp-sync-to-remove-link:hover { color: var(--accent-color); text-decoration: underline; }
.vtc-perms-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.vtc-perm-item { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; color: var(--text-secondary); min-height: 1.5rem; }
.vtc-perm-item input[type="checkbox"] { width: 1.1rem; height: 1.1rem; margin: 0; flex-shrink: 0; accent-color: var(--accent-color); }
.vtc-perm-item span { line-height: 1.4; }
.vtc-btn-sm { padding: 0.35rem 0.65rem; font-size: 0.85rem; }
.vtc-role-color-swatch { display: inline-block; width: 1.25rem; height: 1.25rem; border-radius: 4px; border: 1px solid var(--border-color); vertical-align: middle; }
.site-role-color-swatch { display: inline-flex; align-items: center; justify-content: center; min-width: 2rem; height: 1.5rem; padding: 0 0.35rem; border-radius: 4px; border: 1px solid var(--border-color); font-size: 0.7rem; font-weight: 600; }
/* Rol rengi soldaki rozetle aynı görünsün (Profil Detayları) */
.profile-role-pill {
    border-width: 2px;
    border-style: solid;
    background: var(--bg-primary);
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 700;
}

/* VTC Başvurular sayfası */
.vtc-app-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.vtc-app-filter-btn { padding: 0.5rem 1rem; border-radius: var(--radius-sm); background: var(--bg-tertiary); color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; border: 1px solid var(--border-color); transition: all 0.2s; }
.vtc-app-filter-btn:hover { background: var(--bg-secondary); color: var(--text-primary); border-color: var(--accent-color); }
.vtc-app-filter-btn.active { background: var(--accent-color); color: #0f172a; border-color: var(--accent-color); }
.vtc-app-table-wrap { overflow-x: auto; }
.vtc-app-table { width: 100%; }
.vtc-app-empty { text-align: center; padding: 2rem; color: var(--text-muted); }
.vtc-app-badge { display: inline-block; padding: 0.25rem 0.6rem; border-radius: 6px; font-size: 0.8rem; font-weight: 500; }
.vtc-app-status-pending { background: rgba(245, 158, 11, 0.2); color: #fcd34d; }
.vtc-app-status-accepted { background: rgba(34, 197, 94, 0.2); color: #86efac; }
.vtc-app-status-rejected { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.vtc-app-status-canceled { background: rgba(148, 163, 184, 0.2); color: var(--text-muted); }

.vtc-app-detail-card { max-width: 720px; }
.vtc-app-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.vtc-app-detail-user { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.vtc-app-detail-profile-link { display: flex; align-items: center; gap: 0.75rem; color: inherit; text-decoration: none; }
.vtc-app-detail-profile-link:hover { color: var(--accent-light); }
.vtc-app-detail-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.vtc-app-detail-avatar-placeholder { background: var(--bg-tertiary); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 1.5rem; }
.vtc-app-detail-name { font-size: 1.15rem; font-weight: 600; color: var(--text-primary); }
.vtc-app-detail-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.vtc-app-detail-dl { margin: 0; font-size: 0.9rem; }
.vtc-app-detail-dl dt { color: var(--text-muted); margin-top: 0.5rem; margin-bottom: 0.2rem; }
.vtc-app-detail-dl dd { margin: 0; color: var(--text-primary); }
.vtc-app-detail-desc { border-top: 1px solid var(--border-color); padding-top: 1rem; }
.vtc-app-detail-desc-title { font-size: 0.95rem; margin: 0 0 0.5rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.vtc-app-detail-desc-body { color: var(--text-secondary); line-height: 1.6; white-space: pre-wrap; }
.vtc-app-detail-log { border-top: 1px solid var(--border-color); padding-top: 1rem; margin-top: 0.5rem; }
.vtc-app-log-list { list-style: none; margin: 0; padding: 0; }
.vtc-app-log-item { display: flex; align-items: center; gap: 0.5rem 1rem; flex-wrap: wrap; padding: 0.4rem 0; border-bottom: 1px solid var(--border-color); font-size: 0.9rem; }
.vtc-app-log-item:last-child { border-bottom: none; }
.vtc-app-log-action { font-weight: 600; padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.8rem; }
.vtc-app-log-action.vtc-app-log-accepted { background: rgba(34, 197, 94, 0.2); color: var(--success, #22c55e); }
.vtc-app-log-action.vtc-app-log-rejected { background: rgba(239, 68, 68, 0.2); color: var(--danger, #ef4444); }
.vtc-app-log-user { color: var(--link-color, #60a5fa); }
.vtc-app-log-date { color: var(--text-muted); font-size: 0.85rem; }

/* VTC Roller sayfaları */
.vtc-roles-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.5rem; }
.vtc-roles-header .vtc-form-title { margin: 0; }
.vtc-text-muted { color: var(--text-muted); font-size: 0.9rem; }
.vtc-input-color { width: 60px; height: 38px; padding: 2px; border: 1px solid var(--border-color); border-radius: 6px; background: var(--bg-tertiary); cursor: pointer; }

.vtc-role-members-box { margin-top: 1.5rem; }
.vtc-role-members-title { font-size: 1rem; margin: 0 0 0.75rem 0; color: var(--text-primary); }
.vtc-role-members-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.vtc-role-member-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem; background: var(--bg-tertiary); border-radius: var(--radius-sm); border: 1px solid var(--border-color); }
.vtc-role-member-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.vtc-role-member-avatar-placeholder { display: inline-flex; align-items: center; justify-content: center; background: var(--bg-secondary); color: var(--text-muted); font-size: 0.9rem; }
.vtc-role-member-name { color: var(--accent-light); text-decoration: none; font-weight: 500; }
.vtc-role-member-name:hover { text-decoration: underline; }
.vtc-role-member-meta { margin-left: auto; font-size: 0.85rem; color: var(--text-muted); }

/* VTC İşler sayfası */
.vtc-jobs-table-wrap { overflow-x: auto; margin: 1rem 0; }
.vtc-jobs-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.vtc-jobs-table th, .vtc-jobs-table td { padding: 0.6rem 0.75rem; text-align: left; border-bottom: 1px solid var(--border-color); vertical-align: middle; }
.vtc-jobs-table th { color: var(--text-muted); font-weight: 600; }
.vtc-jobs-table td { color: var(--text-primary); }
.vtc-jobs-table tbody tr:hover { background: rgba(20, 184, 166, 0.06); }
.vtc-jobs-table td:last-child { text-align: right; padding-left: 12px; }
.vtc-jobs-invalid-pill {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.1rem 0.45rem;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 4px;
    background: rgba(180, 83, 9, 0.25);
    color: #fdba74;
    vertical-align: middle;
}
.vtc-jobs-id { font-weight: 500; color: var(--text-muted); }
.vtc-jobs-driver-link { color: var(--accent-light); text-decoration: none; }
.vtc-jobs-driver-link:hover { text-decoration: underline; }
.vtc-jobs-pagination { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.vtc-jobs-page-info { color: var(--text-muted); font-size: 0.9rem; }

/* VTC İstatistik sayfası */
.vtc-stats-main .vtc-stats-header { margin-bottom: 1.5rem; }
.vtc-stats-vtc-badge { display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; background: var(--bg-tertiary); border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.vtc-stats-logo { width: 48px; height: 48px; border-radius: 50%; object-fit: contain; object-position: center; background: var(--bg-tertiary); border: 2px solid var(--border-color); box-sizing: border-box; }
.vtc-stats-logo-placeholder { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.vtc-stats-vtc-name { font-weight: 600; font-size: 1.1rem; color: var(--text-primary); }
.vtc-stats-section-title { font-size: 1rem; margin: 0 0 1rem 0; color: var(--text-primary); }
.vtc-stats-card { margin-bottom: 1.5rem; }
.vtc-stats-bar-wrap { margin-top: 0.5rem; }
.vtc-stats-main .vtc-stats-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--bg-tertiary); }
.vtc-stats-bar-seg { transition: width 0.2s; }
.vtc-stats-bar-auto { background: #22c55e; }
.vtc-stats-bar-manual { background: #f59e0b; }
.vtc-stats-bar-legend { display: flex; gap: 1rem; margin-top: 0.5rem; font-size: 0.85rem; color: var(--text-muted); }
.vtc-stats-legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 0.35rem; vertical-align: middle; }
.vtc-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.vtc-stats-kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.vtc-stats-kpi { background: var(--bg-tertiary); border-radius: var(--radius-sm); padding: 0.75rem; text-align: center; border: 1px solid var(--border-color); }
.vtc-stats-kpi-value { display: block; font-size: 1.25rem; font-weight: 700; color: var(--accent-light); }
.vtc-stats-kpi-label { font-size: 0.8rem; color: var(--text-muted); }
.vtc-stats-most-cards { margin-bottom: 1.5rem; }
.vtc-stats-most-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.vtc-stats-most-card { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 1rem; }
.vtc-stats-most-label { font-size: 0.8rem; color: var(--text-muted); display: block; margin-bottom: 0.35rem; }
.vtc-stats-most-value { font-weight: 600; color: var(--text-primary); text-decoration: none; display: block; }
.vtc-stats-most-value:hover { color: var(--accent-light); }
.vtc-stats-most-meta { font-size: 0.9rem; color: var(--text-muted); }
.vtc-stats-table-wrap { overflow-x: auto; }
.vtc-stats-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.vtc-stats-table th, .vtc-stats-table td { padding: 0.6rem 0.75rem; text-align: left; border-bottom: 1px solid var(--border-color); }
.vtc-stats-table th { color: var(--text-muted); font-weight: 600; }
.vtc-stats-driver-link { color: var(--accent-light); text-decoration: none; }
.vtc-stats-driver-link:hover { text-decoration: underline; }

/* Public statistics */
.public-stats-filters-card {
    margin-bottom: 1.25rem;
}

.public-stats-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.public-stats-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.25);
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.public-stats-tab:hover {
    border-color: rgba(96, 165, 250, 0.6);
    color: var(--text-primary);
}

.public-stats-tab.active {
    background: rgba(20, 184, 166, 0.18);
    border-color: rgba(20, 184, 166, 0.65);
    color: var(--accent-light);
}

.public-stats-search-form {
    margin-top: 0.5rem;
}

.public-stats-search-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.public-stats-search-field {
    flex: 1;
    min-width: 240px;
}

.public-stats-search-field .vtc-input {
    height: 44px;
}

.public-stats-search-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.public-stats-vtc-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.public-stats-vtc-card .public-stats-vtc-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.public-stats-vtc-card .public-stats-vtc-distance {
    margin: 0;
    color: var(--accent-light);
    font-weight: 700;
}

.public-stats-vtc-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.public-stats-vtc-distance-only {
    margin: 0.15rem 0 0 0;
    color: var(--accent-light);
    font-weight: 900;
    font-size: 1.35rem;
    line-height: 1.15;
}

.public-stats-users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.public-stats-user-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
}

.job-user-card .public-stats-user-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.public-stats-user-distance {
    margin: 0.15rem 0 0 0;
    color: var(--accent-light);
    font-weight: 900;
    font-size: 1.35rem;
    line-height: 1.15;
}

.public-stats-user-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 210px;
}

.public-stats-user-card .job-username {
    /* Match VTC stats card title styling */
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    letter-spacing: 0;
    color: var(--text-primary);
}

.public-stats-user-card .job-avatar-placeholder {
    font-size: 2rem;
}

/* Rank badge for public statistics cards */
.public-stats-vtc-card,
.public-stats-users-grid .job-user-card {
    position: relative;
}

.public-stats-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.85rem;
    color: var(--accent-light);
    background: rgba(20, 184, 166, 0.14);
    border: 1px solid rgba(20, 184, 166, 0.55);
    pointer-events: none;
    z-index: 2;
}

@media (max-width: 768px) {
    .vtc-field-row { grid-template-columns: 1fr; }
    .vtc-social-grid { grid-template-columns: 1fr; }
    .vtc-search-form .vtc-search-row { grid-template-columns: 1fr 1fr; }
    .vtc-view-layout { grid-template-columns: 1fr; }
    .vtc-view-header { flex-direction: column; align-items: flex-start; }
    .vtc-view-header-actions { margin-left: 0; margin-top: 0.5rem; align-self: flex-end; }
    .vtc-app-detail-layout { grid-template-columns: 1fr; }
}

/* Profil – Yönetim (yasaklama) */
.profile-manage-card { border-color: rgba(239, 68, 68, 0.3); }
.profile-manage-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.profile-ban-btn.btn-danger { background: #b91c1c; color: #fff; border-color: #b91c1c; }
.profile-ban-btn.btn-danger:hover { background: #991b1b; border-color: #991b1b; }

.profile-ban-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.profile-ban-modal[hidden] { display: none; }
.profile-ban-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); cursor: pointer; }
.profile-ban-modal-content { position: relative; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 1.5rem; max-width: 440px; width: 100%; box-shadow: 0 20px 40px var(--shadow-lg); }
.profile-ban-modal-title { margin: 0 0 0.5rem; font-size: 1.25rem; color: var(--text-primary); display: flex; align-items: center; gap: 0.5rem; }
.profile-ban-modal-subtitle { margin: 0 0 1.25rem; font-size: 0.9rem; color: var(--text-muted); }
.profile-ban-presets { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.profile-ban-preset-btn { padding: 0.4rem 0.75rem; font-size: 0.85rem; border-radius: var(--radius-sm); background: var(--bg-tertiary); border: 1px solid var(--border-color); color: var(--text-primary); cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.profile-ban-preset-btn:hover { background: var(--accent-color); border-color: var(--accent-color); color: #0f172a; }
.profile-ban-slider-wrap { margin-bottom: 1rem; }
.profile-ban-slider-label { display: block; margin-bottom: 0.35rem; font-size: 0.9rem; color: var(--text-secondary); }
.profile-ban-slider { width: 100%; height: 8px; accent-color: var(--accent-color); cursor: pointer; }
.profile-ban-reason-wrap { margin-bottom: 1.25rem; }
.profile-ban-inline-link { color: var(--accent-light); text-decoration: underline; }
.profile-ban-inline-link:hover { color: var(--accent-color); }
.profile-ban-reason-label { display: block; margin-bottom: 0.35rem; font-size: 0.9rem; color: var(--text-secondary); }
.profile-ban-reason { width: 100%; padding: 0.5rem 0.75rem; font-size: 0.9rem; border-radius: var(--radius-sm); border: 1px solid var(--border-color); background: var(--bg-primary); color: var(--text-primary); resize: vertical; }
.profile-ban-reason-count { font-size: 0.8rem; color: var(--text-muted); }
.profile-ban-modal-actions { display: flex; justify-content: flex-end; gap: 0.5rem; }
.profile-ban-modal-actions .btn-secondary { background: var(--bg-tertiary); border-color: var(--border-color); color: var(--text-primary); }
.profile-ban-modal-actions .btn-danger { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.profile-ban-modal-actions .btn-danger:hover { background: #991b1b; border-color: #991b1b; }

/* Ban sayfası – profesyonel geniş kart (edit / add) */
.ban-page-container { max-width: 720px; margin: 2rem auto; padding: 0 1.5rem; }
.ban-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.ban-card-header { margin-bottom: 1.75rem; }
.ban-card-title {
    margin: 0 0 0.35rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.ban-card-subtitle { margin: 0; font-size: 1.05rem; color: var(--text-muted); }
.ban-alert { padding: 0.85rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-size: 0.95rem; }
.ban-alert-error { background: rgba(239, 68, 68, 0.15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.3); }
.ban-section {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}
.ban-section:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.ban-section-title {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ban-section-desc { margin: 0 0 0.75rem; font-size: 0.9rem; color: var(--text-muted); }
.ban-form .ban-section { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-color); }
.ban-form .ban-section:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

/* Süre: Belirli süre / Süresiz toggle */
.ban-type-toggle {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.ban-type-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.ban-type-option input { position: absolute; opacity: 0; pointer-events: none; }
.ban-type-option:hover { border-color: var(--accent-color); color: var(--text-primary); }
.ban-type-option--active {
    border-color: var(--accent-color);
    background: rgba(20, 184, 166, 0.12);
    color: var(--accent-light);
}

.ban-mistake-form { margin-top: 0.5rem; margin-bottom: 0; }
.ban-mistake-below { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border-color); }
.ban-mistake-desc { margin: 0 0 0.75rem; font-size: 0.9rem; color: var(--text-muted); }

.ban-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.ban-btn-mistake { background: #7f1d1d; color: #fecaca; }
.ban-btn-mistake:hover { background: #991b1b; color: #fff; }
.ban-btn-outline { background: transparent; border-color: var(--accent-color); color: var(--accent-color); }
.ban-btn-outline:hover { background: var(--accent-color); color: var(--bg-primary); }
.ban-btn-secondary { background: var(--bg-tertiary); color: var(--text-primary); border-color: var(--border-color); }
.ban-btn-secondary:hover { background: var(--border-color); }
.ban-btn-primary { background: var(--accent-color); color: var(--bg-primary); }
.ban-btn-primary:hover { background: var(--accent-light); }
.ban-btn-danger { background: #b91c1c; color: #fff; }
.ban-btn-danger:hover { background: #991b1b; }

.ban-checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}
.ban-checkbox-row input[type="checkbox"] { accent-color: var(--accent-color); }
.ban-duration-row { margin-top: 1rem; transition: opacity 0.2s; }
.ban-presets { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.85rem; }
.ban-preset {
    padding: 0.5rem 0.9rem;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.ban-preset:hover { background: var(--accent-color); border-color: var(--accent-color); color: var(--bg-primary); }
.ban-slider-row { margin-top: 0.5rem; }
.ban-slider-label { font-size: 1rem; color: var(--text-secondary); display: block; margin-bottom: 0.35rem; }
.ban-slider { width: 100%; height: 10px; accent-color: var(--accent-color); cursor: pointer; margin-top: 0.35rem; }

/* Zaman (UTC) – belirgin kutu ve Şu an UTC */
.ban-utc-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}
.ban-utc-now-display {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex: 1;
    min-width: 200px;
}
.ban-utc-now-label { font-size: 0.95rem; color: var(--text-muted); }
.ban-utc-now-value { font-size: 1.1rem; font-family: ui-monospace, monospace; color: var(--accent-light); letter-spacing: 0.02em; }
.ban-utc-expires { font-size: 0.95rem; color: var(--text-secondary); }
.ban-utc-expires strong { color: var(--text-primary); margin-left: 0.25rem; }
.ban-utc-label { font-size: 0.95rem; color: var(--text-secondary); }

.ban-label { display: block; margin-bottom: 0.5rem; font-size: 1rem; font-weight: 500; color: var(--text-secondary); }
.ban-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    resize: vertical;
    min-height: 120px;
}
.ban-char-count { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.35rem; display: block; }
.ban-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border-color); }
.ban-actions .ban-btn { min-width: 120px; padding: 0.75rem 1.5rem; }

/* Job report modal (delivery page) */
body.job-report-modal-open { overflow: hidden; }

.job-report-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s, visibility 0.2s;
}

.job-report-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.job-report-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    cursor: pointer;
}

.job-report-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.5rem 1.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.job-report-modal-x {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-report-modal-x:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.job-report-modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 2rem 0.5rem 0;
}

.job-report-modal-intro {
    margin: 0 0 1rem;
    font-size: 0.9rem;
}

.job-report-modal-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text-secondary);
}

.job-report-modal-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    resize: vertical;
    min-height: 120px;
    margin-bottom: 0.5rem;
}

.job-report-modal-error {
    color: #f87171;
    font-size: 0.875rem;
    margin: 0 0 0.75rem;
}

.job-report-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Admin job reports table */
.job-reports-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
}

.job-reports-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.job-reports-col-reporter { width: 11%; }
.job-reports-col-subject { width: 11%; }
.job-reports-col-reason { width: auto; min-width: 0; }
.job-reports-col-claimed { width: 10%; }
.job-reports-col-status { width: 12%; }
.job-reports-col-updated { width: 11%; }
.job-reports-col-actions { width: 200px; }

.job-reports-table th,
.job-reports-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.job-reports-table th {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-weight: 600;
    white-space: nowrap;
}

.job-reports-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.job-reports-user-cell a,
.job-reports-user-cell a:visited {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
}

.job-reports-user-cell a:hover {
    color: #e0fbf7;
    text-decoration: underline;
}

.job-reports-th-sort {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.job-reports-th-sort:hover {
    color: var(--accent-light);
}

.job-reports-th-sort.is-active {
    color: var(--accent-light);
}

.job-reports-th-sort i {
    opacity: 0.5;
    font-size: 0.75rem;
}

.job-reports-reason-cell {
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-secondary);
}

.job-reports-status-cell {
    vertical-align: middle;
}

/* Keep td as table-cell; flex on td breaks row height / borders in some browsers */
.job-reports-actions {
    vertical-align: middle;
    width: 200px;
    max-width: 200px;
    box-sizing: border-box;
}

.job-reports-actions-inner {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: stretch;
    justify-content: center;
}

.job-reports-actions-inner .job-reports-action-btn {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
    line-height: 1.2;
}

.job-reports-claim-form {
    display: flex;
    margin: 0;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
}

.job-reports-claim-form .job-reports-action-btn {
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
}

.job-reports-status-pill {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--bg-tertiary);
}

.job-reports-status-pill--new { background: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.job-reports-status-pill--in_progress { background: rgba(234, 179, 8, 0.2); color: #fcd34d; }
.job-reports-status-pill--accepted { background: rgba(34, 197, 94, 0.2); color: #86efac; }
.job-reports-status-pill--declined { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.job-reports-status-pill--job_invalidated { background: rgba(180, 83, 9, 0.25); color: #fdba74; }

.job-reports-search input[type="search"] {
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.job-reports-detail-meta {
    display: grid;
    gap: 0.65rem;
    font-size: 0.95rem;
}

.job-reports-detail-meta a,
.job-reports-detail-meta a:visited {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
}

.job-reports-detail-meta a:hover {
    color: #e0fbf7;
    text-decoration: underline;
}

.job-reports-detail-reason {
    margin: 0;
    white-space: pre-wrap;
    line-height: 1.55;
    color: var(--text-primary);
}

.job-reports-detail-actions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
    gap: 0.5rem;
    align-items: stretch;
}

.job-reports-detail-actions form {
    margin: 0;
    min-width: 0;
}

.job-reports-detail-actions .vtc-btn {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
}

.job-reports-btn-warn {
    border-color: #b45309 !important;
    color: #fdba74 !important;
}

.job-reports-btn-reactivate {
    border-color: #0d9488 !important;
    color: #5eead4 !important;
}

/* Header notifications */
.header-notifications {
    position: relative;
}
.header-notif-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.header-notif-btn:hover {
    background: var(--bg-tertiary);
    color: var(--accent-light);
}
.header-notif-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 4px;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.1rem;
    text-align: center;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
}
.header-notif-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: min(360px, calc(100vw - 24px));
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px var(--shadow-lg);
    z-index: 2000;
}
/* [hidden] must win over display:flex above (otherwise panel stays visible) */
.header-notif-panel[hidden] {
    display: none !important;
}
.header-notif-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 0.9rem;
}
.header-notif-markall {
    border: none;
    background: none;
    color: var(--accent-light);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.header-notif-list {
    overflow-y: auto;
    max-height: 55vh;
}
.header-notif-empty {
    margin: 0;
    padding: 1rem 0.85rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.header-notif-item {
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.15s;
}
.header-notif-item:hover {
    background: rgba(255, 255, 255, 0.04);
}
.header-notif-item.is-read {
    opacity: 0.65;
}
.header-notif-item-title {
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.25rem;
}
.header-notif-item-body {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
}
.header-notif-item-meta {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: var(--accent-light);
}

/* Admin job report detail (refined layout + status log) */
.jr-admin-report {
    max-width: 1100px;
}
.jr-admin-report-header {
    margin-bottom: 1.25rem;
    padding: 1.25rem 1.35rem;
}
.jr-admin-report-header-top {
    margin-bottom: 0.5rem;
}
.jr-admin-report-title {
    margin: 0 0 0.35rem;
    font-size: 1.65rem;
}
.jr-admin-report-sub {
    margin: 0;
    font-size: 0.9rem;
}
.jr-admin-report-flash {
    margin-bottom: 1rem;
}
.jr-admin-report-card {
    margin-bottom: 1.25rem;
    padding: 1.15rem 1.35rem;
    border: 1px solid rgba(45, 212, 191, 0.2);
}
.jr-admin-report-card-title,
.jr-status-log-heading {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}
.jr-admin-report-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--accent, #2dd4bf), transparent);
    margin-bottom: 1rem;
    opacity: 0.5;
}
.jr-admin-report-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem 1.5rem;
}
.jr-admin-report-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.jr-admin-report-meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
}
.jr-admin-report-meta-value {
    font-weight: 600;
    color: var(--accent-light);
    text-decoration: none;
}
.jr-admin-report-meta-value:hover {
    text-decoration: underline;
}
.jr-admin-report-meta-value--plain {
    color: var(--text-primary);
    font-weight: 500;
}
.jr-admin-report-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
@media (max-width: 900px) {
    .jr-admin-report-split {
        grid-template-columns: 1fr;
    }
}
.jr-admin-report-reason {
    white-space: pre-wrap;
    line-height: 1.55;
    color: var(--text-primary);
}
.jr-admin-report-reason-intro {
    margin: 0 0 0.85rem;
    color: var(--text-primary);
}
.jr-admin-report-reason-list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.45rem;
}
.jr-admin-report-reason-list li {
    color: var(--text-secondary);
    line-height: 1.5;
}
.jr-admin-report-delivery-line {
    margin: 0 0 0.75rem;
}
.jr-admin-report-actions-card .jr-admin-report-actions-grid {
    grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
}
.jr-admin-report-hint {
    margin: 0.75rem 0 0;
}
.jr-status-log-card {
    margin-bottom: 2rem;
}
.jr-status-log-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}
.jr-status-log-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.jr-status-log-table th {
    text-align: left;
    padding: 0.65rem 0.85rem;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}
.jr-status-log-table td {
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}
.jr-status-log-table tbody tr:last-child td {
    border-bottom: none;
}
.jr-status-log-actor a {
    color: var(--accent-light);
    font-weight: 600;
    text-decoration: none;
}
.jr-status-log-actor a:hover {
    text-decoration: underline;
}
.jr-status-log-reason {
    color: var(--text-secondary);
    max-width: 280px;
    word-break: break-word;
}
.jr-log-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}
.jr-log-pill--submitted { background: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.jr-log-pill--claimed { background: rgba(234, 179, 8, 0.2); color: #fcd34d; }
.jr-log-pill--unclaimed { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; }
.jr-log-pill--accepted { background: rgba(34, 197, 94, 0.2); color: #86efac; }
.jr-log-pill--declined { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.jr-log-pill--deactivated { background: rgba(180, 83, 9, 0.25); color: #fdba74; }
.jr-log-pill--reactivated { background: rgba(13, 148, 136, 0.25); color: #5eead4; }
.jr-log-pill--default { background: var(--bg-tertiary); color: var(--text-secondary); }

.header-notif-item-row {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}
.header-notif-item-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent-light);
    font-size: 0.9rem;
}
.header-notif-item-col {
    flex: 1;
    min-width: 0;
}
.header-notif-item-time {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}
.header-notif-footer {
    border-top: 1px solid var(--border-color);
    padding: 0.55rem 0.75rem;
    text-align: center;
}
.header-notif-viewall {
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}
.header-notif-viewall:hover {
    text-decoration: underline;
}

.notifications-page {
    max-width: 720px;
}
.notifications-page-summary {
    margin-top: -0.25rem;
    margin-bottom: 0.5rem;
}
.notifications-page-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}
.notifications-page-tab {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.notifications-page-tab:hover {
    color: var(--accent-light);
    border-color: rgba(45, 212, 191, 0.35);
}
.notifications-page-tab.is-active {
    background: rgba(20, 184, 166, 0.25);
    color: var(--accent-light);
    border-color: rgba(45, 212, 191, 0.45);
}
.notifications-page-markall {
    margin-bottom: 1rem;
}
.notifications-page-empty {
    padding: 2rem 0;
}
.notifications-page-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.notifications-page-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.1rem;
    margin-bottom: 0.65rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
}
.notifications-page-item:not(.is-read) {
    cursor: pointer;
}
.notifications-page-item.is-read {
    opacity: 0.72;
}
.notifications-page-item-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent-light);
}
.notifications-page-item-main {
    flex: 1;
    min-width: 0;
}
.notifications-page-item-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}
.notifications-page-item-body {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.notifications-page-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.45rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.notifications-page-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.65rem;
}
.notifications-page-inline-form {
    display: inline;
    margin: 0;
}
.notifications-page-linkbtn {
    border: none;
    background: none;
    padding: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-light);
    cursor: pointer;
    text-decoration: underline;
}
a.notifications-page-linkbtn {
    text-decoration: none;
}
a.notifications-page-linkbtn:hover {
    text-decoration: underline;
}

/* Duyuru formu: içerik sütununu ortala ve tek sütunda genişlet */
.admin-notify-send {
    max-width: min(880px, 100%);
    margin-left: auto;
    margin-right: auto;
}
.admin-notify-send-card {
    max-width: none;
    width: 100%;
    padding: 1.35rem 1.5rem;
}
.admin-notify-send-label {
    display: block;
    margin: 0.85rem 0 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.admin-notify-send-form .vtc-input:first-of-type {
    margin-top: 0;
}

/* Site rules — kabul sayfası: son değişiklikler + metin */
.login-container.site-rules-accept-wrap {
    max-width: min(1100px, 96vw);
}
.site-rules-accept-wrap {
    max-width: min(1100px, 96vw);
}
.site-rules-accept-card {
    max-width: 100%;
}
.site-rules-accept-checks__grid {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    width: 100%;
}
.site-rules-accept-check.login-field-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    cursor: pointer;
    text-align: left;
}
.site-rules-accept-check > span {
    line-height: 1.45;
}
.site-rules-accept-check .site-rules-accept-docname {
    font-weight: 600;
    color: var(--text-primary);
}
.site-rules-accept-check input[type="checkbox"] {
    flex-shrink: 0;
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    accent-color: var(--accent-color, #14b8a6);
}
.site-rules-accept-checks .site-rules-accept-submit {
    margin-top: 1.25rem;
}
.site-rules-accept-doclink {
    color: var(--accent-light);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.site-rules-accept-doclink:hover {
    color: var(--accent-color);
}
.site-rules-latest {
    margin-bottom: 1.35rem;
    text-align: left;
}
.site-rules-latest__title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.65rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    letter-spacing: 0.02em;
}
.site-rules-latest__intro {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 1rem;
    line-height: 1.55;
}
.site-rules-latest__body {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}
.site-rules-latest__body ul {
    margin: 0.35rem 0 0;
    padding-left: 1.2rem;
}
.site-rules-latest__body li {
    margin-bottom: 0.35rem;
}
.site-rules-latest__body a {
    color: var(--accent-light);
    text-decoration: underline;
    font-weight: 500;
}
.site-rules-latest__body a:hover {
    color: var(--accent-color);
}
.site-rules-doc-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.65rem;
    color: var(--text-primary);
    text-align: left;
}
.site-rules-doc-card {
    margin-top: 0;
}
.site-rules-public-intro {
    max-width: 52rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}
.site-rules-public-card .markdown-body {
    text-align: left;
}

/* Site rules: TruckersMP-style flat doc — no per-item cards; spacing + headings do the work */
.markdown-body.site-rules-body {
    max-width: 100%;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.72;
}
.markdown-body.site-rules-body > :first-child {
    margin-top: 0;
}
.markdown-body.site-rules-body > :last-child {
    margin-bottom: 0;
}
.markdown-body.site-rules-body p {
    margin: 0 0 0.95rem;
}
.markdown-body.site-rules-body h1,
.markdown-body.site-rules-body h2,
.markdown-body.site-rules-body h3 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.35;
    margin: 1.75rem 0 0.65rem;
    padding: 0;
    border: none;
}
.markdown-body.site-rules-body h1:first-child,
.markdown-body.site-rules-body h2:first-child,
.markdown-body.site-rules-body h3:first-child {
    margin-top: 0;
}
.markdown-body.site-rules-body h1 {
    font-size: 1.2rem;
}
.markdown-body.site-rules-body h2 {
    font-size: 1.05rem;
}
.markdown-body.site-rules-body h3 {
    font-size: 1rem;
    margin: 1.35rem 0 0.5rem;
}
.markdown-body.site-rules-body hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 1.5rem 0;
    opacity: 0.8;
}
.markdown-body.site-rules-body a {
    color: var(--accent-light);
    text-decoration: underline;
    font-weight: 500;
}
.markdown-body.site-rules-body a:hover {
    color: var(--accent-color);
}

/* Classic lists: indent + air between lines (like a plain rules page, not UI cards) */
.markdown-body.site-rules-body ul,
.markdown-body.site-rules-body ol {
    margin: 0.35rem 0 1rem;
    padding-left: 1.5rem;
    list-style-position: outside;
}
.markdown-body.site-rules-body ul {
    list-style-type: disc;
}
.markdown-body.site-rules-body ol {
    list-style-type: decimal;
}
.markdown-body.site-rules-body ul ul {
    list-style-type: circle;
    margin: 0.4rem 0 0.5rem;
}
.markdown-body.site-rules-body li {
    margin: 0 0 0.5rem;
    padding-left: 0.35rem;
    line-height: 1.68;
}
.markdown-body.site-rules-body li:last-child {
    margin-bottom: 0;
}
.markdown-body.site-rules-body li::marker {
    color: var(--text-primary);
    font-weight: 600;
}

.markdown-body.site-rules-body h1 + ul,
.markdown-body.site-rules-body h2 + ul,
.markdown-body.site-rules-body h3 + ul,
.markdown-body.site-rules-body h1 + ol,
.markdown-body.site-rules-body h2 + ol,
.markdown-body.site-rules-body h3 + ol {
    margin-top: 0.2rem;
}
