﻿/* =========================================
   AYDINLAR ELEKTRONİK - DARK THEME FULL OVERRIDE
   Mevcut HTML yapısını değiştirmeden koyu tema uygular.
   ========================================= */

/* --- 1. ANA SAYFA YAPISI --- */
body {
    background-color: #1e1e2f !important; /* Koyu Lacivert Arka Plan */
    color: #d1d1d1 !important; /* Açık Gri Yazı */
    font-family: 'Open Sans', sans-serif;
}

/* Sağ Panel (İçerik Alanı) */
#right-panel, .right-panel {
    background-color: #1e1e2f !important;
}

/* Sol Panel (Menü) */
/*aside.left-panel, .left-panel {
    background: #27293d !important;*/ /* Menü daha açık bir ton */
    /*border-right: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 2px 0 20px rgba(0,0,0,0.5);
}*/

/* --- 2. LOGO ALANI VE DEVRE TEMASI --- */
/* Sol üstteki logo kısmına devre kartı resmini ekler */
.navbar-header {
    background-color: #27293d !important;
    /* Resim ve üzerine karartma filtresi */
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid #00bcd4; /* Altına neon mavi çizgi */
    padding-top: 20px;
    padding-bottom: 20px;
}

.navbar-brand {
    color: #fff !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

/* --- 3. MENÜ LİNKLERİ --- */
.navbar .navbar-nav li > a {
    color: #a9a9b7 !important; /* Pasif link rengi */
}

    /* Hover ve Aktif Durum */
    .navbar .navbar-nav li > a:hover,
    .navbar .navbar-nav li.active > a {
        color: #fff !important;
        background-color: rgba(255, 255, 255, 0.05) !important;
        border-left: 3px solid #00bcd4; /* Sol tarafa mavi çubuk */
    }

.menu-icon {
    color: #00bcd4 !important; /* İkonlar Mavi */
}

.menu-title {
    color: #6a6c79 !important; /* Başlıklar sönük gri */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Açılır Menüler */
.sub-menu {
    background: #1e1e2f !important;
}

    .sub-menu li {
        background: transparent !important;
    }

/* --- 4. ÜST HEADER (Kullanıcı Alanı) --- */
header#header, .header {
    background: #27293d !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff !important;
}

/* --- 5. KUTULAR, KARTLAR VE JUMBOTRON --- */
/* Bootstrap panellerini ve kartlarını koyulaştırır */
.card, .panel, .jumbotron {
    background-color: #27293d !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    color: #d1d1d1 !important;
}

.card-header, .panel-heading {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
    font-weight: bold;
}

h1, h2, h3, h4, h5, h6 {
    color: #fff !important; /* Başlıklar beyaz */
}

/* --- 6. TABLOLAR --- */
.table {
    color: #d1d1d1 !important;
    background-color: transparent !important;
}

    .table thead th {
        border-bottom: 2px solid #00bcd4 !important;
        border-top: none !important;
        color: #fff !important;
    }

    .table td, .table th {
        border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    }

/* Tablo satırına gelince parlasın */
.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* --- 7. FORMLAR (Inputlar) --- */
.form-control {
    background-color: #1d1e26 !important;
    border: 1px solid #444 !important;
    color: #fff !important;
}

    .form-control:focus {
        border-color: #00bcd4 !important;
        box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.25) !important;
    }

/* --- 8. LOGİN İKON EFEKTİ --- */
/* İkonunuza verdiğiniz class veya genel SVG */
.user-area a svg {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.user-area a:hover svg {
    transform: scale(1.3);
    stroke: #fff;
    filter: drop-shadow(0 0 8px rgba(0, 188, 212, 1));
    cursor: pointer;
}

/* --- 9. BUTONLAR --- */
.btn-primary, .btn-info {
    background-color: #00bcd4 !important;
    border-color: #00bcd4 !important;
}

    .btn-primary:hover, .btn-info:hover {
        background-color: #008ba3 !important;
        box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
    }

/* --- YENİ EKLENEN WIDGET KARTLARI --- */
.bg-dark-gradient {
    background: linear-gradient(45deg, #27293d, #1e1e2f);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
}

    .bg-dark-gradient:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 188, 212, 0.15);
    }

