/* ============================================================
   MENTORN — Ana Stil Dosyası
   Tema: Siyah & Beyaz & Gri, Modern
   ============================================================ */

:root {
    --pistachio:        #333333;
    --pistachio-dark:   #111111;
    --pistachio-light:  #666666;
    --pistachio-bg:     rgba(0, 0, 0, 0.08);
    --brown:            #555555;
    --brown-dark:       #222222;
    --brown-light:      #888888;
    --bg-cream:         #F5F5F5;
    --bg-white:         #FFFFFF;
    --bg-card:          #FFFFFF;
    --text-dark:        #1A1A1A;
    --text-muted:       #666666;
    --text-light:       #F5F5F5;
    --border-color:     rgba(0, 0, 0, 0.12);
    --border-radius:    12px;
    --gradient-primary: linear-gradient(135deg, #222222, #000000);
    --gradient-brown:   linear-gradient(135deg, #555555, #222222);
    --shadow-sm:        0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md:        0 6px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg:        0 12px 32px rgba(0, 0, 0, 0.16);
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

a { color: var(--pistachio-dark); text-decoration: none; }
a:hover { color: var(--brown); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    background: #000000 !important;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border: none;
}

.navbar-left-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
}

.navbar-main-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

.navbar-auth-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-navbar-auth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1.8px solid transparent;
}

.btn-navbar-solid {
    background: #ffffff;
    color: #111111;
}

.btn-navbar-solid:hover {
    color: #111111;
    transform: translateY(-1px);
}

.btn-navbar-outline {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.85);
}

.btn-navbar-outline:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.navbar-user-chip {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
}

.navbar-user-chip:hover {
    background: rgba(255, 255, 255, 0.28);
}

/* ── Kullanıcı Dropdown ───────────────────────────────── */
.navbar-user-dropdown-wrapper {
    position: relative;
}

.navbar-user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 10px;
    min-width: 170px;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    overflow: hidden;
}

.navbar-user-dropdown.open {
    display: block;
    animation: dropdownIn 0.15s ease;
}

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

