/* Canal Denuncias — estilo Alimentos Trendy */
:root {
    --trendy-blue: #0c3380;
    --trendy-blue-dark: #082254;
    --trendy-red: #e31e24;
    --trendy-white: #ffffff;
}

.navbar-brand-logo {
    padding: 8px 15px !important;
}

.navbar-brand img.logo-header {
    height: 42px;
    width: auto;
    max-width: 220px;
}

img.logo-header-inline {
    height: 36px;
    width: auto;
    max-width: 180px;
    vertical-align: middle;
}

body {
    background-color: var(--trendy-blue);
}

.container {
    max-width: 960px;
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 992px) {
    .container {
        width: 960px;
    }
}

.container > .navbar .navbar-header,
.container > .navbar .navbar-collapse {
    margin-left: 0;
    margin-right: 0;
}

.channel-site-shell > .navbar.navbar-default,
.channel-site-shell > .jumbotron {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.container > .navbar.navbar-default {
    border-radius: 6px;
    margin-bottom: 0;
}

.container > .jumbotron {
    margin-top: 14px;
}

.jumbotron {
    background: transparent;
    padding: 0;
    margin-bottom: 24px;
    box-shadow: none;
}

.channel-page,
.channel-page-inicio {
    width: 100%;
    box-sizing: border-box;
}

.channel-page {
    margin: 0;
}

.channel-hero {
    background: var(--trendy-blue);
    color: var(--trendy-white);
    padding: 8px 24px 6px;
    text-align: center;
}

.channel-hero-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 8px;
    color: #fff;
    line-height: 1.25;
}

.channel-hero-title .channel-accent-word {
    display: inline-block;
    position: relative;
}

.channel-hero-title .channel-accent-word::after {
    content: '';
    display: block;
    height: 3px;
    width: 100%;
    margin-top: 4px;
    background: var(--trendy-red);
    border-radius: 2px;
}

.channel-hero-lead {
    font-size: 15px;
    max-width: 780px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.55;
    text-align: justify;
}

.channel-hero-lead.center {
    text-align: center;
}

.channel-panel {
    background: var(--trendy-white);
    padding: 6px 24px 16px;
    color: #333;
}

.channel-panel .form-horizontal > .form-group:last-child {
    margin-bottom: 0;
}

.channel-panel .form-group-denuncia-detalle,
.channel-panel .form-group-reclamo-detalle {
    margin-bottom: 4px;
}

.channel-panel .form-group-form-submit {
    margin-top: 0;
    margin-bottom: 0;
}

.channel-panel h3,
.channel-panel h4,
.channel-panel h5 {
    color: var(--trendy-blue);
}

.channel-panel .lead {
    color: #444;
}

/* Página de inicio — panel blanco unificado, tipografía más compacta */
.channel-page-inicio {
    background: var(--trendy-white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.14);
    text-align: left;
    text-shadow: none;
}

.channel-page-inicio .inner.cover {
    padding: 0;
    text-align: left;
}

.channel-page-inicio .channel-hero-light {
    background: var(--trendy-white);
    color: var(--trendy-blue);
    padding: 14px 28px 10px;
    border-bottom: 1px solid #e8ecf2;
}

.channel-page-inicio .channel-hero-light .channel-hero-title {
    font-size: 20px;
    color: var(--trendy-blue);
    margin-bottom: 6px;
}

.channel-page-inicio .channel-hero-title .channel-accent-word::after {
    margin-top: 3px;
    height: 2px;
}

.channel-page-inicio .channel-hero-light .channel-hero-lead {
    font-size: 13px;
    color: var(--trendy-blue);
    line-height: 1.35;
    font-weight: 700;
    margin-top: 4px;
}

.channel-page-inicio .channel-panel-inicio {
    padding: 10px 28px 20px;
}

.channel-page-inicio .channel-intro-text {
    font-size: 14px;
    line-height: 1.45;
    color: #444;
    margin-bottom: 0;
    margin-top: 0;
}

.channel-page-inicio .channel-intro-text + .channel-intro-actions,
.channel-page-inicio .channel-intro-text + .channel-btn-wrap {
    padding-top: 14px;
}

.channel-page-inicio .channel-intro-actions {
    text-align: left;
}

.channel-page-inicio .channel-btn-wrap {
    padding: 0;
    margin: 0;
    text-align: left;
    float: none;
    width: auto;
}

.channel-page-inicio .channel-btn-wrap .btn-trendy-primary {
    display: inline-block;
    width: auto;
    min-width: 220px;
}

