/* Temel Ayarlar */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #FFC0CB;
    color: #FFC0CB;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Üst Navbar */
.top-navbar {
    background: linear-gradient(to right, #6A11CB, #2575FC);
    color: #fff;
    padding: 10px 0;
}

.top-navbar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-navbar .main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.top-navbar .main-menu ul li a {
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
    font-weight: 500;
}

.top-navbar .search-box {
    display: flex;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    margin-left: 20px;
}

.top-navbar .search-box input {
    border: none;
    padding: 8px 15px;
    outline: none;
}

.top-navbar .search-box button {
    background-color: #fff;
    color: #555;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
}

/* Ana İçerik ve Sidebar */
.content-wrapper {
    padding: 20px 0;
}

.main-container {
    display: flex;
    gap: 20px;
}

.sidebar {
    width: 280px;
    flex-shrink: 0;
}

.logo-main {
    text-align: center;
    margin-bottom: 20px;
}

.logo-main img {
    height: 100px;
}

.logo-main span {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #444;
}

.vertical-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vertical-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: linear-gradient(to right, #4A90E2, #6A5ACD);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.vertical-menu li a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.menu-item-icon {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    margin-right: 15px;
}

.menu-item-icon img {
    height: 20px;
    filter: invert(1);
}

/* Son Eklenen İçerikler Bölümü */
.content-area {
    flex-grow: 1;
}

.latest-content-title {
    background: linear-gradient(45deg, #FF7E5F, #FEB47B); /* Mor-turuncu gradient */
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.latest-content-list {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.content-item {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.content-item:last-child {
    border-bottom: none;
}

.content-item a {
    text-decoration: none;
    color: #2575fc;
    font-size: 18px;
    font-weight: 500;
}

.content-item span {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    color: #777;
}




/* Genel Renk Paleti ve Font Ayarları */
:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --background-light: #e6e9f0;
    --background-white: #fff;
    --text-dark: #333;
    --text-light: #555;
    --border-soft: #dcdde1;
    --shadow-soft: rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-light);
    color: var(--text-dark);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Üst Navbar */
.top-navbar {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--background-white);
    padding: 10px 0;
}

/* Menü Ana Hatları */
.main-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Sidebar ve Dikey Menü */
.sidebar {
    width: 280px;
    flex-shrink: 0;
}

.logo-main {
    text-align: center;
    margin-bottom: 20px;
}

.vertical-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vertical-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--background-white);
    font-weight: bold;
    font-size: 16px;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: linear-gradient(to right, #4A90E2, #6A5ACD); /* Menü renklerini görsele uygun hale getirdim */
    box-shadow: 0 4px 8px var(--shadow-soft);
    transition: transform 0.2s, box-shadow 0.2s;
}

.vertical-menu li a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.menu-item-icon {
    display: inline-block;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    margin-right: 15px;
}

.menu-item-icon img {
    height: 20px;
    filter: invert(1);
}

/* Açılır Menü (Hidden Box) Animasyon ve Renk Ayarları */
.vertical-menu .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--shadow-soft);
    overflow: hidden; /* (scroll) Animasyon için taşmayı gizle */

    /* Animasyon için başlangıç durumu */
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.vertical-menu .sub-menu.active {
    max-height: 500px; /* Açıkken ulaşacağı maksimum yükseklik */
    opacity: 1;
}

.vertical-menu .sub-menu a {
    background: var(--background-white);
    color: var(--text-dark);
    font-weight: normal;
    font-size: 14px;
    padding: 1px 30px;
    border-radius: 0;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: none;
    transition: background-color 0.2s;
}

.vertical-menu .sub-menu a:hover {
    background-color: var(--background-light);
    transform: none;
}

/* Ok ikonunu döndürmek için */
.vertical-menu a .fa-chevron-down {
    transition: transform 0.3s ease;
}

.vertical-menu a.active .fa-chevron-down {
    transform: rotate(180deg);
}



/* Sadece Açılır Menü (Hidden Box) Renkleri İçin Değişiklikler */

/* Alt menülerin arka plan rengi */
.vertical-menu .sub-menu {
    background-color: #5838e7c2; /* Açık gri tonu */
}

/* Alt menüdeki linklerin rengi */
.vertical-menu .sub-menu a {
    background-color: transparent;
    color: hsl(0, 0%, 100%); /* Koyu gri tonu */
    border-bottom: 1px solid #738ef1; /* Çok açık gri sınır */
}

/* Alt menüdeki linklerin üzerine gelindiğinde rengi */
.vertical-menu .sub-menu a:hover {
    background-color: #21025aab; /* Hafif koyu bir gri tonu */
}
/* Mevcut kodun üzerine ekleyin */

/* Ana menü linkinin içindeki boşluğu da düzenleyelim ki simge daha iyi otursun */
.vertical-menu li a {
    padding: 10px 15px; /* Dikey padding'i biraz azalttım, simgeye yer açmak için */
    height: 60px; /* Menü öğesinin yüksekliğini sabitleyerek daha düzenli bir görünüm */
}


/* Bu kısım, menüdeki ikonların bulunduğu daireyi tanımlar */
.menu-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Bu satırı TRANSPARENT yap! */
    background-color: transparent; 
    border-radius: 50%;
    width: 40px; 
    height: 40px; 
    margin-right: 15px;
    flex-shrink: 0;
}