.dropdown-item-custom {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1A1A1A;
    text-decoration: none;
    transition: background 0.15s;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

.dropdown-item-custom:hover {
    background: #f5f5f5;
    color: #000000;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    letter-spacing: -0.3px;
}

.navbar-brand:hover { color: rgba(255,255,255,0.9) !important; }

.navbar-logo {
    height: 40px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.navbar-hamburger {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    margin-right: 0.25rem;
    transition: opacity 0.2s;
    border-radius: 6px;
}

.navbar-hamburger:hover {
    opacity: 0.85;
    background: rgba(255,255,255,0.15);
}

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-page {
    padding: 3rem 1rem;
}

.auth-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}

.auth-title {
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.auth-subtitle {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.auth-label {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.auth-input {
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 0.65rem 0.75rem;
}

.auth-input:focus {
    border-color: var(--pistachio);
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

/* ============================================================
   LANDING PAGE — Fullscreen Slideshow
   ============================================================ */
.landing-slideshow {
    position: relative;
    width: 100%;
    height: calc(100vh - 58px);
    overflow: hidden;
}

.landing-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.landing-slide.active { opacity: 1; }

.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.slide-content {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    max-width: 520px;
    padding: 0 4rem;
}

.slide-content h1 {
    font-size: 2.3rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.slide-content p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.landing-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.slide-dots {
    position: absolute;
    bottom: 2rem;
    left: 4rem;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slide-dot.active {
    background: #ffffff;
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .slide-content { padding: 0 2rem; max-width: 100%; }
    .slide-content h1 { font-size: 1.7rem; }
    .slide-content p { font-size: 0.95rem; }
    .slide-dots { left: 2rem; }
    .landing-slideshow { height: calc(100vh - 54px); }
}

/* ============================================================
   SIDE DRAWER
   ============================================================ */
.drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
    backdrop-filter: blur(2px);
}

.drawer-backdrop.open {
    display: block;
    animation: fadeInBackdrop 0.25s ease;
}

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

.side-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 280px;
    background: var(--bg-white);
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.side-drawer.open { transform: translateX(0); }

.drawer-header {
    background: #000000;
    padding: 1.4rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.drawer-header img { height: 52px; width: auto; }

.drawer-nav { padding: 0.75rem 0; flex: 1; }

.drawer-nav-item {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-left-color 0.2s;
    border-left: 3px solid transparent;
    gap: 0.6rem;
}

.drawer-nav-item:hover,
.drawer-nav-item.active {
    background: rgba(0, 0, 0, 0.08);
    color: var(--pistachio-dark);
    border-left-color: var(--pistachio-dark);
}

.drawer-nav-group-label {
    padding: 0.9rem 1.5rem 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.drawer-sub-item {
    display: flex;
    align-items: center;
    padding: 0.65rem 1.5rem 0.65rem 2.5rem;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-left-color 0.2s;
    border-left: 3px solid transparent;
    gap: 0.5rem;
}

.drawer-sub-item:hover,
.drawer-sub-item.active {
    background: rgba(0, 0, 0, 0.06);
    color: var(--pistachio-dark);
    border-left-color: var(--pistachio);
}

.drawer-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 0.5rem 1.25rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 25px;
    padding: 0.65rem 1.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(135deg, #444444, #111111);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline-primary {
    border: 2px solid var(--pistachio-dark);
    color: var(--pistachio-dark);
    background: transparent;
    font-weight: 600;
    border-radius: 25px;
    padding: 0.6rem 1.5rem;
    transition: all 0.25s ease;
}

.btn-outline-primary:hover {
    background: var(--pistachio-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-brown {
    border: 2px solid var(--brown);
    color: var(--brown);
    background: transparent;
    font-weight: 600;
    border-radius: 25px;
    padding: 0.6rem 1.5rem;
    transition: all 0.25s ease;
}

.btn-outline-brown:hover {
    background: var(--brown);
    color: #fff;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #444444, #222222);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 25px;
    padding: 0.65rem 1.75rem;
    transition: all 0.25s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, #222222, #000000);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-secondary {
    border: 1.5px solid #ccc;
    color: var(--text-muted);
    background: transparent;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.2s;
}

.btn-outline-secondary:hover {
    background: #e8e8e8;
    color: var(--text-dark);
    border-color: #aaa;
}

.btn-outline-success { border-color: var(--pistachio-dark); color: var(--pistachio-dark); border-radius: 20px; transition: all 0.2s; }
.btn-outline-success:hover { background: var(--pistachio-dark); color: #fff; }
.btn-outline-info { border-color: var(--brown-light); color: var(--brown-light); border-radius: 20px; transition: all 0.2s; }
.btn-outline-info:hover { background: var(--brown-light); color: #fff; }
.btn-outline-danger { border-color: #c0392b; color: #c0392b; border-radius: 20px; transition: all 0.2s; }
.btn-outline-danger:hover { background: #c0392b; color: #fff; }
.btn-outline-warning { border-color: #e67e22; color: #e67e22; border-radius: 20px; transition: all 0.2s; }
.btn-outline-warning:hover { background: #e67e22; color: #fff; }

/* CV language button */
.btn-cv-lang {
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-muted);
    border-radius: 20px;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    transition: all 0.2s;
}
.btn-cv-lang.active, .btn-cv-lang:hover {
    border-color: var(--pistachio-dark);
    background: var(--pistachio-bg);
    color: var(--pistachio-dark);
}

/* ============================================================
   CARDS (Genel)
   ============================================================ */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-body { padding: 1.75rem; }

/* ============================================================
   HERO SECTİON (Ana Sayfa)
   ============================================================ */
.hero-section {
    background: linear-gradient(160deg, #e8e8e8 0%, #F5F5F5 60%, #ebebeb 100%);
    padding: 4.5rem 0 3.5rem;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 0;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   INFO CAROUSEL (Ana Sayfa)
   ============================================================ */
.info-carousel-wrapper {
    background: linear-gradient(160deg, #e8e8e8 0%, #F5F5F5 100%);
    padding: 3rem 0;
}

.info-carousel { position: relative; }

.info-slide { display: none; }
.info-slide.active { display: block; animation: slideIn 0.5s ease forwards; }

@keyframes slideIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.info-slide-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-slide-card .slide-icon {
    font-size: 3.5rem;
    color: var(--pistachio-dark);
    margin-bottom: 1.25rem;
    line-height: 1;
}

.info-slide-card h3 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.info-slide-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 560px;
    margin: 0 auto;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background: var(--pistachio-dark);
    transform: scale(1.35);
}

/* ============================================================
   FEATURES SECTİON (Ana Sayfa)
   ============================================================ */
.features-section {
    padding: 3.5rem 0 4rem;
    background: var(--bg-cream);
}

.features-section h2 {
    font-weight: 800;
    color: var(--text-dark);
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--pistachio);
    box-shadow: var(--shadow-md);
}

.feature-card .feature-icon {
    font-size: 2.5rem;
    color: var(--pistachio-dark);
    margin-bottom: 1rem;
    line-height: 1;
}

.feature-card h5 {
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}

/* ============================================================
   SAYFA BAŞLIĞI (Genel)
   ============================================================ */
.page-header {
    background: linear-gradient(160deg, #e8e8e8 0%, #F5F5F5 100%);
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0;
}

/* ============================================================
   UPLOAD AREA
   ============================================================ */
.upload-area {
    border: 2px dashed var(--pistachio);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    background: rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--pistachio-dark);
    background: rgba(0, 0, 0, 0.08);
    transform: scale(1.005);
}

.upload-area .upload-icon {
    font-size: 3.5rem;
    color: var(--pistachio-dark);
    margin-bottom: 1rem;
}

.upload-area h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.upload-area .text-muted { color: var(--text-muted) !important; }

/* ============================================================
   SEARCH TYPE CARDS (Başvur sayfası)
   ============================================================ */
.search-type-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-type-card:hover {
    border-color: var(--pistachio-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.search-type-card.selected {
    border-color: var(--pistachio-dark);
    background: rgba(0, 0, 0, 0.06);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

.search-type-card .search-type-icon { color: var(--pistachio-dark); margin-bottom: 0.75rem; }
.search-type-card h4 { font-weight: 700; color: var(--text-dark); margin-bottom: 0.4rem; }
.search-type-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ============================================================
   INFO CARD (Profil bilgileri)
   ============================================================ */
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    height: 100%;
    transition: box-shadow 0.2s;
}

.info-card:hover { box-shadow: var(--shadow-sm); }
.info-card h5 { font-weight: 700; color: var(--text-dark); }

/* ============================================================
   JOB CARDS
   ============================================================ */
.matched-jobs { display: flex; flex-direction: column; gap: 1rem; }

.job-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.job-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--pistachio);
}

.job-card h5 { font-weight: 700; color: var(--text-dark); margin-bottom: 0.3rem; }
.job-card .company-name { color: var(--text-muted); font-size: 0.9rem; }
.job-card .job-location { color: var(--text-muted); font-size: 0.85rem; }

/* Score Badges */
.score-badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    min-width: 70px;
    text-align: center;
}

.score-excellent { background: rgba(0, 0, 0, 0.08); color: #111111; border: 1px solid rgba(0, 0, 0, 0.2); }
.score-good { background: rgba(139, 94, 60, 0.15); color: #6B4423; border: 1px solid rgba(139, 94, 60, 0.3); }
.score-fair { background: rgba(230, 126, 34, 0.15); color: #a04000; border: 1px solid rgba(230, 126, 34, 0.3); }
.score-poor { background: rgba(192, 57, 43, 0.12); color: #922b21; border: 1px solid rgba(192, 57, 43, 0.25); }

/* Skill Tags */
.skills-container { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.skill-tag {
    background: rgba(0, 0, 0, 0.08);
    color: var(--pistachio-dark);
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 12px;
    padding: 0.2rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 600;
}

/* Source Badge */
.source-badge {
    background: rgba(139, 94, 60, 0.1);
    color: var(--brown);
    border: 1px solid rgba(139, 94, 60, 0.25);
    border-radius: 10px;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Work Type Badges */
.work-badge-remote  { background: rgba(0, 0, 0, 0.07); color: #111111; border: 1px solid rgba(0,0,0,0.15); border-radius: 10px; padding: 0.15rem 0.5rem; font-size: 0.75rem; font-weight: 600; }
.work-badge-hybrid  { background: rgba(139, 94, 60, 0.12); color: var(--brown); border: 1px solid rgba(139,94,60,0.25); border-radius: 10px; padding: 0.15rem 0.5rem; font-size: 0.75rem; font-weight: 600; }
.work-badge-onsite  { background: rgba(61, 43, 26, 0.08); color: var(--text-dark); border: 1px solid rgba(61,43,26,0.2); border-radius: 10px; padding: 0.15rem 0.5rem; font-size: 0.75rem; font-weight: 600; }

/* Apply Button */
.btn-apply {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-apply:hover { background: var(--gradient-brown); color: #fff; transform: translateY(-1px); }

/* ============================================================
   FILTER BAR
   ============================================================ */
.filter-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.filter-bar-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
}

.filter-group { display: flex; flex-direction: column; gap: 0.3rem; min-width: 140px; }
.filter-label { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.filter-select, .filter-input {
    background: var(--bg-white);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-dark);
    padding: 0.4rem 0.75rem;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.filter-select:focus, .filter-input:focus {
    border-color: var(--pistachio-dark);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    outline: none;
}

.filter-reset-group { justify-content: flex-end; }

.filter-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }

.filter-tag {
    background: rgba(0, 0, 0, 0.08);
    color: var(--pistachio-dark);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    transition: background 0.2s;
}

.filter-tag:hover { background: rgba(192, 57, 43, 0.12); color: #922b21; border-color: rgba(192,57,43,0.3); }

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.spinner-border { color: var(--pistachio-dark) !important; }

.loading-progress .progress {
    height: 6px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 3px;
    max-width: 400px;
    margin: 0 auto;
}

.loading-progress .progress-bar {
    background: var(--gradient-primary);
}

/* ============================================================
   SOURCE STATS
   ============================================================ */
.source-stats {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
}

.source-stats-header { cursor: pointer; }
.source-stats-header h6 { color: var(--text-muted); font-weight: 600; }
.source-stats-header:hover h6 { color: var(--pistachio-dark); }

.source-stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.source-stat-item {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.3rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.source-stat-item span { color: var(--pistachio-dark); font-weight: 700; }

/* ============================================================
   ATS ANALIZI SAYFASI
   ============================================================ */
.ats-score-display {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.ats-score-good   { color: var(--pistachio-dark); }
.ats-score-medium { color: var(--brown-light); }
.ats-score-low    { color: #c0392b; }

.ats-info-box {
    background: linear-gradient(135deg, rgba(0,0,0,0.04), rgba(0,0,0,0.02));
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.75rem;
}

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

.ats-category-row { margin-bottom: 0.85rem; }
.ats-category-label { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.25rem; display: flex; justify-content: space-between; }
.ats-category-bar { height: 10px; border-radius: 5px; background: rgba(0, 0, 0, 0.1); overflow: hidden; }
.ats-category-bar-fill { height: 100%; border-radius: 5px; background: var(--gradient-primary); transition: width 0.8s ease; }

.ats-result-list { list-style: none; padding: 0; margin: 0; }
.ats-result-list li { padding: 0.45rem 0; border-bottom: 1px solid var(--border-color); font-size: 0.9rem; line-height: 1.5; color: var(--text-dark); }
.ats-result-list li:last-child { border-bottom: none; }
.ats-result-list li::before { content: "• "; color: var(--pistachio-dark); font-weight: 700; }

.ats-result-list.warning li::before { color: #e67e22; }

/* ATS anahtar kelime kategori chip */
.ats-kw-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--pistachio-bg);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    color: var(--pistachio-dark);
    cursor: default;
}
.ats-kw-count {
    background: var(--pistachio-dark);
    color: #fff;
    border-radius: 999px;
    padding: 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.4;
}
.ats-result-list.success-list li::before { color: var(--pistachio-dark); }

/* ============================================================
   CV OLUŞTUR SAYFASI
   ============================================================ */
.cv-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    margin-bottom: 1.25rem;
}

.cv-section > h4 {
    font-weight: 700;
    color: var(--text-dark);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.15);
    margin-bottom: 1.25rem;
}

.cv-section > h4 i { color: var(--pistachio-dark); }

.form-label { color: var(--text-dark); font-weight: 600; font-size: 0.9rem; }

.form-control, .form-select {
    background: var(--bg-white);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-dark);
    padding: 0.55rem 0.85rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus, .form-select:focus {
    background: var(--bg-white);
    border-color: var(--pistachio-dark);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    outline: none;
}

.form-control::placeholder { color: var(--text-muted); opacity: 0.7; }
textarea.form-control { resize: vertical; min-height: 90px; }

/* Dinamik Form Kartları */
.dynamic-item {
    background: rgba(250, 247, 240, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    position: relative;
}

/* Photo Upload */
.photo-upload-area {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px dashed var(--pistachio);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s, background 0.2s;
}

.photo-upload-area:hover { border-color: var(--pistachio-dark); background: rgba(0, 0, 0, 0.08); }

.photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    padding: 0.5rem;
    font-size: 0.75rem;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.photo-preview-img { width: 100%; height: 100%; object-fit: cover; }

.photo-remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    border-radius: 50%;
    padding: 0.15rem 0.4rem;
    font-size: 0.7rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #0f0f0f;
    color: rgba(250, 247, 240, 0.7);
    padding: 1.5rem 0;
    margin-top: 3rem;
    font-size: 0.88rem;
    text-align: center;
}

.footer a {
    color: var(--pistachio-light);
    text-decoration: none;
}

.footer a:hover { color: #fff; }

/* ============================================================
   HOME/LOGIN INFO FOOTER
   ============================================================ */
.info-footer {
    background: #f1f3f6;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 3rem;
}

.info-footer-brand h4 {
    margin: 0 0 0.5rem;
    font-weight: 900;
    color: #14171b;
}

.info-footer-brand p {
    margin: 0 0 0.9rem;
    color: #525c66;
    line-height: 1.5;
}

.info-footer-col h5 {
    margin: 0 0 0.7rem;
    font-size: 1.02rem;
    font-weight: 800;
    color: #1a1f25;
}

.info-footer-link {
    color: inherit;
    text-decoration: none;
}

.info-footer-link:hover {
    text-decoration: underline;
}

.info-footer-col p {
    margin: 0 0 0.6rem;
    color: #4c5560;
    line-height: 1.5;
    font-size: 0.92rem;
}

.info-footer-social {
    display: flex;
    gap: 0.55rem;
}

.info-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.18);
    color: #232a32;
    background: #ffffff;
    font-size: 1.02rem;
    transition: all 0.2s ease;
}

.info-footer-social a:hover {
    color: #ffffff;
    background: #12161b;
    border-color: #12161b;
}

.info-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #5b6670;
    padding: 0.9rem 1rem 1.2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    margin: 0 auto;
}

.info-footer-legal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-footer-legal-link {
    color: #5b6670;
    text-decoration: none;
    transition: color 0.2s;
}

.info-footer-legal-link:hover {
    color: #1a1f25;
    text-decoration: underline;
}

.info-footer-dot {
    opacity: 0.5;
}

/* Ekip kartı */
.footer-team-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-top: 0.25rem;
    max-width: 320px;
}

.footer-team-photo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(0,0,0,0.1);
}

.footer-team-info {
    flex: 1;
    min-width: 0;
}

.footer-team-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #14171b;
    margin-bottom: 0.05rem;
}

.footer-team-title {
    font-size: 0.75rem;
    color: #525c66;
    margin-bottom: 0.4rem;
}

.footer-team-links {
    display: flex;
    gap: 0.35rem;
}

.footer-team-btn {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.15);
    color: #232a32;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
}

.footer-team-btn:hover {
    background: #12161b;
    color: #fff;
    border-color: #12161b;
}

/* İletişim butonu */
.footer-contact-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 0.6rem;
    padding: 0.4rem 1rem;
    background: #14171b;
    color: #fff;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-contact-btn:hover {
    opacity: 0.8;
    color: #fff;
}

/* Footer grid genişletildi: 4 sütun */
.info-footer-inner {
    padding: 2.2rem 0 1.8rem;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.3fr 1.2fr;
    gap: 1.2rem 2rem;
}

/* info-page-content başlıkları */
.info-page-content h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 1.5rem 0 0.4rem;
    color: var(--text-primary);
}

.info-page-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.info-page-wrap {
    padding: 3rem 0 1rem;
}

.info-page-container {
    max-width: 900px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 2rem 1.4rem;
}

.info-page-container h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 900;
    color: var(--text-dark);
}

.info-page-container p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 0.9rem;
    font-size: 1.02rem;
}

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

@media (max-width: 640px) {
    .info-footer-inner {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 1.8rem 0 1.4rem;
    }
    .info-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.4rem;
    }
}

/* ============================================================
   NAV TABS (eski) — kaldırıldı, sidebar drawer kullanılıyor
   ============================================================ */

/* ── Navbar Arama Butonu ── */
.navbar-search-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    max-width: 300px;
    min-width: 120px;
    margin: 0 0.75rem;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    padding: 0.42rem 1rem 0.42rem 0.85rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    cursor: pointer;
}

.navbar-search-btn:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.7);
}

.navbar-search-icon { font-size: 0.85rem; flex-shrink: 0; }
.navbar-search-placeholder { white-space: nowrap; overflow: hidden; }

/* Light mode */
html.light-mode .navbar-search-btn {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.12);
    color: rgba(0,0,0,0.4);
}
html.light-mode .navbar-search-btn:hover {
    background: rgba(0,0,0,0.1);
    border-color: rgba(0,0,0,0.25);
    color: rgba(0,0,0,0.6);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .navbar-search-form { display: none; }
    .hero-title { font-size: 2.2rem; }
    .info-slide-card { padding: 2rem 1.25rem; min-height: 240px; }
    .info-slide-card h3 { font-size: 1.35rem; }
    .navbar-main-group { gap: 0.5rem; }
    .navbar-auth-group { gap: 0.35rem; }
    .btn-navbar-auth { padding: 0.35rem 0.65rem; font-size: 0.8rem; }
    .navbar-user-chip { display: none; }
    .filter-bar-inner { flex-direction: column; }
    .filter-group { min-width: 100%; }
    .side-drawer { width: 260px; }
    .ats-score-display { font-size: 4rem; }
    .cv-section { padding: 1.25rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .navbar-brand { font-size: 1.2rem; }
    .search-type-card { padding: 1.5rem 1rem; }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-cream); }
::-webkit-scrollbar-thumb { background: var(--pistachio); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--pistachio-dark); }

/* ============================================================
   BADGE GEÇERSİZLEŞTİRME (bg-dark → warm)
   ============================================================ */
.badge-source {
    background: rgba(139, 94, 60, 0.12);
    color: var(--brown);
    border: 1px solid rgba(139, 94, 60, 0.25);
    border-radius: 8px;
    padding: 0.25rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
}

/* Loading source badges */
.loading-source-badge {
    background: rgba(0, 0, 0, 0.07);
    color: var(--pistachio-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Results count badge */
.badge.bg-secondary {
    background: rgba(139, 94, 60, 0.15) !important;
    color: var(--brown-dark) !important;
    font-weight: 700;
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-primary-mentorn { color: var(--pistachio-dark) !important; }
.text-brown { color: var(--brown) !important; }
.bg-pistachio { background: var(--pistachio-bg) !important; }

.section-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

/* Toggle Source Stats chevron */
#sourceStatsIcon { transition: transform 0.3s; }
#sourceStatsIcon.rotated { transform: rotate(180deg); }

/* ============================================================
   FORUM
   ============================================================ */
.forum-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.forum-filter-btn {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}

.forum-filter-btn:hover {
    border-color: var(--pistachio-dark);
    color: var(--pistachio-dark);
    background: rgba(0,0,0,0.05);
}

.forum-filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
}

.forum-entry-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.forum-entry-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.1rem 1.4rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.forum-entry-card:hover {
    border-color: var(--pistachio);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
    color: var(--text-dark);
}

.forum-entry-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
    min-width: 0;
}

.forum-entry-title {
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.forum-category-badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    background: rgba(0,0,0,0.07);
    color: var(--pistachio-dark);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    width: fit-content;
}

.forum-entry-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.forum-entry-arrow {
    color: var(--pistachio-dark);
    opacity: 0.5;
    font-size: 0.8rem;
}

.forum-content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem 2.5rem;
    line-height: 1.85;
    color: var(--text-dark);
    font-size: 1rem;
    white-space: pre-wrap;
    word-break: break-word;
}

@media (max-width: 640px) {
    .forum-entry-card { flex-direction: column; align-items: flex-start; }
    .forum-entry-meta { flex-wrap: wrap; gap: 0.5rem; }
    .forum-entry-arrow { display: none; }
    .forum-content-card { padding: 1.25rem; }
}

/* Forum list — like badge */
.forum-entry-like-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.2s;
}
.forum-entry-like-badge.liked {
    color: #e91e8c;
}

/* Forum entry page — author header */
.forum-author-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.forum-author-link:hover { color: var(--pistachio-dark); }

.forum-author-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}
.forum-author-avatar-img {
    width: 30px; height: 30px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Like button */
.forum-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    border: 1.5px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.forum-like-btn:hover {
    border-color: #e91e8c;
    color: #e91e8c;
}
.forum-like-btn.liked {
    border-color: #e91e8c;
    background: rgba(233, 30, 140, 0.08);
    color: #e91e8c;
}

/* Comments section */
.forum-comments-section { border-top: 1px solid var(--border-color); padding-top: 2rem; }

.forum-comments-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.forum-comment-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px; height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--pistachio-dark);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Comment form */
.forum-comment-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}
.forum-comment-textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    background: var(--bg-body);
    color: var(--text-dark);
    resize: vertical;
    min-height: 70px;
    font-family: inherit;
    transition: border-color 0.2s;
}
.forum-comment-textarea:focus {
    outline: none;
    border-color: var(--pistachio-dark);
}
.forum-reply-textarea { min-height: 52px; font-size: 0.85rem; }

/* Single comment */
.forum-comment {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.9rem 1.1rem;
    margin-bottom: 0.6rem;
    transition: border-color 0.2s;
}
.forum-comment:hover { border-color: var(--pistachio); }

.forum-comment-reply {
    background: var(--bg-body);
    border-left: 3px solid var(--pistachio);
}

.forum-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}
.forum-comment-author {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-dark);
    transition: color 0.2s;
}
.forum-comment-author:hover { color: var(--pistachio-dark); }

.forum-comment-avatar {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
}
.forum-comment-avatar-img {
    width: 26px; height: 26px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.forum-comment-nick { color: var(--pistachio-dark); }

.forum-comment-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.forum-comment-body {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-dark);
    white-space: pre-wrap;
    word-break: break-word;
    margin-bottom: 0.5rem;
}

.forum-comment-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.forum-reply-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: color 0.2s;
}
.forum-reply-btn:hover { color: var(--pistachio-dark); }

.forum-delete-comment-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: color 0.2s;
}
.forum-delete-comment-btn:hover { color: #dc3545; }

.forum-reply-form-wrap {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(0,0,0,0.03);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.forum-no-comments {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================================
   NAVBAR ICON BUTTONS + BADGES
   ============================================================ */
.navbar-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s;
    flex-shrink: 0;
}
.navbar-icon-btn:hover { background: rgba(255,255,255,0.28); color: #fff; }

.navbar-badge {
    position: absolute;
    top: -3px; right: -3px;
    min-width: 16px; height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #e91e8c;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.navbar-badge-warning { background: #ff9800; }

/* ============================================================
   PROFIL PUBLIC — CONNECTION STYLES
   ============================================================ */
.conn-count-btn {
    display: inline-flex;
    align-items: center;
    background: none;
    border: 1.5px solid var(--border-color);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    margin-top: 0.4rem;
    transition: border-color 0.2s, color 0.2s;
}
.conn-count-btn:hover { border-color: var(--pistachio-dark); color: var(--pistachio-dark); }
.conn-count-btn #connListChevron { transition: transform 0.25s; }

.conn-list-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.conn-list-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.3rem 0.4rem;
    border-radius: 8px;
    transition: background 0.15s;
}
.conn-list-item:hover { background: rgba(0,0,0,0.05); color: var(--pistachio-dark); }
.conn-list-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
}
.conn-list-avatar-img {
    width: 28px; height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.conn-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.5rem;
    padding: 0 0.25rem;
}
.conn-btn { border-radius: 999px; font-weight: 700; }
.conn-confirm-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 0.25rem;
}

/* ============================================================
   DM PAGE — INBOX
   ============================================================ */
.dm-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0;
}
.dm-tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 0.6rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s, border-color 0.2s;
}
.dm-tab.active { color: var(--pistachio-dark); border-bottom-color: var(--pistachio-dark); }
.dm-tab-badge {
    min-width: 18px; height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--pistachio-dark);
    color: #fff;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.dm-tab-badge-warn { background: #ff9800; }

