/* ================== */
/* Genel Stiller      */
/* ================== */

.status-badge {
    font-size: 1rem;
    padding: 0.5em 0.8em;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.form-section h5 {
    color: #0d6efd;
}

.file-list {
    list-style-type: none;
    padding-left: 0;
}

.file-list li {
    padding: 8px;
    border: 1px solid #ddd;
    margin-bottom: 5px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-item {
    transition: all 0.3s;
}

.file-item:hover {
    background-color: #f8f9fa;
}

.detail-card {
    border-left: 5px solid #0d6efd;
}

/* ================== */
/* Sidebar & Menü     */
/* ================== */

.sidebar {
    min-height: 100vh;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar .dropdown-menu {
    min-width: 100%;
}

.nav-link {
    border-radius: 5px;
    margin-bottom: 5px;
    color: #000000;
}

.nav-link:hover {
    color: #616161 !important;
}

.nav-link.active {
    background-color: #000000;
    color: white !important;
    font-weight: bold;
}

.nav-link.active:hover {
    color: white !important;
}

/* ================== */
/* Kart ve Sayılar    */
/* ================== */

.card-counter {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 5px;
    transition: 0.3s;
}

.card-counter:hover {
    transform: translateY(-5px);
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.2);
}

/* ================== */
/* Kanban (İş Takip)  */
/* ================== */

.kanban-user-card {
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 12px;
    min-height: 400px;
    margin-bottom: 24px;
}

.kanban-user-header {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
    padding: 10px 0;
    background: #e9ecef;
    text-align: center;
    border-radius: 16px;
}

.card.kanban-task {
    border-left: 5px solid #0d6efd;
    transition: box-shadow 0.2s;
    margin-bottom: 10px;
}

.card.kanban-task:hover {
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.15);
    border-left: 5px solid #6610f2;
}

/* ================== */
/* KARANLIK TEMA      */
/* ================== */

body.dark {
    background-color: #1e1e1e; /* 🎨 Daha açık ve okunabilir siyah */
    color: #e0e0e0;
}

/* Genel bileşenler */
body.dark .card,
body.dark .kanban-user-card {
    background-color: #1e1e1e;
    color: #e0e0e0;
    border-color: #333;
}

/* Sidebar */
body.dark .sidebar {
    background-color: #1e1e1e;
    color: #e0e0e0;
}

body.dark .nav-link {
    color: #ccc;
}

body.dark .nav-link:hover {
    color: #fff !important;
}

body.dark .nav-link.active {
    background-color: #333;
    color: #fff !important;
}

/* Kanban başlık ve footer */
body.dark .kanban-user-header,
body.dark .card-footer {
    background: #252525; /* Bir tık daha açık */
    color: #e0e0e0 !important;
}

/* Formlar */
body.dark .form-control,
body.dark .form-select {
    background-color: #2a2a2a;
    color: #fff;
    border-color: #444;
}

body.dark .form-control:focus,
body.dark .form-select:focus {
    background-color: #2a2a2a;
    color: #fff;
    border-color: #666;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Tablolar */
body.dark .table {
    color: #e0e0e0;
}

body.dark .table thead th {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border-color: #444;
}

body.dark .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Dropdown menü */
body.dark .dropdown-menu {
    background-color: #1e1e1e;
    border-color: #444;
    color: #e0e0e0;
}

body.dark .dropdown-item {
    color: #ccc;
}

body.dark .dropdown-item:hover {
    background-color: #333;
    color: #fff;
}

/* Butonlar */
body.dark .btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

body.dark .btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}

body.dark .btn-outline-primary:hover {
    background-color: #0d6efd;
    color: white;
}

/* Başlıklar: text-black yerine temaya duyarlı */
body.dark h1,
body.dark h2,
body.dark h3,
body.dark h4,
body.dark h5,
body.dark h6 {
    color: #e0e0e0;
}
.gantt .bar-progress {
    fill: #28a745;
}

.gantt .bar {
    fill: #007bff;
    rx: 3;
    ry: 3;
}

.gantt .bar-wrapper:hover .bar {
    fill: #0056b3;
}

.gantt .grid-header {
    fill: #f8f9fa;
}

.gantt .grid-row {
    fill: #ffffff;
}

.gantt .grid-row:nth-child(even) {
    fill: #f8f9fa;
}

.gantt .today-highlight {
    fill: #ffeb3b;
    opacity: 0.5;
}
.dragging {
    transform: rotate(5deg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.drag-over {
    background-color: #f8f9fa;
    border: 2px dashed #007bff;
    min-height: 200px;
}

.kanban-task {
    transition: all 0.3s ease;
    user-select: none;
}

.kanban-task:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.kanban-user-header {
    padding: 10px 15px;
    border-radius: 5px 5px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kanban-user-card {
    background: #f8f9fa;
    border-radius: 5px;
    padding: 0;
    margin-bottom: 20px;
    min-height: 200px;
}

#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
}
/* ========== GİRİŞ SAYFASI - TEMA DESTEĞİ ========== */
.login-theme-toggle-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

/* Opsiyonel: Koyu modda arka plan rengi */
html[data-bs-theme="dark"] body {
    background-color: #121212;
    color: #f8f9fa;
}