:root {
    --primary-color: #0d6efd;
    --sidebar-bg: #1c1c1e;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background-color: #121212;
    color: #e0e0e0;
}

#sidebar-wrapper {
    min-height: 100vh;
    margin-left: -15rem;
    transition: margin 0.25s ease-out;
    background-color: #1a1a1a !important;
    border-right: 1px solid #333;
    width: 15rem;
}

#sidebar-wrapper .list-group {
    width: 15rem;
}

#page-content-wrapper {
    width: 100%;
    background-color: #121212 !important;
}

.navbar {
    background-color: #1a1a1a !important;
    border-bottom: 1px solid #333 !important;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

.list-group-item {
    border: none;
    background: transparent;
    color: #b0b0b0 !important;
    padding: 10px 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.list-group-item:hover {
    background: #2a2a2a;
    color: #fff !important;
}

.list-group-item.active {
    background: #2a2a2a;
    color: var(--primary-color) !important;
    border-left: 4px solid var(--primary-color);
}

.card {
    background-color: #1e1e1e;
    border: 1px solid #333;
    transition: transform 0.3s;
}

.form-control, .form-select {
    background-color: #2c2c2e;
    border: 1px solid #444;
    color: #fff;
}

.form-control:focus, .form-select:focus {
    background-color: #2c2c2e;
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: none;
}

.w-20 {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

/* DRAG & DROP & REKLAM STİLLERİ */
.upload-area {
    cursor: pointer;
    background-color: #252525 !important;
    border-color: #444 !important;
    transition: all 0.3s ease;
}

.upload-area:hover {
    background-color: #2a2a2a !important;
}

.upload-area.drag-over {
    border-color: var(--primary-color) !important;
    background-color: #1a2a3a !important;
    transform: scale(1.02);
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
    #sidebar-wrapper { margin-left: 0; }
    #page-content-wrapper { min-width: 0; width: 100%; }
    #wrapper.toggled #sidebar-wrapper { margin-left: -15rem; }
}

/* --- REKLAM ALANI STİLLERİ (AdBlock Dostu İsim) --- */
.site-box {
    background-color: #1f1f1f !important; /* Koyu Gri Arka Plan */
    border: 2px dashed #333;               /* Kesik Çizgili Kenarlık */
    border-radius: 10px;                   /* Yuvarlak Köşeler */
    padding: 20px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.site-box:hover {
    border-color: var(--primary-color);    /* Üzerine gelince mavi olur */
    background-color: #252525 !important;
}