/* Modo escuro - gerado a partir das cores do site */

html.dark{color-scheme:dark}
html.dark body{background:#0f172a;color:#e2e8f0}
html.dark h1,html.dark h2,html.dark h3,html.dark h4,html.dark h5,html.dark h6{color:#f1f5f9}
html.dark .bg-white{background-color:#1e293b!important}
html.dark .bg-white\/50{background-color:rgba(30,41,59,.5)!important}
html.dark .bg-slate-50{background-color:#0f172a!important}
html.dark .bg-slate-100{background-color:#1e293b!important}
html.dark .bg-slate-200{background-color:#334155!important}
html.dark .bg-emerald-50{background-color:rgba(16,185,129,.12)!important}
html.dark .bg-emerald-100{background-color:rgba(16,185,129,.2)!important}
html.dark .bg-emerald-200{background-color:rgba(16,185,129,.3)!important}
html.dark .bg-red-50{background-color:rgba(239,68,68,.12)!important}
html.dark .hover\:bg-slate-50:hover{background-color:#273449!important}
html.dark .text-slate-900{color:#f1f5f9!important}
html.dark .text-slate-700,html.dark .text-slate-600{color:#cbd5e1!important}
html.dark .text-slate-500,html.dark .text-slate-400{color:#94a3b8!important}
html.dark .text-slate-300{color:#64748b!important}
html.dark .hover\:text-slate-600:hover{color:#e2e8f0!important}
html.dark .text-emerald-600{color:#34d399!important}
html.dark .text-emerald-700,html.dark .text-emerald-800,html.dark .text-emerald-300{color:#6ee7b7!important}
html.dark .text-red-700,html.dark .text-red-600{color:#fca5a5!important}
html.dark .border-slate-200,html.dark .border-slate-100{border-color:#334155!important}
html.dark .border-slate-300{border-color:#475569!important}
html.dark .border-red-200{border-color:rgba(239,68,68,.4)!important}
html.dark .border-emerald-200{border-color:rgba(16,185,129,.4)!important}
html.dark input,html.dark textarea,html.dark select{background-color:#0f172a!important;color:#f1f5f9!important;border-color:#475569!important}
html.dark input::placeholder,html.dark textarea::placeholder{color:#64748b!important}
html.dark .shadow-lg,html.dark .shadow-md,html.dark .shadow-sm{box-shadow:0 4px 14px rgba(0,0,0,.45)!important}
#theme-toggle{position:fixed;right:16px;bottom:16px;z-index:60;width:44px;height:44px;border-radius:9999px;border:1px solid #cbd5e1;background:#fff;color:#334155;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.15);font-size:18px}
html.dark #theme-toggle{background:#1e293b;color:#fcd34d;border-color:#475569}
html.dark .admin-stat-card{background:#1e293b!important;border:1px solid #334155!important}
html.dark .table-action-btn{color:#94a3b8!important;background:#0f172a!important;border:1px solid #334155!important}
html.dark .table-action-btn:hover{background:#1e293b!important;color:#cbd5e1!important}
html.dark .table-action-btn.delete:hover{background:#3b1a1a!important}
html.dark .table tbody tr{border-bottom:1px solid #334155!important}
html.dark .table td::before{color:#94a3b8!important}
html.dark #toggle-password:hover{color:#cbd5e1!important}
html.dark .level-mini-card{background:#0f172a!important;border:1px solid #334155!important}
html.dark .level-mini-card.completed{background:#10291c!important}
html.dark .level-mini-card.in-progress{background:#3a2e12!important}
html.dark .level-mini-icon.default{background:#334155!important;color:#94a3b8!important}
html.dark .level-mini-name{color:#f1f5f9!important}
html.dark .level-mini-bar{background:#334155!important}
html.dark .activity-item{background:#0f172a!important;border:1px solid #334155!important}
html.dark .activity-mode{color:#f1f5f9!important}
html.dark .activity-details{color:#94a3b8!important}
html.dark .word-mini-card{background:#0f172a!important;border:1px solid #334155!important}
html.dark .word-mini-word{color:#f1f5f9!important}
html.dark .word-mini-translation{color:#94a3b8!important}
html.dark .word-card{background:#1e293b!important;border:1px solid #334155!important}
html.dark .word-card.favorite{background:#3a2e12!important}
html.dark .word-text{color:#f1f5f9!important}
html.dark .word-phonetic{color:#94a3b8!important}
html.dark .word-translation{color:#94a3b8!important}
html.dark .word-example{color:#94a3b8!important;border-left:2px solid #334155!important}
html.dark .word-source{background:#1e293b!important}
html.dark .word-action-btn{color:#94a3b8!important;background:#0f172a!important;border:1px solid #334155!important}
html.dark .word-action-btn:hover{background:#1e293b!important;color:#cbd5e1!important}
html.dark .word-action-btn.favorite{background:#3a2e12!important}
html.dark .word-action-btn.delete:hover{background:#3b1a1a!important}
html.dark .sentence-card{background:#1e293b!important;border:1px solid #334155!important}
html.dark .sentence-en{color:#f1f5f9!important}
html.dark .sentence-pt{color:#94a3b8!important}
html.dark .text-card{background:#1e293b!important;border:1px solid #334155!important}
html.dark .text-title{color:#f1f5f9!important}
html.dark .text-preview{color:#94a3b8!important}
html.dark .favorite-card{background:#1e293b!important;border:1px solid #334155!important}
html.dark .favorite-main{color:#f1f5f9!important}
html.dark .favorite-sub{color:#94a3b8!important}
html.dark .dict-empty h3{color:#94a3b8!important}
html.dark .pagination-btn{border:1px solid #334155!important;background:#1e293b!important;color:#cbd5e1!important}
html.dark .pagination-btn.active{color:#f1f5f9!important}
html.dark #view-text-content .text-pt{color:#94a3b8!important}
html.dark .flashcard-front{background:#1e293b!important;border:1px solid #334155!important}
html.dark .accuracy-bar{background:#334155!important}
html.dark .level-progress-card{background:#1e293b!important;border:1px solid #334155!important}
html.dark .level-progress-card.completed{background:#10291c!important}
html.dark .level-progress-card.in-progress{background:#3a2e12!important}
html.dark .level-progress-name{color:#f1f5f9!important}
html.dark .level-progress-status.not-started{background:#1e293b!important;color:#94a3b8!important}
html.dark .level-progress-status.in-progress{background:#3a2e12!important}
html.dark .level-progress-status.completed{background:#10291c!important}
html.dark .level-progress-bar{background:#334155!important}
html.dark .level-progress-stats{color:#94a3b8!important}
html.dark .level-progress-stat-value{color:#f1f5f9!important}
html.dark .level-card{border:1px solid #334155!important;background:#1e293b!important}
html.dark .level-card.completed{background:#10291c!important}
html.dark .level-card.in-progress{background:#3a2e12!important}
html.dark .level-name{color:#f1f5f9!important}
html.dark .level-number{background:#334155!important;color:#94a3b8!important}
html.dark .level-description{color:#94a3b8!important}
html.dark .level-progress-bar{background:#334155!important}
html.dark .level-progress-text{color:#94a3b8!important}
html.dark .level-status.not-started{background:#1e293b!important;color:#94a3b8!important}
html.dark .level-status.in-progress{background:#3a2e12!important}
html.dark .level-status.completed{background:#10291c!important}
html.dark h1,html.dark h2,html.dark h3,html.dark h4,html.dark h5,html.dark h6{color:#f1f5f9!important}
html.dark .btn-primary{color:#f1f5f9!important}
html.dark .btn-secondary{background:#1e293b!important;color:#cbd5e1!important;border:1px solid #475569!important}
html.dark .btn-secondary:hover:not(:disabled){background:#0f172a!important}
html.dark .btn-ghost{color:#94a3b8!important}
html.dark .btn-ghost:hover:not(:disabled){background:#1e293b!important;color:#cbd5e1!important}
html.dark .form-label{color:#cbd5e1!important}
html.dark .form-input,html.dark .form-select,html.dark .form-textarea{border:1px solid #475569!important;background:#1e293b!important;color:#f1f5f9!important}
html.dark .card{background:#1e293b!important;border:1px solid #334155!important}
html.dark .badge-gray{background:#1e293b!important;color:#cbd5e1!important}
html.dark .progress{background:#334155!important}
html.dark .text-muted{color:#94a3b8!important}
html.dark .bg-white{background:#1e293b!important}
html.dark .modal{background:#1e293b!important}
html.dark .modal-header{border-bottom:1px solid #334155!important}
html.dark .modal-footer{border-top:1px solid #334155!important}
html.dark .table th,html.dark .table td{border-bottom:1px solid #334155!important}
html.dark .table th{color:#cbd5e1!important;background:#0f172a!important}
html.dark .table tbody tr:hover{background:#0f172a!important}
html.dark .tabs{border-bottom:1px solid #334155!important}
html.dark .tab-btn{color:#94a3b8!important}
html.dark .tab-btn:hover{color:#cbd5e1!important}
html.dark .flashcard-front,html.dark .flashcard-back{background:#1e293b!important;border:1px solid #334155!important}
html.dark .practice-option{border:1px solid #334155!important;background:#1e293b!important}
html.dark .voice-indicator.processing{background:#1e293b!important;color:#94a3b8!important}
html.dark .transcript{background:#0f172a!important;border:1px solid #334155!important}
html.dark .transcript-entry{background:#1e293b!important}
html.dark .transcript-label{color:#94a3b8!important}
html.dark .stat-card{background:#1e293b!important;border:1px solid #334155!important}
html.dark .level-card{border:1px solid #334155!important;background:#1e293b!important}
html.dark .level-card.completed{background:#10291c!important}
html.dark .level-card.in-progress{background:#3a2e12!important}
html.dark .practice-option{border:2px solid #334155!important;background:#1e293b!important}
html.dark .practice-option-label{color:#f1f5f9!important}
html.dark .feedback-message.success{background:#10291c!important}
html.dark .feedback-message.error{background:#3b1a1a!important}
html.dark .progress-dot.pending{background:#1e293b!important;border-color:#334155!important}
html.dark .toggle-password:hover{color:#cbd5e1!important}
html.dark .prose h2{border-bottom:1px solid #334155!important}
html.dark .prose code{background:#1e293b!important}
html.dark .faq-answer{border-top:1px solid #334155!important}
html.dark .faq-answer code{background:#1e293b!important}
html.dark .voice-indicator.processing{background:#1e293b!important;color:#94a3b8!important}
html.dark .voice-indicator.disconnected{background:#1e293b!important}
html.dark .transcript-entry{background:#1e293b!important}
html.dark .transcript-text{color:#e2e8f0!important}
