
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a2e;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    background-color: #16213e !important;
    border-bottom: 1px solid #2a2a4a;
}

/* Ana içerik */
.main-content {
    flex: 1;
    padding-top: 1rem;
}

/* Giriş/Kayıt kutusu */
.auth-card {
    max-width: 420px;
    margin: 2rem auto;
    padding: 2rem;
    background: #16213e;
    border-radius: 8px;
    border: 1px solid #2a2a4a;
}

.auth-card h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.auth-card .alt-baslik {
    text-align: center;
    color: #8888aa;
    margin-bottom: 1.5rem;
}

/* Form elemanları */
.form-control {
    background-color: #0f3460;
    border: 1px solid #2a2a4a;
    color: #e0e0e0;
}

.form-control:focus {
    background-color: #0f3460;
    border-color: #5380b0;
    color: #e0e0e0;
    box-shadow: 0 0 0 2px rgba(83, 128, 176, 0.3);
}

.form-control::placeholder {
    color: #6a6a8a;
}

.form-label {
    color: #b0b0cc;
}

/* Platform kartları */
.platform-kart {
    background: #16213e;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid #2a2a4a;
    height: 100%;
}

.platform-kart h3 {
    margin: 0.5rem 0;
    color: #ffffff;
}

.platform-kart .aciklama {
    color: #8888aa;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.platform-kart .platform-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Platform renkleri */
.platform-kart.youtube { border-top: 4px solid #ff0000; }
.platform-kart.netflix { border-top: 4px solid #e50914; }
.platform-kart.spotify { border-top: 4px solid #1db954; }

.platform-kart.youtube .platform-icon { color: #ff0000; }
.platform-kart.netflix .platform-icon { color: #e50914; }
.platform-kart.spotify .platform-icon { color: #1db954; }

/* Abone rozeti */
.badge-abone {
    background-color: #1a3a2a;
    color: #4caf50;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Abonelik listesi */
.abonelik-listesi {
    background: #16213e;
    border-radius: 8px;
    border: 1px solid #2a2a4a;
}

.abonelik-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #2a2a4a;
}

.abonelik-item:last-child {
    border-bottom: none;
}

.abonelik-bilgi {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.platform-badge {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.platform-badge.youtube { background: #3a1a1a; color: #ff0000; }
.platform-badge.netflix { background: #3a1a1a; color: #e50914; }
.platform-badge.spotify { background: #1a3a2a; color: #1db954; }

/* Admin paneli */
.admin-baslik {
    background: #16213e;
    color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #2a2a4a;
}

.admin-baslik h1 {
    margin: 0;
    font-size: 1.5rem;
}

.istatistik-kart {
    background: #16213e;
    border-radius: 8px;
    padding: 1.2rem;
    text-align: center;
    border: 1px solid #2a2a4a;
}

.istatistik-sayi {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.istatistik-etiket {
    color: #8888aa;
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

/* Arama kutusu */
.arama-kutusu {
    background: #16213e;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #2a2a4a;
}

/* Tablo */
.tablo-container {
    background: #16213e;
    border-radius: 8px;
    border: 1px solid #2a2a4a;
    overflow: hidden;
}

.table {
    margin-bottom: 0;
    color: #e0e0e0;
    --bs-table-bg: #16213e;
    --bs-table-hover-bg: #1a2744;
    --bs-table-striped-bg: #1a2744;
    --bs-table-color: #e0e0e0;
    --bs-table-hover-color: #e0e0e0;
    --bs-table-border-color: #2a2a4a;
}

.table thead th {
    background: #0f3460 !important;
    color: #b0b0cc;
    border-bottom: 1px solid #2a2a4a;
}

.table tbody td {
    background: #16213e;
    border-bottom: 1px solid #2a2a4a;
}

.table tbody tr:hover td {
    background-color: #1a2744;
}

.table-dark {
    --bs-table-bg: #0f3460 !important;
    --bs-table-color: #b0b0cc;
    background-color: #0f3460 !important;
}

.table-hover > tbody > tr:hover > * {
    --bs-table-bg-state: #1a2744;
    color: #e0e0e0;
}

/* Platform linkleri */
.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid;
}

.platform-link.youtube { background: #2a1515; color: #ff4444; border-color: #3a1a1a; }
.platform-link.netflix { background: #2a1515; color: #ff4444; border-color: #3a1a1a; }
.platform-link.spotify { background: #152a1a; color: #4caf50; border-color: #1a3a2a; }

.platform-link:hover.youtube { color: #ff6666; }
.platform-link:hover.netflix { color: #ff6666; }
.platform-link:hover.spotify { color: #66cc77; }

/* Footer */
.site-footer {
    background: #0f0f23;
    color: #6a6a8a;
    padding: 1rem 0;
    font-size: 0.85rem;
    margin-top: auto;
    text-align: center;
    border-top: 1px solid #2a2a4a;
}

/* Boş durum */
.bos-durum {
    text-align: center;
    padding: 2rem;
    color: #6a6a8a;
}

.bos-durum i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Kullanıcı avatar */
.kullanici-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #0f3460;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

/* Sayfa başlıkları */
.sayfa-baslik {
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #ffffff;
}

.sayfa-alt-baslik {
    color: #8888aa;
    margin-bottom: 1.5rem;
}

/* Card */
.card {
    background: #16213e;
    border: 1px solid #2a2a4a;
    color: #e0e0e0;
}

/* Alert */
.alert-info {
    background: #162a3e;
    border-color: #2a4a6a;
    color: #7ab8e0;
}

.alert-success {
    background: #1a3a2a;
    color: #66cc77;
    border-color: #2a4a3a;
}

.alert-warning {
    background: #3a3a1a;
    color: #cccc66;
    border-color: #4a4a2a;
}

.btn-close {
    filter: invert(1);
}

/* Badge */
.badge.bg-secondary {
    background-color: #2a2a4a !important;
}

/* Link */
a { color: #5380b0; }
a:hover { color: #7ab8e0; }

/* Outline butonlar koyu temaya uyum */
.btn-outline-secondary {
    color: #8888aa;
    border-color: #2a2a4a;
}

.btn-outline-secondary:hover {
    background: #2a2a4a;
    color: #e0e0e0;
}

.btn-outline-primary {
    color: #5380b0;
    border-color: #5380b0;
}

.btn-outline-primary:hover {
    background: #5380b0;
    color: white;
}

.btn-outline-danger {
    color: #e05050;
    border-color: #e05050;
}

.btn-outline-danger:hover {
    background: #e05050;
    color: white;
}

/* text-muted koyu temada daha iyi görünsün */
.text-muted {
    color: #8888aa !important;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .abonelik-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}