:root {
    --primary: #2563eb;
    --bg-main: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --urgente: #ef4444;
    --informativo: #3b82f6;
    --confirmado: #10b981;
    --campanha: #d946ef;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background: var(--bg-main); color: var(--text-main); padding-bottom: 80px; }

/* Layout Geral */
.container { max-width: 600px; margin: 0 auto; padding: 20px; }
.container-admin { max-width: 1100px; margin: 0 auto; padding: 30px; }

/* Header Público */
.header-public { display: flex; justify-content: space-between; align-items: center; padding: 20px; background: #fff; border-bottom: 1px solid #e2e8f0; }
.header-public h1 { font-size: 1.2rem; font-weight: 800; }

/* Banners e Títulos */
.alert-banner { background: #fffbeb; border: 1px solid #fef3c7; padding: 16px; border-radius: 12px; display: flex; gap: 12px; margin-bottom: 20px; color: #92400e; font-size: 0.9rem; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }

/* CARDS (A mágica está aqui) */
.card { background: var(--card-bg); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow); border-left: 6px solid #ccc; transition: 0.3s; }
.card.urgente { border-left-color: var(--urgente); }
.card.informativo { border-left-color: var(--informativo); }
.card.confirmado { border-left-color: var(--confirmado); }
.card.campanha { border-left-color: var(--campanha); }

.card-header { display: flex; justify-content: space-between; margin-bottom: 10px; }
.badge { font-size: 0.65rem; font-weight: 800; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.urgente .badge { background: #fee2e2; color: var(--urgente); }
.informativo .badge { background: #dbeafe; color: var(--informativo); }

.card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.card .subtitle { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 12px; }
.card-body { background: #f1f5f9; padding: 12px; border-radius: 10px; font-size: 0.9rem; margin-bottom: 15px; }

.btn-action { display: block; width: 100%; padding: 12px; background: var(--primary); color: #fff; text-align: center; text-decoration: none; border-radius: 10px; font-weight: 600; }

/* Navegação Mobile Inferior */
.bottom-nav { position: fixed; bottom: 0; width: 100%; background: #fff; display: flex; justify-content: space-around; padding: 12px; border-top: 1px solid #e2e8f0; z-index: 100; }
.nav-item { text-decoration: none; color: #94a3b8; display: flex; flex-direction: column; align-items: center; font-size: 0.7rem; font-weight: 600; }
.nav-item.active { color: var(--primary); }
.nav-item i { font-size: 1.2rem; margin-bottom: 4px; }


/* Customização SweetAlert2 - Estilo Clean */
.swal2-popup { border-radius: 20px !important; padding: 2rem !important; }
.swal2-title { font-weight: 800 !important; color: var(--text-main) !important; }

/* Estilização dos Inputs do Form dentro do Modal */
.modal-form-group { text-align: left; margin-bottom: 15px; }
.modal-form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-muted); margin-bottom: 5px; }

.swal-custom-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s;
    outline: none;
}
.swal-custom-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }

/* Upload de Imagem Preview */
.img-preview-container {
    width: 100%;
    height: 150px;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    overflow: hidden;
    background: #f8fafc;
}
.img-preview-container img { width: 100%; height: 100%; object-fit: cover; }


.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-image img {
    transform: scale(1.03); /* Efeito suave de zoom ao passar o mouse */
}