.channel-page-inicio .btn-trendy-primary {
    height: 34px;
    font-size: 13px;
    padding: 6px 24px;
}

.channel-page-inicio .channel-section-label {
    display: block;
    width: 100%;
    font-size: 13px;
    color: #666;
    text-align: left;
    margin: 15px 0 12px;
    padding: 0;
}

.channel-page-inicio .panel-title {
    font-size: 13px !important;
}

.channel-page-inicio .panel-body {
    font-size: 13px;
    line-height: 1.5;
}

.channel-page-inicio .panel-body li {
    margin-bottom: 6px;
}

/* Compactar inicio para reducir scroll vertical */
body:has(.channel-page-inicio) .container {
    margin-top: 8px !important;
}

.jumbotron:has(.channel-page-inicio) {
    margin-bottom: 8px;
}

.channel-page-inicio .panel-group {
    margin-bottom: 0;
}

.channel-page-inicio .panel-group .panel {
    margin-bottom: 5px;
}

.channel-page-inicio .panel-group .panel-heading {
    padding: 7px 12px;
}

.channel-page-inicio .panel-group .panel + .panel {
    margin-top: 0;
}

body:has(.channel-page-inicio) .footer {
    margin-bottom: 10px !important;
}

.channel-panel .form-horizontal .control-label p {
    color: #333;
}

.channel-panel .btn-primary,
.btn-trendy-primary {
    background-color: var(--trendy-blue);
    border-color: var(--trendy-blue-dark);
    border-radius: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 8px 28px;
    height: auto;
    font-size: 14px;
}

.channel-panel .btn-primary:hover,
.channel-panel .btn-primary:focus,
.btn-trendy-primary:hover,
.btn-trendy-primary:focus {
    background-color: var(--trendy-blue-dark);
    border-color: var(--trendy-blue-dark);
}

.channel-panel .btn-success {
    border-radius: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Botones compactos en formulario de denuncia */
.channel-panel .btn-form-add,
.channel-panel .fileinput-button.btn-form-media {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    min-height: 26px;
    padding: 5px 8px !important;
    font-size: 11px !important;
    font-weight: 600;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
    overflow: hidden;
    border-radius: 16px;
}

.channel-panel .btn-form-add .glyphicon,
.channel-panel .btn-form-media .glyphicon {
    font-size: 11px !important;
    font-weight: normal;
    line-height: 1;
    flex-shrink: 0;
    position: static;
    top: auto;
}

.channel-panel .fileinput-button.btn-form-media {
    flex-direction: column;
    gap: 2px;
    padding: 4px 2px !important;
    font-size: 10px !important;
    line-height: 1.1;
}

.channel-panel .fileinput-button.btn-form-media .glyphicon {
    font-size: 13px !important;
}

.channel-panel .btn-form-actions-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.channel-panel .btn-form-actions-row .btn-form-add {
    flex: 1 1 auto;
    width: auto;
}

.channel-panel .fileinput-button.btn-form-media-inline {
    flex: 0 0 auto;
    flex-direction: row;
    gap: 4px;
    width: auto;
    min-width: 72px;
    padding: 5px 10px !important;
    font-size: 11px !important;
}

.channel-panel .fileinput-button.btn-form-media-inline .glyphicon {
    font-size: 12px !important;
}

.channel-panel .btn-form-submit {
    display: inline-block;
    width: auto;
    min-width: 220px;
    padding: 8px 32px !important;
    font-size: 13px !important;
    height: auto !important;
    margin-top: 0;
    margin-bottom: 0;
}

.channel-panel .panel-default > .panel-heading {
    background-color: #f4f6fb;
    border-color: #dde3ef;
    color: var(--trendy-blue);
}

.channel-panel .panel-default {
    border-color: #dde3ef;
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.78) !important;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: var(--trendy-blue) !important;
    border-bottom: 2px solid var(--trendy-red) !important;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: var(--trendy-blue);
}

@media (max-width: 767px) {
    .channel-hero-title {
        font-size: 20px;
    }
    .channel-page-inicio .channel-hero-light .channel-hero-title {
        font-size: 17px;
    }
    .channel-panel {
        padding: 20px 16px 28px;
    }
    .channel-page-inicio .channel-hero-light {
        padding: 12px 16px 8px;
    }
    .channel-page-inicio .channel-panel-inicio {
        padding: 8px 16px 16px;
    }
}
