@import url('components/navbar.css');
@import url('pages/acompanhamento.css');
@import url('pages/progresso.css');

body {
    font-family: 'Inter', sans-serif;
}
.screen {
    min-height: 100vh;
    padding: 1rem; 
}
@media (min-width: 640px) { 
    .screen {
        padding: 2rem;
    }
}
.active-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
}

:root {
    --lumind-purple: #8B5CF6; 
    --lumind-purple-light: #A78BFA; 
    --lumind-purple-dark: #6D28D9; 
    --lumind-blue: #3B82F6;
    --lumind-blue-light: #60A5FA; 
    --lumind-white: #FFFFFF;
    --lumind-bg-main: #F9FAFB; 
    --lumind-bg-card: #FFFFFF; 
    --lumind-border: #E5E7EB; 
    --lumind-text-dark: #1F2937;  
    --lumind-text-medium: #4B5563; 
    --lumind-text-light: #6B7280; 
    --lumind-accent-gold-soft: #FBBF24; 
    --lumind-accent-teal-soft: #2DD4BF; 
    --lumind-success: #10B981; 
    --lumind-error: #EF4444; 
    --lumind-warning: #F59E0B; 
    --lumind-info: #3B82F6; 
    /* Gradientes padrão (unificados) */
    --gradient-primary: linear-gradient(135deg, var(--lumind-purple) 0%, var(--lumind-blue) 100%);
    --gradient-primary-to-right: linear-gradient(to right, var(--lumind-purple), var(--lumind-blue));
    /* Cores com transparência para overlays suaves */
    --lumind-purple-10: rgba(139, 92, 246, 0.10);
    --lumind-blue-10: rgba(59, 130, 246, 0.10);
    --lumind-purple-08: rgba(139, 92, 246, 0.08);
    --lumind-blue-08: rgba(59, 130, 246, 0.08);
}

body {
    background: linear-gradient(135deg, #faf5ff 0%, #eff6ff 50%, #f0fdfa 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--lumind-text-dark);
}

html {
    min-height: 100vh;
}
.btn-primary {
    background-color: var(--lumind-purple);
    color: var(--lumind-white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
    border: 1px solid transparent;
}
.btn-primary:hover {
    background-color: var(--lumind-purple-dark);
    box-shadow: 0 2px 8px rgba(109, 40, 217, 0.3);
}
.btn-secondary {
    background-color: var(--lumind-blue);
    color: var(--lumind-white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
    border: 1px solid transparent;
}
.btn-secondary:hover {
    background-color: #2563EB; 
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.btn-subtle {
    background-color: var(--lumind-bg-card);
    color: var(--lumind-purple);
    padding: 0.6rem 1.2rem; 
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    cursor: pointer;
    border: 1px solid var(--lumind-purple-light);
}
.btn-subtle:hover {
    background-color: #F5F3FF; 
    border-color: var(--lumind-purple);
    color: var(--lumind-purple-dark);
}

.link {
    color: var(--lumind-blue);
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
}
.link:hover {
    color: var(--lumind-purple);
    text-decoration: underline;
}
.card {
    background-color: var(--lumind-bg-card); 
    border-radius: 0.75rem;
    padding: 1rem; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); 
    border: 1px solid var(--lumind-border);
}
 @media (min-width: 640px) { 
    .card {
        padding: 1.5rem;
    }
}
.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--lumind-border);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: var(--lumind-bg-main); 
}
.input-field:focus {
    border-color: var(--lumind-purple);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.15); 
    outline: none;
    background-color: var(--lumind-white);
}
.lumind-brand-header { 
    font-size: 2.25rem; 
    font-weight: bold;
    color: var(--lumind-purple);
    margin-bottom: 0.25rem;
    text-align: center;
}
@media (min-width: 640px) {
    .lumind-brand-header {
         font-size: 2.5rem;
    }
}
 .lumind-logo-placeholder { 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--lumind-white);
    background-color: var(--lumind-purple); 
    width: 60px; 
    height: 60px;
    border-radius: 0.5rem; 
    margin: 0 auto 1rem auto;
    box-shadow: none; 
}
.lumind-subheader {
    font-size: 1rem; 
    color: var(--lumind-text-medium);
    margin-bottom: 1.5rem; 
    text-align: center;
}
 @media (min-width: 640px) {
    .lumind-subheader {
         font-size: 1.05rem;
    }
}
.screen-title { 
    font-size: 1.5rem; 
    font-weight: 600; 
    color: var(--lumind-text-dark); 
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
@media (min-width: 640px) {
    .screen-title {
         font-size: 1.8rem;
    }
}
.screen-subtitle { 
    font-size: 0.9rem; 
    color: var(--lumind-text-light);
    margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
    .screen-subtitle {
         font-size: 1rem;
    }
}

/* ===== Acessibilidade: Reduzir Animações ===== */
/* Como este arquivo é sempre importado pelo index.html, garantimos que a regra esteja ativa globalmente */
.reduce-motion *,
.reduce-motion *::before,
.reduce-motion *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}
.choice-label i {
    color: var(--lumind-text-medium); 
    transition: color 0.2s;
}
.choice-label input:checked + i {
    color: var(--lumind-purple); 
}
.choice-label:hover i {
    color: var(--lumind-purple-light);
}

