/* Personel Detay Sayfas─▒ - Modern KKU Tasar─▒m─▒ */

:root {
    --kku-red: var(--kku-brand, #dc2626);
    --kku-red-dark: var(--kku-brand-hover, #991b1b);
    --kku-red-light: color-mix(in srgb, var(--kku-brand, #dc2626) 82%, #fff);
    --kku-blue: var(--kku-brand-2, #003366);
    --kku-blue-light: color-mix(in srgb, var(--kku-brand-2, #003366) 88%, #fff);
    --kku-blue-accent: var(--kku-chart-2, #4facfe);
    --kku-gradient-red: var(--kku-brand-gradient, linear-gradient(135deg, var(--kku-brand, #dc2626) 0%, var(--kku-brand-hover, #991b1b) 100%));
    --kku-gradient-blue: linear-gradient(135deg, var(--kku-brand-2, #003366) 0%, color-mix(in srgb, var(--kku-brand-2, #003366) 75%, #000) 100%);
    --kku-gradient-mixed: linear-gradient(135deg, var(--kku-brand, #dc2626) 0%, var(--kku-brand-2, #003366) 100%);
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.45);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    animation: fadeInBody 0.8s ease-out;
}

main:has(.personel-detail-page) {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Personel detay sayfas─▒: animasyonlu arka plan + glass alan */
.personel-detail-page {
    position: relative;
    min-height: 100vh;
}
.personel-detail-page::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 25%, #e3f2fd 50%, #fce4ec 75%, #f3e5f5 100%);
    background-size: 400% 400%;
    animation: personelDetailBgShift 18s ease infinite;
}
@keyframes personelDetailBgShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

.main-content {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 20px 24px;
}
/* Personel detay sayfas─▒nda i├ğerik tam geni┼şlikte yay─▒ls─▒n, sa─şda scroll ├ğ─▒kmas─▒n */
.personel-detail-page .main-content {
    max-width: 100%;
    padding: 0;
    overflow-x: hidden;
}
@media (min-width: 1400px) {
    .personel-detail-page .main-content { padding: 0; }
}

/* ├£st Aksiyonlar (Geri + QR) */
.personel-detail-top-actions {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
}
.personel-detail-top-actions > * {
    pointer-events: auto;
}

/* Geri Butonu */
.personel-detail-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--kku-blue);
    background: rgba(255, 255, 255, 0.96);
    border: none;
    border-radius: 0 0 14px 0;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    text-decoration: none;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
}
.personel-detail-back-btn:hover {
    color: #fff;
    background: var(--kku-blue);
    box-shadow: 2px 2px 16px rgba(0, 51, 102, 0.25);
    text-decoration: none;
}
.personel-detail-back-btn i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}
.personel-detail-back-btn:hover i {
    transform: translateX(-3px);
}

/* Profil Header Card - Sol ├£stte Foto─şraf */
.profile-header-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin-bottom: 30px;
    overflow: hidden;
    animation: slideInDown 0.6s ease-out;
    position: relative;
}

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

.profile-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--kku-gradient-mixed);
}

.profile-header-section .row {
    margin: 0;
    padding: 30px;
}

/* Sol: Profil Foto─şraf─▒ */
.profile-image-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    animation: scaleIn 0.8s ease-out 0.2s both;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    border: 4px solid var(--kku-red);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.4);
}

/* Sa─ş: Bilgiler */
.profile-info-section {
    animation: slideInRight 0.8s ease-out 0.3s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--kku-gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

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

.profile-title, .profile-department, .profile-type {
    display: flex;
    align-items: center;
    margin: 12px 0;
    padding: 10px 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid var(--kku-red);
    transition: all 0.3s ease;
    color: #333;
    font-weight: 500;
}

.profile-title:hover, .profile-department:hover, .profile-type:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left-color: var(--kku-blue);
}

.profile-title i, .profile-department i, .profile-type i {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--kku-gradient-red);
    color: white;
    border-radius: 8px;
    margin-right: 15px;
    font-size: 0.9rem;
}

.profile-department i {
    background: var(--kku-gradient-blue);
}

/* ─░leti┼şim Kartlar─▒ */
.contact-info-section {
    margin-top: 20px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.contact-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
    border-color: var(--kku-red);
}

.contact-item i {
    font-size: 2rem;
    background: var(--kku-gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    display: block;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-top: 8px;
}

.contact-item a:hover {
    color: var(--kku-red);
}

/* Dersler — akademik yıl sekmeleri (chip) */
.personel-detail-ders-year-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0.65rem 0.85rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.personel-detail-ders-year-tab {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.5rem 0.9rem;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.personel-detail-ders-year-tab:hover {
    border-color: #94a3b8;
    color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
}

.personel-detail-ders-year-tab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.25);
}

.personel-detail-ders-year-tab.is-active {
    background: linear-gradient(135deg, var(--kku-blue, #1e88e5) 0%, #1565c0 100%);
    border-color: #1565c0;
    color: #fff;
    box-shadow: 0 4px 14px rgba(21, 101, 192, 0.32);
    transform: translateY(-1px);
}

.personel-detail-ders-year-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    background: rgba(100, 116, 139, 0.14);
    color: inherit;
}

.personel-detail-ders-year-tab.is-active .personel-detail-ders-year-tab-count {
    background: rgba(255, 255, 255, 0.24);
}

/* Eski tablo satırı yıl başlığı (legacy) */
.personel-detail-ders-year-row {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.personel-detail-ders-year-row td {
    padding: 10px 16px;
    font-weight: 600;
    color: #475569;
    font-size: 0.95rem;
}
.personel-detail-ders-year-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ├ûzge├ğmi┼ş ve Dersler Kartlar─▒ */
.biography-section, .courses-section {
    margin-top: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--kku-red);
    transition: all 0.3s ease;
}

.courses-section {
    border-top-color: var(--kku-blue);
}

.biography-section:hover, .courses-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.biography-section h4, .courses-section h4 {
    color: var(--kku-red);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.courses-section h4 {
    color: var(--kku-blue);
}

.biography-section h4 i, .courses-section h4 i {
    margin-right: 10px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--kku-gradient-red);
    color: white;
    border-radius: 10px;
    font-size: 1rem;
}

.courses-section h4 i {
    background: var(--kku-gradient-blue);
}

.biography-text {
    color: #555;
    line-height: 1.8;
}

.courses-list {
    list-style: none;
    padding: 0;
}

.courses-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 25px;
    color: #555;
}

.courses-list li:last-child {
    border-bottom: none;
}

.courses-list li::before {
    content: 'Ôû©';
    position: absolute;
    left: 0;
    color: var(--kku-blue);
    font-weight: bold;
}

.course-code {
    color: #999;
    font-size: 0.9rem;
}

.more-courses {
    color: var(--kku-red);
    font-weight: 600;
}

/* Modern Tab Navigation */
.profile-content-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    animation: slideInUp 0.8s ease-out 1s both;
}

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

.nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    border: none;
}

.nav-tabs .nav-link {
    background: transparent;
    border: 2px solid transparent;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.nav-tabs .nav-link::before {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--kku-gradient-mixed);
    transition: width 0.3s ease;
}

.nav-tabs .nav-link:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(0, 51, 102, 0.1) 100%);
    color: var(--kku-red);
    border-color: transparent;
}

.nav-tabs .nav-link.active {
    background: var(--kku-gradient-mixed);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.nav-tabs .nav-link.active::before {
    width: 100%;
}

.nav-tabs .nav-link .badge {
    background: rgba(255, 255, 255, 0.3);
    color: inherit;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 5px;
}

.nav-tabs .nav-link.active .badge {
    background: rgba(255, 255, 255, 0.4);
}

/* Tab Content */
.tab-content {
    min-height: 400px;
}

.tab-pane {
    animation: fadeInTab 0.4s ease-out;
}

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

/* Search and Filter Section */
.tab-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    align-items: center;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--kku-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.filter-dropdown {
    min-width: 200px;
}

.filter-dropdown select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-dropdown select:focus {
    outline: none;
    border-color: var(--kku-blue);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.results-info {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-info strong {
    color: var(--kku-red);
}

.view-toggle {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.view-toggle .view-btn {
    border: 1px solid #e0e0e0;
    background: white;
    color: #555;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.view-toggle .view-btn:hover {
    color: var(--kku-blue);
    border-color: var(--kku-blue);
}

.view-toggle .view-btn.active {
    background: var(--kku-gradient-mixed);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(0, 51, 102, 0.2);
}

/* Content Cards Grid */
.content-list {
    width: 100%;
}

.content-list.card-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.content-list.list-view {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.content-list.list-view .content-item {
    width: 100%;
}

.content-item {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--kku-red);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: cardSlideIn 0.5s ease-out both;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.content-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--kku-gradient-mixed);
    transition: width 0.3s ease;
}

.content-item:hover {
    transform: translateY(-5px) translateX(5px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
}

.content-item:hover::before {
    width: 100%;
    opacity: 0.05;
}

.content-item:nth-child(even) {
    border-left-color: var(--kku-blue);
}

.content-item h5 {
    color: var(--kku-red);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.content-item:nth-child(even) h5 {
    color: var(--kku-blue);
}

.content-item .description {
    color: #555;
    line-height: 1.8;
    margin: 15px 0;
    position: relative;
    z-index: 1;
}

.content-item .meta {
    color: #999;
    font-size: 0.9rem;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.content-item .meta i {
    color: var(--kku-red);
}

.content-item:nth-child(even) .meta i {
    color: var(--kku-blue);
}

/* Course Badges */
.course-details {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.course-details .badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.badge-primary {
    background: var(--kku-gradient-red);
}

.badge-info {
    background: var(--kku-gradient-blue);
}

.badge-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.badge-secondary {
    background: linear-gradient(135deg, #6f42c1 0%, #8b5cf6 100%);
}

/* ----- Tablo + Kart Sat─▒r (T├╝m listeler: arama, filtreleme, sayfalama) ----- */
.personel-detail-datatable {
    margin-top: 0;
    padding: 0;
}
.personel-detail-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.06);
}
.personel-detail-toolbar .personel-detail-search-wrap {
    flex: 1;
    min-width: 220px;
    position: relative;
}
.personel-detail-toolbar .personel-detail-search-wrap input {
    width: 100%;
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.personel-detail-toolbar .personel-detail-search-wrap input:focus {
    outline: none;
    border-color: var(--kku-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.personel-detail-toolbar .personel-detail-search-wrap i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}
.personel-detail-toolbar .personel-detail-page-size-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.personel-detail-toolbar .personel-detail-page-size-wrap label {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}
.personel-detail-toolbar .personel-detail-page-size-wrap select {
    padding: 0.5rem 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #fff;
    cursor: pointer;
}
.personel-detail-toolbar .personel-detail-sort-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.personel-detail-toolbar .personel-detail-sort-wrap label {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}
.personel-detail-toolbar .personel-detail-sort-wrap select {
    padding: 0.5rem 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #fff;
    cursor: pointer;
    min-width: 160px;
}
/* Sayfalama toolbar i├ğinde: ayn─▒ sat─▒rda Ara + Sayfa ba┼ş─▒na + S─▒rala + sayfa bilgisi + kontroller */
.personel-detail-pagination.personel-detail-pagination-in-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin: 0;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    justify-content: flex-end;
}
.personel-detail-pagination.personel-detail-pagination-in-toolbar .personel-detail-page-size-wrap.personel-detail-pagination-page-size {
    display: inline-flex;
}
.personel-detail-pagination.personel-detail-pagination-in-toolbar .personel-detail-pagination-info,
.personel-detail-pagination.personel-detail-pagination-in-toolbar .personel-detail-pagination-page-info {
    font-size: 0.875rem;
    color: #555;
}
.personel-detail-pagination.personel-detail-pagination-in-toolbar .personel-detail-pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.personel-detail-pagination.personel-detail-pagination-in-toolbar .personel-detail-pagination-controls button {
    padding: 0.45rem 0.75rem;
    font-size: 0.85rem;
}
.personel-detail-pagination.personel-detail-pagination-in-toolbar .personel-detail-pagination-numbers {
    order: 0;
}
.personel-detail-pagination.personel-detail-pagination-in-toolbar .personel-detail-pagination-goto {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.personel-detail-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
}
.personel-detail-table-wrap table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin: 0;
    padding: 0 10px 10px;
}
/* Birinci s├╝tun (ba┼şl─▒k / ana metin): kalan geni┼şli─şi als─▒n; uzun metin ta┼şmas─▒n */
.personel-detail-table-wrap thead th:first-child,
.personel-detail-table-wrap tbody tr.personel-detail-card-row td:first-child {
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.personel-detail-table-wrap thead th {
    text-align: left;
    padding: 12px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #555;
    border-bottom: 2px solid #eee;
    white-space: nowrap;
}
/* Zebra + shimmer: sat─▒rlar JS ile .personel-detail-row-odd / .personel-detail-row-even al─▒r */
.personel-detail-table-wrap tbody tr.personel-detail-card-row {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}
.personel-detail-table-wrap tbody tr.personel-detail-card-row.personel-detail-row-odd {
    background: #fff;
}
.personel-detail-table-wrap tbody tr.personel-detail-card-row.personel-detail-row-even {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}
.personel-detail-table-wrap tbody tr.personel-detail-card-row td:first-child {
    border-left: 4px solid var(--kku-red);
    border-radius: 12px 0 0 12px;
}
.personel-detail-table-wrap tbody tr.personel-detail-card-row.personel-detail-row-even td:first-child {
    border-left-color: var(--kku-blue);
}
/* Shimmer: hover'da hafif ─▒┼ş─▒k ge├ği┼şi */
.personel-detail-table-wrap tbody tr.personel-detail-card-row::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}
.personel-detail-table-wrap tbody tr.personel-detail-card-row:hover::after {
    left: 100%;
}
.personel-detail-table-wrap tbody tr.personel-detail-card-row:hover {
    box-shadow: 0 6px 24px rgba(220, 38, 38, 0.12);
}
.personel-detail-table-wrap tbody tr.personel-detail-card-row td {
    padding: 1rem 1.25rem;
    vertical-align: top;
    border: none;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}
.personel-detail-table-wrap tbody tr.personel-detail-card-row td:last-child {
    border-radius: 0 12px 12px 0;
}
.personel-detail-table-wrap tbody tr.personel-detail-card-row .cell-title {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}
.personel-detail-table-wrap tbody tr.personel-detail-card-row .cell-meta {
    font-size: 0.875rem;
    color: #666;
}
.personel-detail-table-wrap tbody tr.personel-detail-card-row a.personel-detail-link {
    color: var(--kku-red);
    text-decoration: none;
    font-weight: 500;
}
.personel-detail-table-wrap tbody tr.personel-detail-card-row a.personel-detail-link:hover {
    text-decoration: underline;
}

/* Sekme bazl─▒ s├╝tun da─ş─▒l─▒m─▒: ana metin s├╝tunu geni┼ş, k─▒sa alanlar sabit dar geni┼şlik */
.personel-detail-datatable[data-tab="yayinlar"] .personel-detail-table-wrap thead th:nth-child(2),
.personel-detail-datatable[data-tab="yayinlar"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(2) {
    width: 4.75rem;
    max-width: 5.25rem;
    white-space: nowrap;
}
.personel-detail-datatable[data-tab="yayinlar"] .personel-detail-table-wrap thead th:nth-child(3),
.personel-detail-datatable[data-tab="yayinlar"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(3) {
    width: 6rem;
    max-width: 7rem;
    white-space: nowrap;
}
.personel-detail-datatable[data-tab="yayinlar"] .personel-detail-table-wrap thead th:nth-child(4),
.personel-detail-datatable[data-tab="yayinlar"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(4) {
    width: 7.5rem;
    max-width: 8.5rem;
    white-space: nowrap;
}

.personel-detail-datatable[data-tab="dersler"] .personel-detail-table-wrap thead th:nth-child(2),
.personel-detail-datatable[data-tab="dersler"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(2) {
    width: 7rem;
    max-width: 8rem;
    white-space: nowrap;
}
.personel-detail-datatable[data-tab="dersler"] .personel-detail-table-wrap thead th:nth-child(3),
.personel-detail-datatable[data-tab="dersler"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(3) {
    width: 28%;
    max-width: 32%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.personel-detail-datatable[data-tab="projeler"] .personel-detail-table-wrap thead th:nth-child(1),
.personel-detail-datatable[data-tab="projeler"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(1) {
    width: 38%;
}
.personel-detail-datatable[data-tab="projeler"] .personel-detail-table-wrap thead th:nth-child(2),
.personel-detail-datatable[data-tab="projeler"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(2) {
    width: 62%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.personel-detail-datatable[data-tab="tezler"] .personel-detail-table-wrap thead th:nth-child(2),
.personel-detail-datatable[data-tab="tezler"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(2) {
    width: 9rem;
    max-width: 11rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.personel-detail-datatable[data-tab="tezler"] .personel-detail-table-wrap thead th:nth-child(3),
.personel-detail-datatable[data-tab="tezler"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(3) {
    width: 5.5rem;
    max-width: 6rem;
    white-space: nowrap;
}
.personel-detail-datatable[data-tab="tezler"] .personel-detail-table-wrap thead th:nth-child(4),
.personel-detail-datatable[data-tab="tezler"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(4) {
    width: 22%;
    max-width: 26%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.personel-detail-datatable[data-tab="yonetilen-tezler"] .personel-detail-table-wrap thead th:nth-child(2),
.personel-detail-datatable[data-tab="yonetilen-tezler"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(2) {
    width: 18%;
    max-width: 22%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.personel-detail-datatable[data-tab="yonetilen-tezler"] .personel-detail-table-wrap thead th:nth-child(3),
.personel-detail-datatable[data-tab="yonetilen-tezler"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(3) {
    width: 9rem;
    max-width: 10rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.personel-detail-datatable[data-tab="yonetilen-tezler"] .personel-detail-table-wrap thead th:nth-child(4),
.personel-detail-datatable[data-tab="yonetilen-tezler"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(4) {
    width: 5.5rem;
    max-width: 6rem;
    white-space: nowrap;
}

.personel-detail-datatable[data-tab="sertifikalar"] .personel-detail-table-wrap thead th:nth-child(2),
.personel-detail-datatable[data-tab="sertifikalar"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(2) {
    width: 8.5rem;
    max-width: 9.5rem;
    white-space: nowrap;
}
.personel-detail-datatable[data-tab="sertifikalar"] .personel-detail-table-wrap thead th:nth-child(3),
.personel-detail-datatable[data-tab="sertifikalar"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(3) {
    width: 42%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.personel-detail-datatable[data-tab="oduller"] .personel-detail-table-wrap thead th:nth-child(2),
.personel-detail-datatable[data-tab="oduller"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(2) {
    width: 8.5rem;
    max-width: 9.5rem;
    white-space: nowrap;
}
.personel-detail-datatable[data-tab="oduller"] .personel-detail-table-wrap thead th:nth-child(3),
.personel-detail-datatable[data-tab="oduller"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(3) {
    width: 42%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.personel-detail-datatable[data-tab="patentler"] .personel-detail-table-wrap thead th:nth-child(2),
.personel-detail-datatable[data-tab="patentler"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(2) {
    width: 8.5rem;
    max-width: 9.5rem;
    white-space: nowrap;
}
.personel-detail-datatable[data-tab="patentler"] .personel-detail-table-wrap thead th:nth-child(3),
.personel-detail-datatable[data-tab="patentler"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(3) {
    width: 42%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.personel-detail-datatable[data-tab="mesleki-deneyimler"] .personel-detail-table-wrap thead th:nth-child(2),
.personel-detail-datatable[data-tab="mesleki-deneyimler"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(2) {
    width: 14%;
    max-width: 18%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.personel-detail-datatable[data-tab="mesleki-deneyimler"] .personel-detail-table-wrap thead th:nth-child(3),
.personel-detail-datatable[data-tab="mesleki-deneyimler"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(3) {
    width: 10rem;
    max-width: 11rem;
    white-space: nowrap;
}
.personel-detail-datatable[data-tab="mesleki-deneyimler"] .personel-detail-table-wrap thead th:nth-child(4),
.personel-detail-datatable[data-tab="mesleki-deneyimler"] .personel-detail-table-wrap tbody tr.personel-detail-card-row td:nth-child(4) {
    width: 32%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.personel-detail-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
}
/* Sayfa ba┼ş─▒na: sayfalama sat─▒r─▒nda, di─şer ├Â─şelerle yan yana */
.personel-detail-pagination .personel-detail-page-size-wrap.personel-detail-pagination-page-size {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.personel-detail-pagination .personel-detail-page-size-wrap.personel-detail-pagination-page-size label {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    white-space: nowrap;
}
.personel-detail-pagination .personel-detail-page-size-wrap.personel-detail-pagination-page-size select {
    padding: 0.4rem 0.6rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9rem;
    background: #fff;
    cursor: pointer;
    min-width: 4rem;
}
.personel-detail-pagination .personel-detail-page-size-wrap.personel-detail-pagination-page-size select:focus {
    outline: none;
    border-color: var(--kku-red);
}
.personel-detail-pagination .personel-detail-pagination-info {
    font-size: 0.9rem;
    color: #555;
}
.personel-detail-pagination .personel-detail-pagination-info strong {
    color: var(--kku-red);
}
/* Modern sayfalama: numaral─▒ butonlar + ─░lk/├ûnceki/Sonraki/Son */
.personel-detail-pagination-numbers {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.personel-detail-pagination-num,
.personel-detail-pagination-ellipsis {
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e7eb;
    background: #fff;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s ease;
}
.personel-detail-pagination-num:hover:not(.active) {
    border-color: var(--kku-red);
    background: rgba(220, 38, 38, 0.06);
    color: var(--kku-red);
    transform: translateY(-1px);
}
.personel-detail-pagination-num.active {
    border-color: var(--kku-red);
    background: var(--kku-gradient-red);
    color: #fff;
    cursor: default;
    pointer-events: none;
}
.personel-detail-pagination-ellipsis {
    border: none;
    background: transparent;
    cursor: default;
    color: #9ca3af;
    font-weight: 400;
}
.personel-detail-pagination .personel-detail-pagination-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.personel-detail-pagination .personel-detail-pagination-controls button {
    padding: 0.5rem 0.85rem;
    border: 2px solid #e5e7eb;
    background: #fff;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.personel-detail-pagination .personel-detail-pagination-controls button:hover:not(:disabled) {
    border-color: var(--kku-red);
    background: rgba(220, 38, 38, 0.06);
    color: var(--kku-red);
}
.personel-detail-pagination .personel-detail-pagination-controls button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.personel-detail-pagination .personel-detail-pagination-page-info {
    font-size: 0.9rem;
    color: #666;
    min-width: 100px;
    text-align: center;
}
/* Sayfa numaras─▒na git: input + Git butonu */
.personel-detail-pagination .personel-detail-pagination-goto {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.personel-detail-pagination .personel-detail-pagination-goto input {
    width: 3.5rem;
    padding: 0.4rem 0.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
}
.personel-detail-pagination .personel-detail-pagination-goto input:focus {
    outline: none;
    border-color: var(--kku-red);
}
.personel-detail-pagination .personel-detail-pagination-goto-btn {
    padding: 0.4rem 0.75rem;
    border: 2px solid var(--kku-red);
    background: #fff;
    color: var(--kku-red);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.personel-detail-pagination .personel-detail-pagination-goto-btn:hover {
    background: var(--kku-red);
    color: #fff;
}
@media (max-width: 768px) {
    .personel-detail-table-wrap table { border-spacing: 0 8px; padding: 0 8px 8px; }
    .personel-detail-table-wrap thead th,
    .personel-detail-table-wrap tbody tr.personel-detail-card-row td { padding: 0.75rem 1rem; }
    .personel-detail-pagination:not(.personel-detail-pagination-in-toolbar) { flex-direction: column; align-items: stretch; text-align: center; gap: 0.75rem; }
    .personel-detail-pagination-numbers { justify-content: center; }
    .personel-detail-pagination .personel-detail-pagination-controls { justify-content: center; }
    .personel-detail-pagination.personel-detail-pagination-in-toolbar { margin-left: 0; width: 100%; justify-content: center; }
    .personel-detail-toolbar { flex-direction: column; align-items: stretch; }
    .personel-detail-toolbar .personel-detail-search-wrap { min-width: 0; }
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pagination-btn {
    padding: 10px 18px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--kku-gradient-mixed);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    color: #666;
    font-size: 0.9rem;
    margin: 0 10px;
}

.page-size-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-size-selector select {
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.page-size-selector select:focus {
    outline: none;
    border-color: var(--kku-blue);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ddd;
}

.empty-state h4 {
    color: #666;
    margin-bottom: 10px;
}

/* Hidden class */
.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-header-section .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-image-container {
        margin-bottom: 20px;
    }

    .profile-name {
        font-size: 1.8rem;
    }

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

    .nav-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .tab-controls {
        flex-direction: column;
    }

    .search-box, .filter-dropdown {
        width: 100%;
    }

    .personel-detail-hero-contact {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .profile-name {
        font-size: 1.5rem;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .nav-tabs .nav-link {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .nav-tabs .badge {
        font-size: 0.75rem;
        padding: 2px 6px;
    }
}

/* Stagger Animation - kartlar s─▒rayla belirir */
.content-item {
    animation: cardSlideIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.content-item:nth-child(1)  { animation-delay: 0.05s; }
.content-item:nth-child(2)  { animation-delay: 0.1s; }
.content-item:nth-child(3)  { animation-delay: 0.15s; }
.content-item:nth-child(4)  { animation-delay: 0.2s; }
.content-item:nth-child(5)  { animation-delay: 0.25s; }
.content-item:nth-child(6)  { animation-delay: 0.3s; }
.content-item:nth-child(7)  { animation-delay: 0.35s; }
.content-item:nth-child(8)  { animation-delay: 0.4s; }
.content-item:nth-child(9)  { animation-delay: 0.45s; }
.content-item:nth-child(10) { animation-delay: 0.5s; }
.content-item:nth-child(n+11) { animation-delay: 0.55s; }

/* Tab butonlar─▒ s─▒rayla giri┼ş */
.nav-tabs .nav-item {
    opacity: 0;
    animation: tabFadeIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.nav-tabs .nav-item:nth-child(1)  { animation-delay: 0.15s; }
.nav-tabs .nav-item:nth-child(2)  { animation-delay: 0.2s; }
.nav-tabs .nav-item:nth-child(3)  { animation-delay: 0.25s; }
.nav-tabs .nav-item:nth-child(4)  { animation-delay: 0.3s; }
.nav-tabs .nav-item:nth-child(5)  { animation-delay: 0.35s; }
.nav-tabs .nav-item:nth-child(6)  { animation-delay: 0.4s; }
.nav-tabs .nav-item:nth-child(7)  { animation-delay: 0.45s; }
.nav-tabs .nav-item:nth-child(8)  { animation-delay: 0.5s; }
.nav-tabs .nav-item:nth-child(9)  { animation-delay: 0.55s; }
.nav-tabs .nav-item:nth-child(10) { animation-delay: 0.6s; }
.nav-tabs .nav-item:nth-child(n+11) { animation-delay: 0.65s; }
@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ├£st bilgi kartlar─▒ (├Âzge├ğmi┼ş, dersler) animasyonlu */
.info-cards-grid .info-card {
    opacity: 0;
    animation: cardSlideIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.info-cards-grid .info-card:nth-child(1) { animation-delay: 0.35s; }
.info-cards-grid .info-card:nth-child(2) { animation-delay: 0.45s; }
.info-cards-grid .info-card:nth-child(3) { animation-delay: 0.55s; }

/* ─░leti┼şim kartlar─▒ hafif gecikmeli */
.contact-item {
    opacity: 0;
    animation: contactPop 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.contact-item:nth-child(1) { animation-delay: 0.25s; }
.contact-item:nth-child(2) { animation-delay: 0.32s; }
.contact-item:nth-child(3) { animation-delay: 0.39s; }
@keyframes contactPop {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Tab de─şi┼şiminde i├ğerik yumu┼şak ge├ği┼ş */
.tab-pane {
    animation: fadeInTab 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.tab-pane .content-list .content-item {
    animation: cardSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Alt b├Âl├╝m (tab alan─▒) daha belirgin giri┼ş */
.profile-content-section {
    animation: slideInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

/* ========== Admin Personel/Detail benzeri yap─▒ (hero + dikey b├Âl├╝mler) ========== */
.personel-detail-page-hdr { margin-bottom: 1.25rem; }
.personel-detail-page-hdr h1 { font-size: 1.75rem; font-weight: 800; color: var(--kku-blue); margin: 0 0 .25rem 0; }
.personel-detail-page-hdr p { font-size: .95rem; color: #64748b; margin: 0; }

.personel-detail-hero {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08), 0 0 0 1px var(--glass-border);
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}
.personel-detail-hero-bg {
    position: absolute; top: 0; left: 0; right: 0; height: 140px;
    background: linear-gradient(135deg, var(--kku-red) 0%, var(--kku-red-dark) 50%, var(--kku-blue) 100%);
    opacity: .08;
}
.personel-detail-hero-body {
    position: relative;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 3.5rem 1.5rem 2rem !important;
}

/* ===== QR Kod: hero-body sa─ş ├╝st k├Â┼şe ===== */
.personel-detail-qr-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 0 0 0 14px;
    padding: 8px;
    box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.1);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.personel-detail-qr-link {
    display: block;
    line-height: 0;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.personel-detail-qr-link:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}
.personel-detail-qr-img {
    width: 72px;
    height: 72px;
    display: block;
    object-fit: contain;
}
.personel-detail-qr-download {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--kku-red);
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
}
.personel-detail-qr-download:hover {
    background: var(--kku-red);
    color: #fff;
}

/* ===== QR Kod b├╝y├╝k modal ===== */
.personel-qr-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}
.personel-qr-modal.show { display: flex; }
.personel-qr-modal-backdrop {
    position: absolute; inset: 0; cursor: pointer;
}
.personel-qr-modal-content {
    position: relative; z-index: 1;
    background: #fff; border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    padding: 0; min-width: 320px; max-width: 360px;
    animation: kkuModalPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.personel-qr-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.25rem; border-bottom: 1px solid #e2e8f0;
}
.personel-qr-modal-title {
    margin: 0; font-size: 1.1rem; font-weight: 700; color: #1e293b;
}
.personel-qr-modal-close {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; line-height: 1; color: #64748b;
    background: none; border: none; border-radius: 8px;
    cursor: pointer; transition: background 0.2s ease, color 0.2s ease;
}
.personel-qr-modal-close:hover { background: #f1f5f9; color: #1e293b; }
.personel-qr-modal-body {
    padding: 1.5rem 1.25rem; text-align: center;
}
.personel-qr-modal-img {
    width: 256px; height: 256px; display: block;
    margin: 0 auto 1rem; object-fit: contain;
}
.personel-qr-modal-download-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; background: var(--kku-red); color: #fff;
    border-radius: 10px; font-weight: 600; text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.personel-qr-modal-download-btn:hover {
    background: var(--kku-red-dark); color: #fff; transform: translateY(-1px);
}
@media (max-width: 768px) {
    .personel-detail-qr-wrap { padding: 6px; }
    .personel-detail-qr-img { width: 56px; height: 56px; }
    .personel-qr-modal-img { width: 200px; height: 200px; }
}
.personel-detail-hero-avatar { flex-shrink: 0; }
.personel-detail-hero-avatar img {
    width: 200px; height: 260px; object-fit: cover; border-radius: 16px;
    border: 4px solid #fff; box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.personel-detail-hero-avatar img.is-hidden { display: none; }
.personel-detail-hero-avatar-initials {
    width: 200px;
    height: 260px;
    border-radius: 16px;
    border: 4px solid #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--kku-red, #c8102e) 0%, var(--kku-red-dark, #8b0015) 100%);
    color: #fff;
    font-size: 3.25rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    user-select: none;
}
.personel-detail-hero-avatar-initials.is-hidden { display: none; }
.personel-detail-hero-avatar--initials { cursor: default; }
.personel-detail-hero-avatar--initials .personel-detail-hero-avatar-zoom { display: none; }
/* Foto ├╝zerine gelince b├╝y├╝te├ğ, t─▒klan─▒nca lightbox */
.personel-detail-hero-avatar--clickable {
    position: relative;
    cursor: pointer;
    display: inline-block;
}
.personel-detail-hero-avatar-zoom {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.personel-detail-hero-avatar--clickable:hover .personel-detail-hero-avatar-zoom {
    opacity: 1;
}
.personel-detail-hero-avatar-zoom i {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.personel-detail-hero-avatar-placeholder {
    width: 200px; height: 260px; border-radius: 16px;
    background: linear-gradient(145deg, var(--kku-red) 0%, var(--kku-red-dark) 100%);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.9); font-size: 3rem;
}
.personel-detail-hero-meta { flex: 1; min-width: 260px; }
/* ├£nvan ve isim ayn─▒ sat─▒rda; ├╝nvan vurgulu */
.personel-detail-hero-name {
    font-size: 1.65rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 .35rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.55rem;
    line-height: 1.25;
}
.personel-detail-hero-name .personel-detail-hero-unvan-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    max-width: 100%;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
    padding: 0.28rem 0.6rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.22);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.personel-detail-hero-name .personel-detail-hero-name-text {
    font-size: 1.65rem;
    font-weight: 800;
    color: #1e293b;
    min-width: 0;
}
.personel-detail-hero-subtitle { font-size: .95rem; color: #64748b; margin: 0 0 0.75rem 0; }
/* Akademik personel: profil linkleri (Google Scholar, Scopus, ORCID, ResearchGate, Y├ûK) */
.personel-detail-academic-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem 0;
}
.personel-detail-academic-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.personel-detail-academic-link:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #fff;
}
.personel-detail-academic-link-icon { line-height: 1; }
.personel-detail-academic-link--google-scholar { background: #fff; color: #4285f4; border: 1px solid #dadce0; }
.personel-detail-academic-link--google-scholar:hover { background: #f8f9fa; color: #4285f4; }
.personel-detail-academic-link--scopus { background: #e87722; color: #fff; }
.personel-detail-academic-link--orcid { background: #a6ce39; color: #fff; }
.personel-detail-academic-link--researchgate { background: #00ccbb; color: #fff; }
.personel-detail-academic-link--yok { background: #c8102e; color: #fff; }
.personel-detail-academic-link-icon--yok { font-size: 0.6rem; }
.personel-detail-academic-link--wos { background: #003366; color: #fff; }

/* Akademik metrikler - kaynak bazl─▒ kartlar */
.personel-detail-academic-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0 0 0;
}
.personel-detail-metric-card {
    padding: 0.65rem 1rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    min-width: 140px;
}
.personel-detail-metric-card-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 0.35rem;
}
.personel-detail-metric-card-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}
.personel-detail-metric-item {
    font-size: 0.85rem;
    color: #334155;
}
.personel-detail-metric-value {
    font-weight: 700;
    color: var(--kku-red);
    margin-right: 0.2rem;
}
.personel-detail-metric-card--gs { border-left: 4px solid #4285f4; }
.personel-detail-metric-card--scopus { border-left: 4px solid #e87722; }
.personel-detail-metric-card--rg { border-left: 4px solid #00ccbb; }
.personel-detail-metric-card--orcid { border-left: 4px solid #a6ce39; }
.personel-detail-metric-card--wos { border-left: 4px solid #003366; }

/* Akademik metrik sekmeleri (WoS / Google Scholar) */
.personel-metric-tab-pane {
    padding: 1.25rem 1.5rem 1.5rem;
}
.personel-metric-tab-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.personel-metric-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}
.personel-metric-tab-badge--wos { background: #003366; }
.personel-metric-tab-badge--gs { background: #4285f4; }
.personel-metric-tab-badge--scopus { background: #e9711c; }
.personel-metric-tab-badge--rg { background: #00857c; }
.personel-metric-tab-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}
.personel-metric-tab-subtitle {
    font-size: 0.85rem;
    margin-top: 0.25rem;
}
.personel-metric-tab-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}
.personel-metric-tab-profile-btn--wos { background: #003366; }
.personel-metric-tab-profile-btn--wos:hover { background: #004080; color: #fff; transform: translateY(-1px); }
.personel-metric-tab-profile-btn--gs { background: #4285f4; }
.personel-metric-tab-profile-btn--gs:hover { background: #1a73e8; color: #fff; transform: translateY(-1px); }
.personel-metric-tab-profile-btn--scopus { background: #e9711c; }
.personel-metric-tab-profile-btn--scopus:hover { background: #c45f12; color: #fff; transform: translateY(-1px); }
.personel-metric-tab-profile-btn--rg { background: #00857c; }
.personel-metric-tab-profile-btn--rg:hover { background: #006c65; color: #fff; transform: translateY(-1px); }
.personel-metric-tab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}
.personel-metric-tab-card {
    padding: 1rem 1.1rem;
    border-radius: 14px;
    text-align: center;
}
.personel-metric-tab-card--wos {
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}
.personel-metric-tab-card--gs {
    border: 1px solid #c6dafc;
    background: linear-gradient(180deg, #f8fbff 0%, #e8f0fe 100%);
}
.personel-metric-tab-card--scopus {
    border: 1px solid #f5d0b0;
    background: linear-gradient(180deg, #fffaf5 0%, #ffedd5 100%);
}
.personel-metric-tab-card--rg {
    border: 1px solid #b7e5e0;
    background: linear-gradient(180deg, #f5fdfc 0%, #e0f6f3 100%);
}
.personel-metric-tab-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
}
.personel-metric-tab-card--wos .personel-metric-tab-value { color: #003366; }
.personel-metric-tab-card--gs .personel-metric-tab-value { color: #1967d2; }
.personel-metric-tab-card--rg .personel-metric-tab-value { color: #00857c; }
.personel-gs-yillik-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
    min-height: 140px;
    padding: 0.5rem 0 0;
    overflow-x: auto;
}
.personel-gs-yillik-bar-wrap {
    flex: 1 1 36px;
    min-width: 36px;
    max-width: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 140px;
}
.personel-gs-yillik-bar {
    width: 100%;
    max-width: 28px;
    background: linear-gradient(180deg, #4285f4 0%, #1967d2 100%);
    border-radius: 4px 4px 0 0;
    min-height: 0;
}
.personel-gs-yillik-year {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    color: #64748b;
}
.personel-gs-yillik-count {
    font-size: 0.68rem;
    font-weight: 700;
    color: #1967d2;
}
.personel-scopus-yillik-bar {
    background: linear-gradient(180deg, #fb923c 0%, #c2410c 100%);
}
.personel-scopus-yillik-chart .personel-gs-yillik-count {
    color: #c2410c;
}
.personel-rg-yillik-bar {
    background: linear-gradient(180deg, #14b8a6 0%, #0f766e 100%);
}
.personel-rg-yillik-chart .personel-gs-yillik-count {
    color: #0f766e;
}
.personel-metric-tab-card--scopus .personel-metric-tab-value { color: #c2410c; }
.kku-yayin-atif-metric-grid { margin: 0.5rem 0 1rem; }
.kku-yayin-atif-metric-grid .personel-metric-tab-badge { margin-bottom: 0.5rem; }
.personel-metric-tab-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
}
.personel-metric-tab-yayinlar-wrap { margin-top: 0.5rem; }
.personel-metric-tab-yayinlar-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}
.personel-metric-tab-yayinlar-title .badge { font-size: 0.72rem; }
.personel-metric-tab-note {
    margin-top: -0.5rem;
    margin-bottom: 1.25rem;
}
.personel-metric-tab-empty-note {
    padding: 1rem 1.1rem;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    color: #334155;
}
.personel-metric-tab-empty-note .text-muted { color: #64748b !important; }

/* Geriye dönük sınıf adları */
.personel-wos-tab-pane { padding: 1.25rem 1.5rem 1.5rem; }
.personel-wos-empty-note {
    padding: 1rem 1.1rem;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    color: #334155;
}

/* Yay─▒n kaynak badge — stiller personel-birlesik-kaynak-chip bloğunda (aşağıda) güncellenir */

/* ─░sim kart─▒n─▒n sa─ş─▒nda: ─░leti┼şim + PDF / Payla┼ş butonlar─▒ (modern kart) */
.personel-detail-hero-contact {
    flex-shrink: 0;
    min-width: 240px;
    max-width: 320px;
    padding: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.personel-detail-hero-contact:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    border-color: #cbd5e1;
}
.personel-detail-hero-contact-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}
.personel-detail-hero-contact-title i {
    color: var(--kku-red);
    font-size: 1rem;
    opacity: 0.9;
}
.personel-detail-hero-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
/* ─░leti┼şim chipÔÇÖleri: t─▒klanabilir e-posta/telefon */
.personel-detail-contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.9rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #334155;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.personel-detail-contact-chip i {
    color: var(--kku-red);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.personel-detail-contact-chip:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: var(--kku-red);
}
/* Birim analiz hero: ├Âzet sat─▒rlar─▒ (ileti┼şim chip g├Âr├╝n├╝m├╝, t─▒klanamaz) */
.personel-detail-contact-chip.birim-analiz-hero-stat-item {
    cursor: default;
    pointer-events: none;
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
}
.personel-detail-contact-chip.birim-analiz-hero-stat-item:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #334155;
}
.personel-detail-contact-chip.birim-analiz-hero-stat-item strong {
    font-weight: 700;
    color: var(--kku-red);
    margin-right: 0.35rem;
}
.personel-detail-contact-chip small {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 400;
}
/* Bo┼ş ileti┼şim durumu: modern empty state */
.personel-detail-hero-contact-empty {
    text-align: center;
    padding: 1rem 0.5rem;
}
.personel-detail-hero-contact-empty i {
    font-size: 1.75rem;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    display: block;
}
.personel-detail-hero-contact-empty p {
    margin: 0;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
}
.personel-detail-hero-contact--empty .personel-detail-hero-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}
/* PDF + Payla┼ş butonlar─▒ yan yana */
.personel-detail-hero-actions {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}
.personel-detail-pdf-btn,
.personel-detail-share-btn {
    flex: 1;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.personel-detail-pdf-btn {
    color: #b91c1c;
    background: #fef2f2;
    border: 2px solid #fecaca;
}
.personel-detail-pdf-btn:hover {
    background: #fee2e2;
    border-color: #f87171;
    color: #991b1b;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}
.personel-detail-pdf-btn i {
    font-size: 1.1rem;
}
.personel-detail-pdf-btn small {
    font-weight: 700;
    font-size: 0.75rem;
    opacity: 0.85;
}
.personel-detail-pdf-btn--en {
    color: #1e40af;
    background: #eff6ff;
    border: 2px solid #bfdbfe;
}
.personel-detail-pdf-btn--en:hover {
    background: #dbeafe;
    border-color: #60a5fa;
    color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}
.personel-detail-share-btn {
    color: #fff;
    background: var(--kku-gradient-mixed);
    border: 2px solid transparent;
}
.personel-detail-share-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    filter: brightness(1.05);
}
.personel-detail-share-btn i {
    font-size: 1rem;
}

/* ---------- Payla┼ş─▒m modal─▒ ve kart─▒ ---------- */
.personel-share-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.personel-share-modal--open {
    opacity: 1;
    visibility: visible;
}
.personel-share-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.personel-share-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: personelShareModalIn 0.3s ease-out;
}
@keyframes personelShareModalIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.personel-share-modal-content {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
}
.personel-share-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.35rem;
    background: var(--kku-gradient-mixed);
    color: #fff;
}
.personel-share-modal-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.personel-share-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.personel-share-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}
.personel-share-modal-body {
    padding: 1.35rem;
}
.personel-share-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: linear-gradient(160deg, #fefefe 0%, #f8fafc 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.1rem;
}
.personel-share-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--kku-gradient-mixed);
}
.personel-share-card-inner {
    padding: 1.1rem 1.25rem;
}
.personel-share-card-top {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.personel-share-card-photo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    flex-shrink: 0;
}
.personel-share-card-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #94a3b8;
    font-size: 1.75rem;
}
.personel-share-card-info {
    flex: 1;
    min-width: 0;
}
.personel-share-card-name {
    margin: 0 0 0.25rem 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.personel-share-card-subtitle {
    margin: 0 0 0.5rem 0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}
.personel-share-card-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
}
.personel-share-card-brand-logo {
    font-weight: 800;
    color: var(--kku-red);
    letter-spacing: 0.02em;
}
.personel-share-card-footer {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
    word-break: break-all;
}
.personel-share-card-footer i {
    color: var(--kku-red);
    flex-shrink: 0;
}
.personel-share-modal-hint {
    margin: 0 0 1rem 0;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}
.personel-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.personel-share-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.personel-share-action:hover {
    transform: translateY(-2px);
}
.personel-share-action-primary {
    width: 100%;
    background: var(--kku-gradient-mixed);
    color: #fff;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}
.personel-share-action-primary:hover {
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}
.personel-share-action-primary:disabled {
    opacity: 0.85;
    cursor: wait;
}
[data-action="copy-link"].personel-share-action {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}
[data-action="copy-link"].personel-share-action:hover {
    background: #e2e8f0;
    color: #334155;
}
.personel-share-action-whatsapp {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.personel-share-action-whatsapp:hover {
    background: #bbf7d0;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}
.personel-share-action-twitter {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}
.personel-share-action-twitter:hover {
    background: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.personel-share-action-linkedin {
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
}
.personel-share-action-linkedin:hover {
    background: #bfdbfe;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.personel-detail-info-grid {
    display: grid; gap: .75rem 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin-bottom: 1rem;
}
.personel-detail-info-item { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .5rem; }
.personel-detail-info-item i { font-size: 1rem; color: var(--kku-red); margin-right: .25rem; }
.personel-detail-info-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; }
.personel-detail-info-value { font-size: .9rem; color: #1e293b; word-break: break-word; }
.personel-detail-info-value a { color: var(--kku-blue); text-decoration: none; }
.personel-detail-info-value a:hover { text-decoration: underline; }
.personel-detail-biyografi {
    margin-top: 4rem;
    margin-left: -2rem;
    padding: 1rem 1.25rem;
    /* background: linear-gradient(135deg, rgba(220,38,38,.06) 0%, rgba(0,51,102,.04) 100%); */
    border-radius: 12px;
    border-left: 4px solid var(--kku-red);
}
.personel-detail-biyografi strong { font-size: .8rem; color: #64748b; display: block; margin-bottom: .4rem; }
.personel-detail-biyografi p { margin: 0; font-size: 1.05rem; color: #475569; line-height: 1.65; }
.personel-detail-biyografi-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Biyografi "Devam─▒n─▒ Oku" butonu */
.personel-biyografi-devami-btn {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: .6rem; padding: 0; background: none; border: none;
    font-size: .82rem; font-weight: 600; color: var(--kku-red);
    cursor: pointer; transition: color .2s ease, gap .2s ease;
}
.personel-biyografi-devami-btn:hover { color: var(--kku-red-dark); gap: 10px; }
.personel-biyografi-devami-btn i { font-size: .7rem; transition: transform .2s ease; }
.personel-biyografi-devami-btn:hover i { transform: translateX(2px); }

/* ===== Biyografi tam metin modal ===== */
.personel-biyografi-modal {
    display: none; position: fixed; z-index: 9999;
    left: 0; top: 0; width: 100%; height: 100%;
    align-items: center; justify-content: center;
    padding: 2rem;
}
.personel-biyografi-modal.show { display: flex; }
.personel-biyografi-modal-backdrop {
    position: absolute; inset: 0; cursor: pointer;
    background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px);
}
.personel-biyografi-modal-content {
    position: relative; z-index: 1;
    background: #fff; border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    padding: 0; width: 100%; max-width: 640px; max-height: 80vh;
    display: flex; flex-direction: column;
    animation: kkuModalPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.personel-biyografi-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.25rem; border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.personel-biyografi-modal-title {
    margin: 0; font-size: 1.1rem; font-weight: 700; color: #1e293b;
}
.personel-biyografi-modal-title i {
    margin-right: .5rem; color: var(--kku-red);
}
.personel-biyografi-modal-close {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; line-height: 1; color: #64748b;
    background: none; border: none; border-radius: 8px;
    cursor: pointer; transition: background 0.2s ease, color 0.2s ease;
}
.personel-biyografi-modal-close:hover { background: #f1f5f9; color: #1e293b; }
.personel-biyografi-modal-body {
    padding: 1.25rem 1.5rem; overflow-y: auto; flex: 1;
}
.personel-biyografi-modal-body p {
    margin: 0; font-size: .95rem; color: #334155; line-height: 1.7;
    white-space: pre-wrap; word-break: break-word;
}
@media (max-width: 640px) {
    .personel-biyografi-modal { padding: 1rem; }
    .personel-biyografi-modal-content { max-height: 90vh; border-radius: 12px; }
}

.personel-detail-section { margin-bottom: 1.25rem; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,.06); overflow: hidden; }
.personel-detail-section .card-header {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem;
    padding: 1rem 1.25rem; background: #f8fafc; border-bottom: 1px solid #e2e8f0;
    font-weight: 600; color: #1e293b;
}
.personel-detail-section .card-title { margin: 0; font-size: 1rem; }
.personel-detail-section .card-title i { margin-right: .5rem; color: var(--kku-red); }
.personel-detail-section .card-body { padding: 1.25rem; }
.personel-detail-ozgecmis { white-space: pre-wrap; font-size: .9rem; color: #475569; line-height: 1.65; max-height: 420px; overflow-y: auto; }
.personel-detail-empty { color: #94a3b8; margin: 0; font-size: .9rem; }

/* Bo┼ş durum kart─▒: tab ortas─▒nda, t├╝m sekmelerde ortak */
.personel-detail-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 2rem 1rem;
    text-align: center;
}
.personel-detail-empty-state-card {
    max-width: 320px;
    padding: 2rem 1.75rem;
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.personel-detail-empty-state-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.08);
    border-radius: 50%;
    color: var(--kku-red);
    font-size: 1.5rem;
}
.personel-detail-empty-state-icon i { margin: 0; }
.personel-detail-empty-state-title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
}
.personel-detail-empty-state-text {
    margin: 0;
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.45;
}
.personel-detail-list { list-style: none; padding: 0; margin: 0; }
.personel-detail-list-item {
    padding: .6rem 0; border-bottom: 1px solid #e2e8f0; font-size: .9rem; color: #1e293b;
}
.personel-detail-list-item:last-child { border-bottom: none; }
.personel-detail-meta { color: #94a3b8; font-size: .85rem; }
.personel-detail-link { color: var(--kku-red); text-decoration: none; font-weight: 500; }
.personel-detail-link:hover { text-decoration: underline; }
.personel-detail-more { margin: .75rem 0 0 0; font-size: .9rem; color: #64748b; }
.pill { display: inline-flex; align-items: center; padding: .25rem .6rem; border-radius: 9999px; font-size: .8rem; font-weight: 600; }
.pill-neutral { background: #e2e8f0; color: #475569; }
.personel-detail-tiles {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .75rem;
}
.personel-detail-tile {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    padding: .85rem 1rem; background: #f8fafc; border-radius: 12px; border: 1px solid #e2e8f0;
}
.personel-detail-tile-label { font-size: .85rem; font-weight: 500; color: #1e293b; }
.fade-up { animation: fadeUp 0.5s ease-out both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ├ûzet kartlar─▒ sarmalay─▒c─▒: isim kart─▒n─▒n alt─▒nda tek card i├ğinde */
.personel-summary-wrapper {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08), 0 0 0 1px var(--glass-border);
    overflow: visible;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}
.personel-summary-wrapper-header {
    padding: 1rem 1.25rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    color: #1e293b;
}
.personel-summary-wrapper-header .card-title {
    margin: 0;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.personel-summary-wrapper-header .card-title i {
    color: var(--kku-red);
}
.personel-summary-wrapper-body {
    padding: 1.25rem 1.5rem;
}

/* ├ûzet kartlar─▒ - Ana sayfa istatistik kartlar─▒ gibi (card i├ğinde) */
.personel-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
}
.personel-summary-card {
    border-radius: 20px;
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    border: none;
    cursor: pointer;
}
.personel-summary-card::before {
    content: '';
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    z-index: 0;
}
/* Arka plan efekti: hafif par─▒lt─▒ / gradient hareketi */
.personel-summary-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.06) 45%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.06) 55%, transparent 100%);
    background-size: 200% 100%;
    background-position: 150% 0;
    animation: personel-summary-shine 4s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}
.personel-summary-card:nth-child(1)::after { animation-delay: 0s; }
.personel-summary-card:nth-child(2)::after { animation-delay: 0.4s; }
.personel-summary-card:nth-child(3)::after { animation-delay: 0.8s; }
.personel-summary-card:nth-child(4)::after { animation-delay: 1.2s; }
.personel-summary-card:nth-child(5)::after { animation-delay: 1.6s; }
.personel-summary-card:nth-child(6)::after { animation-delay: 2s; }
.personel-summary-card:nth-child(7)::after { animation-delay: 2.4s; }
.personel-summary-card:nth-child(8)::after { animation-delay: 2.8s; }
.personel-summary-card:nth-child(9)::after { animation-delay: 3.2s; }
@keyframes personel-summary-shine {
    0%, 100% { background-position: 150% 0; opacity: 0.8; }
    50% { background-position: -50% 0; opacity: 1; }
}
.personel-summary-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    position: relative;
    z-index: 1;
    transition: background 0.3s ease, transform 0.3s ease;
}
.personel-summary-card-icon i {
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}
.personel-summary-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}
.personel-summary-card-number {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 1px rgba(0, 0, 0, 0.9);
}
.personel-summary-card-label {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 1px rgba(0, 0, 0, 0.9);
}
/* Her kart i├ğin farkl─▒ gradient (ana sayfa stat-card gibi) */
.personel-summary-card-0 { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.personel-summary-card-1 { background: linear-gradient(135deg, #2563EB, #1E40AF); }
.personel-summary-card-2 { background: linear-gradient(135deg, #7C3AED, #5B21B6); }
.personel-summary-card-3 { background: linear-gradient(135deg, #059669, #047857); }
.personel-summary-card-4 { background: linear-gradient(135deg, #0D9488, #0F766E); }
.personel-summary-card-5 { background: var(--kku-brand-gradient, linear-gradient(135deg, var(--kku-brand, #DC2626), var(--kku-brand-hover, #B91C1C))); }
.personel-summary-card-6 { background: linear-gradient(135deg, #EA580C, #C2410C); }
.personel-summary-card-7 { background: linear-gradient(135deg, #F59E0B, #D97706); }
.personel-summary-card-8 { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.personel-summary-card-atif { background: linear-gradient(135deg, #0D9488, #0F766E); }
.personel-summary-card-birlesik {
    background: linear-gradient(135deg, #6366F1, #4338CA);
    position: relative;
}
.personel-summary-card-demo {
    position: absolute;
    top: 0.45rem;
    right: 0.5rem;
    z-index: 2;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.15rem 0.4rem;
    border-radius: 0.35rem;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}
.badge.badge-demo {
    background: #f59e0b !important;
    color: #111 !important;
    font-weight: 700;
}
.personel-birlesik-test-note {
    border-radius: 0.5rem;
    font-size: 0.9rem;
}
.personel-birlesik-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}
.personel-birlesik-metric {
    font-size: 0.9rem;
    color: #475569;
}
.personel-birlesik-kaynak-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    margin: 0 0.28rem 0.28rem 0;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.01em;
    line-height: 1.2;
    border: 1px solid transparent;
    white-space: nowrap;
    vertical-align: middle;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    background: #f1f5f9;
    color: #334155;
}

.personel-birlesik-kaynak-chip::before {
    content: '';
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.85;
    flex-shrink: 0;
}

.personel-birlesik-kaynak-chip--yoksis {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-color: #fca5a5;
    color: #991b1b;
}

.personel-birlesik-kaynak-chip--googlescholar {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-color: #93c5fd;
    color: #1e40af;
}

.personel-birlesik-kaynak-chip--webofscience {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    border-color: #a5b4fc;
    color: #3730a3;
}

.personel-birlesik-kaynak-chip--scopus {
    background: linear-gradient(135deg, #ffedd5, #fed7aa);
    border-color: #fdba74;
    color: #9a3412;
}

.personel-birlesik-kaynak-chip--researchgate {
    background: linear-gradient(135deg, #ccfbf1, #99f6e4);
    border-color: #5eead4;
    color: #115e59;
}

.personel-birlesik-kaynak-chip--orcid {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border-color: #86efac;
    color: #166534;
}

.personel-birlesik-kaynak-chip--harici {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-color: #cbd5e1;
    color: #475569;
}

/* Yayın kaynak badge (diğer sekmeler) — aynı dil */
.personel-detail-yayin-kaynak-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.28rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 750;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #e2e8f0;
    color: #334155;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.personel-detail-yayin-kaynak-badge--googlescholar { background: linear-gradient(135deg, #dbeafe, #bfdbfe); border-color: #93c5fd; color: #1e40af; }
.personel-detail-yayin-kaynak-badge--scopus { background: linear-gradient(135deg, #ffedd5, #fed7aa); border-color: #fdba74; color: #9a3412; }
.personel-detail-yayin-kaynak-badge--researchgate { background: linear-gradient(135deg, #ccfbf1, #99f6e4); border-color: #5eead4; color: #115e59; }
.personel-detail-yayin-kaynak-badge--orcid { background: linear-gradient(135deg, #dcfce7, #bbf7d0); border-color: #86efac; color: #166534; }
.personel-detail-yayin-kaynak-badge--webofscience { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); border-color: #a5b4fc; color: #3730a3; }

html[data-color-mode="dark"] .personel-birlesik-kaynak-chip,
html[data-color-mode="dark"] .personel-detail-yayin-kaynak-badge {
    box-shadow: none;
}

html[data-color-mode="dark"] .personel-birlesik-kaynak-chip {
    background: rgba(148, 163, 184, 0.18);
    border-color: rgba(148, 163, 184, 0.35);
    color: #e2e8f0;
}

html[data-color-mode="dark"] .personel-birlesik-kaynak-chip--yoksis {
    background: rgba(239, 68, 68, 0.22);
    border-color: rgba(248, 113, 113, 0.55);
    color: #fecaca;
}

html[data-color-mode="dark"] .personel-birlesik-kaynak-chip--googlescholar {
    background: rgba(59, 130, 246, 0.28);
    border-color: rgba(96, 165, 250, 0.55);
    color: #bfdbfe;
}

html[data-color-mode="dark"] .personel-birlesik-kaynak-chip--webofscience {
    background: rgba(99, 102, 241, 0.28);
    border-color: rgba(129, 140, 248, 0.55);
    color: #c7d2fe;
}

html[data-color-mode="dark"] .personel-birlesik-kaynak-chip--scopus {
    background: rgba(249, 115, 22, 0.26);
    border-color: rgba(251, 146, 60, 0.55);
    color: #fed7aa;
}

html[data-color-mode="dark"] .personel-birlesik-kaynak-chip--researchgate {
    background: rgba(20, 184, 166, 0.26);
    border-color: rgba(45, 212, 191, 0.5);
    color: #99f6e4;
}

html[data-color-mode="dark"] .personel-birlesik-kaynak-chip--orcid {
    background: rgba(34, 197, 94, 0.24);
    border-color: rgba(74, 222, 128, 0.5);
    color: #bbf7d0;
}

html[data-color-mode="dark"] .personel-birlesik-kaynak-chip--harici {
    background: rgba(148, 163, 184, 0.2);
    border-color: rgba(148, 163, 184, 0.4);
    color: #cbd5e1;
}

html[data-color-mode="dark"] .personel-detail-yayin-kaynak-badge--googlescholar {
    background: rgba(59, 130, 246, 0.28);
    border-color: rgba(96, 165, 250, 0.55);
    color: #bfdbfe;
}
html[data-color-mode="dark"] .personel-detail-yayin-kaynak-badge--scopus {
    background: rgba(249, 115, 22, 0.26);
    border-color: rgba(251, 146, 60, 0.55);
    color: #fed7aa;
}
html[data-color-mode="dark"] .personel-detail-yayin-kaynak-badge--researchgate {
    background: rgba(20, 184, 166, 0.26);
    border-color: rgba(45, 212, 191, 0.5);
    color: #99f6e4;
}
html[data-color-mode="dark"] .personel-detail-yayin-kaynak-badge--orcid {
    background: rgba(34, 197, 94, 0.24);
    border-color: rgba(74, 222, 128, 0.5);
    color: #bbf7d0;
}
html[data-color-mode="dark"] .personel-detail-yayin-kaynak-badge--webofscience {
    background: rgba(99, 102, 241, 0.28);
    border-color: rgba(129, 140, 248, 0.55);
    color: #c7d2fe;
}
.personel-summary-card-sanatsal { background: linear-gradient(135deg, #DB2777, #BE185D); }
.personel-summary-card-yayin-makale { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }
.personel-summary-card-yayin-bildiri { background: linear-gradient(135deg, #6366F1, #4338CA); }
.personel-summary-card-yayin-kitap { background: linear-gradient(135deg, #0EA5E9, #0369A1); }
.personel-summary-card-yayin-editorluk { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.personel-summary-card-yayin-tasarim { background: linear-gradient(135deg, #F59E0B, #D97706); }
.personel-summary-card-yayin-diger { background: linear-gradient(135deg, #64748B, #475569); }

/* Yayınlar sekmesi içi alt sekmeler (Tümü / Makale / Bildiri / …) */
.personel-detail-yayin-subtabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin: 0 0 1rem;
    padding: 0.35rem 0.35rem 0;
    border-bottom: 2px solid #e2e8f0;
}
.personel-detail-yayin-subtabs .nav-item {
    margin-bottom: -2px;
}
.personel-detail-yayin-subtabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    background: transparent;
    color: #64748b;
    padding: 0.55rem 0.95rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}
.personel-detail-yayin-subtabs .nav-link:hover {
    color: var(--kku-red, #b91c1c);
    background: #f8fafc;
}
.personel-detail-yayin-subtabs .nav-link.active {
    color: var(--kku-red, #b91c1c);
    background: #fff;
    border-color: #e2e8f0 #e2e8f0 #fff;
    box-shadow: 0 -1px 0 #fff inset;
}
.personel-detail-yayin-subtabs .nav-link .badge {
    font-size: 0.72rem;
    font-weight: 700;
    background: #e2e8f0;
    color: #334155;
}
.personel-detail-yayin-subtabs .nav-link.active .badge {
    background: rgba(185, 28, 28, 0.12);
    color: var(--kku-red, #b91c1c);
}
/* Stagger animasyonlar─▒ */
.personel-summary-card:nth-child(1) { animation: personelSummarySlideIn 0.5s ease-out 0.05s both; }
.personel-summary-card:nth-child(2) { animation: personelSummarySlideIn 0.5s ease-out 0.1s both; }
.personel-summary-card:nth-child(3) { animation: personelSummarySlideIn 0.5s ease-out 0.15s both; }
.personel-summary-card:nth-child(4) { animation: personelSummarySlideIn 0.5s ease-out 0.2s both; }
.personel-summary-card:nth-child(5) { animation: personelSummarySlideIn 0.5s ease-out 0.25s both; }
.personel-summary-card:nth-child(6) { animation: personelSummarySlideIn 0.5s ease-out 0.3s both; }
.personel-summary-card:nth-child(7) { animation: personelSummarySlideIn 0.5s ease-out 0.35s both; }
.personel-summary-card:nth-child(8) { animation: personelSummarySlideIn 0.5s ease-out 0.4s both; }
.personel-summary-card:nth-child(9) { animation: personelSummarySlideIn 0.5s ease-out 0.45s both; }
@keyframes personelSummarySlideIn {
    from { opacity: 0; transform: translateY(24px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.personel-summary-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}
.personel-summary-card:hover .personel-summary-card-icon {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.08);
}
.personel-summary-card:hover .personel-summary-card-icon i {
    transform: scale(1.1);
}

/* Tab sayfalar─▒ (tabpage) - yatay scroll ├ğ─▒kmas─▒n */
.personel-detail-tabpage {
    margin-top: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08), 0 0 0 1px var(--glass-border);
    overflow-x: hidden;
    overflow-y: visible;
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
}
.personel-detail-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1rem 1rem 0;
    margin: 0;
    border-bottom: 2px solid rgba(226, 232, 240, 0.8);
    background: rgba(248, 250, 252, 0.75);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    list-style: none;
    overflow: visible;
}
.personel-detail-nav-tabs .nav-item { margin: 0; }
.personel-detail-nav-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 10px 10px 0 0;
    background: transparent;
    color: #64748b;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.personel-detail-nav-tabs .nav-link:hover {
    background: rgba(220, 38, 38, 0.08);
    color: var(--kku-red);
}
.personel-detail-nav-tabs .nav-link.active {
    background: #fff;
    color: var(--kku-red);
    box-shadow: 0 -2px 8px rgba(0,0,0,.06);
}
.personel-detail-nav-tabs .nav-link .badge {
    background: #e2e8f0;
    color: #475569;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
}
.personel-detail-nav-tabs .nav-link.active .badge {
    background: var(--kku-red);
    color: #fff;
}
.personel-detail-tab-content {
    padding: 1.25rem 1.5rem;
    min-height: 200px;
    overflow-x: hidden;
}
.personel-detail-tab-content .tab-pane .card-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 260px;
}
.personel-detail-tab-content .tab-pane .card-body:has(.personel-detail-empty-state) {
    justify-content: center;
}
.personel-detail-tab-content .personel-detail-tiles {
    margin-bottom: 0;
}

/* Tab i├ği kartlar aras─▒ dikey bo┼şluk */
.personel-detail-tabpage .content-list.list-view {
    gap: 1.25rem;
}
.personel-detail-tabpage .content-list.card-view {
    gap: 1.5rem;
}
.personel-detail-tabpage .content-item {
    margin-bottom: 0;
}
.personel-detail-tabpage .content-item + .content-item {
    margin-top: 0;
}

/* Tab pane: loading overlay'─▒n ortada konumlanmas─▒ i├ğin */
.personel-detail-tab-content .tab-pane {
    position: relative;
    min-height: 260px;
}
/* Sekme a├ğ─▒ld─▒─ş─▒nda ortada g├Âsterilen y├╝kleniyor overlay'i (ana sayfa gibi) */
.personel-tab-loading-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(250, 251, 252, 0.95);
    border-radius: 16px;
    z-index: 2;
}
.personel-tab-loading-overlay .personel-tab-loading-spinner {
    margin-bottom: 1rem;
}
.personel-tab-loading-overlay .personel-tab-loading-text {
    margin: 0;
}

/* Tab i├ğeri─şi WebHub y├╝klenirken: glass kutu + y├╝kleme animasyonu */
.personel-tab-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 2.5rem 2rem;
    margin: 0.5rem 0;
    color: #475569;
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}
.personel-tab-loading::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.15) 55%, transparent 100%);
    background-size: 200% 100%;
    background-position: 150% 0;
    animation: personel-loading-shine 2s ease-in-out infinite;
    pointer-events: none;
    border-radius: 16px;
}
.personel-tab-loading-spinner {
    width: 52px;
    height: 52px;
    border: 3px solid rgba(226, 232, 240, 0.8);
    border-top-color: var(--kku-red);
    border-right-color: var(--kku-blue);
    border-radius: 50%;
    animation: personel-tab-spin 0.85s linear infinite;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}
.personel-tab-loading-spinner::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 2px solid transparent;
    border-top-color: var(--kku-red);
    border-radius: 50%;
    opacity: 0.6;
    animation: personel-tab-spin 1.2s linear infinite reverse;
}
.personel-tab-loading-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    position: relative;
    z-index: 1;
    animation: personel-loading-pulse 1.4s ease-in-out infinite;
}
@keyframes personel-tab-spin {
    to { transform: rotate(360deg); }
}
@keyframes personel-loading-shine {
    0%, 100% { background-position: 150% 0; }
    50% { background-position: -50% 0; }
}
@keyframes personel-loading-pulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

/* ========== Foto─şraf b├╝y├╝tme lightbox ========== */
.personel-foto-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    overflow: visible;
}
.personel-foto-lightbox.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}
.personel-foto-lightbox-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

/* En ba┼şar─▒l─▒ akademisyen lightbox ile ayn─▒ u├ğan y─▒ld─▒z efekti (i├ğerikten ├╝stte; b├╝y├╝k foto─şrafta da g├Âr├╝ns├╝n) */
.personel-foto-lightbox-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    overflow: visible;
}
.personel-foto-lightbox-star {
    position: absolute;
    bottom: -2rem;
    left: var(--x, 50%);
    font-size: var(--size, 1rem);
    color: rgba(255, 215, 0, 0.9);
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.8), 0 0 24px rgba(255, 215, 0, 0.4);
    animation: personelFotoStarFloatUp var(--duration, 5s) ease-out var(--delay, 0s) infinite;
    opacity: 0;
}
.personel-foto-lightbox-star:nth-child(odd) {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.5);
}
.personel-foto-lightbox-star:nth-child(3n) {
    color: rgba(255, 193, 7, 0.95);
    text-shadow: 0 0 14px rgba(255, 193, 7, 0.7);
}
@keyframes personelFotoStarFloatUp {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0.3);
    }
    8% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
        transform: translateY(-50vh) translateX(var(--drift, 0)) scale(1);
    }
    92% {
        opacity: 0.4;
    }
    100% {
        opacity: 0;
        transform: translateY(-105vh) translateX(calc(var(--drift, 0) * 1.5)) scale(0.8);
    }
}

.personel-foto-lightbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    z-index: 10;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}
.personel-foto-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}
.personel-foto-lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: personel-foto-lightbox-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.personel-foto-lightbox-img {
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.personel-foto-lightbox-caption {
    margin: 1rem 0 0;
    padding: 0 0.5rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    max-width: 90vw;
}
.personel-foto-lightbox-caption:empty {
    display: none;
}
@keyframes personel-foto-lightbox-pop {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Sayfa scrollbar - k─▒rm─▒z─▒ (KKU) */
.personel-detail-page {
    scrollbar-width: thin;
    scrollbar-color: var(--kku-red) rgba(0, 0, 0, 0.08);
}
.personel-detail-page::-webkit-scrollbar {
    width: 10px;
}
.personel-detail-page::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 5px;
}
.personel-detail-page::-webkit-scrollbar-thumb {
    background: var(--kku-red);
    border-radius: 5px;
}
.personel-detail-page::-webkit-scrollbar-thumb:hover {
    background: var(--kku-red-dark);
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 10px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 5px;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: var(--kku-red);
    border-radius: 5px;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: var(--kku-red-dark);
}
html {
    scrollbar-width: thin;
    scrollbar-color: var(--kku-red) rgba(0, 0, 0, 0.08);
}

@media (prefers-reduced-motion: reduce) {
    .personel-foto-lightbox-star {
        animation-duration: calc(var(--duration, 5s) * 1.35) !important;
        animation-timing-function: linear !important;
        opacity: 0.9 !important;
    }
}

/* ---------- PDF ├Ânizleme modal─▒ (personel + birim) ---------- */
body.kku-pdf-viewer-modal-open {
    overflow: hidden;
}

.kku-pdf-viewer-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.kku-pdf-viewer-modal--open {
    opacity: 1;
    visibility: visible;
}

.kku-pdf-viewer-modal--maximized {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
}

.kku-pdf-viewer-modal--maximized .kku-pdf-viewer-modal-dialog {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
    animation: none;
}

.kku-pdf-viewer-modal--maximized .kku-pdf-viewer-modal-content {
    border-radius: 0;
}

.kku-pdf-viewer-modal--maximized .kku-pdf-viewer-iframe {
    min-height: 0;
}

.kku-pdf-viewer-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.kku-pdf-viewer-modal-dialog {
    position: relative;
    width: min(96vw, 1120px);
    height: min(92vh, 900px);
    max-height: 92vh;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.08);
    animation: kkuPdfViewerModalIn 0.28s ease-out;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

@keyframes kkuPdfViewerModalIn {
    from {
        opacity: 0;
        transform: scale(0.97) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.kku-pdf-viewer-modal-content {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.kku-pdf-viewer-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem;
    background: var(--kku-gradient-mixed);
    color: #fff;
    flex-shrink: 0;
}

.kku-pdf-viewer-modal-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.kku-pdf-viewer-modal-title-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kku-pdf-viewer-modal-header-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.kku-pdf-viewer-maximize,
.kku-pdf-viewer-tablink,
.kku-pdf-viewer-modal-close {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.kku-pdf-viewer-modal-close {
    font-size: 1.45rem;
}

.kku-pdf-viewer-maximize:hover,
.kku-pdf-viewer-tablink:hover,
.kku-pdf-viewer-modal-close:hover {
    background: rgba(255, 255, 255, 0.32);
}

.kku-pdf-viewer-modal-body {
    position: relative;
    flex: 1;
    min-height: 0;
    background: #f1f5f9;
}

.kku-pdf-viewer-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    background: #f1f5f9;
    overflow: auto;
}

.kku-pdf-viewer-loading-card {
    width: min(100%, 24rem);
    padding: 2rem 1.75rem 1.75rem;
    border-radius: 26px;
    background: #ffffff;
    border: none;
    box-shadow:
        0 4px 6px -1px rgba(15, 23, 42, 0.05),
        0 24px 48px -16px rgba(15, 23, 42, 0.14);
    animation: kkuPdfLoadingCardIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes kkuPdfLoadingCardIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.kku-pdf-viewer-loading-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.35rem;
}

/* D─▒┼ş: solda mavi ÔåÆ sa─şda k─▒rm─▒z─▒ statik gradient ├ğember */
.kku-pdf-viewer-gradient-ring {
    width: 5.75rem;
    height: 5.75rem;
    flex-shrink: 0;
    border-radius: 50%;
    padding: 4px;
    box-sizing: border-box;
    background: linear-gradient(
        to right,
        var(--kku-blue-accent, #4299e1),
        var(--kku-red-light, #f56565)
    );
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.kku-pdf-viewer-loading-core {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #1a202c;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* K─▒rm─▒z─▒ belge + beyaz PDF yaz─▒s─▒ */
.kku-pdf-viewer-pdf-badge {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.85rem;
    padding: 0.15rem 0.2rem 0.2rem;
    border-radius: 3px 5px 5px 5px;
    background: var(--kku-red-light, #ef4444);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.kku-pdf-viewer-pdf-badge-doc {
    position: absolute;
    top: 0;
    right: 0;
    width: 0.65rem;
    height: 0.65rem;
    background: linear-gradient(225deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.08) 48%, rgba(0, 0, 0, 0.12) 48%);
    border-radius: 0 3px 0 5px;
}

.kku-pdf-viewer-pdf-badge-text {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
    line-height: 1;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.kku-pdf-viewer-loading-text {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a202c;
    line-height: 1.35;
}

.kku-pdf-viewer-loading-hint {
    margin: 0 0 1.15rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #718096;
}

.kku-pdf-viewer-loading-progress {
    height: 6px;
    width: 100%;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.kku-pdf-viewer-loading-progress-bar {
    display: block;
    height: 100%;
    width: 32%;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--kku-blue-accent, #4299e1),
        var(--kku-red-light, #f56565)
    );
    opacity: 0.85;
    animation: kkuPdfLoadProgress 1.45s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(66, 153, 225, 0.25);
}

@keyframes kkuPdfLoadProgress {
    0% {
        transform: translateX(-130%);
        opacity: 0.55;
    }
    50% {
        opacity: 0.95;
    }
    100% {
        transform: translateX(330%);
        opacity: 0.55;
    }
}

.kku-pdf-viewer-error {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #b91c1c;
    text-align: center;
    background: #fef2f2;
}

.kku-pdf-viewer-iframe-wrap {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: #e2e8f0;
}

.kku-pdf-viewer-iframe {
    width: 100%;
    height: 100%;
    min-height: min(70vh, 720px);
    border: 0;
    display: block;
    background: #fff;
}

/* Mesleki deneyim — dikey timeline */
.pd-mesleki-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pd-mesleki-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.pd-mesleki-total {
    font-size: 0.875rem;
    color: var(--pd-muted, #64748b);
    white-space: nowrap;
}

.pd-mesleki-empty {
    padding: 0.5rem 0;
}

.pd-mesleki-timeline-root {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pd-mesleki-group-head {
    margin-bottom: 1rem;
}

.pd-mesleki-group-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.4rem 0.9rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
}

.pd-mesleki-group--akademik .pd-mesleki-group-title {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.pd-mesleki-group--idari .pd-mesleki-group-title {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

.pd-mesleki-group--dis .pd-mesleki-group-title {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}

.pd-mesleki-group-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.45rem;
    height: 1.35rem;
    padding: 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
}

.pd-mesleki-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pd-mesleki-item {
    --pd-mesleki-accent: #64748b;
    display: grid;
    grid-template-columns: 4.75rem minmax(0, 1fr);
    gap: 0 1.15rem;
    align-items: start;
    margin: 0;
    padding: 0 0 1.35rem;
}

.pd-mesleki-item--akademik { --pd-mesleki-accent: #059669; }
.pd-mesleki-item--idari { --pd-mesleki-accent: #2563eb; }
.pd-mesleki-item--dis { --pd-mesleki-accent: #ea580c; }
.pd-mesleki-item--diger { --pd-mesleki-accent: #7c3aed; }

.pd-mesleki-item:last-child {
    padding-bottom: 0;
}

.pd-mesleki-rail {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.2rem;
    min-height: 100%;
}

.pd-mesleki-rail::after {
    content: "";
    position: absolute;
    top: 1rem;
    bottom: -1.35rem;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, color-mix(in srgb, var(--pd-mesleki-accent) 35%, #e2e8f0) 0%, #e2e8f0 100%);
}

.pd-mesleki-item:last-child .pd-mesleki-rail::after {
    display: none;
}

.pd-mesleki-dot {
    position: relative;
    z-index: 1;
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 50%;
    background: var(--pd-mesleki-accent);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--pd-mesleki-accent) 40%, transparent);
}

.pd-mesleki-year {
    margin-top: 0.45rem;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    color: #334155;
    white-space: nowrap;
}

.pd-mesleki-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 3px solid var(--pd-mesleki-accent);
    border-radius: 0.75rem;
    padding: 0.9rem 1rem 0.95rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.pd-mesleki-card:hover {
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    border-color: color-mix(in srgb, var(--pd-mesleki-accent) 25%, #e2e8f0);
}

.pd-mesleki-card-head {
    margin: 0 0 0.35rem;
}

.pd-mesleki-role {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
}

.pd-mesleki-institution {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin: 0 0 0.35rem;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.4;
    color: #475569;
}

.pd-mesleki-institution i {
    margin-top: 0.15rem;
    font-size: 0.72rem;
    color: var(--pd-mesleki-accent);
    opacity: 0.85;
}

.pd-mesleki-detail {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #64748b;
}

@media (max-width: 767px) {
    .pd-mesleki-item {
        grid-template-columns: 3.5rem minmax(0, 1fr);
        gap: 0 0.75rem;
    }

    .pd-mesleki-year {
        font-size: 0.7rem;
    }

    .pd-mesleki-card {
        padding: 0.75rem 0.85rem;
    }
}

/* Öğrenim bilgisi timeline */
.pd-ogrenim-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pd-ogrenim-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.pd-ogrenim-total {
    font-size: 0.875rem;
    color: var(--pd-muted, #64748b);
    white-space: nowrap;
}

.pd-ogrenim-timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 0.35rem;
    position: relative;
}

.pd-ogrenim-timeline::before {
    content: "";
    position: absolute;
    left: 0.35rem;
    top: 0.25rem;
    bottom: 0.25rem;
    width: 2px;
    background: #e2e8f0;
}

.pd-ogrenim-item {
    display: grid;
    grid-template-columns: minmax(7rem, 9rem) 1fr;
    gap: 0.85rem 1.25rem;
    padding: 0 0 1.25rem 1.25rem;
    position: relative;
}

.pd-ogrenim-item::before {
    content: "";
    position: absolute;
    left: -0.05rem;
    top: 0.35rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: #0ea5e9;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #bae6fd;
}

.pd-ogrenim-item-axis {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pd-ogrenim-year {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
}

.pd-ogrenim-program {
    font-size: 0.78rem;
    font-weight: 600;
    color: #0369a1;
    line-height: 1.3;
}

.pd-ogrenim-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    padding: 0.85rem 1rem;
}

.pd-ogrenim-university {
    margin: 0 0 0.35rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
}

.pd-ogrenim-detail {
    margin: 0 0 0.35rem;
    font-size: 0.84rem;
    line-height: 1.45;
    color: #475569;
}

.pd-ogrenim-kaynak {
    font-size: 0.72rem;
    font-weight: 600;
}

@media (max-width: 767px) {
    .pd-ogrenim-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding-left: 0.75rem;
        border-left: 2px solid #e2e8f0;
    }

    .pd-ogrenim-timeline::before,
    .pd-ogrenim-item::before {
        display: none;
    }
}

/* ========== Giriş / stagger animasyonları kapalı (yükleme spinner hariç) ========== */
body:has(.personel-detail-page) {
    animation: none !important;
}

.personel-detail-page::before {
    animation: none !important;
    background-size: 100% 100%;
}

.personel-detail-page .profile-header,
.personel-detail-page .profile-photo,
.personel-detail-page .profile-info,
.personel-detail-page .contact-info,
.personel-detail-page .profile-content-section,
.personel-detail-page .tab-pane,
.personel-detail-page .content-item,
.personel-detail-page .nav-tabs .nav-item,
.personel-detail-page .info-cards-grid .info-card,
.personel-detail-page .contact-item,
.personel-detail-page .fade-up,
.personel-detail-page .personel-summary-card,
.personel-detail-page .personel-summary-card::after {
    animation: none !important;
    animation-delay: 0s !important;
    opacity: 1 !important;
    transform: none !important;
}

.personel-detail-page .personel-summary-card::after {
    display: none !important;
}

.personel-detail-page .tab-pane .content-list .content-item {
    animation: none !important;
}

.personel-detail-table-wrap tbody tr.personel-detail-card-row {
    transition: box-shadow 0.15s ease, background-color 0.15s ease;
}

.personel-detail-table-wrap tbody tr.personel-detail-card-row::after {
    display: none !important;
}

.personel-detail-table-wrap tbody tr.personel-detail-card-row:hover {
    transform: none;
}
