* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #1a1a1a;
    background-image: linear-gradient(rgba(20, 49, 94, 0.82), rgba(20, 49, 94, 0.82)), url('/img/banner_brcs.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 60px 20px 80px;
}

.denuncia-contenedor {
    max-width: 720px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

h1 {
    font-size: 1.8rem;
    color: #14315e;
    margin-top: 0;
    margin-bottom: 15px;
}

.intro-canal {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 12px;
}

.seccion-titulo {
    color: #14315e;
    font-size: 1.3rem;
    margin: 36px 0 6px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.seccion-ayuda {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0 0 16px;
}

.seccion-ayuda-italica {
    font-style: italic;
}

.campo {
    margin-bottom: 28px;
}

.campo-fila {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.campo-fila .campo {
    flex: 1;
    min-width: 220px;
    margin-bottom: 0;
}

label.etiqueta {
    display: block;
    font-weight: bold;
    font-size: 0.95rem;
    color: #14315e;
    margin-bottom: 10px;
}

.pista {
    display: block;
    font-size: 0.8rem;
    color: #d97a2b;
    margin-top: 6px;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
}

textarea {
    width: 100%;
    min-height: 100px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #1565c0;
}

.opciones-radio {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.opcion-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.opcion-radio input[type="radio"] {
    accent-color: #1565c0;
    width: 16px;
    height: 16px;
    margin: 0;
}

.btn-enviar-denuncia {
    background: #1565c0;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

.btn-enviar-denuncia:hover {
    background: #104d92;
}

.politica-link {
    margin: 10px 0 0;
}

.politica-link a {
    color: #1565c0;
    font-size: 0.85rem;
    text-decoration: underline;
    cursor: pointer;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-caja {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-caja h2 {
    color: #14315e;
    margin-top: 0;
    font-size: 1.3rem;
}

.modal-cerrar-x {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #666;
    cursor: pointer;
}

.modal-texto p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 12px;
}

.modal-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #14315e;
    margin: 16px 0;
    cursor: pointer;
}

.modal-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: #1565c0;
}

.modal-acciones {
    text-align: right;
}

.btn-modal-aceptar {
    background: #1565c0;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
}

.btn-modal-aceptar:hover {
    background: #104d92;
}

#mensajeConfirmacion {
    display: none;
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 4px;
    background: #e6f4ea;
    color: #1e7e34;
    border: 1px solid #b6e0c2;
}

.volver {
    display: inline-block;
    margin-top: 30px;
    color: #1565c0;
    text-decoration: none;
    font-size: 0.9rem;
}

@media (max-width: 40em) {
    body {
        padding: 30px 12px 60px;
    }

    .denuncia-contenedor {
        padding: 24px;
    }
}