.content-tag {
    background-color: var(--lumind-bg-main);
    color: var(--lumind-text-medium);
    border: 1px solid var(--lumind-border);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem; 
}
.content-tag i {
    color: var(--lumind-text-light); 
}
.progress-bar-fill {
    background-color: var(--lumind-blue); 
}
.preference-tag {
    font-weight: normal;
    color: var(--lumind-text-medium);
    background-color: var(--lumind-bg-main);
    border: 1px solid var(--lumind-border);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    display: inline-block; 
    margin-top: 0.25rem;
}

/* --- INÍCIO DAS REGRAS DE ACESSIBILIDADE --- */
body.font-size-medio {
    font-size: 112.5%;
}
body.font-size-grande {
    font-size: 125%;
}
body.high-contrast {
    background-color: #000 !important;
    color: #FFF !important;
}
body.high-contrast .bg-white,
body.high-contrast .bg-gray-50,
body.high-contrast .bg-gray-100,
body.high-contrast .card {
    background-color: #1a1a1a !important;
    color: #FFF !important;
    border: 1px solid #FFF !important;
}
body.high-contrast .text-gray-500,
body.high-contrast .text-gray-600,
body.high-contrast .text-gray-700,
body.high-contrast .text-gray-800,
body.high-contrast .text-gray-900 {
    color: #f0f0f0 !important;
}
body.high-contrast a,
body.high-contrast .text-blue-600,
body.high-contrast .text-purple-700 {
    color: #FFFF00 !important;
    text-decoration: underline !important;
}
body.high-contrast .btn-primary {
    background-color: #FFFF00 !important;
    color: #000 !important;
    border: 2px solid #FFFF00 !important;
}
body.high-contrast .btn-secondary {
    background-color: transparent !important;
    color: #FFFF00 !important;
    border: 2px solid #FFFF00 !important;
}
body.high-contrast input,
body.high-contrast select,
body.high-contrast textarea {
    background-color: #333 !important;
    color: #FFF !important;
    border: 1px solid #FFF !important;
}

/* Desliga todas as transições e animações do Tailwind */
body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

/* --- FIM DAS REGRAS DE ACESSIBILIDADE --- */




/* ============================================
   MELHORIAS LUMIND PARA TEA
   Adicione este código ao FINAL do seu style.css
   ============================================ */

/* ===== TRANSIÇÕES SUAVES ===== */
* {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* ===== CARDS APRIMORADOS ===== */
.card {
    position: relative;
    overflow: hidden;
}

/* Borda superior colorida no hover */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--lumind-purple), var(--lumind-blue));
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover::before {
    opacity: 1;
}

/* ===== BOTÕES COM EFEITO RIPPLE ===== */
.btn-primary,
.btn-secondary,
.btn-subtle {
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.btn-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-primary:active::after,
.btn-secondary:active::after {
    width: 300px;
    height: 300px;
}

/* ===== FEEDBACK VISUAL MELHORADO ===== */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--lumind-purple);
    outline-offset: 2px;
}

/* ===== ANIMAÇÕES DE HOVER ===== */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

.group:hover .group-hover\:shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.group:hover .group-hover\:text-purple-600 {
    color: var(--lumind-purple);
}

/* ===== BADGES DE CONTEÚDO ===== */
.content-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid;
}