.dm-conv-list { display: flex; flex-direction: column; gap: 0.4rem; }

.dm-conv-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.2s;
}
.dm-conv-item:hover { border-color: var(--pistachio); box-shadow: var(--shadow-sm); color: var(--text-dark); }
.dm-conv-unread { border-left: 3px solid var(--pistachio-dark); }

.dm-conv-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}
.dm-conv-avatar-img {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.dm-conv-info { flex: 1; min-width: 0; }
.dm-conv-name { font-weight: 700; font-size: 0.92rem; }
.dm-conv-preview {
    font-size: 0.82rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.15rem;
}
.dm-conv-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 0.3rem; flex-shrink: 0; }
.dm-conv-time { font-size: 0.75rem; color: var(--text-muted); }
.dm-unread-dot {
    min-width: 18px; height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--pistachio-dark);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dm-request-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    flex-wrap: wrap;
}
.dm-request-left {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.92rem;
}
.dm-request-left:hover { color: var(--pistachio-dark); }
.dm-request-actions { display: flex; gap: 0.4rem; flex-shrink: 0; }

.dm-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================================
   DM CHAT PAGE
   ============================================================ */
.dm-chat-wrap {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 64px);
}
.dm-chat-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}
.dm-chat-partner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}
.dm-chat-partner:hover { color: var(--pistachio-dark); }
.dm-chat-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}
.dm-chat-avatar-img {
    width: 36px; height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.dm-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.dm-msg { display: flex; flex-direction: column; max-width: 72%; }
.dm-msg-mine { align-self: flex-end; align-items: flex-end; }
.dm-msg-theirs { align-self: flex-start; align-items: flex-start; }

.dm-msg-bubble {
    padding: 0.55rem 0.9rem;
    border-radius: 16px;
    font-size: 0.92rem;
    line-height: 1.5;
    word-break: break-word;
    white-space: pre-wrap;
}
.dm-msg-mine .dm-msg-bubble {
    background: var(--gradient-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.dm-msg-theirs .dm-msg-bubble {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    border-bottom-left-radius: 4px;
}
.dm-msg-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
    padding: 0 0.25rem;
}

.dm-chat-input-wrap {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}
.dm-chat-input {
    flex: 1;
    border: 1.5px solid var(--border-color);
    border-radius: 20px;
    padding: 0.55rem 1rem;
    font-size: 0.92rem;
    background: var(--bg-body);
    color: var(--text-dark);
    resize: none;
    font-family: inherit;
    line-height: 1.5;
    max-height: 120px;
    overflow-y: auto;
    transition: border-color 0.2s;
}
.dm-chat-input:focus { outline: none; border-color: var(--pistachio-dark); }
.dm-chat-send-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.2s;
}
.dm-chat-send-btn:hover { opacity: 0.88; }

/* ============================================================
   SETTINGS PAGE
   ============================================================ */
.settings-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.settings-section-title {
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settings-option-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.settings-option-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background: var(--bg-cream);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 120px;
    text-align: center;
}

.settings-option-btn i {
    font-size: 1.5rem;
}

.settings-option-btn:hover {
    border-color: var(--pistachio-dark);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.settings-option-btn.active {
    border-color: var(--pistachio-dark);
    background: var(--pistachio-bg);
    color: var(--text-dark);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}

/* ============================================================
   DARK MODE — CSS değişken overrides
   ============================================================ */
.dark-mode {
    --pistachio: #9fb3c8;
    --pistachio-dark: #f2f5f8;
    --pistachio-light: #c7d1db;
    --brown: #d6dde5;
    --brown-dark: #f2f5f8;
    --brown-light: #bbc5cf;
    --pistachio-bg: rgba(255, 255, 255, 0.12);
    --bg-cream:   #181818;
    --bg-card:    #242424;
    --bg-white:   #2d2d2d;
    --text-dark:  #f3f5f7;
    --text-muted: #c4cbd3;
    --border-color: rgba(255, 255, 255, 0.18);
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.35);
    --shadow-md:  0 6px 20px rgba(0,0,0,0.45);
}

.dark-mode body { background-color: #181818; color: #eeeeee; }

.dark-mode .form-control,
.dark-mode .form-select,
.dark-mode .filter-select,
.dark-mode .filter-input,
.dark-mode .auth-input {
    background-color: #2d2d2d !important;
    color: #eeeeee !important;
    border-color: rgba(255,255,255,0.15) !important;
}

.dark-mode .form-control::placeholder,
.dark-mode .auth-input::placeholder { color: #777 !important; }

.dark-mode .dynamic-item { background: rgba(255,255,255,0.04) !important; }

.dark-mode .page-header {
    background: linear-gradient(160deg, #202020 0%, #181818 100%) !important;
}

.dark-mode .hero-section {
    background: linear-gradient(160deg, #1e1e1e 0%, #181818 100%) !important;
}

.dark-mode .info-carousel-wrapper {
    background: linear-gradient(160deg, #1e1e1e 0%, #181818 100%) !important;
}

.dark-mode .features-section { background: #181818 !important; }

.dark-mode .alert-danger {
    background: rgba(220,53,69,0.15);
    border-color: rgba(220,53,69,0.35);
    color: #ff9a9a;
}

.dark-mode .alert-success {
    background: rgba(25,135,84,0.15);
    border-color: rgba(25,135,84,0.35);
    color: #7dd3a8;
}

.dark-mode ::-webkit-scrollbar-track { background: #181818; }
.dark-mode ::-webkit-scrollbar-thumb { background: #444444; }

.dark-mode .spinner-border { color: #aaa !important; }

/* ============================================================
   LIGHT MODE — navbar beyaz, içerik açık (mevcut)
   ============================================================ */
.light-mode .navbar {
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.light-mode .navbar-hamburger { color: #111111; }

.light-mode .navbar-icon-btn {
    background: rgba(0,0,0,0.07);
    color: #111111;
}
.light-mode .navbar-icon-btn:hover {
    background: rgba(0,0,0,0.14);
    color: #111111;
}

.light-mode .navbar-user-chip {
    background: rgba(0,0,0,0.08);
    color: #111111;
}

.light-mode .btn-navbar-outline {
    color: #111111;
    border-color: rgba(0,0,0,0.25);
}

.light-mode .btn-navbar-outline:hover {
    background: rgba(0,0,0,0.06);
    color: #111111;
}

.light-mode .btn-navbar-solid {
    background: #111111;
    color: #ffffff;
}

.light-mode .drawer-header { background: #111111; }

/* ============================================================
   ARAMA SAYFASI
   ============================================================ */

.search-page-section {
    padding: 3rem 1rem 4rem;
    min-height: calc(100vh - 120px);
}

.search-page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.search-page-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.search-page-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* --- Arama Çubuğu --- */
.search-bar-form {
    margin-bottom: 1.5rem;
}

.search-bar-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    padding: 0 1.1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.search-bar-wrapper:focus-within {
    border-color: var(--pistachio);
    box-shadow: 0 0 0 3px var(--pistachio-bg);
}

.search-bar-icon {
    color: var(--text-muted);
    font-size: 1rem;
    flex-shrink: 0;
    margin-right: 0.7rem;
}

.search-bar-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.05rem;
    color: var(--text-dark);
    padding: 0.85rem 0;
    outline: none;
    font-family: inherit;
}

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

.search-bar-clear {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.3rem 0.1rem;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: color 0.15s;
}

.search-bar-clear:hover { color: var(--text-dark); }

/* --- Filtre Tabları --- */
.search-filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.search-filter-tab {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.42rem 1.1rem;
    cursor: pointer;
    transition: all 0.18s;
    font-family: inherit;
}

.search-filter-tab:hover {
    border-color: var(--pistachio);
    color: var(--pistachio-dark);
}

.search-filter-tab.active {
    background: var(--pistachio-dark);
    border-color: var(--pistachio-dark);
    color: #fff;
}

/* --- Sonuç Sayısı --- */
.search-result-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* --- Boş Durum --- */
.search-empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}

.search-empty-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    opacity: 0.4;
    display: block;
}

.search-empty-state p {
    font-size: 1rem;
    margin: 0;
}

.search-coming-soon {
    margin-top: 0.5rem !important;
    font-size: 0.88rem;
    opacity: 0.7;
}

/* --- Sonuç Kartları (genel) --- */
.search-result-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.1rem 1.3rem;
    margin-bottom: 0.75rem;
    display: block;
    transition: border-color 0.18s, box-shadow 0.18s;
    text-decoration: none;
    color: var(--text-dark);
}

.search-result-card:hover {
    border-color: var(--pistachio);
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    color: var(--text-dark);
}

.search-result-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.25rem;
}

.search-result-excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0.3rem 0 0;
    line-height: 1.5;
}

.search-result-tag {
    display: inline-block;
    background: var(--pistachio-bg);
    color: var(--pistachio-dark);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    padding: 0.15rem 0.65rem;
    margin-right: 0.5rem;
}

/* --- Gönderi kartı --- */
.search-result-post .search-result-meta {
    display: flex;
    align-items: center;
    margin-bottom: 0.4rem;
}

.search-result-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.search-result-author {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Kişi kartı --- */
.search-result-person {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-result-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--pistachio-dark);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-result-person-info {
    display: flex;
    flex-direction: column;
}

.search-result-username {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Şirket kartı --- */
.search-result-company {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.search-result-company-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--pistachio-bg);
    color: var(--pistachio-dark);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-result-company-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.search-result-company-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

/* Dark mode overrides */
.dark-mode .search-bar-wrapper {
    background: #1a1a1a;
    border-color: rgba(255,255,255,0.12);
}

.dark-mode .search-bar-wrapper:focus-within {
    border-color: #888;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.06);
}

.dark-mode .search-filter-tab {
    background: #1a1a1a;
    border-color: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.55);
}

.dark-mode .search-filter-tab:hover {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}

.dark-mode .search-filter-tab.active {
    background: #fff;
    border-color: #fff;
    color: #111;
}

.dark-mode .search-result-card {
    background: #1a1a1a;
    border-color: rgba(255,255,255,0.1);
}

.dark-mode .search-result-card:hover {
    border-color: rgba(255,255,255,0.3);
}

.dark-mode .search-result-avatar {
    background: #fff;
    color: #111;
}

.dark-mode .search-result-company-logo {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.7);
}

.dark-mode .search-result-tag {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
}

/* ============================================================
   PROFİL SAYFASI
   ============================================================ */

.profile-page-section {
    padding: 2.5rem 1rem 4rem;
    min-height: calc(100vh - 120px);
}

/* ── Üst kart: Avatar + isim ── */
.profile-top-card {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.6rem 1.8rem;
    margin-bottom: 1.2rem;
}

.profile-top-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.profile-display-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

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

.profile-type-badge {
    display: inline-flex;
    align-items: center;
    background: var(--pistachio-bg);
    color: var(--pistachio-dark);
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 20px;
    padding: 0.2rem 0.75rem;
    width: fit-content;
    margin-top: 0.1rem;
}

/* ── Avatar ── */
.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--pistachio-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar-initial {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--pistachio-dark);
    user-select: none;
}

.avatar-plus-btn {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--pistachio-dark);
    color: #fff;
    border: 2px solid var(--bg-card);
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
    z-index: 2;
}

.avatar-plus-btn:hover { background: #333; }

/* Avatar dropdown menü */
.avatar-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.13);
    min-width: 180px;
    z-index: 100;
    overflow: hidden;
}

.avatar-menu.open { display: block; }

.avatar-menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.65rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.88rem;
    font-family: inherit;
    color: var(--text-dark);
    text-align: left;
    transition: background 0.12s;
}

.avatar-menu-item:hover { background: var(--pistachio-bg); }
.avatar-menu-danger { color: #dc3545 !important; }
.avatar-menu-danger:hover { background: rgba(220,53,69,0.07) !important; }

/* ── Kırpma modalı ── */
.crop-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.72);
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.crop-modal {
    background: var(--bg-card);
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.crop-container {
    height: 340px;
    background: #111;
    overflow: hidden;
}

.crop-container img {
    display: block;
    max-width: 100%;
}

.crop-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.2rem;
    border-top: 1px solid var(--border-color);
}

/* ── Düzenleme formu ── */
.profile-edit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.profile-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.profile-fields-row {
    display: flex;
    gap: 0.75rem;
}

.profile-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.profile-input {
    padding: 0.6rem 0.85rem;
    border: 1.5px solid var(--border-color);
    border-radius: 9px;
    background: transparent;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.18s;
    outline: none;
    width: 100%;
}

.profile-input:focus {
    border-color: var(--pistachio);
}
select.profile-input {
    background: var(--bg-card);
    appearance: auto;
}

.profile-readonly {
    padding: 0.6rem 0.85rem;
    background: var(--pistachio-bg);
    border: 1.5px solid var(--border-color);
    border-radius: 9px;
    color: var(--text-muted);
    font-size: 0.95rem;
    cursor: not-allowed;
}

/* Nickname durum mesajı */
.nick-status {
    font-size: 0.8rem;
    font-weight: 600;
    min-height: 1.1rem;
}
.nick-ok   { color: #22a35a; }
.nick-taken { color: #dc3545; }

/* ── Öğrenci/Çalışan toggle ── */
.user-type-toggle {
    display: flex;
    gap: 0.5rem;
}

.type-btn {
    flex: 1;
    padding: 0.55rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: 50px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.16s;
}

.type-btn:hover {
    border-color: var(--pistachio);
    color: var(--pistachio-dark);
}

.type-btn.active {
    background: var(--pistachio-dark);
    border-color: var(--pistachio-dark);
    color: #fff;
}

/* ── Kaydet satırı ── */
.profile-save-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 0.2rem;
}

.profile-save-msg {
    font-size: 0.85rem;
    font-weight: 600;
}
.save-ok  { color: #22a35a; }
.save-err { color: #dc3545; }

/* ── Dark mode overrides ── */
.dark-mode .profile-top-card,
.dark-mode .profile-edit-card {
    background: #1a1a1a;
    border-color: rgba(255,255,255,0.1);
}

.dark-mode .profile-avatar {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.15);
}

.dark-mode .avatar-initial {
    color: rgba(255,255,255,0.85);
}

.dark-mode .avatar-plus-btn {
    background: #fff;
    color: #111;
    border-color: #1a1a1a;
}
.dark-mode .avatar-plus-btn:hover { background: #ddd; }

.dark-mode .avatar-menu {
    background: #222;
    border-color: rgba(255,255,255,0.12);
}

.dark-mode .avatar-menu-item { color: rgba(255,255,255,0.85); }
.dark-mode .avatar-menu-item:hover { background: rgba(255,255,255,0.07); }

.dark-mode .profile-input {
    border-color: rgba(255,255,255,0.12);
    color: #f0f0f0;
}
.dark-mode .profile-input:focus { border-color: rgba(255,255,255,0.4); }

.dark-mode .profile-readonly {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.4);
}

.dark-mode .type-btn {
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.5);
}
.dark-mode .type-btn:hover {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}
.dark-mode .type-btn.active {
    background: #fff;
    border-color: #fff;
    color: #111;
}

.dark-mode .crop-modal {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
}
.dark-mode .crop-actions { border-color: rgba(255,255,255,0.1); }

.dark-mode .profile-type-badge {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.75);
}

/* Arama kişi kartı: avatar fotoğraflı */
.search-result-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* ============================================================
   PROFİL GÖRÜNTÜLEME (pub profile) + ORTAK
   ============================================================ */

.pub-profile-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 0.3rem 0;
}

/* ============================================================
   PROJE SİSTEMİ
   ============================================================ */

/* Başvur sayfası — Proje aksiyon paneli */
.proje-action-panel {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.proje-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.3rem;
    padding: 1.8rem 2.2rem;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.15s;
    min-width: 200px;
}

.proje-action-btn small {
    font-weight: 400;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.proje-action-btn:hover {
    border-color: var(--pistachio-dark);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    color: var(--pistachio-dark);
}

.proje-action-btn i { color: var(--pistachio-dark); }

/* Proje kartı (listede) */
.proje-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-dark);
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.15s;
    height: 100%;
}

.proje-card:hover {
    border-color: var(--pistachio);
    box-shadow: 0 4px 18px rgba(0,0,0,0.09);
    transform: translateY(-2px);
    color: var(--text-dark);
}

.proje-card-manage { cursor: default; }
.proje-card-manage:hover { transform: none; }

.proje-card-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: var(--pistachio-bg);
}

