/* Presentación compartida para los canales públicos de MPDOK. */
body.body-denuncia > .container,
body.body-denuncia2 > .container {
    width: min(980px, calc(100% - 28px)) !important;
    max-width: none !important;
    margin: 118px auto 90px !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box;
}

body.body-denuncia2 > .container {
    margin-bottom: 180px !important;
}

/* La búsqueda inicial conserva el formato compacto histórico del canal. */
body.body-denuncia .contenedor-form.canal-inicial,
body.body-denuncia2 .contenedor-form.canal-inicial {
    display: block;
    width: 100% !important;
    max-width: 500px !important;
    margin: 18px auto 0 !important;
}

body.body-denuncia .contenedor-form.canal-inicial .toggle,
body.body-denuncia2 .contenedor-form.canal-inicial .toggle {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 108px;
    height: 34px;
    padding: 2px 5px;
    border: 0;
    border-top: 2px solid #63b2c1;
    border-bottom: 2px solid #63b2c1;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 25px;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

body.body-denuncia .contenedor-form.canal-inicial input[type="submit"],
body.body-denuncia2 .contenedor-form.canal-inicial input[type="submit"] {
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 0 !important;
    border-radius: 10px !important;
    background: #63b2c1 !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
}

body.body-denuncia .contenedor-form.canal-inicial input[type="submit"]:hover,
body.body-denuncia2 .contenedor-form.canal-inicial input[type="submit"]:hover {
    background: #047c8d !important;
}

body.body-denuncia .contenedor-form.canal-inicial input::placeholder,
body.body-denuncia2 .contenedor-form.canal-inicial input::placeholder {
    color: #8bc6d1 !important;
}

body.body-denuncia .contenedor-form.canal-activo,
body.body-denuncia2 .contenedor-form.canal-activo {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 12px;
    background: transparent !important;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
}

body.body-denuncia .columna1,
body.body-denuncia2 .columna1 {
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 24px !important;
    float: none !important;
    border: 1px solid #d9e3e8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
    color: #263238;
    box-sizing: border-box;
    text-align: left !important;
}

body.body-denuncia .columna1,
body.body-denuncia2 .columna1,
body.body-denuncia .mensaje_respuesta,
body.body-denuncia2 .mensaje_respuesta {
    grid-column: 1 / -1;
}

body.body-denuncia .columna1 > h2,
body.body-denuncia2 .columna1 > h2 {
    margin: 0 0 18px;
    color: #026e89;
    font-size: 24px;
    line-height: 1.28;
    text-align: left;
}

body.body-denuncia .columna1 > img,
body.body-denuncia2 .columna1 > img {
    display: block;
    width: auto !important;
    max-width: 150px;
    max-height: 58px;
    height: auto !important;
    margin: 0 0 14px;
    object-fit: contain;
}

body.body-denuncia .columna1 form,
body.body-denuncia2 .columna1 form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

body.body-denuncia form > br,
body.body-denuncia2 form > br {
    display: none;
}

body.body-denuncia .columna1 form > input:not([type="hidden"]):not([type="submit"]):not([type="file"]),
body.body-denuncia .columna1 form > select,
body.body-denuncia .columna1 form > textarea,
body.body-denuncia2 .columna1 form > input:not([type="hidden"]):not([type="submit"]):not([type="file"]),
body.body-denuncia2 .columna1 form > select,
body.body-denuncia2 .columna1 form > textarea {
    display: block;
    width: 100% !important;
    min-width: 0;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #cfdbe1 !important;
    border-radius: 8px !important;
    background: #fff;
    color: #455a64 !important;
    font: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

body.body-denuncia input::placeholder,
body.body-denuncia textarea::placeholder,
body.body-denuncia2 input::placeholder,
body.body-denuncia2 textarea::placeholder {
    color: #455a64 !important;
    opacity: 1 !important;
}

body.body-denuncia select,
body.body-denuncia2 select,
body.body-denuncia select option,
body.body-denuncia2 select option {
    color: #455a64 !important;
}

body.body-denuncia .columna1 form > textarea,
body.body-denuncia2 .columna1 form > textarea {
    grid-column: 1 / -1;
    min-height: 150px;
    resize: vertical;
}

body.body-denuncia .columna1 form > div,
body.body-denuncia2 .columna1 form > div,
body.body-denuncia .columna1 form > input[type="submit"],
body.body-denuncia2 .columna1 form > input[type="submit"] {
    grid-column: 1 / -1;
}

body.body-denuncia .fecha-dinamica,
body.body-denuncia2 .fecha-dinamica {
    grid-column: auto !important;
    display: block;
    min-width: 0;
}

body.body-denuncia .fecha-dinamica label,
body.body-denuncia2 .fecha-dinamica label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body.body-denuncia .fecha-dinamica input,
body.body-denuncia2 .fecha-dinamica input {
    width: 100%;
    height: 55px;
    min-height: 55px;
    margin: 0 !important;
    padding: 10px 12px;
    border: 1px solid #cfdbe1;
    border-radius: 8px;
    background: #fff;
    color: #455a64;
    font: inherit;
    box-sizing: border-box;
}

body.body-denuncia [data-date-part],
body.body-denuncia2 [data-date-part] {
    display: none !important;
}

body.body-denuncia input[type="submit"],
body.body-denuncia2 input[type="submit"],
body.body-denuncia .boton__link,
body.body-denuncia2 .boton__link {
    width: auto !important;
    min-height: 42px;
    margin: 4px 0 0 !important;
    padding: 10px 16px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #026e89 !important;
    color: #fff !important;
    font-weight: 700;
    cursor: pointer;
    justify-self: end;
    box-sizing: border-box;
}

body.body-denuncia input[type="submit"]:hover,
body.body-denuncia2 input[type="submit"]:hover,
body.body-denuncia .boton__link:hover,
body.body-denuncia2 .boton__link:hover {
    background: #014f63 !important;
}

body.body-denuncia .bloque-evidencias,
body.body-denuncia2 .bloque-evidencias {
    margin: 4px 0 0;
    padding: 16px;
    border: 1px solid #e3edf2;
    border-radius: 10px;
    background: #f8fafc;
}

body.body-denuncia .bloque-evidencias h3,
body.body-denuncia2 .bloque-evidencias h3 {
    margin: 0 0 6px;
    color: #344955;
    font-size: 17px;
}

body.body-denuncia .bloque-evidencias p,
body.body-denuncia2 .bloque-evidencias p,
body.body-denuncia .texto-ayuda-evidencia,
body.body-denuncia2 .texto-ayuda-evidencia {
    color: #607d8b;
    font-size: 12px;
    line-height: 1.5;
}

body.body-denuncia .bloque-evidencias .row,
body.body-denuncia2 .bloque-evidencias .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0;
}

body.body-denuncia .bloque-evidencias .col-sm-4,
body.body-denuncia .bloque-evidencias .col-12,
body.body-denuncia2 .bloque-evidencias .col-sm-4,
body.body-denuncia2 .bloque-evidencias .col-12 {
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    flex: none !important;
}

body.body-denuncia .invoiceBox,
body.body-denuncia2 .invoiceBox {
    position: relative;
    width: 100%;
}

body.body-denuncia .invoiceBox label,
body.body-denuncia2 .invoiceBox label {
    display: block;
    margin: 0;
    cursor: pointer;
}

body.body-denuncia .boxFile,
body.body-denuncia2 .boxFile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 9px 12px;
    border: 1px dashed #b8cbd4;
    border-radius: 9px;
    background: #fff;
    color: #026e89;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    box-sizing: border-box;
}