/* ===== TRUNCAR TEXTO ===== */
.line-clamp-2 {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    border: 3px solid rgba(139, 92, 246, 0.1);
    border-top-color: var(--lumind-purple);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== SKELETON LOADING ===== */
@keyframes skeleton-loading {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

/* ===== BADGE DE NOTIFICAÇÃO ===== */
.notification-badge {
    position: relative;
}

.notification-badge::after {
    content: attr(data-count);
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--lumind-error);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Esconde quando count = 0 */
.notification-badge[data-count="0"]::after {
    display: none;
}

/* ===== GRADIENTES ===== */
.gradient-purple-blue {
    /* Unificado para o gradiente padrão */
    background: var(--gradient-primary);
}

.gradient-purple-to-blue {
    background: var(--gradient-primary-to-right);
}

/* ===== PROGRESSO CIRCULAR ===== */
.progress-ring {
    width: 120px;
    height: 120px;
}

.progress-ring-circle {
    stroke: var(--lumind-purple);
    stroke-width: 8;
    fill: transparent;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease;
}

/* ===== MELHORIAS DE CONTRASTE ===== */
.text-gray-600 {
    color: #4B5563 !important;
}

.text-gray-700 {
    color: #374151 !important;
}

.text-gray-800 {
    color: #1F2937 !important;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 640px) {
    .card {
        padding: 1rem;
    }
    
    .screen-title {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    h3 {
        font-size: 1.125rem;
    }

    /* Botões full-width no mobile */
    .btn-primary,
    .btn-secondary,
    .btn-subtle {
        width: 100%;
    }
}

@media (min-width: 640px) and (max-width: 1024px) {
    .card {
        padding: 1.25rem;
    }
}

/* ===== ACESSIBILIDADE MELHORADA PARA TEA ===== */

/* Redução de movimento */
body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
}

/* Alto contraste FORTE */
body.high-contrast {
    background-color: #000 !important;
    color: #FFF !important;
}

body.high-contrast .card,
body.high-contrast .bg-white,
body.high-contrast .bg-gray-50,
body.high-contrast .bg-gray-100 {
    background-color: #1a1a1a !important;
    border: 2px solid #FFD700 !important;
    color: #FFF !important;
}

body.high-contrast .btn-primary {
    background-color: #FFD700 !important;
    color: #000 !important;
    border: 3px solid #FFD700 !important;
    font-weight: bold !important;
}

body.high-contrast .btn-secondary,
body.high-contrast .btn-subtle {
    background-color: transparent !important;
    color: #FFD700 !important;
    border: 3px solid #FFD700 !important;
    font-weight: bold !important;
}

body.high-contrast a,
body.high-contrast .link {
    color: #FFD700 !important;
    text-decoration: underline !important;
    font-weight: bold !important;
}

body.high-contrast input,
body.high-contrast select,
body.high-contrast textarea {
    background-color: #333 !important;
    color: #FFF !important;
    border: 2px solid #FFD700 !important;
}

body.high-contrast .text-gray-600,
body.high-contrast .text-gray-700,
body.high-contrast .text-gray-800,
body.high-contrast .text-gray-500 {
    color: #f0f0f0 !important;
}

/* Tamanhos de fonte */
body.font-size-medio {
    font-size: 112.5%;
}

body.font-size-grande {
    font-size: 125%;
}

/* ===== ESTADOS HOVER CONSISTENTES ===== */
.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.hover\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover\:bg-gray-100:hover {
    background-color: #F3F4F6;
}

.hover\:bg-purple-50:hover {
    background-color: #FAF5FF;
}

.hover\:bg-red-50:hover {
    background-color: #FEF2F2;
}

.hover\:text-purple-600:hover {
    color: var(--lumind-purple);
}

.hover\:text-gray-700:hover {
    color: #374151;
}

/* ===== UTILITIES EXTRAS ===== */

/* Centralizar absolutamente */
.absolute-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Aspect ratios */
.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

/* Truncate text */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Ring para focus */
.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px var(--lumind-bg-main), 0 0 0 4px var(--lumind-purple);
}

/* ===== ANIMAÇÕES CUSTOMIZADAS ===== */

/* Fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Slide up */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.5s ease-out;
}

/* Pulse */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Bounce */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

/* ===== MELHORIAS NA NAVBAR ===== */

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgb(107 114 128);
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: rgb(55 65 81);
    background-color: rgb(243 244 246);
}