.proje-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.proje-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pistachio-dark);
    opacity: 0.5;
}

.proje-card-body {
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.proje-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 0.4rem;
}

.proje-card-desc {
    font-size: 0.87rem;
    color: var(--text-muted);
    margin: 0 0 0.8rem;
    flex: 1;
    line-height: 1.5;
}

.proje-card-stats {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Proje sahibi satırı */
.proje-card-owner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.8rem;
    font-size: 0.83rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

.proje-owner-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--pistachio-dark);
    color: #fff;
    font-weight: 800;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.proje-owner-avatar-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Proje detay sayfası */
.proje-detay-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.proje-detay-photo-wrapper {
    position: relative;
    flex-shrink: 0;
}

.proje-detay-photo {
    width: 260px;
    height: 160px;
    object-fit: cover;
    border-radius: var(--border-radius);
    display: block;
    background: var(--pistachio-bg);
}

.proje-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pistachio-dark);
    opacity: 0.45;
}

.proje-photo-edit-btn {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0,0,0,0.65);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.proje-photo-edit-btn:hover { background: rgba(0,0,0,0.85); }

.proje-detay-info { flex: 1; min-width: 220px; }

.proje-detay-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 0.5rem;
}

.proje-detay-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Proje sahibi link */
.proje-owner-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: opacity 0.15s;
}

