/* Sistema de Temas - Casa em Ordem */

/* Tema Padrão (Azul) */
:root {
    --primary-color: #007cba;
    --primary-hover: #005a87;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --background-color: #ffffff;
    --text-color: #333333;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #007cba, #005a87);
    --gradient-secondary: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

/* Tema Verde Natureza */
.theme-nature {
    --primary-color: #2d5016;
    --primary-hover: #1a3009;
    --secondary-color: #6b8e23;
    --success-color: #4caf50;
    --danger-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196f3;
    --light-color: #f1f8e9;
    --dark-color: #1b5e20;
    --background-color: #ffffff;
    --text-color: #2e7d32;
    --border-color: #c8e6c9;
    --shadow-color: rgba(45, 80, 22, 0.1);
    --gradient-primary: linear-gradient(135deg, #2d5016, #1a3009);
    --gradient-secondary: linear-gradient(135deg, #f1f8e9, #e8f5e8);
}

/* Tema Roxo Elegante */
.theme-purple {
    --primary-color: #6a1b9a;
    --primary-hover: #4a148c;
    --secondary-color: #9c27b0;
    --success-color: #4caf50;
    --danger-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196f3;
    --light-color: #f3e5f5;
    --dark-color: #4a148c;
    --background-color: #ffffff;
    --text-color: #4a148c;
    --border-color: #e1bee7;
    --shadow-color: rgba(106, 27, 154, 0.1);
    --gradient-primary: linear-gradient(135deg, #6a1b9a, #4a148c);
    --gradient-secondary: linear-gradient(135deg, #f3e5f5, #e8d5f2);
}

/* Tema Laranja Energia */
.theme-orange {
    --primary-color: #ff5722;
    --primary-hover: #d84315;
    --secondary-color: #ff9800;
    --success-color: #4caf50;
    --danger-color: #f44336;
    --warning-color: #ffc107;
    --info-color: #2196f3;
    --light-color: #fff3e0;
    --dark-color: #bf360c;
    --background-color: #ffffff;
    --text-color: #d84315;
    --border-color: #ffccbc;
    --shadow-color: rgba(255, 87, 34, 0.1);
    --gradient-primary: linear-gradient(135deg, #ff5722, #d84315);
    --gradient-secondary: linear-gradient(135deg, #fff3e0, #ffe0b2);
}

/* Tema Azul Oceano */
.theme-ocean {
    --primary-color: #006064;
    --primary-hover: #004d40;
    --secondary-color: #00bcd4;
    --success-color: #4caf50;
    --danger-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196f3;
    --light-color: #e0f2f1;
    --dark-color: #004d40;
    --background-color: #ffffff;
    --text-color: #006064;
    --border-color: #b2dfdb;
    --shadow-color: rgba(0, 96, 100, 0.1);
    --gradient-primary: linear-gradient(135deg, #006064, #004d40);
    --gradient-secondary: linear-gradient(135deg, #e0f2f1, #b2dfdb);
}

/* Tema Rosa Romântico */
.theme-pink {
    --primary-color: #c2185b;
    --primary-hover: #880e4f;
    --secondary-color: #e91e63;
    --success-color: #4caf50;
    --danger-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196f3;
    --light-color: #fce4ec;
    --dark-color: #880e4f;
    --background-color: #ffffff;
    --text-color: #c2185b;
    --border-color: #f8bbd9;
    --shadow-color: rgba(194, 24, 91, 0.1);
    --gradient-primary: linear-gradient(135deg, #c2185b, #880e4f);
    --gradient-secondary: linear-gradient(135deg, #fce4ec, #f8bbd9);
}

/* Tema Cinza Moderno */
.theme-gray {
    --primary-color: #424242;
    --primary-hover: #212121;
    --secondary-color: #757575;
    --success-color: #4caf50;
    --danger-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196f3;
    --light-color: #f5f5f5;
    --dark-color: #212121;
    --background-color: #ffffff;
    --text-color: #424242;
    --border-color: #e0e0e0;
    --shadow-color: rgba(66, 66, 66, 0.1);
    --gradient-primary: linear-gradient(135deg, #424242, #212121);
    --gradient-secondary: linear-gradient(135deg, #f5f5f5, #e0e0e0);
}

/* Tema Dourado Luxo */
.theme-gold {
    --primary-color: #ff8f00;
    --primary-hover: #e65100;
    --secondary-color: #ffc107;
    --success-color: #4caf50;
    --danger-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196f3;
    --light-color: #fff8e1;
    --dark-color: #e65100;
    --background-color: #ffffff;
    --text-color: #e65100;
    --border-color: #ffecb3;
    --shadow-color: rgba(255, 143, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #ff8f00, #e65100);
    --gradient-secondary: linear-gradient(135deg, #fff8e1, #ffecb3);
}

/* Aplicar variáveis CSS aos elementos */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

/* Estilos para cards e estatísticas */
.card-body {
    background: var(--gradient-secondary) !important;
    color: var(--text-color) !important;
    border: 1px solid var(--border-color) !important;
}

.stat-number {
    color: var(--dark-color) !important;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.fas, .fa {
    color: var(--primary-color) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.text-muted {
    color: var(--text-color) !important;
    opacity: 0.8;
}

/* Melhorar contraste dos títulos */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
}

/* Melhorar contraste dos cards */
.card {
    background: white !important;
    border: 2px solid var(--border-color) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.card-header {
    background: var(--gradient-primary) !important;
    color: white !important;
    border-bottom: 2px solid var(--border-color) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    font-weight: 600;
}

.card-body {
    background: white !important;
    color: var(--dark-color) !important;
}

/* Melhorar contraste dos botões */
.btn {
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    font-weight: 500;
}

/* Melhorar contraste dos links */
a {
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-hover) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Melhorar contraste dos textos */
p, span, div {
    color: var(--dark-color) !important;
}

/* Melhorar contraste dos textos em cards */
.card-body p, .card-body span, .card-body div {
    color: var(--dark-color) !important;
    font-weight: 500;
}

/* CONTRASTE MÁXIMO PARA TODOS OS ELEMENTOS */
* {
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Melhorar contraste dos links */
a {
    color: var(--primary-color) !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

a:hover {
    color: var(--primary-hover) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Melhorar contraste dos textos em listas */
.list-group-item {
    background: white !important;
    color: var(--dark-color) !important;
    border: 1px solid var(--border-color) !important;
    font-weight: 500;
}

.list-group-item:hover {
    background: var(--light-color) !important;
    color: var(--dark-color) !important;
}

/* Melhorar contraste dos textos em modais */
.modal-content {
    background: white !important;
    border: 2px solid var(--border-color) !important;
}

.modal-header {
    background: var(--gradient-primary) !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.modal-body {
    background: white !important;
    color: var(--dark-color) !important;
}

.modal-footer {
    background: var(--light-color) !important;
    border-top: 1px solid var(--border-color) !important;
}

/* Melhorar contraste dos badges */
.badge {
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    font-weight: 500;
}

/* Melhorar contraste dos alertas */
.alert {
    border: 2px solid var(--border-color) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
    color: #155724 !important;
}

.alert-danger {
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
    color: #721c24 !important;
}

.alert-warning {
    background-color: #fff3cd !important;
    border-color: #ffeaa7 !important;
    color: #856404 !important;
}

.alert-info {
    background-color: #d1ecf1 !important;
    border-color: #bee5eb !important;
    color: #0c5460 !important;
}


/* Estilos específicos para dashboard */
.dashboard-title {
    color: var(--dark-color) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-card {
    background: white !important;
    border: 2px solid var(--border-color) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2) !important;
}

.stats-card .card-body {
    background: white !important;
    color: var(--dark-color) !important;
}

.stats-card .stat-number {
    color: var(--dark-color) !important;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.stats-card .fas {
    color: var(--primary-color) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Melhorar contraste dos formulários */
.form-control {
    background-color: white !important;
    border: 2px solid var(--border-color) !important;
    color: var(--dark-color) !important;
    font-weight: 500;
}

.form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
    background-color: white !important;
}

.form-label {
    color: var(--dark-color) !important;
    font-weight: 600;
}

/* Melhorar contraste das tabelas */
.table {
    color: var(--dark-color) !important;
}

.table th {
    background: var(--gradient-primary) !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color) !important;
    font-weight: 600;
}

.table td {
    background: white !important;
    border: 1px solid var(--border-color) !important;
    color: var(--dark-color) !important;
    font-weight: 500;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: var(--light-color) !important;
}

.nav-link.active {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* Melhorar contraste dos menus e navegação */
.navbar-nav .nav-link {
    color: var(--dark-color) !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(255,255,255,0.1) !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* CONTRASTE MÁXIMO PARA SIDEBAR */
.sidebar {
    background: var(--gradient-primary) !important;
}

.sidebar .nav-link {
    color: white !important;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    border-radius: 8px;
    margin: 2px 0;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.sidebar .nav-link:hover {
    background-color: rgba(255,255,255,0.2) !important;
    color: white !important;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
    transform: translateX(5px);
}

.sidebar .nav-link.active {
    background-color: rgba(255,255,255,0.3) !important;
    color: white !important;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
    font-weight: 700;
}

.sidebar .nav-link i {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.sidebar .nav-link:hover i {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

/* Melhorar contraste do nome do usuário na sidebar */
.sidebar .user-info {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 600;
}

.sidebar .user-info .user-name {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
    font-size: 1.1em;
}

/* Melhorar contraste dos dropdowns */
.dropdown-menu {
    background: white !important;
    border: 2px solid var(--border-color) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

.dropdown-item {
    color: var(--dark-color) !important;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* Melhorar contraste dos botões */
.btn {
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-primary {
    background: var(--gradient-primary) !important;
    border: 2px solid var(--primary-color) !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* CONTRASTE MÁXIMO PARA NAVEGAÇÃO */
.navbar {
    background: var(--gradient-primary) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: white !important;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    padding: 8px 16px;
    border-radius: 4px;
    margin: 0 2px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255,255,255,0.2) !important;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.navbar-nav .nav-link.active {
    background-color: rgba(255,255,255,0.3) !important;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Melhorar contraste dos breadcrumbs */
.breadcrumb {
    background: white !important;
    border: 1px solid var(--border-color) !important;
}

.breadcrumb-item {
    color: var(--dark-color) !important;
    font-weight: 500;
}

.breadcrumb-item.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-link:hover {
    background-color: var(--light-color) !important;
    color: var(--primary-color) !important;
}

.card {
    border-color: var(--border-color) !important;
    box-shadow: 0 2px 4px var(--shadow-color) !important;
}

.card-header {
    background-color: var(--light-color) !important;
    border-bottom-color: var(--border-color) !important;
}

.badge-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.alert-primary {
    background-color: var(--light-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--text-color) !important;
}

/* Estilos específicos para o sistema */
.sidebar {
    background: var(--gradient-primary) !important;
}

.main-content {
    background-color: var(--background-color) !important;
    color: var(--dark-color) !important;
}

/* CONTRASTE MÁXIMO PARA CONTEÚDO PRINCIPAL */
.content-wrapper {
    background: white !important;
    color: var(--dark-color) !important;
}

.content-header {
    background: var(--gradient-primary) !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.content-header h1 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.content-header p {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    opacity: 0.9;
}

/* CONTRASTE MÁXIMO PARA DASHBOARD */
.dashboard-content {
    background: white !important;
    color: var(--dark-color) !important;
}

.dashboard-content h1, .dashboard-content h2, .dashboard-content h3 {
    color: var(--dark-color) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-weight: 700;
}

.dashboard-content p, .dashboard-content span, .dashboard-content div {
    color: var(--dark-color) !important;
    font-weight: 500;
}

.dashboard-content .text-muted {
    color: #6c757d !important;
    font-weight: 500;
}

.dashboard-content .lead {
    color: var(--dark-color) !important;
    font-weight: 600;
}

.dashboard-content .small {
    color: var(--dark-color) !important;
    font-weight: 500;
}

/* CONTRASTE MÁXIMO PARA ELEMENTOS ESPECÍFICOS DO DASHBOARD */
.dashboard-content .row {
    background: transparent !important;
}

.dashboard-content .col-md-3, .dashboard-content .col-md-4, .dashboard-content .col-md-6, .dashboard-content .col-md-12 {
    background: transparent !important;
}

.dashboard-content .card-title {
    color: #2c3e50 !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.dashboard-content .card-text {
    color: #2c3e50 !important;
    font-weight: 500;
}

/* CONTRASTE MÁXIMO PARA TÍTULOS DE CARDS */
.card .card-title {
    color: #2c3e50 !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.card .card-text {
    color: #2c3e50 !important;
    font-weight: 500;
}

.card h5, .card h6 {
    color: #2c3e50 !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.card p, .card span, .card div {
    color: #2c3e50 !important;
    font-weight: 500;
}

/* CONTRASTE MÁXIMO PARA NÚMEROS DE ESTATÍSTICAS */
.stat-number {
    color: #2c3e50 !important;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stats-card .stat-number {
    color: #2c3e50 !important;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* CONTRASTE MÁXIMO PARA ÍCONES */
.card .fas, .card .fa {
    color: #2c3e50 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.stats-card .fas {
    color: #2c3e50 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* CONTRASTE MÁXIMO PARA SEÇÕES DO DASHBOARD */
.dashboard-content .section-title {
    color: #2c3e50 !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.dashboard-content .section-content {
    color: #2c3e50 !important;
    font-weight: 500;
}

.dashboard-content .section-icon {
    color: #2c3e50 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* CONTRASTE MÁXIMO PARA ELEMENTOS DE LISTA */
.dashboard-content .list-group-item .badge {
    background: var(--primary-color) !important;
    color: white !important;
    font-weight: 600;
}

.dashboard-content .list-group-item .text-muted {
    color: #6c757d !important;
    font-weight: 500;
}

.dashboard-content .list-group-item .text-primary {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* CONTRASTE MÁXIMO PARA BOTÕES */
.dashboard-content .btn {
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.dashboard-content .btn-primary {
    background: var(--gradient-primary) !important;
    border: 2px solid var(--primary-color) !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.dashboard-content .btn-primary:hover {
    background: var(--primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* CONTRASTE MÁXIMO PARA RANKING E OBJETIVOS */
.dashboard-content .ranking-item {
    background: white !important;
    color: #2c3e50 !important;
    border: 1px solid var(--border-color) !important;
    font-weight: 500;
}

.dashboard-content .ranking-item .rank-number {
    background: var(--primary-color) !important;
    color: white !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.dashboard-content .ranking-item .user-name {
    color: #2c3e50 !important;
    font-weight: 600;
}

.dashboard-content .ranking-item .user-points {
    color: #6c757d !important;
    font-weight: 500;
}

.dashboard-content .ranking-item .user-level {
    color: #6c757d !important;
    font-weight: 500;
}

/* CONTRASTE MÁXIMO PARA OBJETIVOS PESSOAIS */
.dashboard-content .objetivos-section {
    background: white !important;
    color: #2c3e50 !important;
}

.dashboard-content .objetivos-section .section-title {
    color: #2c3e50 !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.dashboard-content .objetivos-section .section-content {
    color: #2c3e50 !important;
    font-weight: 500;
}

.dashboard-content .objetivos-section .btn {
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* CONTRASTE MÁXIMO PARA ELEMENTOS DE TEMA */
.theme-selector {
    background: white !important;
    border: 2px solid var(--border-color) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.theme-selector .theme-title {
    color: #2c3e50 !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.theme-selector .theme-option {
    border: 2px solid var(--border-color) !important;
    transition: all 0.3s ease;
}

.theme-selector .theme-option:hover {
    border-color: var(--primary-color) !important;
    transform: scale(1.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.theme-selector .theme-option.active {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.25);
}

/* CONTRASTE MÁXIMO PARA TODOS OS ELEMENTOS DE TEXTO */
.dashboard-content * {
    color: #2c3e50 !important;
}

.dashboard-content .text-muted {
    color: #6c757d !important;
}

.dashboard-content .text-primary {
    color: var(--primary-color) !important;
}

.dashboard-content .text-success {
    color: #28a745 !important;
}

.dashboard-content .text-danger {
    color: #dc3545 !important;
}

.dashboard-content .text-warning {
    color: #ffc107 !important;
}

.dashboard-content .text-info {
    color: #17a2b8 !important;
}

/* CONTRASTE MÁXIMO PARA CABEÇALHOS DE CARDS EM TODOS OS TEMAS */
.card-header {
    background: var(--gradient-primary) !important;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
    border-bottom: 2px solid rgba(255,255,255,0.2) !important;
}

.card-header h1, .card-header h2, .card-header h3, .card-header h4, .card-header h5, .card-header h6 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.card-header .fas, .card-header .fa {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.card-header .card-title {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

/* CONTRASTE MÁXIMO PARA NOME DO USUÁRIO EM TODOS OS TEMAS */
.sidebar .user-info {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    font-weight: 600;
}

.sidebar .user-info .user-name {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    font-weight: 700;
    font-size: 1.1em;
}

.sidebar .brand-name {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    font-weight: 700;
    font-size: 1.2em;
}

/* CONTRASTE MÁXIMO PARA TÍTULO DO DASHBOARD EM TODOS OS TEMAS */
.dashboard-title {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    font-weight: 700;
    font-size: 1.5em;
}

.dashboard-subtitle {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    font-weight: 600;
    opacity: 0.9;
}

/* CONTRASTE MÁXIMO PARA HEADER EM TODOS OS TEMAS */
.navbar {
    background: var(--gradient-primary) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: white !important;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.navbar .user-name {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    font-weight: 600;
}

.navbar .points-badge {
    background: #28a745 !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    font-weight: 600;
}

/* CONTRASTE MÁXIMO PARA TODOS OS ELEMENTOS DE CABEÇALHO */
.content-header {
    background: var(--gradient-primary) !important;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.content-header h1, .content-header h2, .content-header h3 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.content-header p {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    opacity: 0.9;
}

/* CONTRASTE MÁXIMO PARA ELEMENTOS DE NAVEGAÇÃO */
.navbar-nav .nav-link {
    color: white !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255,255,255,0.2) !important;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.navbar-nav .nav-link.active {
    background-color: rgba(255,255,255,0.3) !important;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* CONTRASTE MÁXIMO PARA ELEMENTOS DE SIDEBAR */
.sidebar .nav-link {
    color: white !important;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.sidebar .nav-link:hover {
    background-color: rgba(255,255,255,0.2) !important;
    color: white !important;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.sidebar .nav-link.active {
    background-color: rgba(255,255,255,0.3) !important;
    color: white !important;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.sidebar .nav-link i {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.sidebar .nav-link:hover i {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

/* CONTRASTE MÁXIMO PARA TODOS OS ELEMENTOS DE TÍTULO */
h1, h2, h3, h4, h5, h6 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    font-weight: 700;
}

/* CONTRASTE MÁXIMO PARA ELEMENTOS DE CABEÇALHO DE SEÇÃO */
.section-header {
    background: var(--gradient-primary) !important;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.section-header h1, .section-header h2, .section-header h3 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.section-header .fas, .section-header .fa {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* CONTRASTE MÁXIMO PARA ELEMENTOS DE PAINEL */
.panel-heading {
    background: var(--gradient-primary) !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    font-weight: 600;
}

.panel-heading h1, .panel-heading h2, .panel-heading h3 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.panel-heading .fas, .panel-heading .fa {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* CONTRASTE MÁXIMO PARA ELEMENTOS DE MODAL */
.modal-header {
    background: var(--gradient-primary) !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.modal-header h1, .modal-header h2, .modal-header h3 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.modal-header .fas, .modal-header .fa {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* CONTRASTE MÁXIMO PARA FRASE DE BOAS-VINDAS EM TODOS OS TEMAS (EXCETO AZUL PADRÃO) */
body:not(.theme-default) .dashboard-subtitle {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    font-weight: 700;
    opacity: 1;
}

body:not(.theme-default) .welcome-message {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    font-weight: 700;
}

body:not(.theme-default) .user-welcome {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    font-weight: 700;
}

/* CONTRASTE MÁXIMO PARA ELEMENTOS DE BOAS-VINDAS EM TEMAS ESPECÍFICOS */
.theme-green .dashboard-subtitle,
.theme-purple .dashboard-subtitle,
.theme-orange .dashboard-subtitle,
.theme-ocean .dashboard-subtitle,
.theme-pink .dashboard-subtitle,
.theme-gray .dashboard-subtitle,
.theme-gold .dashboard-subtitle {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    font-weight: 700;
    opacity: 1;
}

.theme-green .welcome-message,
.theme-purple .welcome-message,
.theme-orange .welcome-message,
.theme-ocean .welcome-message,
.theme-pink .welcome-message,
.theme-gray .welcome-message,
.theme-gold .welcome-message {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    font-weight: 700;
}

.theme-green .user-welcome,
.theme-purple .user-welcome,
.theme-orange .user-welcome,
.theme-ocean .user-welcome,
.theme-pink .user-welcome,
.theme-gray .user-welcome,
.theme-gold .user-welcome {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    font-weight: 700;
}

/* CONTRASTE MÁXIMO PARA FRASE DE BOAS-VINDAS EM TODOS OS TEMAS (EXCETO AZUL PADRÃO) */
body:not(.theme-default) .lead {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    font-weight: 700;
    opacity: 1;
}

body:not(.theme-default) .welcome-text {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    font-weight: 700;
}

body:not(.theme-default) .user-greeting {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    font-weight: 700;
}

/* CONTRASTE MÁXIMO PARA ELEMENTOS DE BOAS-VINDAS EM TEMAS ESPECÍFICOS */
.theme-green .lead,
.theme-purple .lead,
.theme-orange .lead,
.theme-ocean .lead,
.theme-pink .lead,
.theme-gray .lead,
.theme-gold .lead {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    font-weight: 700;
    opacity: 1;
}

.theme-green .welcome-text,
.theme-purple .welcome-text,
.theme-orange .welcome-text,
.theme-ocean .welcome-text,
.theme-pink .welcome-text,
.theme-gray .welcome-text,
.theme-gold .welcome-text {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    font-weight: 700;
}

.theme-green .user-greeting,
.theme-purple .user-greeting,
.theme-orange .user-greeting,
.theme-ocean .user-greeting,
.theme-pink .user-greeting,
.theme-gray .user-greeting,
.theme-gold .user-greeting {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    font-weight: 700;
}

/* CONTRASTE MÁXIMO PARA FRASE DE BOAS-VINDAS - REGRAS MAIS ESPECÍFICAS */
body:not(.theme-default) .dashboard-subtitle,
body:not(.theme-default) .lead,
body:not(.theme-default) .welcome-message,
body:not(.theme-default) .user-welcome,
body:not(.theme-default) .welcome-text,
body:not(.theme-default) .user-greeting {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7) !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

/* CONTRASTE MÁXIMO PARA FRASE DE BOAS-VINDAS EM TEMAS ESPECÍFICOS - REGRAS MAIS ESPECÍFICAS */
.theme-green .dashboard-subtitle,
.theme-green .lead,
.theme-green .welcome-message,
.theme-green .user-welcome,
.theme-green .welcome-text,
.theme-green .user-greeting,
.theme-purple .dashboard-subtitle,
.theme-purple .lead,
.theme-purple .welcome-message,
.theme-purple .user-welcome,
.theme-purple .welcome-text,
.theme-purple .user-greeting,
.theme-orange .dashboard-subtitle,
.theme-orange .lead,
.theme-orange .welcome-message,
.theme-orange .user-welcome,
.theme-orange .welcome-text,
.theme-orange .user-greeting,
.theme-ocean .dashboard-subtitle,
.theme-ocean .lead,
.theme-ocean .welcome-message,
.theme-ocean .user-welcome,
.theme-ocean .welcome-text,
.theme-ocean .user-greeting,
.theme-pink .dashboard-subtitle,
.theme-pink .lead,
.theme-pink .welcome-message,
.theme-pink .user-welcome,
.theme-pink .welcome-text,
.theme-pink .user-greeting,
.theme-gray .dashboard-subtitle,
.theme-gray .lead,
.theme-gray .welcome-message,
.theme-gray .user-welcome,
.theme-gray .welcome-text,
.theme-gray .user-greeting,
.theme-gold .dashboard-subtitle,
.theme-gold .lead,
.theme-gold .welcome-message,
.theme-gold .user-welcome,
.theme-gold .welcome-text,
.theme-gold .user-greeting {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7) !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

/* CONTRASTE MÁXIMO PARA FRASE DE BOAS-VINDAS - REGRAS ULTRA ESPECÍFICAS */
body:not(.theme-default) .dashboard-subtitle,
body:not(.theme-default) .lead,
body:not(.theme-default) .welcome-message,
body:not(.theme-default) .user-welcome,
body:not(.theme-default) .welcome-text,
body:not(.theme-default) .user-greeting,
body:not(.theme-default) .dashboard-content .lead,
body:not(.theme-default) .dashboard-content .dashboard-subtitle,
body:not(.theme-default) .dashboard-content .welcome-message,
body:not(.theme-default) .dashboard-content .user-welcome,
body:not(.theme-default) .dashboard-content .welcome-text,
body:not(.theme-default) .dashboard-content .user-greeting {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7) !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

/* CONTRASTE MÁXIMO PARA FRASE DE BOAS-VINDAS EM TEMAS ESPECÍFICOS - REGRAS ULTRA ESPECÍFICAS */
.theme-green .dashboard-subtitle,
.theme-green .lead,
.theme-green .welcome-message,
.theme-green .user-welcome,
.theme-green .welcome-text,
.theme-green .user-greeting,
.theme-green .dashboard-content .lead,
.theme-green .dashboard-content .dashboard-subtitle,
.theme-green .dashboard-content .welcome-message,
.theme-green .dashboard-content .user-welcome,
.theme-green .dashboard-content .welcome-text,
.theme-green .dashboard-content .user-greeting,
.theme-purple .dashboard-subtitle,
.theme-purple .lead,
.theme-purple .welcome-message,
.theme-purple .user-welcome,
.theme-purple .welcome-text,
.theme-purple .user-greeting,
.theme-purple .dashboard-content .lead,
.theme-purple .dashboard-content .dashboard-subtitle,
.theme-purple .dashboard-content .welcome-message,
.theme-purple .dashboard-content .user-welcome,
.theme-purple .dashboard-content .welcome-text,
.theme-purple .dashboard-content .user-greeting,
.theme-orange .dashboard-subtitle,
.theme-orange .lead,
.theme-orange .welcome-message,
.theme-orange .user-welcome,
.theme-orange .welcome-text,
.theme-orange .user-greeting,
.theme-orange .dashboard-content .lead,
.theme-orange .dashboard-content .dashboard-subtitle,
.theme-orange .dashboard-content .welcome-message,
.theme-orange .dashboard-content .user-welcome,
.theme-orange .dashboard-content .welcome-text,
.theme-orange .dashboard-content .user-greeting,
.theme-ocean .dashboard-subtitle,
.theme-ocean .lead,
.theme-ocean .welcome-message,
.theme-ocean .user-welcome,
.theme-ocean .welcome-text,
.theme-ocean .user-greeting,
.theme-ocean .dashboard-content .lead,
.theme-ocean .dashboard-content .dashboard-subtitle,
.theme-ocean .dashboard-content .welcome-message,
.theme-ocean .dashboard-content .user-welcome,
.theme-ocean .dashboard-content .welcome-text,
.theme-ocean .dashboard-content .user-greeting,
.theme-pink .dashboard-subtitle,
.theme-pink .lead,
.theme-pink .welcome-message,
.theme-pink .user-welcome,
.theme-pink .welcome-text,
.theme-pink .user-greeting,
.theme-pink .dashboard-content .lead,
.theme-pink .dashboard-content .dashboard-subtitle,
.theme-pink .dashboard-content .welcome-message,
.theme-pink .dashboard-content .user-welcome,
.theme-pink .dashboard-content .welcome-text,
.theme-pink .dashboard-content .user-greeting,
.theme-gray .dashboard-subtitle,
.theme-gray .lead,
.theme-gray .welcome-message,
.theme-gray .user-welcome,
.theme-gray .welcome-text,
.theme-gray .user-greeting,
.theme-gray .dashboard-content .lead,
.theme-gray .dashboard-content .dashboard-subtitle,
.theme-gray .dashboard-content .welcome-message,
.theme-gray .dashboard-content .user-welcome,
.theme-gray .dashboard-content .welcome-text,
.theme-gray .dashboard-content .user-greeting,
.theme-gold .dashboard-subtitle,
.theme-gold .lead,
.theme-gold .welcome-message,
.theme-gold .user-welcome,
.theme-gold .welcome-text,
.theme-gold .user-greeting,
.theme-gold .dashboard-content .lead,
.theme-gold .dashboard-content .dashboard-subtitle,
.theme-gold .dashboard-content .welcome-message,
.theme-gold .dashboard-content .user-welcome,
.theme-gold .dashboard-content .welcome-text,
.theme-gold .dashboard-content .user-greeting {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7) !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

/* CONTRASTE MÁXIMO PARA FRASE DE BOAS-VINDAS - REGRAS FORÇADAS */
/* Removida regra muito ampla que afetava todos os elementos */

body:not(.theme-default) .dashboard-subtitle,
body:not(.theme-default) .lead,
body:not(.theme-default) .welcome-message,
body:not(.theme-default) .user-welcome,
body:not(.theme-default) .welcome-text,
body:not(.theme-default) .user-greeting,
body:not(.theme-default) .dashboard-content .lead,
body:not(.theme-default) .dashboard-content .dashboard-subtitle,
body:not(.theme-default) .dashboard-content .welcome-message,
body:not(.theme-default) .dashboard-content .user-welcome,
body:not(.theme-default) .dashboard-content .welcome-text,
body:not(.theme-default) .dashboard-content .user-greeting,
/* Removida regra muito ampla que afetava todos os elementos do dashboard */

/* CONTRASTE MÁXIMO PARA FRASE DE BOAS-VINDAS EM TEMAS ESPECÍFICOS - REGRAS FORÇADAS */
.theme-green .dashboard-subtitle,
.theme-green .lead,
.theme-green .welcome-message,
.theme-green .user-welcome,
.theme-green .welcome-text,
.theme-green .user-greeting,
.theme-green .dashboard-content .lead,
.theme-green .dashboard-content .dashboard-subtitle,
.theme-green .dashboard-content .welcome-message,
.theme-green .dashboard-content .user-welcome,
.theme-green .dashboard-content .welcome-text,
.theme-green .dashboard-content .user-greeting,
.theme-green .dashboard-content *,
.theme-purple .dashboard-subtitle,
.theme-purple .lead,
.theme-purple .welcome-message,
.theme-purple .user-welcome,
.theme-purple .welcome-text,
.theme-purple .user-greeting,
.theme-purple .dashboard-content .lead,
.theme-purple .dashboard-content .dashboard-subtitle,
.theme-purple .dashboard-content .welcome-message,
.theme-purple .dashboard-content .user-welcome,
.theme-purple .dashboard-content .welcome-text,
.theme-purple .dashboard-content .user-greeting,
.theme-purple .dashboard-content *,
.theme-orange .dashboard-subtitle,
.theme-orange .lead,
.theme-orange .welcome-message,
.theme-orange .user-welcome,
.theme-orange .welcome-text,
.theme-orange .user-greeting,
.theme-orange .dashboard-content .lead,
.theme-orange .dashboard-content .dashboard-subtitle,
.theme-orange .dashboard-content .welcome-message,
.theme-orange .dashboard-content .user-welcome,
.theme-orange .dashboard-content .welcome-text,
.theme-orange .dashboard-content .user-greeting,
.theme-orange .dashboard-content *,
.theme-ocean .dashboard-subtitle,
.theme-ocean .lead,
.theme-ocean .welcome-message,
.theme-ocean .user-welcome,
.theme-ocean .welcome-text,
.theme-ocean .user-greeting,
.theme-ocean .dashboard-content .lead,
.theme-ocean .dashboard-content .dashboard-subtitle,
.theme-ocean .dashboard-content .welcome-message,
.theme-ocean .dashboard-content .user-welcome,
.theme-ocean .dashboard-content .welcome-text,
.theme-ocean .dashboard-content .user-greeting,
.theme-ocean .dashboard-content *,
.theme-pink .dashboard-subtitle,
.theme-pink .lead,
.theme-pink .welcome-message,
.theme-pink .user-welcome,
.theme-pink .welcome-text,
.theme-pink .user-greeting,
.theme-pink .dashboard-content .lead,
.theme-pink .dashboard-content .dashboard-subtitle,
.theme-pink .dashboard-content .welcome-message,
.theme-pink .dashboard-content .user-welcome,
.theme-pink .dashboard-content .welcome-text,
.theme-pink .dashboard-content .user-greeting,
.theme-pink .dashboard-content *,
.theme-gray .dashboard-subtitle,
.theme-gray .lead,
.theme-gray .welcome-message,
.theme-gray .user-welcome,
.theme-gray .welcome-text,
.theme-gray .user-greeting,
.theme-gray .dashboard-content .lead,
.theme-gray .dashboard-content .dashboard-subtitle,
.theme-gray .dashboard-content .welcome-message,
.theme-gray .dashboard-content .user-welcome,
.theme-gray .dashboard-content .welcome-text,
.theme-gray .dashboard-content .user-greeting,
.theme-gray .dashboard-content *,
.theme-gold .dashboard-subtitle,
.theme-gold .lead,
.theme-gold .welcome-message,
.theme-gold .user-welcome,
.theme-gold .welcome-text,
.theme-gold .user-greeting,
.theme-gold .dashboard-content .lead,
.theme-gold .dashboard-content .dashboard-subtitle,
.theme-gold .dashboard-content .welcome-message,
.theme-gold .dashboard-content .user-welcome,
.theme-gold .dashboard-content .welcome-text,
.theme-gold .dashboard-content .user-greeting,
.theme-gold .dashboard-content * {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7) !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

/* CONTRASTE MÁXIMO PARA FRASE DE BOAS-VINDAS - REGRAS ULTRA FORÇADAS */
body:not(.theme-default) .dashboard-content .lead,
body:not(.theme-default) .dashboard-content .dashboard-subtitle,
body:not(.theme-default) .dashboard-content .welcome-message,
body:not(.theme-default) .dashboard-content .user-welcome,
body:not(.theme-default) .dashboard-content .welcome-text,
body:not(.theme-default) .dashboard-content .user-greeting,
/* Removidas regras muito amplas que afetavam todos os elementos dos cards */

/* CONTRASTE MÁXIMO PARA FRASE DE BOAS-VINDAS EM TEMAS ESPECÍFICOS - REGRAS ULTRA FORÇADAS */
.theme-green .dashboard-content .lead,
.theme-green .dashboard-content .dashboard-subtitle,
.theme-green .dashboard-content .welcome-message,
.theme-green .dashboard-content .user-welcome,
.theme-green .dashboard-content .welcome-text,
.theme-green .dashboard-content .user-greeting,
/* Removidas regras muito amplas que afetavam todos os elementos dos cards */
.theme-purple .dashboard-content .lead,
.theme-purple .dashboard-content .dashboard-subtitle,
.theme-purple .dashboard-content .welcome-message,
.theme-purple .dashboard-content .user-welcome,
.theme-purple .dashboard-content .welcome-text,
.theme-purple .dashboard-content .user-greeting {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7) !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

/* CONTRASTE MÁXIMO APENAS PARA FRASE DE BOAS-VINDAS - REGRAS ESPECÍFICAS */
body:not(.theme-default) .dashboard-subtitle,
body:not(.theme-default) .lead,
body:not(.theme-default) .welcome-message,
body:not(.theme-default) .user-welcome,
body:not(.theme-default) .welcome-text,
body:not(.theme-default) .user-greeting {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7) !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

/* CONTRASTE MÁXIMO APENAS PARA ELEMENTO text-muted DE BOAS-VINDAS */
body:not(.theme-default) .text-muted {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7) !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

/* CONTRASTE MÁXIMO APENAS PARA ELEMENTO text-muted DE BOAS-VINDAS EM TEMAS ESPECÍFICOS */
.theme-green .text-muted,
.theme-purple .text-muted,
.theme-orange .text-muted,
.theme-ocean .text-muted,
.theme-pink .text-muted,
.theme-gray .text-muted,
.theme-gold .text-muted {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7) !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

.dashboard-content .list-group-item {
    background: white !important;
    color: var(--dark-color) !important;
    border: 1px solid var(--border-color) !important;
    font-weight: 500;
}

.dashboard-content .list-group-item:hover {
    background: var(--light-color) !important;
    color: var(--dark-color) !important;
}

.dashboard-content .list-group-item .badge {
    background: var(--primary-color) !important;
    color: white !important;
    font-weight: 600;
}

.dashboard-content .btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    font-weight: 600;
}

.dashboard-content .btn-outline-primary:hover {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

/* Melhorar contraste dos painéis */
.panel {
    background: white !important;
    border: 2px solid var(--border-color) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.panel-heading {
    background: var(--gradient-primary) !important;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    font-weight: 600;
}

.panel-body {
    background: white !important;
    color: var(--dark-color) !important;
}


.theme-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-color);
    padding: 15px;
    min-width: 200px;
    display: none;
}

.theme-selector.show {
    display: block !important;
}

.theme-option {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin: 5px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.theme-option:hover {
    transform: scale(1.1);
    border-color: var(--text-color);
}

.theme-option.active {
    border-color: var(--text-color);
    transform: scale(1.2);
}

/* Cores dos temas para o seletor */
.theme-default { background: linear-gradient(135deg, #007cba, #005a87); }
.theme-nature { background: linear-gradient(135deg, #2d5016, #1a3009); }
.theme-purple { background: linear-gradient(135deg, #6a1b9a, #4a148c); }
.theme-orange { background: linear-gradient(135deg, #ff5722, #d84315); }
.theme-ocean { background: linear-gradient(135deg, #006064, #004d40); }
.theme-pink { background: linear-gradient(135deg, #c2185b, #880e4f); }
.theme-gray { background: linear-gradient(135deg, #424242, #212121); }
.theme-gold { background: linear-gradient(135deg, #ff8f00, #e65100); }