body.body-denuncia .boxFile.attached,
body.body-denuncia2 .boxFile.attached {
    border-style: solid;
    border-color: #8ac4a3;
    background: #ecfdf5;
    color: #047857;
}

body.body-denuncia .inputEvidencia,
body.body-denuncia2 .inputEvidencia {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden;
    opacity: 0;
}

body.body-denuncia .mensaje_respuesta,
body.body-denuncia2 .mensaje_respuesta {
    position: relative !important;
    inset: auto !important;
    z-index: 1 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 13px 15px !important;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    background: #fff7ed !important;
    color: #9a3412 !important;
    line-height: 1.45;
    box-sizing: border-box;
}

@media (max-width: 760px) {
    body.body-denuncia > .container,
    body.body-denuncia2 > .container {
        width: min(100% - 24px, 980px) !important;
        margin-top: 68px !important;
        margin-bottom: 60px !important;
    }

    body.body-denuncia2 > .container {
        margin-bottom: 140px !important;
    }

    body.body-denuncia .contenedor-form.canal-activo,
    body.body-denuncia2 .contenedor-form.canal-activo,
    body.body-denuncia .columna1 form,
    body.body-denuncia2 .columna1 form,
    body.body-denuncia .bloque-evidencias .row,
    body.body-denuncia2 .bloque-evidencias .row {
        grid-template-columns: 1fr;
    }

    body.body-denuncia .columna1,
    body.body-denuncia2 .columna1 {
        padding: 18px !important;
    }

    body.body-denuncia .columna1 > h2,
    body.body-denuncia2 .columna1 > h2 {
        font-size: 20px;
    }

    body.body-denuncia input[type="submit"],
    body.body-denuncia2 input[type="submit"] {
        width: 100% !important;
        justify-self: stretch;
    }
}
