/* Reset e variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --success-color: #22c55e;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --border-color: #e2e8f0;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Navegação */
nav {
    background: white;
    box-shadow: var(--card-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    display: flex;
    gap: 1rem;
    padding: 1rem 20px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s;
}

nav a:hover {
    background-color: var(--bg-color);
}

nav a.active {
    background-color: var(--primary-color);
    color: white;
}

/* Main */
main {
    padding: 2rem 0;
    min-height: 70vh;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto;
    color: var(--secondary-color);
}

.cta-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #475569;
}

/* Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s;
}

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

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Stats */
.stats-preview, .stats-grid {
    margin: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Formulário */
.form-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
}

.form-intro {
    background: #dbeafe;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    color: #1e40af;
}

.denuncia-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions button {
    flex: 1;
}

/* Mensagens */
.mensagem {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
}

.mensagem.sucesso {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.mensagem.erro {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Ajuda Box */
.ajuda-box {
    background: #fef3c7;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--warning-color);
}

.ajuda-box h3 {
    color: #92400e;
    margin-bottom: 1rem;
}

.ajuda-box p {
    margin: 0.5rem 0;
    color: #78350f;
}

.ajuda-box a {
    color: var(--primary-color);
    font-weight: 500;
}

/* Dashboard */
.dashboard {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.charts-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.chart-container {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.chart-container.full-width {
    grid-column: 1 / -1;
}

.chart-container h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.download-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* Recursos */
.recursos-section {
    margin: 2rem 0;
}

.recursos-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.recurso-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    margin-bottom: 1rem;
}

.recurso-card h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.recurso-card p {
    margin: 0.25rem 0;
    color: var(--secondary-color);
}

.info-box {
    background: #dbeafe;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.info-box h4 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.info-box ul {
    margin-left: 1.5rem;
    color: #1e40af;
}

.info-box li {
    margin: 0.5rem 0;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

footer p {
    margin: 0.5rem 0;
    opacity: 0.8;
}

/* ===================================
   NOVA HOME - DARK MODE MOBILE-FIRST
   =================================== */

body.home-dark {
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* Topo com Logo e Login */
.top-bar {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.btn-login {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s;
}

.btn-login:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* Main Container */
.home-main {
    padding: 0 1.5rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Headline */
.headline {
    font-size: 3rem;
    font-weight: 700;
    margin: 2rem 0;
    letter-spacing: -1px;
}

.system-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    line-height: 1.6;
}

/* Círculo com Número Pulsante */
.circle-chart {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 3rem auto;
}

.circle-chart svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.circle-progress {
    fill: none;
    stroke: #ffffff;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 565.48;
    stroke-dashoffset: 141.37; /* 75% de progresso visual */
    transition: stroke-dashoffset 1s ease;
}

.pulse-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    font-weight: 700;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.9;
    }
}

/* Ranking de Países */
.countries-ranking {
    width: 100%;
    max-width: 600px;
    margin: 3rem auto;
}

.ranking-title {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-align: center;
    opacity: 0.8;
    font-weight: 500;
}

.ranking-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.ranking-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 140px;
}

.ranking-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.ranking-flag {
    font-size: 2.5rem;
    margin-bottom: 0.3rem;
}

.ranking-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 0;
}

.breakdown-tipo {
    text-transform: capitalize;
    font-size: 0.8rem;
}

.breakdown-count {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

.ranking-count {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

.ranking-tendencia {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0.3rem 0;
}

.tendencia-subindo {
    color: #ef4444;
}

.tendencia-descendo {
    color: #22c55e;
}

.tendencia-novo {
    color: #fbbf24;
}

/* Página Como Ajudar */
.help-section {
    margin: 2rem auto;
    max-width: 900px;
}

.help-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.help-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.help-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.help-card ul {
    list-style: none;
    padding: 0;
}

.help-card li {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.help-card li:last-child {
    border-bottom: none;
}

.help-card a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
}

.help-card a:hover {
    text-decoration: underline;
}

.help-card p {
    margin-top: 1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
}

/* Informações sobre Como Denunciar */
.info-section {
    width: 100%;
    max-width: 600px;
    margin: 3rem auto;
    text-align: left;
}

.info-section h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    opacity: 0.7;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.info-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-content p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.5;
    margin: 0.25rem 0;
}

/* Carrossel de Denúncias */
.carousel-section {
    width: 100%;
    max-width: 900px;
    margin: 3rem auto;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
}

.carousel-track {
    display: flex;
    animation: scroll 30s linear infinite;
}

.carousel-item {
    min-width: 300px;
    margin: 0 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.carousel-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.carousel-message {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.carousel-date {
    font-size: 0.75rem;
    opacity: 0.5;
}

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

.carousel-track:hover {
    animation-play-state: paused;
}

/* Success Stories Section */
.success-stories {
    width: 100%;
    max-width: 1000px;
    margin: 4rem auto;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.story-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    transition: all 0.3s;
}

.story-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.story-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.story-type {
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border-radius: 20px;
    font-weight: 600;
}

.story-country {
    font-size: 1.2rem;
}

.story-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.story-resolution {
    background: rgba(34, 197, 94, 0.1);
    border-left: 3px solid #22c55e;
    padding: 0.75rem;
    border-radius: 4px;
    margin-top: 1rem;
}

.story-resolution-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #22c55e;
    margin-bottom: 0.5rem;
}

.story-resolution-text {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.8;
}

.story-date {
    font-size: 0.8rem;
    opacity: 0.5;
    margin-top: 1rem;
    text-align: right;
}

/* Dashboard Dark - Stats Row */
.stats-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    min-width: 150px;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Charts Section */
.charts-section {
    width: 100%;
    max-width: 1000px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.chart-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-box.full {
    grid-column: 1 / -1;
}

.chart-box h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Auth Forms (Login/Registro) */
.auth-form {
    width: 100%;
    max-width: 400px;
    margin: 3rem auto;
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.form-field input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-field input:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.form-field input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-field select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s;
    cursor: pointer;
}

.form-field select:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.form-field select option {
    background: #000000;
    color: #ffffff;
}

.form-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    resize: vertical;
}

.form-field textarea:focus {
    outline: none;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

.auth-link a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

/* Botão de Registro */
.btn-register {
    display: inline-block;
    margin: 0;
    padding: 1rem 2.5rem;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary-home {
    display: inline-block;
    margin: 0;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-secondary-home:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Botões de Ação Empilhados */
.action-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 3rem auto;
    max-width: 400px;
}

.action-buttons .btn-register,
.action-buttons .btn-secondary-home {
    width: 100%;
    text-align: center;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Responsivo Mobile */
@media (max-width: 768px) {
    .headline {
        font-size: 2.5rem;
    }

    .system-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .circle-chart {
        width: 240px;
        height: 240px;
    }

    .pulse-number {
        font-size: 4rem;
    }

    .info-section {
        padding: 0;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    nav .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .form-actions {
        flex-direction: column;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Footer Dark */
.footer-dark {
    background-color: #000000;
    padding: 2rem 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-copy {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-top: 1rem;
}

@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* Denúncias Lista Page */
.denuncias-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: flex-end;
    margin: 2rem auto;
    max-width: 800px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.filter-select {
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.95rem;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-select:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-select option {
    background: #1a1a1a;
    color: #ffffff;
}

.btn-filter {
    padding: 0.7rem 2rem;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.denuncias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.denuncia-card-lista {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.denuncia-card-lista:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.denuncia-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.denuncia-flag {
    font-size: 2rem;
}

.denuncia-tipo-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.denuncia-contexto {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.8rem;
}

.denuncia-descricao {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.denuncia-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.denuncia-data {
    font-weight: 500;
}

.denuncia-autor {
    font-style: italic;
}

.pagination-container {
    margin: 3rem auto;
    text-align: center;
}

.pagination-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn-pagination {
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-pagination:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.pagination-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.loading-message,
.empty-state,
.error-state {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.empty-state .btn-primary,
.error-state .btn-primary {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.empty-state .btn-primary:hover,
.error-state .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .denuncias-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-select {
        min-width: unset;
    }

    .denuncias-grid {
        grid-template-columns: 1fr;
    }
}

/* Legal Pages Styling */
.legal-page {
    max-width: 900px;
    padding: 2rem 1.5rem;
    text-align: left;
}

.legal-page .headline {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.legal-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.legal-section ul {
    margin: 1rem 0 1rem 1.5rem;
    line-height: 1.8;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.legal-link {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-link:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.legal-warning {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.9);
}

.legal-final {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 3rem;
}

.legal-final p {
    color: #ffffff;
    font-size: 1.05rem;
    margin: 0;
}

@media (max-width: 768px) {
    .legal-page .headline {
        font-size: 2rem;
    }

    .legal-content {
        padding: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }

    .legal-section h3 {
        font-size: 1.1rem;
    }
}

/* ==========================================
   MEU PAINEL - Dashboard do Usuário
   ========================================== */

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-name {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.btn-logout {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
}

.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.action-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.action-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-4px);
}

.action-icon {
    color: #3b82f6;
    margin-bottom: 1rem;
}

.action-card h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.action-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.badge-count {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #3b82f6;
    color: #ffffff;
    font-size: 0.85rem;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-weight: 600;
}

.denuncias-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.denuncia-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
}

.denuncia-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.denuncia-id {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-pendente {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-aprovada {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-rejeitada {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.denuncia-body p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.rejeicao-info {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
}

.rejeicao-info strong {
    color: #ef4444;
}

.rejeicao-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
}

.perfil-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    margin: 1.5rem 0;
}

.perfil-info .form-group {
    margin-bottom: 1.5rem;
}

.perfil-info label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.5rem;
}

.perfil-info p {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.empty-state p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.loading-message, .error-message {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.error-message {
    color: #ef4444;
}

@media (max-width: 768px) {
    .action-cards {
        grid-template-columns: 1fr;
    }

    .user-menu {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-end;
    }
}