.nav-link.active {
    color: var(--lumind-purple);
    background-color: rgb(250 245 255);
    font-weight: 600;
}

/* ===== BADGES DE STATUS ===== */

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge-success {
    background-color: #D1FAE5;
    color: #065F46;
}

.status-badge-warning {
    background-color: #FEF3C7;
    color: #92400E;
}

.status-badge-error {
    background-color: #FEE2E2;
    color: #991B1B;
}

.status-badge-info {
    background-color: #DBEAFE;
    color: #1E40AF;
}

/* ===== SCROLL SUAVE ===== */
html {
    scroll-behavior: smooth;
}

body.reduce-motion html {
    scroll-behavior: auto;
}

/* ===== PRINT STYLES ===== */
@media print {
    .no-print {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000;
        page-break-inside: avoid;
    }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--lumind-purple);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--lumind-purple-dark);
}

/* ===== FIM DAS MELHORIAS ===== */

/* ========================================
   NAVBAR STYLES - Otimizado para TEA
   ======================================== */

/* Desktop Navigation Links */
.desktop-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #6B7280;
    border-radius: 0.625rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.desktop-nav-link:hover {
    background-color: #F3F4F6;
    color: #374151;
}

.desktop-nav-link.active {
    background-color: #F3E8FF;
    color: var(--lumind-purple);
    font-weight: 600;
}

.desktop-nav-link i {
    font-size: 1.1rem;
}

/* Mobile Navigation Links */
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.mobile-nav-link:hover {
    background-color: #F9FAFB;
    color: var(--lumind-purple);
}

.mobile-nav-link.active {
    background-color: #F3E8FF;
    color: var(--lumind-purple);
    font-weight: 600;
    border-left: 4px solid var(--lumind-purple);
}

.mobile-nav-link i {
    font-size: 1.25rem;
    text-align: center;
}

/* Dropdown Menu Items */
.dropdown-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    color: #374151;
    transition: all 0.2s ease;
    text-decoration: none;
}

.dropdown-menu-item:hover {
    background-color: #F9FAFB;
    color: var(--lumind-purple);
}

.dropdown-menu-item i {
    font-size: 1.1rem;
    text-align: center;
}

/* User Menu Animation */
.user-menu {
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Animation */
#mobile-menu {
    animation: slideIn 0.25s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar Sticky */
nav {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.98);
}

/* Focus States para Acessibilidade */
.desktop-nav-link:focus-visible,
.mobile-nav-link:focus-visible,
.dropdown-menu-item:focus-visible,
button:focus-visible {
    outline: 3px solid var(--lumind-purple);
    outline-offset: 2px;
}

/* Modo Alto Contraste */
body.high-contrast nav {
    background-color: #000 !important;
    border-color: #FFD700 !important;
}

body.high-contrast .desktop-nav-link,
body.high-contrast .mobile-nav-link,
body.high-contrast .dropdown-menu-item {
    color: #FFF !important;
}

body.high-contrast .desktop-nav-link.active,
body.high-contrast .mobile-nav-link.active {
    background-color: #FFD700 !important;
    color: #000 !important;
    border-color: #FFD700 !important;
}

body.high-contrast .dropdown-menu-item:hover {
    background-color: #333 !important;
    color: #FFD700 !important;
}

/* Redução de Movimento */
body.reduce-motion .desktop-nav-link,
body.reduce-motion .mobile-nav-link,
body.reduce-motion .dropdown-menu-item,
body.reduce-motion .user-menu,
body.reduce-motion #mobile-menu {
    animation: none !important;
    transition: none !important;
}

/* Responsividade Extra */
@media (max-width: 640px) {
    .mobile-nav-link {
        padding: 1.25rem 1rem;
        font-size: 1.05rem;
    }
}

/* Hover States Suaves para TEA */
.desktop-nav-link,
.mobile-nav-link,
.dropdown-menu-item {
    cursor: pointer;
}

.desktop-nav-link:hover,
.mobile-nav-link:hover,
.dropdown-menu-item:hover {
    transform: translateX(2px);
}

body.reduce-motion .desktop-nav-link:hover,
body.reduce-motion .mobile-nav-link:hover,
body.reduce-motion .dropdown-menu-item:hover {
    transform: none;
}

/* ========================================
   LUMIND - CSS ADICIONAL PARA COMPONENTES
   Otimizado para TEA e Acessibilidade
   ======================================== */

