/* Koyu Tema Stilleri */
body.dark-theme {
    background-color: #121212;
    color: #e0e0e0;
}

/* Navbar Stilleri */
body.dark-theme .navbar {
    background-color: #1e1e1e !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

body.dark-theme .navbar-dark .navbar-nav .nav-link {
    color: #e0e0e0;
}

body.dark-theme .navbar-dark .navbar-nav .nav-link:hover,
body.dark-theme .navbar-dark .navbar-nav .nav-link:focus {
    color: #ffffff;
}

body.dark-theme .navbar-dark .navbar-nav .active > .nav-link,
body.dark-theme .navbar-dark .navbar-nav .nav-link.active {
    color: #4285f4;
}

/* Kart Stilleri */
body.dark-theme .card {
    background-color: #1e1e1e;
    border-color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

body.dark-theme .card-header {
    background-color: #2d2d2d;
    border-bottom-color: #333;
    color: #e0e0e0;
}

body.dark-theme .card-footer {
    background-color: #2d2d2d;
    border-top-color: #333;
}

/* Tablo Stilleri */
body.dark-theme .table {
    color: #e0e0e0;
}

body.dark-theme .table th {
    border-top-color: #444;
    border-bottom-color: #444;
}

body.dark-theme .table td {
    border-top-color: #444;
}

body.dark-theme .table-hover tbody tr:hover {
    background-color: rgba(66, 133, 244, 0.1);
}

body.dark-theme .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.05);
}
body.dark-theme .table-bordered {
    border-color: #444;
}

body.dark-theme .table-bordered th,
body.dark-theme .table-bordered td {
    border-color: #444;
}

/* Form Stilleri */
body.dark-theme .form-control,
body.dark-theme .form-select {
    background-color: #2d2d2d;
    border-color: #444;
    color: #e0e0e0;
}

body.dark-theme .form-control:focus,
body.dark-theme .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(66, 133, 244, 0.25);
    border-color: #444;
}

/* Buton Stilleri */
body.dark-theme .btn-light {
    background-color: #2d2d2d;
    border-color: #444;
    color: #e0e0e0;
}

body.dark-theme .btn-light:hover {
    background-color: #3d3d3d;
    border-color: #555;
    color: #ffffff;
}

body.dark-theme .btn-outline-secondary {
    color: #e0e0e0;
    border-color: #555;
}

body.dark-theme .btn-outline-secondary:hover {
    background-color: #3d3d3d;
    color: #ffffff;
}

/* Modal Stilleri */
body.dark-theme .modal-content {
    background-color: #1e1e1e;
    border-color: #333;
}

body.dark-theme .modal-header {
    border-bottom-color: #333;
}

body.dark-theme .modal-footer {
    border-top-color: #333;
}

/* Dropdown Stilleri */
body.dark-theme .dropdown-menu {
    background-color: #2d2d2d;
    border-color: #444;
}

body.dark-theme .dropdown-item {
    color: #e0e0e0;
}

body.dark-theme .dropdown-item:hover {
    background-color: #3d3d3d;
    color: #ffffff;
}

/* Footer Stilleri */
body.dark-theme footer {
    background-color: #1e1e1e !important;
}

/* Diğer Öğeler */
body.dark-theme hr {
    border-color: #444;
}

body.dark-theme .text-muted {
    color: #aaaaaa !important;
}

/* Grafik Stilleri */
body.dark-theme .chartjs-render-monitor {
    filter: invert(0.9) hue-rotate(180deg);
}

/* Bildirim Stilleri */
body.dark-theme .alert-success {
    background-color: #0d392d;
    color: #8cffd0;
    border-color: #0f5741;
}

body.dark-theme .alert-danger {
    background-color: #3d0f0f;
    color: #ffb3b3;
    border-color: #5e1c1c;
}

body.dark-theme .alert-warning {
    background-color: #3d300f;
    color: #ffe0b3;
    border-color: #5e4b1c;
}

body.dark-theme .alert-info {
    background-color: #0f2a3d;
    color: #b3e0ff;
    border-color: #1c445e;
}

/* Tema Değiştirici */
.theme-switcher {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

body.dark-theme .theme-switcher {
    background-color: #2d2d2d;
    color: #ffffff;
}

body:not(.dark-theme) .theme-switcher {
    background-color: #f0f0f0;
    color: #333333;
}

/* Erişilebilirlik İyileştirmeleri */
body.dark-theme .focus-visible,
body.dark-theme :focus-visible {
    outline: 2px solid #4285f4 !important;
    outline-offset: 2px !important;
}

body:not(.dark-theme) .focus-visible,
body:not(.dark-theme) :focus-visible {
    outline: 2px solid #4285f4 !important;
    outline-offset: 2px !important;
}

/* Eğitim Modülü Stilleri */
.tutorial-modal {
    position: absolute;
    z-index: 10000;
    width: 350px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.tutorial-modal.dark-theme {
    background-color: #1e1e1e;
    color: #e0e0e0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tutorial-modal-content {
    padding: 0;
}

.tutorial-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tutorial-modal.dark-theme .tutorial-header {
    border-bottom-color: #333;
}

.tutorial-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.tutorial-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    color: #666;
}

.tutorial-modal.dark-theme .tutorial-close {
    color: #aaa;
}

.tutorial-close:hover {
    color: #333;
}

.tutorial-modal.dark-theme .tutorial-close:hover {
    color: #fff;
}

.tutorial-body {
    padding: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.tutorial-footer {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tutorial-modal.dark-theme .tutorial-footer {
    border-top-color: #333;
}

.tutorial-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.tutorial-btn-skip {
    background-color: transparent;
    color: #666;
}

.tutorial-modal.dark-theme .tutorial-btn-skip {
    color: #aaa;
}

.tutorial-btn-skip:hover {
    color: #333;
}

.tutorial-modal.dark-theme .tutorial-btn-skip:hover {
    color: #fff;
}

.tutorial-btn-prev,
.tutorial-btn-next {
    background-color: #f0f0f0;
    color: #333;
    margin-left: 8px;
}

.tutorial-modal.dark-theme .tutorial-btn-prev,
.tutorial-modal.dark-theme .tutorial-btn-next {
    background-color: #2d2d2d;
    color: #e0e0e0;
}

.tutorial-btn-prev:hover,
.tutorial-btn-next:hover {
    background-color: #e0e0e0;
}

.tutorial-modal.dark-theme .tutorial-btn-prev:hover,
.tutorial-modal.dark-theme .tutorial-btn-next:hover {
    background-color: #3d3d3d;
}

.tutorial-nav-buttons {
    display: flex;
}

.tutorial-step-count {
    font-size: 14px;
    color: #666;
}

.tutorial-modal.dark-theme .tutorial-step-count {
    color: #aaa;
}

.tutorial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    pointer-events: none;
}

.tutorial-highlight {
    position: relative;
    z-index: 10000;
    box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.8);
    border-radius: 4px;
}

.tutorial-reminder-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    width: 400px;
    padding: 20px;
}

.tutorial-reminder-modal.dark-theme {
    background-color: #1e1e1e;
    color: #e0e0e0;
}

.tutorial-reminder-content h3 {
    margin-top: 0;
    font-size: 18px;
}

.tutorial-reminder-buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.tutorial-btn-cancel {
    background-color: transparent;
    color: #666;
    margin-right: 10px;
}

.tutorial-reminder-modal.dark-theme .tutorial-btn-cancel {
    color: #aaa;
}

.tutorial-btn-primary {
    background-color: #4285f4;
    color: #fff;
}

.tutorial-btn-primary:hover {
    background-color: #3367d6;
}