.proje-owner-link:hover { opacity: 0.7; color: var(--text-dark); }

.proje-owner-name { font-weight: 700; }

.proje-owner-detail {
    color: var(--text-muted);
    font-size: 0.83rem;
}

/* Ekip üyesi chip */
.proje-member-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.85rem 0.5rem 0.5rem;
    border-radius: 50px;
    border: 1.5px solid var(--border-color);
    background: var(--bg-sidebar);
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.85rem;
    transition: border-color 0.15s, background 0.15s;
}
.proje-member-chip:hover { border-color: var(--pistachio); color: var(--text-dark); }
.proje-member-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--pistachio-dark);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
}
.proje-member-avatar-img {
    width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.proje-member-info { display: flex; flex-direction: column; line-height: 1.2; }
.proje-member-nick { font-weight: 700; }
.proje-member-role { font-size: 0.75rem; color: var(--text-muted); }

/* Pozisyonlar bölümü */
.proje-positions-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.4rem;
}

.proje-positions-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.proje-pos-form {
    background: var(--pistachio-bg);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.proje-pos-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
}

.proje-pos-card:last-child { border-bottom: none; }

.proje-pos-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.15s;
}

.proje-pos-link:hover { color: var(--pistachio-dark); }

.proje-pos-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.proje-pos-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.proje-pos-delete-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: color 0.15s, background 0.15s;
}
.proje-pos-delete-btn:hover { color: #dc3545; background: rgba(220,53,69,0.07); }

.proje-pos-empty {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    padding: 1.5rem 0;
    margin: 0;
}

/* Pozisyon detay sayfası */
.proje-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.proje-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.proje-breadcrumb a:hover { color: var(--text-dark); }
.proje-breadcrumb span { color: var(--text-dark); font-weight: 600; }

.proje-pos-open-badge {
    display: inline-block;
    background: rgba(34,163,90,0.12);
    color: #22a35a;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 20px;
    padding: 0.15rem 0.65rem;
}

.proje-pos-detail-section { display: flex; flex-direction: column; gap: 0.4rem; }

.proje-pos-detail-text {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
    white-space: pre-wrap;
}

.proje-apply-section { display: flex; flex-direction: column; gap: 0.75rem; }

.proje-applied-notice {
    display: flex;
    align-items: center;
    background: rgba(34,163,90,0.1);
    color: #22a35a;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

/* Başvurular sayfası */
.proje-applicant-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.1rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.proje-applicant-profile {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: opacity 0.15s;
}
.proje-applicant-profile:hover { opacity: 0.75; color: var(--text-dark); }

.proje-applicant-name { font-weight: 700; font-size: 0.95rem; }
.proje-applicant-nick { font-size: 0.82rem; color: var(--text-muted); }
.proje-applicant-detail { font-size: 0.8rem; color: var(--text-muted); }

.proje-applicant-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.proje-applicant-date { font-size: 0.78rem; color: var(--text-muted); }

.proje-applicant-msg {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-style: italic;
    margin: 0;
    border-left: 3px solid var(--border-color);
    padding-left: 0.75rem;
}

/* Dark mode overrides */
.dark-mode .proje-card,
.dark-mode .proje-action-btn,
.dark-mode .proje-positions-section,
.dark-mode .proje-applicant-card {
    background: #1a1a1a;
    border-color: rgba(255,255,255,0.1);
}

.dark-mode .proje-card:hover,
.dark-mode .proje-action-btn:hover {
    border-color: rgba(255,255,255,0.35);
}

.dark-mode .proje-action-btn:hover { color: #fff; }
.dark-mode .proje-action-btn i { color: rgba(255,255,255,0.75); }

.dark-mode .proje-pos-form {
    background: rgba(255,255,255,0.04);
}

.dark-mode .proje-owner-avatar {
    background: #fff;
    color: #111;
}

.dark-mode .proje-card-owner { border-color: rgba(255,255,255,0.07); }
.dark-mode .proje-pos-card { border-color: rgba(255,255,255,0.07); }

/* ── Projeler Liste Görünümü ── */
.projeler-list-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: border-color 0.18s, box-shadow 0.18s;
}

.projeler-list-card:hover {
    border-color: var(--pistachio);
    box-shadow: 0 3px 14px rgba(0,0,0,0.08);
}

.projeler-list-card-applied {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1.1rem;
    text-decoration: none;
    color: var(--text-dark);
}

.projeler-list-card-applied:hover { color: var(--text-dark); }

.projeler-list-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: background 0.12s;
}

.projeler-list-header:hover {
    background: var(--pistachio-bg);
    color: var(--text-dark);
}

.projeler-list-thumb {
    width: 90px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--pistachio-bg);
}

