/* AdereRH - Light Theme Styles */

/* Light theme specific styles */
[data-bs-theme="light"] {
    --bs-body-bg: #ffffff;
    --bs-body-color: #212529;
    --bs-border-color: #dee2e6;
    --bs-primary: #0d6efd;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
}

/* Light theme navbar adjustments */
[data-bs-theme="light"] .navbar-dark {
    background-color: #0d6efd !important;
}

[data-bs-theme="light"] .navbar-dark .navbar-brand,
[data-bs-theme="light"] .navbar-dark .nav-link {
    color: #ffffff !important;
}

[data-bs-theme="light"] .navbar-dark .nav-link:hover {
    color: #e6f3ff !important;
}

[data-bs-theme="light"] .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="light"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Light theme cards */
[data-bs-theme="light"] .card {
    background-color: #ffffff;
    border-color: #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

[data-bs-theme="light"] .card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

[data-bs-theme="light"] .card-header {
    background-color: #f8f9fa;
    border-bottom-color: #dee2e6;
}

/* Light theme forms */
[data-bs-theme="light"] .form-control,
[data-bs-theme="light"] .form-select {
    background-color: #ffffff;
    border-color: #ced4da;
    color: #212529;
}

[data-bs-theme="light"] .form-control:focus,
[data-bs-theme="light"] .form-select:focus {
    background-color: #ffffff;
    border-color: #86b7fe;
    color: #212529;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

[data-bs-theme="light"] .form-control::placeholder {
    color: #6c757d;
}

/* Light theme tables */
[data-bs-theme="light"] .table {
    --bs-table-bg: #ffffff;
    --bs-table-striped-bg: #f8f9fa;
    --bs-table-hover-bg: #f5f5f5;
    color: #212529;
}

[data-bs-theme="light"] .table-hover tbody tr:hover {
    background-color: #f5f5f5;
}

/* Light theme badges */
[data-bs-theme="light"] .badge {
    color: #ffffff;
}

[data-bs-theme="light"] .badge.bg-light {
    color: #212529 !important;
}

/* Light theme alerts */
[data-bs-theme="light"] .alert {
    border-width: 1px;
}

[data-bs-theme="light"] .alert-primary {
    background-color: #cff4fc;
    border-color: #b8daff;
    color: #055160;
}

[data-bs-theme="light"] .alert-success {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

[data-bs-theme="light"] .alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

[data-bs-theme="light"] .alert-warning {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

[data-bs-theme="light"] .alert-danger {
    background-color: #f8d7da;
    border-color: #f1aeb5;
    color: #721c24;
}

/* Light theme buttons */
[data-bs-theme="light"] .btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}

[data-bs-theme="light"] .btn-outline-primary:hover {
    color: #ffffff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Light theme modals */
[data-bs-theme="light"] .modal-content {
    background-color: #ffffff;
    color: #212529;
}

[data-bs-theme="light"] .modal-header {
    border-bottom-color: #dee2e6;
}

[data-bs-theme="light"] .modal-footer {
    border-top-color: #dee2e6;
}

/* Light theme dropdown */
[data-bs-theme="light"] .dropdown-menu {
    background-color: #ffffff;
    border-color: #dee2e6;
}

[data-bs-theme="light"] .dropdown-item {
    color: #212529;
}

[data-bs-theme="light"] .dropdown-item:hover,
[data-bs-theme="light"] .dropdown-item:focus {
    background-color: #f8f9fa;
    color: #212529;
}

[data-bs-theme="light"] .dropdown-divider {
    border-top-color: #dee2e6;
}

/* Light theme theme toggle button */
[data-bs-theme="light"] .theme-toggle {
    border-color: #212529 !important;
    color: #212529 !important;
}

[data-bs-theme="light"] .theme-toggle:hover {
    background-color: #212529 !important;
    color: #ffffff !important;
}

/* Light theme specific overrides for evaluation items */
[data-bs-theme="light"] .evaluation-item {
    border-color: #dee2e6;
    background-color: #ffffff;
}

[data-bs-theme="light"] .evaluation-item:hover {
    border-color: #0d6efd;
}

[data-bs-theme="light"] .evaluation-section {
    border-left-color: #0d6efd;
}

/* Light theme chart containers */
[data-bs-theme="light"] .chart-container {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

/* Light theme text colors */
[data-bs-theme="light"] .text-muted {
    color: #6c757d !important;
}

[data-bs-theme="light"] .text-primary {
    color: #0d6efd !important;
}

/* Light theme mobile navigation */
[data-bs-theme="light"] .mobile-nav {
    background-color: #ffffff;
    border-top: 1px solid #dee2e6;
}

[data-bs-theme="light"] .mobile-nav-item {
    color: #6c757d;
}

[data-bs-theme="light"] .mobile-nav-item.active {
    color: #0d6efd;
}

/* Light theme chat AI widget */
[data-bs-theme="light"] #chat-ai-popup {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

[data-bs-theme="light"] #chat-ai-messages {
    background-color: #f8f9fa;
}

[data-bs-theme="light"] .user-message {
    background-color: #e3f2fd;
    color: #1565c0;
}

[data-bs-theme="light"] .ai-message {
    background-color: #ffffff;
    color: #212529;
    border: 1px solid #dee2e6;
}

/* Light theme floating observation widget */
[data-bs-theme="light"] .floating-observation {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .floating-observation .btn-success {
    background-color: #198754;
    border-color: #198754;
}

/* Light theme DISC assessment */
[data-bs-theme="light"] .disc-option {
    background-color: #ffffff;
    border: 2px solid #dee2e6;
    color: #212529;
}

[data-bs-theme="light"] .disc-option:hover {
    border-color: #0d6efd;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

[data-bs-theme="light"] .disc-option.selected-mais {
    background-color: #d4edda;
    border-color: #198754;
}

[data-bs-theme="light"] .disc-option.selected-menos {
    background-color: #f8d7da;
    border-color: #dc3545;
}

/* Light theme gradient backgrounds */
[data-bs-theme="light"] .bg-gradient-primary {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
}

[data-bs-theme="light"] .bg-gradient-success {
    background: linear-gradient(135deg, #198754, #146c43);
}

[data-bs-theme="light"] .bg-gradient-info {
    background: linear-gradient(135deg, #0dcaf0, #0aa2c0);
}

/* Light theme stats cards */
[data-bs-theme="light"] .stats-card {
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    color: white;
}

[data-bs-theme="light"] .stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Light theme loading states */
[data-bs-theme="light"] .spinner-border {
    color: #0d6efd;
}

/* Light theme form validation */
[data-bs-theme="light"] .is-valid {
    border-color: #198754;
}

[data-bs-theme="light"] .is-invalid {
    border-color: #dc3545;
}

[data-bs-theme="light"] .valid-feedback {
    color: #198754;
}

[data-bs-theme="light"] .invalid-feedback {
    color: #dc3545;
}