/* Defesa Civil — página pública */

.defesa-civil-logo {
    display: inline-block;
    height: auto;
    max-width: 100%;
}

.defesa-civil-logo--header {
    width: 180px;
    background: #fff;
    border-radius: 16px;
    padding: 0.75rem;
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.15);
}

.defesa-civil-logo--contact {
    width: 160px;
}

.defesa-emergency-card {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 55%, #ef4444 100%);
    border: 0;
}

.defesa-emergency-card .btn-light:hover {
    background: #f8f9fa;
    color: #b91c1c;
}

.defesa-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.defesa-activity-item i {
    color: var(--primary-color, #228B22);
    margin-top: 0.2rem;
}

.defesa-orientacao-card {
    height: 100%;
    border: 0;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.defesa-orientacao-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.1);
}

.defesa-orientacao-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 139, 34, 0.12);
    color: var(--primary-color, #228B22);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.defesa-doc-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    font-size: 1.35rem;
}

.defesa-civil-docs .list-group-item:last-child {
    border-bottom: 0 !important;
}

.defesa-contact-card .alert-danger {
    border: 0;
}

#modalPDF .modal-body {
    padding: 0;
}

#pdfViewer {
    min-height: 70vh;
    border: 0;
}

@media (max-width: 767.98px) {
    .defesa-emergency-card .display-5 {
        font-size: 1.75rem;
    }
}