/* Filter Chips (Filtros de Categoria) */
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6B7280;
    background-color: #FFFFFF;
    border: 2px solid #E5E7EB;
    border-radius: 9999px;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.filter-chip:hover {
    background-color: #F9FAFB;
    border-color: var(--lumind-purple-light);
    color: var(--lumind-purple);
    transform: translateY(-1px);
}

.filter-chip-active {
    background-color: #F3E8FF;
    border-color: var(--lumind-purple);
    color: var(--lumind-purple);
    font-weight: 600;
}

.filter-chip i {
    font-size: 1rem;
}

/* Suggestion Chips (Sugestões de Mensagens) */
.suggestion-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.875rem;
    font-size: 0.813rem;
    font-weight: 500;
    color: #4B5563;
    background-color: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.suggestion-chip:hover {
    background-color: #EDE9FE;
    border-color: var(--lumind-purple-light);
    color: var(--lumind-purple);
}

/* Scrollbar Hide (para filtros mobile) */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Content Cards Melhorados */
.content-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--lumind-purple), var(--lumind-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-card:hover::before {
    opacity: 1;
}

/* Badge de Status (Novo, Popular, etc) */
.status-badge-new {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.375rem 0.75rem;
    background-color: #10B981;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    z-index: 10;
}

.status-badge-popular {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.375rem 0.75rem;
    background-color: #F59E0B;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    z-index: 10;
}

/* Alert Card Animations */
.alert-card {
    animation: slideInAlert 0.4s ease-out;
}

@keyframes slideInAlert {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Conquistas (Achievements) */
.achievement-badge {
    position: relative;
    animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.achievement-badge::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(45deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s;
}

.achievement-badge:hover::after {
    opacity: 1;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

/* Progress Bar com Gradiente */
.progress-bar-animated {
    background: linear-gradient(
        90deg,
        var(--lumind-purple) 0%,
        var(--lumind-blue) 50%,
        var(--lumind-purple) 100%
    );
    background-size: 200% 100%;
    animation: progressGradient 3s ease infinite;
}

@keyframes progressGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Stats Card com Hover */
.stats-card-hover {
    position: relative;
    overflow: hidden;
}

.stats-card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.stats-card-hover:hover::before {
    left: 100%;
}

/* Responsividade Extra para Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .filter-chip {
        padding: 0.5rem 0.875rem;
        font-size: 0.813rem;
    }
    
    .content-card {
        border-radius: 0.875rem;
    }
}

/* Mobile Específico */
@media (max-width: 640px) {
    .filter-chip {
        padding: 0.5rem 0.75rem;
        font-size: 0.813rem;
    }
    
    .filter-chip i {
        font-size: 0.875rem;
    }
    
    .suggestion-chip {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .content-card:hover {
        transform: translateY(-2px);
    }
}

/* Alto Contraste - Chips e Badges */
body.high-contrast .filter-chip {
    background-color: #000 !important;
    border-color: #FFD700 !important;
    color: #FFF !important;
}

body.high-contrast .filter-chip-active {
    background-color: #FFD700 !important;
    color: #000 !important;
}

body.high-contrast .suggestion-chip {
    background-color: #1a1a1a !important;
    border-color: #FFD700 !important;
    color: #FFD700 !important;
}

body.high-contrast .status-badge-new,
body.high-contrast .status-badge-popular {
    background-color: #FFD700 !important;
    color: #000 !important;
}

/* Redução de Movimento */
body.reduce-motion .filter-chip:hover,
body.reduce-motion .content-card:hover,
body.reduce-motion .alert-card,
body.reduce-motion .achievement-badge {
    transform: none !important;
    animation: none !important;
}

body.reduce-motion .progress-bar-animated {
    animation: none !important;
}

/* Loading States */
.skeleton-loader {
    background: linear-gradient(
        90deg,
        #f0f0f0 25%,
        #e0e0e0 50%,
        #f0f0f0 75%
    );
    background-size: 200% 100%;
    animation: skeleton 1.5s ease-in-out infinite;
}

@keyframes skeleton {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

body.reduce-motion .skeleton-loader {
    animation: none;
    background: #f0f0f0;
}

/* Tooltips Simples */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 0.5rem 0.75rem;
    background-color: #1F2937;
    color: white;
    font-size: 0.813rem;
    border-radius: 0.5rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 1000;
}

[data-tooltip]:hover::before {
    opacity: 1;
}

/* Focus Visible Melhorado */
button:focus-visible,
.filter-chip:focus-visible,
.suggestion-chip:focus-visible {
    outline: 3px solid var(--lumind-purple);
    outline-offset: 3px;
    border-radius: 0.5rem;
}

/* Garantir contraste em modo claro */
.text-gray-600 {
    color: #4B5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-800 {
    color: #1F2937;
}

/* Estilo para inputs e textareas maiores */
.input-field-large {
    padding: 1rem 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* Cards com Borda Colorida */
.card-border-left {
    border-left: 4px solid var(--lumind-purple);
}

.card-border-left-blue {
    border-left: 4px solid var(--lumind-blue);
}

.card-border-left-green {
    border-left: 4px solid var(--lumind-success);
}

.card-border-left-amber {
    border-left: 4px solid var(--lumind-accent-gold-soft);
}

/* Efeito de Pulso para Notificações */
.pulse-notification {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

body.reduce-motion .pulse-notification {
    animation: none;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

body.reduce-motion html {
    scroll-behavior: auto;
}

/* Print Styles */
@media print {
    .filter-chip,
    .suggestion-chip,
    button,
    .btn-primary,
    .btn-secondary,
    .btn-subtle {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000;
        page-break-inside: avoid;
        box-shadow: none;
    }
}

/* ============================================
   PÁGINA FALAR COM ESPECIALISTA - ESTILOS
   ============================================ */

/* Botões de Sugestão Rápida */
.suggestion-quick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: left;
}

.suggestion-quick-btn:hover {
    background: #F3F4F6;
    border-color: #8B5CF6;
    color: #8B5CF6;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(139, 92, 246, 0.1);
}

.suggestion-quick-btn:active {
    transform: translateY(0);
}

.suggestion-quick-btn i {
    opacity: 0.7;
}

.suggestion-quick-btn:hover i {
    opacity: 1;
}

/* FAQ Items */
.faq-item {
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.faq-item:hover {
    background: #F9FAFB;
    padding-left: 1rem;
}

.faq-item:hover i {
    color: #8B5CF6;
    transform: translateX(4px);
}

.faq-item i {
    transition: all 0.2s ease;
}

/* Animação do Status Online */
@keyframes pulse-green {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse-green 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Contador de caracteres destaque */
.char-counter-warning {
    color: #F59E0B !important;
    font-weight: 600;
}

/* Select customizado */
select.input-field {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    appearance: none;
}

select.input-field:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%238B5CF6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
}

/* Textarea contador visual */
textarea.input-field {
    scrollbar-width: thin;
    scrollbar-color: #D1D5DB #F3F4F6;
}

textarea.input-field::-webkit-scrollbar {
    width: 8px;
}

textarea.input-field::-webkit-scrollbar-track {
    background: #F3F4F6;
    border-radius: 4px;
}

textarea.input-field::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 4px;
}

textarea.input-field::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

/* Labels com ícones */
label i {
    display: inline-block;
    width: 1rem;
    text-align: center;
}

/* Cards da sidebar */
.card h3 i,
.card h4 i {
    flex-shrink: 0;
}

/* Links de canais de atendimento */
.card a {
    text-decoration: none;
}

/* Responsividade para mobile */
@media (max-width: 640px) {
    .suggestion-quick-btn {
        font-size: 0.8125rem;
        padding: 0.625rem 0.875rem;
    }
    
    .faq-item {
        font-size: 0.875rem;
    }
}

/* Estados de input com validação */
input.input-field:valid,
textarea.input-field:valid,
select.input-field:valid {
    border-color: #D1D5DB;
}

input.input-field:invalid:not(:placeholder-shown),
textarea.input-field:invalid:not(:placeholder-shown),
select.input-field:invalid:not(:placeholder-shown) {
    border-color: #FCA5A5;
}

input.input-field:focus:valid,
textarea.input-field:focus:valid,
select.input-field:focus:valid {
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Botão submit loading state */
#btn-enviar-especialista:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#btn-enviar-especialista:disabled:hover {
    transform: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Animação suave do fade in */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.3s ease-out;
}

/* Print styles */
@media print {
    .btn-subtle,
    .suggestion-quick-btn,
    .faq-item,
    [data-route] {
        display: none;
    }
    
    .card {
        border: 1px solid #000;
        page-break-inside: avoid;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .suggestion-quick-btn {
        border-width: 3px;
    }
    
    .suggestion-quick-btn:hover {
        border-color: #000;
        color: #000;
    }
    
    .faq-item:hover {
        background: #000;
        color: #fff;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .suggestion-quick-btn,
    .faq-item,
    .card {
        animation: none;
        transition: none;
    }
    
    .animate-pulse {
        animation: none;
    }
}

/* ============================================
   PÁGINA DE CONTEÚDO - ESTILOS
   ============================================ */

/* Quick Navigation Buttons */
.quick-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: left;
}

.quick-nav-btn:hover {
    background: #F9FAFB;
    border-color: #8B5CF6;
    transform: translateX(4px);
    box-shadow: 0 2px 4px rgba(139, 92, 246, 0.1);
}

.quick-nav-btn i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.quick-nav-btn span {
    flex-grow: 1;
}

/* Focus Mode */
.focus-mode-active p,
.focus-mode-active div {
    position: relative;
}

.focus-mode-active p:hover,
.focus-mode-active div:hover {
    background: rgba(139, 92, 246, 0.1);
    padding: 0.25rem 0.5rem;
    margin: -0.25rem -0.5rem;
    border-radius: 0.25rem;
    transition: background 0.2s ease;
}

/* Conteúdo Wrapper Customizado */
#conteudo-wrapper {
    transition: font-size 0.3s ease, line-height 0.3s ease;
}

#conteudo-wrapper.focus-mode-active {
    max-width: 800px;
    margin: 0 auto;
}

/* Loading State Melhorado */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #E5E7EB;
    border-top-color: #8B5CF6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Progress Bar Animada */
.progress-bar-smooth {
    transition: width 0.5s ease-out;
}

/* Barra de Progresso com Gradiente */
.progress-gradient {
    background: linear-gradient(90deg, var(--lumind-purple) 0%, var(--lumind-blue) 100%);
    box-shadow: 0 2px 4px rgba(139, 92, 246, 0.2);
}

/* Status Cards */
.status-card-completed {
    background: var(--gradient-primary);
    color: white;
}

.status-card-in-progress {
    background: var(--gradient-primary);
    color: white;
}

.status-card-new {
    background: var(--gradient-primary);
    color: white;
}

/* Breadcrumb Navigation */
nav button {
    font-weight: 500;
}

nav button:hover {
    text-decoration: underline;
}

/* Metadados Grid */
.metadata-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

/* Tags de Conteúdo */
.content-tag-item {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
}

/* Sidebar Cards com Hover */
.sidebar-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Botão de Próximo Conteúdo */
#btn-proximo-conteudo {
    text-decoration: none;
}

#btn-proximo-conteudo:hover {
    text-decoration: none;
}

/* Configurações de Acessibilidade - Grid Responsivo */
@media (max-width: 640px) {
    .card .grid {
        grid-template-columns: 1fr;
    }
}

/* Ajustes de Select para Acessibilidade */
select.input-field:focus {
    outline: 3px solid #8B5CF6;
    outline-offset: 2px;
}

/* Animação de Fade In para Cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.3s ease-out;
}

/* Stagger animation para múltiplos cards */
.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 0.05s; }
.card:nth-child(3) { animation-delay: 0.1s; }
.card:nth-child(4) { animation-delay: 0.15s; }
.card:nth-child(5) { animation-delay: 0.2s; }

/* Botão Disabled State */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

button:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Header Expandido - Responsividade */
@media (max-width: 1024px) {
    .lg\\:flex-row {
        flex-direction: column;
    }
    
    .lg\\:w-64 {
        width: 100%;
    }
}

/* Ícones de Tipo - Tamanhos Responsivos */
.type-icon-container {
    width: 3.5rem;
    height: 3.5rem;
}

@media (min-width: 640px) {
    .type-icon-container {
        width: 4rem;
        height: 4rem;
    }
}

/* Ajuste de Texto para Títulos Longos */
h1 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Sidebar Fixa em Desktop (Opcional) */
@media (min-width: 1024px) {
    .sidebar-sticky {
        position: sticky;
        top: 6rem;
        max-height: calc(100vh - 7rem);
        overflow-y: auto;
    }
}

/* Scrollbar Customizada para Sidebar */
.sidebar-sticky::-webkit-scrollbar {
    width: 6px;
}

.sidebar-sticky::-webkit-scrollbar-track {
    background: #F3F4F6;
    border-radius: 3px;
}

.sidebar-sticky::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 3px;
}

.sidebar-sticky::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

/* Modo de Leitura - Estilos de Foco */
.reading-focus p {
    padding: 0.5rem;
    margin: 0.25rem 0;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

.reading-focus p:hover {
    background-color: rgba(139, 92, 246, 0.05);
}

/* Print Styles */
@media print {
    .quick-nav-btn,
    button,
    .sidebar-sticky,
    nav {
        display: none !important;
    }
    
    #conteudo-wrapper {
        max-width: 100% !important;
        font-size: 12pt !important;
        line-height: 1.5 !important;
    }
    
    .card {
        border: 1px solid #000;
        box-shadow: none;
        page-break-inside: avoid;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .quick-nav-btn {
        border-width: 3px;
    }
    
    .quick-nav-btn:hover {
        background: #000;
        color: #fff;
        border-color: #000;
    }
    
    .card {
        border-width: 3px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .loading-spinner {
        animation: none;
        border-top-color: transparent;
    }
}

/* Dark Mode Support (Futuro) */
@media (prefers-color-scheme: dark) {
    /* Preparado para modo escuro futuro */
}

/* Tooltip para Botões (Opcional) */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 0.75rem;
    background: #1F2937;
    color: white;
    font-size: 0.75rem;
    border-radius: 0.5rem;
    white-space: nowrap;
    margin-bottom: 0.5rem;
    z-index: 50;
}

/* Animação de Pulso para Loading */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Visible para Acessibilidade */
*:focus-visible {
    outline: 3px solid #8B5CF6;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Transições Globais */
* {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Remove transição de width para performance */
*:not(.progress-bar-smooth) {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
}

/* Estilos para Filtros de Mensagens */
.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #F3F4F6;
    color: #6B7280;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 200ms ease;
}

.filter-btn:hover {
    background-color: #E5E7EB;
    color: #374151;
}

.filter-btn.active {
    background-color: #8B5CF6;
    color: white;
    border-color: #7C3AED;
}

/* Card de Mensagem */
.message-card {
    border: 2px solid #E5E7EB;
    transition: all 200ms ease;
}

.message-card:hover {
    border-color: #C4B5FD;
    background-color: #FAFAF9;
}

.message-card[data-read="true"] {
    opacity: 0.85;
}

.message-card[data-read="false"] {
    background-color: #F5F3FF;
    border-left-color: #8B5CF6 !important;
}

/* Estilos para conteúdo de texto */
.text-content-wrapper {
    padding: 3rem 2rem;
    background: white;
    border-radius: 1rem;
}

@media (max-width: 768px) {
    .text-content-wrapper {
        padding: 2rem 1.5rem;
    }
}

.text-content-article {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #374151;
}

/* Primeiro parágrafo com destaque */
.first-paragraph {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #1f2937;
    font-weight: 500;
}

/* Parágrafos normais */
.normal-paragraph {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #4b5563;
}

/* Cards com emoji */
.emoji-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    border-left: 3px solid #e5e7eb;
    transition: all 0.2s ease;
}

.emoji-card:hover {
    background: #f3f4f6;
    border-left-color: #9ca3af;
}

.emoji-icon {
    font-size: 2.25rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.125rem;
}

.emoji-content {
    flex: 1;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #374151;
}

/* Texto em negrito */
.emoji-content strong,
.first-paragraph strong,
.normal-paragraph strong {
    font-weight: 600;
    color: #6D28D9;
}

/* Links */
.text-content-article a {
    color: #8B5CF6;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.text-content-article a:hover {
    color: #6D28D9;
}

/* Imagens */
.text-content-wrapper img {
    transition: transform 0.3s ease;
}

.text-content-wrapper img:hover {
    transform: scale(1.02);
}
/* Responsividade */
@media (max-width: 640px) {
    .first-paragraph {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }
    
    .normal-paragraph {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .emoji-card {
        padding: 1.25rem 1rem;
        gap: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .emoji-icon {
        font-size: 1.75rem;
    }
    
    .emoji-content {
        font-size: 1rem;
        line-height: 1.7;
    }
}