.projeler-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.projeler-list-thumb-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pistachio-dark);
    opacity: 0.45;
    font-size: 1.3rem;
}

.projeler-list-info { flex: 1; min-width: 0; }

.projeler-list-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 0.25rem;
}

.projeler-list-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin: 0 0 0.5rem;
    line-height: 1.45;
}

.projeler-list-arrow {
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Pozisyon listesi altında */
.projeler-list-positions {
    border-top: 1px solid var(--border-color);
    padding: 0.5rem 1.2rem 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.projeler-list-pos-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 0.35rem 0 0.4rem;
}

.projeler-list-pos-item {
    display: flex;
    align-items: center;
    padding: 0.45rem 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 7px;
    transition: background 0.12s, color 0.12s;
    gap: 0.3rem;
}

.projeler-list-pos-item:hover {
    background: var(--pistachio-bg);
    color: var(--pistachio-dark);
}

.projeler-pos-arrow {
    margin-left: auto;
    font-size: 0.72rem;
    opacity: 0.45;
}

/* ── Projelerim Bölüm Başlıkları ── */
.projelerim-section {
    margin-bottom: 2.5rem;
}

.projelerim-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--border-color);
}

.projelerim-section-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.projelerim-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Dark mode */
.dark-mode .projeler-list-card {
    background: #1a1a1a;
    border-color: rgba(255,255,255,0.1);
}
.dark-mode .projeler-list-card:hover { border-color: rgba(255,255,255,0.3); }
.dark-mode .projeler-list-header:hover { background: rgba(255,255,255,0.04); }
.dark-mode .projeler-list-positions { border-color: rgba(255,255,255,0.07); }
.dark-mode .projeler-list-pos-item:hover { background: rgba(255,255,255,0.06); color: #fff; }

/* ============================================================
   BİLDİRİMLER SAYFASI
   ============================================================ */
.notif-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid var(--border-color);
    background: var(--bg-card);
}