/* Bu kısım, dairenin içindeki görseli tanımlar */
.menu-item-icon img {
    height: 45px; 
    width: 45px; 
    object-fit: contain; 
    /* Bu satırı sil veya none yap! */
    filter: none; 
}   


/* Ana menü butonlarınızın CSS'i (kontrol için, muhtemelen zaten var) */
.vertical-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--background-white);
    font-weight: bold;
    font-size: 16px;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: linear-gradient(to right, #4A90E2, #6A5ACD); /* Bu renkler .menu-item-icon ile aynı olmalı */
    box-shadow: 0 4px 8px var(--shadow-soft);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 60px;
}

/* Bu kısım, menüdeki ikonların bulunduğu daireyi tanımlar */
.mn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Bu satırı TRANSPARENT yap! */
    background-color: transparent; 
    border-radius: 50%;
    width: 40px; 
    height: 40px; 
    margin-right: 15px;
    flex-shrink: 0;
}

/* Bu kısım, dairenin içindeki görseli tanımlar */
.mn-icon img {
    height: 75px; 
    width: 75px; 
    object-fit: contain; 
    /* Bu satırı sil veya none yap! */
    filter: none; 
}   

/* PDF Listesi ve Ekleme Alanı Stilleri */

/* PDF Listesi Ana Kapsayıcı */
#pdf-list-container {
    padding: 20px;
    background-color: var(--background-white);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-soft);
    margin-top: 20px;
}

/* Her Bir PDF Elemanı İçin Stil */
.pdf-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border-left: 5px solid var(--secondary-color); /* Sınıfı vurgulamak için renkli çizgi */
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pdf-item:hover {
    transform: translateX(5px); /* Hafif kaydırma efekti */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* PDF Adı (Link) Stili */
.pdf-item a {
    flex-grow: 1;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Çok uzun isimler için üç nokta ekler */
}

/* Yeniden Adlandır Butonu */
.pdf-item button {
    padding: 6px 12px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    background-color: transparent;
    color: var(--primary-color);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 15px;
}

.pdf-item button:hover {
    background-color: var(--primary-color);
    color: var(--background-white);
}

/* PDF Ekleme Bölümü */
.add-pdf-section {
    margin-top: 30px;
    padding: 25px;
    border: 2px dashed #a4a4a4;
    border-radius: 8px;
    background-color: var(--background-white);
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.add-pdf-section button {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(to right, #6A11CB, #2575FC);
    color: white;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.add-pdf-section button:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Sürükle-Bırak Alanı */
#drop-area {
    margin-top: 20px;
    border: 2px dashed #2575FC;
    border-radius: 8px;
    padding: 30px;
    background-color: #f1f7ff; /* Açık mavi tonu */
    transition: background-color 0.3s;
}

#drop-area:hover {
    background-color: #e0ecff; /* Koyu mavi tonu */
}

#drop-area p {
    margin: 0;
    font-weight: 600;
    color: #4a4a4a;
}







/*
WebKit (Chrome, Safari, Edge) tabanlı tarayıcılar için kaydırma çubuğu stilleri
.sub-menu {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.sub-menu::-webkit-scrollbar {
    width: 8px;
}

.sub-menu::-webkit-scrollbar-track {
    background: transparent;
}

.sub-menu::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.sub-menu:hover::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
}
*/