.border-left-cyan {
    border-left: 4px solid #00bcd4 !important;
}

.border-left-warning {
    border-left: 4px solid #ffc107 !important;
}

.border-left-success {
    border-left: 4px solid #28a745 !important;
}

.border-left-danger {
    border-left: 4px solid #dc3545 !important;
}

.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.text-cyan {
    color: #00bcd4;
}

.bg-cyan-soft {
    background: rgba(0, 188, 212, 0.15);
}

.bg-warning-soft {
    background: rgba(255, 193, 7, 0.15);
}

.bg-success-soft {
    background: rgba(40, 167, 69, 0.15);
}

.bg-danger-soft {
    background: rgba(220, 53, 69, 0.15);
}

:root {
    --ae-cyan: #00bcd4;
    --ae-green: #00ff9d;
    --ae-yellow: #ffc107;
    --ae-red: #ff4d4d;
}

/* Menü linklerini daha "kart buton" hissine getir */
.navbar .navbar-nav li > a {
    border-radius: 14px !important;
    margin: 6px 10px !important;
    padding: 10px 12px !important;
    transition: all .22s ease !important;
}

    .navbar .navbar-nav li > a:hover,
    .navbar .navbar-nav li.active > a {
        background: rgba(0,188,212,.10) !important;
        box-shadow: 0 0 0 1px rgba(0,188,212,.18), 0 12px 28px rgba(0,0,0,.35) !important;
        transform: translateY(-1px) !important;
        border-left: 3px solid var(--ae-cyan) !important; /* sende vardı, koruduk */
    }

/* Dropdown alt menü de kart gibi */
.sub-menu, .dropdown-menu {
    background: #1e1e2f !important;
    border: 1px solid rgba(0,188,212,.12) !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.45) !important;
}

/* Sol panel ikon renkleri text-* ile uyumlu kalsın */
.text-info {
    color: var(--ae-cyan) !important;
}

.text-success {
    color: var(--ae-green) !important;
}

.text-warning {
    color: var(--ae-yellow) !important;
}

.text-danger {
    color: var(--ae-red) !important;
}

/* Kart / butonlarda ortak glow sınıfları (senin yeni tile’lar için) */
.glow-cyan {
    border-left: 4px solid var(--ae-cyan) !important;
    box-shadow: 0 0 14px rgba(0,188,212,.22), 0 10px 25px rgba(0,0,0,.35) !important;
    border-radius: 18px !important;
}

.glow-green {
    border-left: 4px solid var(--ae-green) !important;
    box-shadow: 0 0 14px rgba(0,255,157,.18), 0 10px 25px rgba(0,0,0,.35) !important;
    border-radius: 18px !important;
}

.glow-yellow {
    border-left: 4px solid var(--ae-yellow) !important;
    box-shadow: 0 0 14px rgba(255,193,7,.18), 0 10px 25px rgba(0,0,0,.35) !important;
    border-radius: 18px !important;
}

.glow-red {
    border-left: 4px solid var(--ae-red) !important;
    box-shadow: 0 0 14px rgba(255,77,77,.18), 0 10px 25px rgba(0,0,0,.35) !important;
    border-radius: 18px !important;
}

/* Senin premium-card / dashboard-btn ortaklaşsın */
.premium-card,
.dashboard-btn {
    background: linear-gradient(135deg, #27293d, #1e1e2f) !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    border-radius: 18px !important;
    transition: transform .25s ease, box-shadow .25s ease !important;
}

    .premium-card:hover,
    .dashboard-btn:hover {
        transform: translateY(-4px) !important;
        box-shadow: 0 18px 40px rgba(0,0,0,.45) !important;
    }

/* Combobox (senin premium-select) bu temaya uyumlu olsun */
.premium-select {
    background: linear-gradient(135deg, #1d1e26, #242634) !important;
    border: 1px solid rgba(0,188,212,.30) !important;
    border-radius: 14px !important;
    color: #fff !important;
}

    .premium-select:focus {
        border-color: var(--ae-cyan) !important;
        box-shadow: 0 0 0 .2rem rgba(0,188,212,.20) !important;
    }