@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    /* NEVÜ - BİDEK Kurumsal Renk Paleti (https://bidek.nevsehir.edu.tr/tr/dergiler) */
    --bidek-red: #9E141F;
    --bidek-red-dark: #900f0f;
    --bidek-red-deep: #7d0e16;
    --bidek-red-light: #b31521;
    --bidek-red-soft: #fdf2f2;
    --bidek-red-subtle: #fee2e2;
    
    --nevu-navy: #1e293b;
    --nevu-navy-dark: #0f172a;
    --nevu-navy-light: #334155;
    
    --nevu-red: #9E141F;
    --nevu-red-dark: #900f0f;
    --nevu-red-light: #b31521;
    
    --nevu-gold: #b45309;
    --nevu-gold-light: #d97706;
    
    /* Ferah, Aydınlık ve Temiz Arka Plan */
    --nevu-bg: #fbfcfd;
    --nevu-card-bg: #ffffff;
    --nevu-text-dark: #1e293b;
    --nevu-text-body: #334155;
    --nevu-text-muted: #64748b;
    --nevu-border: #e2e8f0;
    --nevu-border-subtle: #f1f5f9;
    
    --nevu-success: #166534;
    --nevu-danger: #991b1b;
    --nevu-warning: #854d0e;
    
    /* Font Ailesi: BİDEK Century Gothic & Open Sans */
    --font-bidek: 'Century Gothic Paneuropean', 'Century Gothic', 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Century Gothic Paneuropean', 'Century Gothic', 'Montserrat', 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-bidek);
    background-color: var(--nevu-bg);
    color: var(--nevu-text-body);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--nevu-text-dark);
    letter-spacing: -0.2px;
}

/* ==========================================================================
   BİDEK KURUMSAL ÜST BANT & HEADER TASARIMI (bidek.nevsehir.edu.tr ile 1:1)
   ========================================================================== */

/* 1. En Üst Koyu Kırmızı Şerit */
.bidek-topbar {
    background: var(--bidek-red-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.bidek-topbar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.15s ease;
}

.bidek-topbar a:hover {
    color: #ffffff;
}

.bidek-topbar .univ-title {
    font-family: 'Century Gothic', 'Open Sans', sans-serif;
    letter-spacing: 0.8px;
    font-weight: 600;
    font-size: 13px;
}

/* 2. Ana Beyaz Header */
.bidek-main-header {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-bottom: 2px solid var(--bidek-red);
    padding: 0.85rem 0;
}

.bidek-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.bidek-brand-heading {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--bidek-red);
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.3px;
}

