/* Genel stil ayarları */
body {
    font-family: 'Roboto', sans-serif; /* Modern font */
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
    overflow: hidden;
    background-color: #f4f7f9; /* Soft beyaz-argenta arka plan */
}

/* Sidebar bölümü */
.sidebar {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%); /* Beyazdan açık griye geçiş */
    width: 250px;
    padding: 25px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.08); /* Daha hafif gölge */
    flex-shrink: 0;
    height: 100vh;
    overflow-y: auto;
    transition: width 0.3s ease; /* Sidebar genişliğini animasyonlu yap */
    border-right: 3px solid #d1e0e9; /* İnce gri border */
    border-radius: 10px 0 0 10px; /* Yumuşak köşeler */
}

/* Sidebar başlıkları */
.sidebar h2 {
    text-align: center;
    color: #4a90e2; /* Yumuşak mavi başlık rengi */
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: bold;
}

/* Sidebar liste stil ayarları */
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    margin: 16px 0;
}

/* Sidebar linkleri */
.sidebar ul li a {
    text-decoration: none;
    color: #4a4a4a; /* Yumuşak gri metin */
    padding: 12px 20px;
    display: block;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.05); /* Hafif gri arka plan */
}

/* Sidebar linklerinin hover durumu */
.sidebar ul li a:hover {
    background-color: #e1f0ff; /* Açık mavi hover arka planı */
    color: #4a90e2; /* Hoverda mavi yazı rengi */
    transform: scale(1.05); /* Hoverda biraz büyüme efekti */
}

/* Sidebar itemlerin aktif durumu */
.sidebar ul li a.active {
    background-color: #4a90e2; /* Aktif linkin mavi arka planı */
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Hafif gölgeleme */
}

/* Sidebar Butonları */
.side-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

/* Genel Buton Stili */
.side-buttons button {
    flex: 1;
    margin: 0 8px;
    text-align: center;
    padding: 15px 20px;
    border-radius: 30px;
    color: white;
    font-size: 18px;
    border: none;
    background-color: #4a90e2;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

/* Hover Efekti */
.side-buttons button:hover {
    background-color: #357ae8; /* Hoverda daha koyu mavi */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Seçili Buton Durumu */
.side-buttons button.active {
    background-color: #34a853; /* Seçili buton yeşil olur */
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Voronoi Mash Butonu */
.voronoi-button {
    background-color: #d54ae2;
    color: white;
    text-align: center;
    display: block;
    margin-top: 10px;
    padding: 15px 20px;
    border-radius: 30px;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.voronoi-button:hover {
    background-color: #b63ac3;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* İçerik bölümü */
.content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: #ffffff; /* Beyaz içerik arka planı */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Hafif gölge */
    border-radius: 10px; /* Yumuşak köşe */
}

/* Plot'un yerleştirileceği konteyner */
.plot-container {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Plot içeriğinin tam ekran olmasını sağlamak için iframe stil ayarı */
.plot-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Checkbox'lar için stil ayarları */
.checkbox-group {
    margin-top: 20px;
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Checkbox grup seçim başlığı */
.checkbox-group h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

/* Grup checkbox'ları için stil */
.checkbox-group label {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
    color: #555;
    cursor: pointer;
}

/* Checkbox'ların kutularına stil */
.checkbox-group input[type="checkbox"] {
    margin-right: 12px;
    width: 22px;
    height: 22px;
    cursor: pointer;
}

/* Checkbox seçildiğinde görsel etki */
.checkbox-group input[type="checkbox"]:checked {
    background-color: #4a90e2;
    border-color: #4a90e2;
}

/* Checkbox üzerinde hover efekti */
.checkbox-group input[type="checkbox"]:hover {
    background-color: #80b3ff;
    border-color: #80b3ff;
}

/* Checkbox etiketinin üzerine gelindiğinde stil */
.checkbox-group label:hover {
    color: #4a90e2;
}

/* Active (seçili) renk uzayı stilini tanımlar */
.sidebar ul li a.active {
    background-color: #d1e7fd;
    color: #4a90e2;
}

/* RGB Info Box */
#rgbInfoBox {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #d1e0e9;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 250px;
    max-height: 200px;
    overflow-y: auto;
    opacity: 0.7;
    display: none; /* Başlangıçta gizle */
}

/* RGB Info Box Hover */
#rgbInfoBox.show {
    display: block; /* Hoverda göster */
    opacity: 1;
}

/* Sidebar itemlerin hover durumu */
.sidebar ul li a.active:hover {
    background-color: #357ae8;
    color: #fff;
}