.notif-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    transition: background 0.15s;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--bg-hover, rgba(0,0,0,0.03)); }

.notif-unread {
    background: var(--pistachio-light, rgba(90,166,87,0.07));
}
.notif-unread::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--pistachio-dark, #5aa657);
    border-radius: 2px 0 0 2px;
}

.notif-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--pistachio-dark);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem; color: #fff;
}
.notif-avatar img {
    width: 100%; height: 100%; object-fit: cover;
}

.notif-body {
    flex: 1;
    min-width: 0;
}
.notif-text {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.4;
}
.notif-actor {
    font-weight: 700;
    color: var(--pistachio-dark);
    text-decoration: none;
}
.notif-actor:hover { text-decoration: underline; }
.notif-entry-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
}
.notif-entry-link:hover { text-decoration: underline; }
.notif-time {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.notif-icon {
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.78rem;
    flex-shrink: 0;
}
.notif-icon-like  { background: rgba(236,72,153,0.15); color: #ec4899; }
.notif-icon-comment { background: rgba(59,130,246,0.15); color: #3b82f6; }
.notif-icon-conn  { background: rgba(90,166,87,0.15); color: var(--pistachio-dark); }

/* Dark mode */
.dark-mode .notif-list { background: #1a1a1a; border-color: rgba(255,255,255,0.1); }
.dark-mode .notif-item { border-color: rgba(255,255,255,0.07); }
.dark-mode .notif-item:hover { background: rgba(255,255,255,0.04); }
.dark-mode .notif-unread { background: rgba(90,166,87,0.1); }
.dark-mode .projelerim-section-header { border-color: rgba(255,255,255,0.1); }

/* ============================================================
   PUBLİC PROFİL — LinkedIn tarzı görünüm
   ============================================================ */
.pub-profile-wrap {
    min-height: 60vh;
    padding-bottom: 4rem;
}
.pub-profile-wrap > .container {
    padding-left: 1rem;
    padding-right: 1rem;
}

.pub-profile-banner {
    height: 160px;
    background: #2e6b2d; /* inline style ile override edilir */
}

.pub-profile-top-card {
    display: flex;
    gap: 1.4rem;
    align-items: flex-start;
    padding: 0 0 1.2rem 0;
    margin-top: -52px;
}

.pub-profile-avatar-wrap {
    width: 104px; height: 104px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--bg-main, #111);
    background: var(--pistachio-dark);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.pub-profile-avatar-img {
    width: 100%; height: 100%; object-fit: cover;
}
.pub-profile-avatar-initial {
    font-size: 2.4rem; font-weight: 800;
    color: #fff; line-height: 1;
}

.pub-profile-header-info {
    flex: 1; min-width: 0;
    padding-top: 52px;
}

.pub-profile-name-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
}
.pub-profile-display-name {
    font-size: 1.5rem; font-weight: 800;
    margin: 0; line-height: 1.2;
    color: var(--text-main);
}
.pub-profile-fullname {
    font-size: 0.9rem; color: var(--text-muted);
    margin-top: 2px;
}
.pub-profile-sub {
    font-size: 0.88rem; color: var(--text-muted);
}

.pub-profile-edit-btn {
    white-space: nowrap;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.pub-profile-section {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    padding: 1.1rem 1.3rem;
    margin-top: 0.9rem;
}
.pub-profile-section-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-bottom: 0.7rem;
}
.pub-profile-bio {
    font-size: 0.93rem;
    color: var(--text-main);
    white-space: pre-wrap;
    margin: 0;
    line-height: 1.6;
}

.pub-profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.pub-profile-link-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    border: 1.5px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
    background: var(--bg-main);
}
.pub-profile-link-item:hover {
    border-color: var(--pistachio-dark);
    color: var(--pistachio-dark);
    background: var(--pistachio-light, rgba(90,166,87,0.07));
}
.pub-profile-link-item i { font-size: 1rem; }
.pub-profile-link-item.pub-profile-contact { cursor: default; }
.pub-profile-link-item.pub-profile-contact:hover {
    border-color: var(--border-color);
    color: var(--text-main);
    background: var(--bg-main);
}

@media (max-width: 520px) {
    .pub-profile-top-card {
        flex-direction: column;
        gap: 0;
        align-items: center;
        text-align: center;
        margin-top: -48px;
    }
    .pub-profile-header-info { padding-top: 0.6rem; width: 100%; }
    .pub-profile-name-row { flex-direction: column; align-items: center; gap: 0.5rem; }
    .pub-profile-edit-btn { align-self: center; }
    .pub-profile-links { justify-content: center; }
    .conn-action-row { justify-content: center; }
}

.dark-mode .pub-profile-avatar-wrap { border-color: #111; }
.light-mode .pub-profile-avatar-wrap { border-color: #f5f5f5; }
.dark-mode .pub-profile-section { background: #1a1a1a; border-color: rgba(255,255,255,0.1); }
.dark-mode .pub-profile-link-item { background: #111; border-color: rgba(255,255,255,0.12); }

/* Üniversite arama dropdown */
.uni-search-wrap {
    position: relative;
}
.uni-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 200;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
.uni-option {
    padding: 0.6rem 1rem;
    font-size: 0.88rem;
    cursor: pointer;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.1s;
}
.uni-option:last-child { border-bottom: none; }
.uni-option:hover { background: var(--pistachio-light, rgba(90,166,87,0.1)); color: var(--pistachio-dark); }

.uni-selected-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: var(--pistachio-light, rgba(90,166,87,0.12));
    border: 1.5px solid var(--pistachio-dark);
    color: var(--pistachio-dark);
    font-size: 0.87rem;
    font-weight: 600;
    margin-top: 0.4rem;
}
.dark-mode .uni-dropdown { background: #1a1a1a; border-color: rgba(255,255,255,0.1); }
.dark-mode .uni-option { border-color: rgba(255,255,255,0.06); }

/* Banner renk seçici */
.banner-color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.6rem;
}
.banner-swatch {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2.5px solid transparent;
    cursor: pointer;
    transition: transform 0.12s, border-color 0.12s;
    padding: 0;
    outline: none;
}
.banner-swatch:hover { transform: scale(1.15); }
.banner-swatch.active {
    border-color: var(--text-main);
    transform: scale(1.15);
    box-shadow: 0 0 0 2px var(--bg-card);
}
.banner-swatch-custom {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-hover, rgba(0,0,0,0.08));
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    position: relative;
}
.banner-swatch-custom input[type="color"] {
    position: absolute; opacity: 0; width: 100%; height: 100%;
    cursor: pointer; border: none; padding: 0;
}
.banner-preview {
    height: 36px;
    border-radius: 8px;
    margin-top: 0.4rem;
    transition: background 0.2s;
}

/* ============================================================
   DARK MODE — KONTRAST DÜZELTMELERİ
   ============================================================ */
.dark-mode .footer {
    background: #0b0b0b;
    color: rgba(255, 255, 255, 0.82);
}

.dark-mode .footer a { color: #ffffff; }

.dark-mode .info-footer {
    background: #13171d;
    border-top-color: rgba(255, 255, 255, 0.12);
}

.dark-mode .info-footer-brand h4,
.dark-mode .info-footer-col h5 { color: #f3f6fa; }

.dark-mode .info-footer-brand p,
.dark-mode .info-footer-col p,
.dark-mode .info-footer-bottom { color: #c8d2dc; }

.dark-mode .info-footer-social a {
    background: #1c222b;
    border-color: rgba(255, 255, 255, 0.22);
    color: #e9eff6;
}

.dark-mode .info-footer-social a:hover {
    background: #f3f6fa;
    color: #111823;
    border-color: #f3f6fa;
}

.dark-mode .info-footer-bottom { border-top-color: rgba(255, 255, 255, 0.12); }

.dark-mode .info-footer-legal-link { color: #a0aab4; }
.dark-mode .info-footer-legal-link:hover { color: #f3f6fa; }

.dark-mode .footer-team-card {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
}
.dark-mode .footer-team-name { color: #f3f6fa; }
.dark-mode .footer-team-title { color: #a0aab4; }
.dark-mode .footer-team-btn {
    background: #1c222b;
    border-color: rgba(255,255,255,0.18);
    color: #e9eff6;
}
.dark-mode .footer-team-btn:hover { background: #f3f6fa; color: #111823; }
.dark-mode .footer-contact-btn { background: #2a3240; color: #f3f6fa; }
.dark-mode .footer-contact-btn:hover { background: #3a4558; }

.dark-mode .text-muted,
.dark-mode .page-header p,
.dark-mode .hero-subtitle,
.dark-mode .section-subtitle,
.dark-mode .job-card .company-name,
.dark-mode .job-card .job-location,
.dark-mode .forum-entry-meta,
.dark-mode .filter-label,
.dark-mode .dm-empty,
.dark-mode .projelerim-empty,
.dark-mode .proje-pos-empty {
    color: #cfd6de !important;
}

.dark-mode .score-excellent {
    background: rgba(255, 255, 255, 0.13);
    color: #f5f8fb;
    border-color: rgba(255, 255, 255, 0.35);
}

.dark-mode .score-good {
    background: rgba(109, 174, 255, 0.18);
    color: #dbeeff;
    border-color: rgba(109, 174, 255, 0.42);
}

.dark-mode .score-fair {
    background: rgba(255, 173, 73, 0.2);
    color: #ffe7c2;
    border-color: rgba(255, 173, 73, 0.42);
}

.dark-mode .score-poor {
    background: rgba(255, 107, 107, 0.2);
    color: #ffd9d9;
    border-color: rgba(255, 107, 107, 0.4);
}

.dark-mode .skill-tag,
.dark-mode .filter-tag,
.dark-mode .loading-source-badge {
    background: rgba(255, 255, 255, 0.08);
    color: #eef3f8;
    border-color: rgba(255, 255, 255, 0.24);
}

.dark-mode .source-badge,
.dark-mode .badge-source {
    background: rgba(120, 180, 255, 0.16);
    color: #e6f2ff;
    border-color: rgba(120, 180, 255, 0.35);
}

.dark-mode .work-badge-remote,
.dark-mode .work-badge-hybrid,
.dark-mode .work-badge-onsite {
    background: rgba(255, 255, 255, 0.1);
    color: #f0f4f8;
    border-color: rgba(255, 255, 255, 0.24);
}

.dark-mode .forum-filter-btn,
.dark-mode .dm-conv-time,
.dark-mode .notif-time,
.dark-mode .notif-entry-link {
    color: #d4dbe3;
}

.dark-mode .forum-filter-btn:hover,
.dark-mode .forum-filter-btn.active {
    color: #ffffff;
}

/* ── Doğrulama Modal ────────────────────────────────────── */
.verify-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}
.verify-modal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 2rem 1.75rem 1.5rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.verify-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}
.verify-modal-close:hover { color: var(--text-primary); }
.verify-modal-icon { margin-bottom: 0.75rem; }
.verify-modal-title {
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.verify-modal-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* ── LinkedIn Rozet ─────────────────────────────────────── */
.li-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #0a66c2;
    border-radius: 4px;
    color: #fff;
    font-size: 0.7rem;
    margin-left: 0.35rem;
    vertical-align: middle;
    flex-shrink: 0;
}
.li-badge i { font-size: 0.65rem; }

/* ── LinkedIn Doğrula Butonu ────────────────────────────── */
.btn-linkedin {
    background: #0a66c2;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.55rem 1.2rem;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: background 0.15s;
}
.btn-linkedin:hover { background: #0958a8; color: #fff; }

/* ── Kayıt Hesap Türü Toggle ────────────────────────────── */
.account-type-toggle {
    display: flex;
    gap: 0.5rem;
}
.account-type-option {
    flex: 1;
    cursor: pointer;
    margin: 0;
}
.account-type-option input[type="radio"] {
    display: none;
}
.account-type-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    border: 1.5px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.15s;
    width: 100%;
}
.account-type-option input[type="radio"]:checked + .account-type-btn {
    border-color: var(--pistachio);
    background: rgba(46,107,45,0.12);
    color: var(--pistachio);
}

/* ── LinkedIn Doğrulama Kartı (Onboarding) ──────────────── */
.linkedin-verify-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem 1.25rem;
}
.linkedin-verify-card--done {
    border-color: #0a66c2;
    background: rgba(10,102,194,0.06);
}
.linkedin-verify-prompt,
.linkedin-verify-done {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.linkedin-verify-done .li-badge {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    border-radius: 8px;
    flex-shrink: 0;
}
.linkedin-verify-done .li-badge i { font-size: 1rem; }

/* ── (auth-page ve auth-card yukarıda tanımlı) ── */

/* ── EKİP SAYFASI ── */
.ekip-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    max-width: 600px;
    width: 100%;
}

.ekip-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--pistachio);
}

.ekip-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.ekip-title {
    font-size: 0.88rem;
    color: var(--pistachio-dark);
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ekip-bio {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ekip-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ekip-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    background: var(--bg-sidebar);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.ekip-btn:hover {
    background: var(--pistachio);
    color: #fff;
    border-color: var(--pistachio);
}

@media (max-width: 560px) {
    .ekip-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }
    .ekip-links {
        justify-content: center;
    }
}

/* ── Araçlar Sayfası ── */
.araclar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    background: var(--card-bg);
    border: 1.5px solid var(--border-color);
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    height: 100%;
    position: relative;
}

.araclar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    border-color: var(--pistachio);
    color: var(--text-dark);
}

.araclar-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--pistachio-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: var(--pistachio-dark);
    margin-bottom: 1.25rem;
}

.araclar-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.araclar-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
    flex: 1;
}

.araclar-card-arrow {
    margin-top: 1.5rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--pistachio-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.araclar-card:hover .araclar-card-arrow {
    background: var(--pistachio);
}