.bidek-brand-sub {
    font-size: 0.82rem;
    color: var(--nevu-text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* Kullanıcı Profil Rozeti */
.bidek-user-pill {
    background: #f8fafc;
    border: 1px solid var(--nevu-border);
    border-radius: 50px;
    padding: 0.35rem 0.65rem 0.35rem 0.85rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.bidek-user-avatar {
    width: 32px;
    height: 32px;
    background: var(--bidek-red-soft);
    color: var(--bidek-red);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* Geriye Dönük Uyumluluk: Navbar */
.navbar-nevu {
    background: #ffffff;
    border-bottom: 2px solid var(--bidek-red);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 0.75rem 1.25rem;
}

/* ==========================================================================
   DURUM VE BİLGİ BANTLARI (Aydınlık & Ferah)
   ========================================================================== */
.bidek-status-banner {
    background: #ffffff;
    border: 1px solid var(--nevu-border);
    border-left: 4px solid var(--bidek-red);
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* ==========================================================================
   KARTLAR (Airy & Crisp Cards)
   ========================================================================== */
.card-nevu {
    background: var(--nevu-card-bg);
    border: 1px solid var(--nevu-border);
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card-nevu:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.card-nevu-header {
    background: #ffffff;
    border-bottom: 1px solid var(--nevu-border-subtle);
    padding: 0.9rem 1.25rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--bidek-red);
    font-family: var(--font-heading);
    letter-spacing: -0.1px;
}

/* Score Display Card (BİDEK Kurumsal Bordo Degrade) */
.score-badge-card {
    background: linear-gradient(135deg, #9E141F 0%, #7d0e16 100%);
    color: #ffffff;
    border-radius: 12px;
    border: 1px solid #6b0c14;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 4px 16px rgba(158, 20, 31, 0.2);
}

.score-number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
}

.score-number.positive {
    color: #4ade80;
}

.score-number.negative {
    color: #fca5a5;
}

/* Negative Alerts Section */
.negative-alert-card {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    border-radius: 6px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
}

.negative-pill {
    background: #fee2e2;
    color: #991b1b;
    font-weight: 600;
    border-radius: 6px;
    padding: 0.25rem 0.6rem;
    font-size: 0.85rem;
    display: inline-block;
}

.positive-pill {
    background: #f0fdf4;
    color: #166534;
    font-weight: 600;
    border-radius: 6px;
    padding: 0.25rem 0.6rem;
    font-size: 0.85rem;
    display: inline-block;
}

.neutral-pill {
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
    border-radius: 6px;
    padding: 0.25rem 0.6rem;
    font-size: 0.85rem;
    display: inline-block;
}

/* ==========================================================================
   SEKME MENÜLERİ (Nav-Pills: BİDEK Stili)
   ========================================================================== */
.nav-pills-nevu .nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: #475569;
    border-radius: 8px;
    padding: 0.65rem 1.15rem;
    margin-right: 0.35rem;
    background: #ffffff;
    border: 1px solid var(--nevu-border);
    transition: all 0.15s ease;
}

.nav-pills-nevu .nav-link.active {
    background: var(--bidek-red);
    color: #ffffff !important;
    border-color: var(--bidek-red-dark);
    box-shadow: 0 2px 8px rgba(158, 20, 31, 0.22);
}

.nav-pills-nevu .nav-link:hover:not(.active) {
    background: var(--bidek-red-soft);
    color: var(--bidek-red);
    border-color: #fecaca;
}

/* Criteria List Item */
.criterion-row {
    padding: 0.75rem 1.1rem;
    border-bottom: 1px solid var(--nevu-border-subtle);
    transition: background 0.15s ease;
}

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

.criterion-row:hover {
    background: #fafbfc;
}

/* ==========================================================================
   BUTONLAR
   ========================================================================== */
.btn-nevu {
    background: var(--bidek-red);
    color: #ffffff;
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    border: 1px solid var(--bidek-red-dark);
    transition: all 0.15s ease;
}

.btn-nevu:hover {
    background: var(--bidek-red-deep);
    color: #ffffff;
    border-color: #630a11;
}

.btn-outline-nevu {
    color: var(--bidek-red);
    border: 1px solid var(--bidek-red);
    background: transparent;
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: 8px;
    transition: all 0.15s ease;
}

.btn-outline-nevu:hover {
    background: var(--bidek-red);
    color: #ffffff;
}

.btn-nevu-gold {
    background: #f59e0b;
    color: #ffffff;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.55rem 1.25rem;
    border: none;
}

.btn-nevu-gold:hover {
    background: #d97706;
    color: #ffffff;
}

/* Index badges in form */
.index-check-card {
    border: 2px solid var(--nevu-border);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
}

.index-check-card:hover {
    border-color: var(--bidek-red);
    background: var(--bidek-red-soft);
}

.index-check-card input:checked ~ .index-label {
    font-weight: 700;
    color: var(--bidek-red-dark);
}

/* ==========================================================================
   TABLOLAR (Aydınlık BİDEK Stili)
   ========================================================================== */
.table-bidek-header {
    background: #f8fafc !important;
    color: #1e293b !important;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    border-bottom: 2px solid var(--bidek-red) !important;
}

.table-bidek-header th {
    background: #f8fafc !important;
    color: #1e293b !important;
    font-weight: 700;
    padding: 0.85rem 0.75rem;
}

.table-hover tbody tr:hover {
    background-color: rgba(158, 20, 31, 0.02) !important;
}

/* ==========================================================================
   KULLANICI GİRİŞ SAYFASI (Aydınlık & Ferah Kurumsal Stil)
   ========================================================================== */
.nevu-login-wrapper {
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 120px);
    font-family: var(--font-bidek);
}

.nevu-login-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 320px;
    background: linear-gradient(180deg, #fdf2f2 0%, rgba(248, 250, 252, 0) 100%);
    pointer-events: none;
}

.nevu-login-card {
    border: 1px solid var(--nevu-border);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.nevu-login-card-header {
    background: linear-gradient(135deg, #9E141F 0%, #900f0f 100%);
    color: #ffffff;
    padding: 1.75rem 1.5rem;
    text-align: center;
    border-bottom: 3px solid #7d0e16;
}

.nevu-login-card-header h3 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
}

.nevu-brand-badge {
    background: var(--bidek-red-soft);
    border: 1px solid #fecaca;
    color: var(--bidek-red);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 30px;
    padding: 0.35rem 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nevu-calendar-box {
    background: #ffffff;
    border: 1px solid var(--nevu-border);
    border-radius: 12px;
}

/* ==========================================================================
   FOOTER (BİDEK Kurumsal Stili)
   ========================================================================== */
footer.bidek-footer {
    background: #ffffff;
    color: #64748b;
    padding: 2rem 0 1.5rem 0;
    margin-top: 3.5rem;
    font-size: 0.85rem;
    border-top: 1px solid var(--nevu-border);
    font-family: var(--font-bidek);
}

.bidek-footer-sub {
    background: var(--bidek-red-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 0;
    font-size: 0.78rem;
}

.log-action-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ==========================================================================
   AKADEMİK İNDEKS VE KURUMSAL ETİKETLER (Sade, Doğal ve Ciddi Sunum)
   ========================================================================== */
.academic-index-tag {
    display: inline-block;
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
    padding: 2px 7px;
    text-decoration: none;
    transition: all 0.15s ease;
    line-height: 1.35;
    white-space: nowrap;
}

.academic-index-tag:hover {
    background: #f8fafc;
    border-color: var(--bidek-red);
    color: var(--bidek-red);
}

.index-metric-card {
    background: #ffffff;
    border: 1px solid var(--nevu-border);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.15s ease;
    height: 100%;
}

.index-metric-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.academic-proof-link {
    color: #475569;
    font-size: 0.74rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 2px 7px;
    border-radius: 4px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    text-decoration: none;
    transition: all 0.15s ease;
}

.academic-proof-link:hover {
    color: var(--bidek-red);
    border-color: var(--bidek-red);
    background: #ffffff;
}

/* ==========================================================================
   Akademik Dergi Atıf & Sıralama (Kategori Renkleri & NSP Rozeti)
   Sosyal ve Beşeri: Açık Yeşil Dolgu
   Fen, Mühendislik ve Sağlık: Turkuaz Dolgu
   ========================================================================== */
.dir-row-sosyal {
    background-color: #f0fdf4 !important; /* Açık Yeşil */
}
.dir-row-sosyal:hover {
    background-color: #dcfce7 !important;
}

.dir-row-fen {
    background-color: #ecfeff !important; /* Açık Turkuaz */
}
.dir-row-fen:hover {
    background-color: #cffafe !important;
}

.badge-nsp {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: 8px;
    letter-spacing: -0.2px;
}
.badge-nsp-sosyal {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}
.badge-nsp-fen {
    background-color: #cffafe;
    color: #0e7490;
    border: 1px solid #67e8f9;
}

#thNspSort {
    transition: background-color 0.2s, color 0.2s;
}
#thNspSort:hover {
    background-color: #e2e8f0 !important;
    color: var(--bidek-red) !important;
}

