/* Fix Blue Text Issue in Light Mode */

/* Override any blue text that might appear in light mode */
body:not(.dark-theme):not([data-theme="dark"]) * {
    color: #333333 !important;
}

/* Ensure links are not blue but still visible */
body:not(.dark-theme):not([data-theme="dark"]) a {
    color: #333333 !important;
    text-decoration: underline !important;
}

body:not(.dark-theme):not([data-theme="dark"]) a:hover {
    color: #28a745 !important;
}

/* Keep form inputs readable */
body:not(.dark-theme):not([data-theme="dark"]) input,
body:not(.dark-theme):not([data-theme="dark"]) textarea,
body:not(.dark-theme):not([data-theme="dark"]) select,
body:not(.dark-theme):not([data-theme="dark"]) .form-control,
body:not(.dark-theme):not([data-theme="dark"]) .form-select {
    background-color: #ffffff !important;
    color: #333333 !important;
    border-color: #dee2e6 !important;
}

/* Keep buttons with their intended colors */
body:not(.dark-theme):not([data-theme="dark"]) .btn-primary {
    color: #ffffff !important;
}

body:not(.dark-theme):not([data-theme="dark"]) .btn-success {
    color: #ffffff !important;
}

body:not(.dark-theme):not([data-theme="dark"]) .btn-warning {
    color: #000000 !important;
}

body:not(.dark-theme):not([data-theme="dark"]) .btn-danger {
    color: #ffffff !important;
}

body:not(.dark-theme):not([data-theme="dark"]) .btn-info {
    color: #ffffff !important;
}

/* Ensure navbar text is proper */
body:not(.dark-theme):not([data-theme="dark"]) .navbar .navbar-brand,
body:not(.dark-theme):not([data-theme="dark"]) .navbar .nav-link {
    color: #333333 !important;
}

/* Override any Bootstrap blue text classes */
body:not(.dark-theme):not([data-theme="dark"]) .text-primary {
    color: #333333 !important;
}

body:not(.dark-theme):not([data-theme="dark"]) .text-info {
    color: #333333 !important;
}