:root {
    --bg-color: #f8fafc; /* slate-50 */
    --text-color: #334155; /* slate-700 */
    --text-muted-color: #64748b; /* slate-500 */
    --title-color: #1e293b; /* slate-800 */
    --card-bg: white;
    --border-color: #e2e8f0; /* slate-200 */
    --tag-bg: #e0f2fe; /* sky-100 */
    --tag-text: #0c4a6e; /* sky-900 */
    --link-color: #0284c7; /* sky-600 */
}

html.dark {
    --bg-color: #0f172a; /* slate-900 */
    --text-color: #cbd5e1; /* slate-300 */
    --text-muted-color: #94a3b8; /* slate-400 */
    --title-color: #f1f5f9; /* slate-100 */
    --card-bg: #1e293b; /* slate-800 */
    --border-color: #334155; /* slate-700 */
    --tag-bg: #0369a1; /* sky-700 */
    --tag-text: #f0f9ff; /* sky-50 */
    --link-color: #38bdf8; /* sky-400 */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.card {
    background-color: var(--card-bg);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.3s ease;
    border: 1px solid var(--border-color);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.tag {
    background-color: var(--tag-bg);
    color: var(--tag-text);
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    transition: color 0.3s ease, border-color 0.3s ease;
}
h1, h3 {
    color: var(--title-color);
    transition: color 0.3s ease;
}
p {
    color: var(--text-color);
    transition: color 0.3s ease;
}
.text-slate-500 {
    color: var(--text-muted-color);
    transition: color 0.3s ease;
}
.border-slate-200 {
    border-color: var(--border-color);
    transition: border-color 0.3s ease;
}
 .text-sky-600 {
    color: var(--link-color);
}

/* Estilos para Impressão */
@media print {
    body {
        background-color: white !important;
        color: black !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    #theme-toggle, #print-button {
        display: none !important;
    }
    html.dark {
        --bg-color: white;
        --text-color: #1e293b;
        --text-muted-color: #475569;
        --title-color: #020617;
        --card-bg: white;
        --border-color: #cbd5e1;
        --tag-bg: #f0f9ff !important;
        --tag-text: #0369a1 !important;
    }
    .card {
        box-shadow: none;
        border: 1px solid #e2e8f0;
        page-break-inside: avoid;
    }
    .section-title {
        page-break-after: avoid;
    }
    .tag {
         background-color: #e0f2fe !important;
         color: #0c4a6e !important;
    }
}
