/* ==================== VARIABLES ==================== */
:root {
    --simit-blue-dark: #1c2d5e;
    --simit-blue: #0057b8;
    --simit-blue-bright: #0066cc;
    --simit-yellow: #ffd100;
    --simit-red: #e30613;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --bg-light: #f7f9fc;
    --border-light: #e5e5e5;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: #ffffff;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ==================== BARRA SUPERIOR ==================== */
.top-bar {
    background-color: var(--simit-blue-dark);
    color: #ffffff;
    font-size: 13px;
    padding: 5px 0;
}

.top-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.top-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffffff;
    transition: opacity 0.2s;
    font-weight: 500;
}

.top-item:hover { opacity: 0.8; }

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-right a {
    color: #ffffff;
    font-size: 15px;
    transition: opacity 0.2s;
}

.top-bar-right a:hover { opacity: 0.7; }

/* ==================== HEADER ==================== */
.main-header {
    background-color: #ffffff;
    padding: 6px 0;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo-img { height: 44px; width: auto; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-item {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-item:hover { color: var(--simit-blue); }
.nav-home i { font-size: 17px; }

.btn-ingresar {
    border: 2px solid var(--simit-blue-bright);
    color: var(--simit-blue-bright);
    padding: 6px 20px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-ingresar:hover {
    background-color: var(--simit-blue-bright);
    color: #ffffff;
}

.nav-hamburger {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-dark);
    display: none;
}

.nav-acceso {
    color: var(--simit-blue-bright) !important;
    font-weight: 700 !important;
    position: relative;
    padding-bottom: 3px;
}

.nav-acceso::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background-color: var(--simit-blue-bright);
    border-radius: 2px;
}

.nav-acceso:hover {
    color: var(--simit-blue-dark) !important;
}

/* ==================== BARRA TRICOLOR ==================== */
.tricolor-bar { display: flex; height: 4px; width: 100%; }
.tricolor-yellow { background-color: var(--simit-yellow); flex: 1; }
.tricolor-blue   { background-color: #003d99; flex: 1.5; }
.tricolor-red    { background-color: var(--simit-red); flex: 1; }

/* ==================== HERO ==================== */
.hero {
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
    padding: 0 0 10px;
    position: relative;
    overflow: hidden;
}

.hero-waves {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    width: 700px;
    height: 700px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.hero-waves .wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 30px solid rgba(0, 87, 184, 0.06);
}

.hero-waves .wave-1 { width: 200px; height: 200px; }
.hero-waves .wave-2 { width: 380px; height: 380px; }
.hero-waves .wave-3 { width: 560px; height: 560px; }
.hero-waves .wave-4 { width: 740px; height: 740px; }

.hero-sidebar {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 44px;
    height: 200px;
    background-color: var(--simit-blue);
    border: none;
    border-radius: 0 12px 12px 0;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 2px 0 12px rgba(0, 87, 184, 0.3);
    transition: background-color 0.2s, width 0.2s;
    padding: 0;
}

.hero-sidebar:hover {
    background-color: var(--simit-blue-bright);
    width: 50px;
}

.hero-sidebar i { font-size: 14px; margin-left: -2px; }

.hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px 0 70px;
    display: grid;
    grid-template-columns: 0.7fr 1.5fr;
    gap: 20px;
    align-items: end;
    position: relative;
    z-index: 1;
    min-height: 300px;
}

.hero-image {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}

.hero-image img {
    max-width: 100%;
    max-height: 290px;
    object-fit: contain;
    margin: 0 auto;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.hero-content { padding: 30px 0 20px; }

.hero-title {
    font-size: 2.6em;
    font-weight: 800;
    color: var(--simit-blue-dark);
    margin: 0 0 6px 0;
    letter-spacing: -0.8px;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 1.05em;
    color: #4a5568;
    margin: 0 0 20px 0;
    font-weight: 400;
}

.hero-form { max-width: 680px; }

.search-row {
    display: flex;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 87, 184, 0.12);
    overflow: hidden;
    border: 1px solid #dbe5f3;
    max-width: 640px;
}

.search-select {
    border: none;
    background-color: #f5f8ff;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--simit-blue-dark);
    cursor: pointer;
    outline: none;
    border-right: 1px solid #dbe5f3;
}

.search-input {
    flex: 1;
    border: none;
    padding: 13px 18px;
    font-size: 15px;
    outline: none;
    color: var(--text-dark);
    min-width: 0;
}

.search-input::placeholder { color: #94a3b8; }

.search-btn {
    background-color: var(--simit-blue-bright);
    border: none;
    color: #ffffff;
    padding: 0 24px;
    font-size: 17px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-btn:hover { background-color: #004fa3; }

.clave-row {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 320px;
}

.clave-row label {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 600;
    white-space: nowrap;
}

.clave-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #cfd8e6;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    letter-spacing: 4px;
    background-color: #ffffff;
}

.clave-input:focus {
    border-color: var(--simit-blue-bright);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.15);
}

.datetime { margin-top: 10px; font-size: 12px; color: #94a3b8; }

/* ==================== TARJETAS ==================== */
.cards-section { background-color: var(--bg-light); padding: 20px 0 30px; }

.cards-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 20px;
}

.card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    min-height: 200px;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.card-news {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 100%);
    min-height: 200px;
    position: relative;
}

.card-news-inner {
    display: flex;
    align-items: center;
    padding: 20px 22px 12px;
    flex: 1;
    gap: 12px;
    position: relative;
}

.card-news-content { flex: 1; min-width: 0; }

.card-news h2 {
    color: var(--simit-blue-dark);
    font-size: 1.25em;
    margin: 0 0 8px 0;
    line-height: 1.2;
    font-weight: 800;
    transition: opacity 0.2s ease;
}

.card-news p {
    color: #4a5568;
    font-size: 0.87em;
    line-height: 1.4;
    margin: 0;
    transition: opacity 0.2s ease;
}

.card-news-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.news-fallback-icon { font-size: 42px; color: #b8c9e8; }

.card-news-arrow {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--simit-blue-bright);
    font-size: 15px;
    cursor: pointer;
    padding: 6px;
    transition: transform 0.2s;
}

.card-news-arrow:hover { transform: translateY(-50%) translateX(3px); }

.card-news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 22px 12px;
    color: var(--simit-blue-bright);
    font-size: 12px;
}

.news-nav-btn {
    background: none;
    border: none;
    color: var(--simit-blue-bright);
    font-size: 12px;
    cursor: pointer;
    padding: 4px 6px;
    transition: transform 0.2s;
}

.news-nav-btn:hover { transform: translateX(-2px); }

.news-dots { display: flex; gap: 5px; }

.news-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.news-dots .dot.active {
    background-color: var(--simit-blue-bright);
    transform: scale(1.2);
}

.news-arrow-spacer { width: 18px; }

.card-list { padding: 4px 0; }

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 22px;
    border-bottom: 1px solid #eef2f7;
    transition: background-color 0.2s;
}

.list-item:last-child { border-bottom: none; }
.list-item:hover { background-color: #f7faff; }

.list-item h3 {
    font-size: 0.95em;
    color: var(--simit-blue-dark);
    margin: 0 0 3px 0;
    font-weight: 700;
}

.list-item p {
    font-size: 0.78em;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.35;
}

.list-item > i {
    color: var(--simit-blue-bright);
    font-size: 12px;
    flex-shrink: 0;
    margin-left: 12px;
}

.badge-nuevo {
    background-color: #d6e4ff;
    color: var(--simit-blue);
    font-size: 0.6em;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 700;
    vertical-align: middle;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.card-map { display: flex; flex-direction: column; }

.map-preview {
    height: 110px;
    overflow: hidden;
    background-color: #e8eef7;
    position: relative;
}

.map-preview iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(20%) contrast(1.05);
    transition: filter 0.3s ease;
}

.map-preview iframe:hover { filter: grayscale(0%) contrast(1); }
.map-preview img { width: 100%; height: 100%; object-fit: cover; }

.map-info {
    padding: 14px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.map-info h3 {
    color: var(--simit-blue-dark);
    font-size: 1.15em;
    margin: 0 0 4px 0;
    font-weight: 800;
}

.map-info p {
    color: #4a5568;
    font-size: 0.82em;
    line-height: 1.4;
    margin: 0 0 10px 0;
    flex: 1;
}

.map-info strong { color: var(--simit-blue-dark); font-weight: 800; }

.btn-donde-pagar {
    display: inline-block;
    border: 2px solid var(--simit-blue-bright);
    color: var(--simit-blue-bright);
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.82em;
    text-align: center;
    transition: all 0.2s;
    align-self: flex-start;
}

.btn-donde-pagar:hover {
    background-color: var(--simit-blue-bright);
    color: #ffffff;
}

/* ==================== BOTÓN FLOTANTE ==================== */
.float-accessibility {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #b8c9e8;
    color: #ffffff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.22);
    transition: transform 0.2s, background-color 0.2s;
    z-index: 999;
}

.float-accessibility:hover {
    transform: scale(1.08);
    background-color: #9fb4db;
}

/* ==================== FOOTER ==================== */
.simit-footer {
    background-color: #f5f7fa;
    padding: 40px 0 45px;
    width: 100%;
}

.footer-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.15fr 1.15fr 1.35fr;
    gap: 35px;
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.footer-block { margin-bottom: 22px; }
.footer-block:last-child { margin-bottom: 0; }

.footer-col-title {
    color: #2c3e50;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.35;
}

.footer-col p {
    font-size: 13px;
    color: #2c3e50;
    line-height: 1.5;
    margin: 0 0 6px 0;
}

.footer-col p:last-child { margin-bottom: 0; }

.footer-col p strong {
    color: #1a1a1a;
    font-weight: 700;
}

.footer-col a {
    color: #2c3e50;
    font-weight: 400;
    transition: color 0.2s;
    text-decoration: none;
}

.footer-col a:hover {
    color: #0066cc;
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.footer-social a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid #7a8899;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    font-size: 13px;
    transition: all 0.2s;
    text-decoration: none;
}

.footer-social a:hover {
    background-color: #2c3e50;
    border-color: #2c3e50;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-note {
    font-size: 13px;
    color: #2c3e50;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.footer-links {
    font-size: 13px;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.footer-links a {
    color: #2c3e50;
    text-decoration: underline;
}

.footer-links a:hover { color: #0066cc; }

.footer-pagos {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #2c3e50;
    margin: 0;
}

.footer-pay-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 9px;
    background-color: #ffffff;
    border: 1px solid #dbe5f3;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    color: #2c3e50;
}

.footer-pay-badge small {
    font-weight: 400;
    font-size: 9px;
    color: #7a7a7a;
}

.footer-pay-badge.pse {
    background-color: #003d99;
    color: #ffffff;
    border-color: #003d99;
    font-style: italic;
    font-weight: 700;
}

/* ==================== ADMIN ==================== */
.admin-page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 28px 60px;
    min-height: calc(100vh - 300px);
    background-color: var(--bg-light);
}

.admin-page-header { text-align: center; margin-bottom: 30px; }

.admin-page-header h1 {
    color: var(--simit-blue-dark);
    font-size: 2em;
    font-weight: 800;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.admin-page-header h1 i { color: var(--simit-blue-bright); }
.admin-page-header p { color: #4a5568; font-size: 1em; margin: 0; }

.admin-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 32px 36px;
}

.admin-field { margin-bottom: 26px; }

.admin-field-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92em;
    font-weight: 700;
    color: var(--simit-blue-dark);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.admin-field-label i { color: var(--simit-blue-bright); }

.admin-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.admin-option { cursor: pointer; display: block; position: relative; }

.admin-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.admin-option-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
    border: 2px solid #dbe5f3;
    border-radius: 10px;
    background-color: #ffffff;
    transition: all 0.2s;
    position: relative;
    height: 100%;
}

.admin-option-box i {
    font-size: 22px;
    color: var(--simit-blue-bright);
    margin-bottom: 10px;
}

.admin-option-title {
    font-weight: 800;
    color: var(--simit-blue-dark);
    font-size: 1em;
    margin-bottom: 4px;
}

.admin-option-desc {
    font-size: 0.82em;
    color: #64748b;
    line-height: 1.35;
}

.admin-option:hover .admin-option-box {
    border-color: var(--simit-blue-bright);
    background-color: #f7faff;
}

.admin-option input[type="radio"]:checked + .admin-option-box {
    border-color: var(--simit-blue-bright);
    background-color: #eef5ff;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}

.admin-option input[type="radio"]:checked + .admin-option-box::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 14px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--simit-blue-bright);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.admin-text-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #dbe5f3;
    border-radius: 8px;
    font-size: 0.95em;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-text-input:focus {
    border-color: var(--simit-blue-bright);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}

.admin-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background-color: #eef5ff;
    border-left: 4px solid var(--simit-blue-bright);
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.88em;
    color: #1c2d5e;
    margin-bottom: 24px;
    line-height: 1.4;
}

.admin-alert i {
    color: var(--simit-blue-bright);
    margin-top: 2px;
    flex-shrink: 0;
}

.admin-page-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.admin-page-btn {
    padding: 13px 28px;
    border: none;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    font-family: inherit;
}

.admin-page-btn-primary {
    background-color: var(--simit-blue-bright);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.admin-page-btn-primary:hover {
    background-color: #004fa3;
    transform: translateY(-2px);
}

.admin-page-btn-secondary {
    background-color: #e2e8f0;
    color: #475569;
}

.admin-page-btn-secondary:hover { background-color: #cbd5e1; }

.admin-page-message {
    text-align: center;
    font-size: 0.9em;
    font-weight: 700;
    min-height: 22px;
    padding: 6px;
}

.admin-page-message.success { color: #1e7e34; }

.admin-file-input-wrapper { position: relative; }

.admin-file-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.admin-file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 24px;
    border: 2px dashed #dbe5f3;
    border-radius: 10px;
    background-color: #f8fbff;
    color: var(--simit-blue-dark);
    font-weight: 700;
    font-size: 0.92em;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.admin-file-label:hover {
    border-color: var(--simit-blue-bright);
    background-color: #eef5ff;
}

.admin-file-label i {
    font-size: 22px;
    color: var(--simit-blue-bright);
}

.admin-pdf-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 14px;
    background-color: #e6f7ec;
    border: 1.5px solid #1e7e34;
    border-radius: 8px;
    color: #1e7e34;
    font-weight: 600;
    font-size: 0.88em;
}

.admin-pdf-preview i { color: #dc3545; font-size: 18px; }
.admin-pdf-preview span { flex: 1; word-break: break-all; }

.admin-pdf-remove {
    background: none;
    border: none;
    color: #1e7e34;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s;
}

.admin-pdf-remove:hover {
    background-color: rgba(30, 126, 52, 0.15);
    color: #dc3545;
}

/* ==================== REPORTE ==================== */
.report-page { background-color: #ffffff; }

.report-page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 40px 60px;
    background-color: #ffffff;
}

.report-top-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.report-top-left { flex: 1; min-width: 300px; }

.report-title {
    font-size: 2.3em;
    font-weight: 800;
    color: var(--simit-blue-dark);
    margin: 0 0 6px 0;
    letter-spacing: -0.8px;
}

.report-subtitle {
    font-size: 1em;
    color: #4a5568;
    margin: 0;
}

.report-top-search {
    display: flex;
    align-items: center;
    border: 2px solid #dbe5f3;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    min-width: 340px;
    max-width: 420px;
    flex: 1;
    align-self: center;
}

.report-search-input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
    color: #2d3748;
    background-color: transparent;
}

.report-search-btn {
    background-color: var(--simit-blue-bright);
    color: #ffffff;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 15px;
    transition: background-color 0.2s;
}

.report-search-btn:hover { background-color: #004fa3; }

.report-body-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 10px;
}

.report-left-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.report-summary-card {
    background-color: #eef4ff;
    border-radius: 10px;
    padding: 20px 26px;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 0;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0, 87, 184, 0.06);
}

.summary-col { display: flex; flex-direction: column; }

.summary-col-title {
    font-weight: 700;
    color: var(--simit-blue-dark);
    font-size: 1.05em;
}

.summary-col-label {
    font-size: 0.92em;
    color: #2d3748;
}

.summary-col-label strong {
    font-weight: 800;
    color: var(--simit-blue-dark);
    margin-left: 4px;
}

.summary-col-total {
    margin-left: auto;
    padding-left: 20px;
    border-left: 1px solid #c9d9f0;
}

.summary-col-total .summary-col-label {
    font-weight: 800;
    color: var(--simit-blue-dark);
    font-size: 1.05em;
}

.report-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px 28px;
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.report-card-illustration {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.report-illustration-svg { width: 180px; height: 140px; }

.report-card-title {
    font-size: 1.15em;
    font-weight: 700;
    color: var(--simit-blue-dark);
    margin: 0 0 22px 0;
    line-height: 1.35;
}

.report-card-email-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.report-email-input {
    flex: 1;
    min-width: 180px;
    padding: 11px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.9em;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #1c2d5e;
    font-weight: 600;
}

.report-email-input::placeholder { color: #94a3b8; font-weight: 400; }

.report-email-input:focus {
    border-color: var(--simit-blue-bright);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}

.report-btn-primary {
    background-color: var(--simit-blue-bright);
    color: #ffffff;
    border: none;
    padding: 11px 22px;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.report-btn-primary:hover { background-color: #004fa3; }

.report-btn-outline {
    background-color: #ffffff;
    color: var(--simit-blue-dark);
    border: 2px solid var(--simit-blue-dark);
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.report-btn-outline:hover {
    background-color: var(--simit-blue-dark);
    color: #ffffff;
}

.report-message { padding-top: 6px; }

.report-message-title {
    font-size: 1.8em;
    font-weight: 800;
    color: var(--simit-blue-dark);
    line-height: 1.2;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

.report-message-text {
    font-size: 0.95em;
    color: #4a5568;
    line-height: 1.65;
    margin: 0 0 16px 0;
}

.report-message-text strong {
    color: var(--simit-blue-dark);
    font-weight: 800;
}

.report-history-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--simit-blue-bright);
    font-size: 0.95em;
    font-weight: 600;
    margin-top: 6px;
    transition: gap 0.2s;
}

.report-history-link:hover {
    text-decoration: underline;
    gap: 10px;
}

/* ==================== BARRA PROGRESO ==================== */
.tech-progress-section {
    margin-top: 32px;
    padding: 20px 22px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
    border: 1px solid #dbe5f3;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 87, 184, 0.06);
}

.tech-progress-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88em;
    font-weight: 700;
    color: var(--simit-blue-dark);
    margin-bottom: 16px;
}

.tech-progress-header i {
    color: var(--simit-blue-bright);
    font-size: 15px;
}

.dc-progress-main {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.dc-progress-percent {
    font-size: 2.6em;
    font-weight: 800;
    color: var(--simit-blue-dark);
    font-family: 'Courier New', monospace;
    min-width: 110px;
    text-align: center;
    padding: 8px 12px;
    background: linear-gradient(135deg, #eef5ff 0%, #dbe5f3 100%);
    border-radius: 10px;
    border: 2px solid #c9d9f0;
    letter-spacing: -1px;
}

.dc-progress-info { flex: 1; }

.dc-progress-track {
    height: 22px;
    background-color: #dbe5f3;
    border-radius: 11px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dc-progress-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress-width, 7%);
    background: linear-gradient(90deg, #0057b8 0%, #1c2d5e 100%);
    border-radius: 11px;
    transition: width 1s linear;
    z-index: 1;
}

.dc-progress-fill {
    height: 100%;
    width: 40%;
    background: linear-gradient(
        90deg,
        rgba(76, 154, 255, 0) 0%,
        rgba(76, 154, 255, 0.6) 20%,
        rgba(76, 154, 255, 1) 50%,
        rgba(76, 154, 255, 0.6) 80%,
        rgba(76, 154, 255, 0) 100%
    );
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 11px;
    animation: progressSweep 2.2s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(76, 154, 255, 0.5);
}

.dc-progress-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.25) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.25) 75%,
        transparent 75%,
        transparent
    );
    background-size: 18px 18px;
    animation: techStripes 0.8s linear infinite;
    border-radius: 11px;
}

@keyframes progressSweep {
    0%   { left: -40%; opacity: 0; }
    10%  { opacity: 1; }
    50%  { left: 100%; opacity: 1; }
    90%  { opacity: 1; }
    100% { left: -40%; opacity: 0; }
}

@keyframes techStripes {
    from { background-position: 0 0; }
    to { background-position: 18px 0; }
}

.dc-progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: 700;
    color: var(--simit-blue-dark);
}

.tech-progress-timer {
    text-align: center;
    font-size: 0.82em;
    color: #64748b;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #cbd5e1;
}

.tech-progress-timer strong {
    font-family: 'Courier New', monospace;
    color: var(--simit-blue-dark);
    font-size: 1.1em;
}

.tech-progress-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.tech-progress-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75em;
    font-weight: 700;
    color: #94a3b8;
    padding: 6px 8px;
    background-color: #f1f5f9;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.3s;
}

.tech-progress-step.active {
    color: var(--simit-blue-bright);
    background-color: #eef5ff;
}

.tech-progress-step.done {
    color: #1e7e34;
    background-color: #e6f7ec;
}

.tech-progress-step i { font-size: 11px; }

.completed-section {
    margin-top: 32px;
    padding: 30px 24px;
    border: 2px dashed #1e7e34;
    border-radius: 10px;
    background: linear-gradient(135deg, #e6f7ec 0%, #f0fdf4 100%);
    text-align: center;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.completed-icon { font-size: 56px; color: #1e7e34; margin-bottom: 12px; }

.completed-title {
    font-size: 1.4em;
    color: #1e7e34;
    margin: 0 0 10px 0;
    font-weight: 800;
}

.completed-text {
    color: #4a5568;
    font-size: 0.92em;
    line-height: 1.5;
    margin: 0 auto 20px;
    max-width: 520px;
}

.btn-download-pdf {
    background-color: #dc3545;
    color: #ffffff;
    border: none;
    padding: 12px 26px;
    border-radius: 6px;
    font-size: 0.95em;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s, transform 0.15s;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-download-pdf:hover { background-color: #c82333; transform: translateY(-2px); }

/* ==================== LOADING ==================== */
.loading-page {
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.loading-page::before,
.loading-page::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 60px solid rgba(0, 87, 184, 0.04);
    pointer-events: none;
    z-index: 0;
}

.loading-page::before {
    width: 900px;
    height: 900px;
    top: -200px;
    left: -300px;
}

.loading-page::after {
    width: 700px;
    height: 700px;
    bottom: -200px;
    right: -200px;
}

.loading-wrapper {
    max-width: 620px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.loading-logo { margin-bottom: 30px; }
.loading-logo img { height: 60px; margin: 0 auto; }

.loading-radar {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-radar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(0, 87, 184, 0.35);
    border-radius: 50%;
    opacity: 0;
    animation: radarPulse 2.4s ease-out infinite;
}

.loading-ring-1 { width: 60px;  height: 60px;  animation-delay: 0s; }
.loading-ring-2 { width: 100px; height: 100px; animation-delay: 0.6s; }
.loading-ring-3 { width: 140px; height: 140px; animation-delay: 1.2s; }
.loading-ring-4 { width: 180px; height: 180px; animation-delay: 1.8s; }

@keyframes radarPulse {
    0%   { transform: translate(-50%, -50%) scale(0.4); opacity: 0.8; }
    50%  { opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1);   opacity: 0; }
}

.loading-radar-core {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0057b8 0%, #1c2d5e 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 24px rgba(0, 87, 184, 0.4);
    position: relative;
    z-index: 2;
    animation: corePulse 2s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(0, 87, 184, 0.4); }
    50%      { box-shadow: 0 8px 36px rgba(0, 87, 184, 0.7); }
}

.loading-percent {
    font-size: 3.4em;
    font-weight: 800;
    color: var(--simit-blue-dark);
    font-family: 'Courier New', monospace;
    letter-spacing: -1px;
    margin-bottom: 8px;
    line-height: 1;
}

.loading-title {
    font-size: 1.5em;
    font-weight: 800;
    color: var(--simit-blue-dark);
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.loading-subtitle {
    font-size: 0.95em;
    color: #4a5568;
    margin: 0 0 26px 0;
    line-height: 1.5;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.loading-bar-wrapper { max-width: 480px; margin: 0 auto 14px; }

.loading-bar-track {
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.loading-bar-fill {
    height: 100%;
    width: 7%;
    background: linear-gradient(90deg, #4c9aff 0%, #0057b8 50%, #1c2d5e 100%);
    border-radius: 4px;
    transition: width 0.1s linear;
    position: relative;
}

.loading-bar-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.25) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.25) 75%,
        transparent 75%,
        transparent
    );
    background-size: 12px 12px;
    animation: techStripes 0.6s linear infinite;
}

.loading-nodes {
    font-size: 0.85em;
    color: #64748b;
    margin: 0 0 26px 0;
}

.loading-nodes strong {
    color: var(--simit-blue-dark);
    font-weight: 800;
    font-family: 'Courier New', monospace;
}

.loading-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto 26px;
    text-align: left;
}

.loading-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background-color: #f1f5f9;
    border-radius: 8px;
    font-size: 0.82em;
    font-weight: 600;
    color: #94a3b8;
    transition: all 0.3s;
}

.loading-step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    flex-shrink: 0;
    transition: all 0.3s;
}

.loading-step.active {
    background-color: #eef5ff;
    color: var(--simit-blue-bright);
}

.loading-step.active .loading-step-dot {
    background-color: var(--simit-blue-bright);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.18);
    animation: dotPulse 1.2s ease-in-out infinite;
}

.loading-step.done {
    background-color: #e6f7ec;
    color: #1e7e34;
}

.loading-step.done .loading-step-dot { background-color: #1e7e34; }

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.18); }
    50%      { box-shadow: 0 0 0 8px rgba(0, 102, 204, 0.05); }
}

.loading-footer {
    font-size: 0.78em;
    color: #94a3b8;
    margin: 0;
    font-family: 'Courier New', monospace;
}

.loading-footer i { color: #1e7e34; margin-right: 4px; }
.loading-footer span { color: var(--simit-blue-dark); font-weight: 700; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1100px) {
    .hero-inner { grid-template-columns: 1fr 1.2fr; }
    .hero-title { font-size: 2.2em; }
    .hero-waves { left: -10%; opacity: 0.35; }
    .cards-inner { grid-template-columns: 1fr 1fr; }
    .card-news { grid-column: 1 / -1; }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-col:nth-child(3) { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding: 0 28px;
    }
    .hero-image { max-width: 220px; margin: 0 auto; order: -1; }
    .hero-image img { max-height: 200px; }
    .hero-content { padding: 10px 0; }
    .hero-title { font-size: 1.9em; }
    .hero-form { margin: 0 auto; }
    .clave-row { margin-left: auto; margin-right: auto; }
    .hero-sidebar { height: 160px; width: 36px; }
    .hero-waves { left: -30%; opacity: 0.25; }
    .main-nav .nav-item:not(.btn-ingresar):not(.nav-home) { display: none; }
    .nav-hamburger { display: block; }
    .cards-inner { grid-template-columns: 1fr; }
    .nav-acceso { display: none; }

    .report-page-wrapper { padding: 20px 20px 40px; }
    .report-top-section { flex-direction: column; align-items: stretch; gap: 16px; }
    .report-top-search { min-width: 100%; max-width: 100%; }
    .report-title { font-size: 1.8em; }
    .report-summary-card { gap: 18px; padding: 16px 20px; }
    .summary-col-total {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid #c9d9f0;
    }
    .report-body-grid { grid-template-columns: 1fr; gap: 24px; }
    .report-message-title { font-size: 1.4em; }
    .tech-progress-details { grid-template-columns: repeat(2, 1fr); }
    .report-card-email-row { flex-direction: column; align-items: stretch; }
    .report-btn-primary, .report-btn-outline { width: 100%; justify-content: center; }

    .dc-progress-main { flex-direction: column; gap: 12px; }
    .dc-progress-percent { font-size: 2em; min-width: 90px; }

    .loading-percent { font-size: 2.6em; }
    .loading-title { font-size: 1.2em; }
    .loading-subtitle { font-size: 0.88em; }
    .loading-steps { grid-template-columns: 1fr; font-size: 0.75em; }
    .loading-radar { width: 140px; height: 140px; }
    .loading-radar-core { width: 55px; height: 55px; font-size: 24px; }
    .loading-ring-1 { width: 50px; height: 50px; }
    .loading-ring-2 { width: 80px; height: 80px; }
    .loading-ring-3 { width: 110px; height: 110px; }
    .loading-ring-4 { width: 140px; height: 140px; }

    .simit-footer { padding: 30px 0 40px; }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 0 24px;
    }
    .footer-col:nth-child(3) { grid-column: auto; }
}

@media (max-width: 600px) {
    .top-bar-left .top-item span { display: none; }
    .top-bar-left { gap: 14px; }
    .top-bar-right { gap: 12px; }
    .header-inner, .hero-inner, .cards-inner, .top-bar-inner { padding: 0 16px; }
    .hero-inner { padding: 0 50px 0 16px; }
    .logo-img { height: 40px; }
    .hero-title { font-size: 1.7em; letter-spacing: -0.5px; }
    .hero-subtitle { font-size: 0.95em; }
    .search-row { flex-wrap: wrap; }
    .search-select {
        width: 100%;
        padding: 11px;
        border-right: none;
        border-bottom: 1px solid #dbe5f3;
    }
    .search-input { padding: 12px; }
    .search-btn { padding: 0 20px; }
    .clave-row { flex-direction: column; align-items: stretch; max-width: 100%; }
    .clave-row label { margin-bottom: 4px; }
    .float-accessibility { width: 46px; height: 46px; font-size: 18px; bottom: 12px; right: 12px; }
    .hero-sidebar { height: 120px; width: 32px; font-size: 12px; }
    .hero-waves { display: none; }
    .card-news-inner { padding: 18px 18px 12px; }
    .card-news h2 { font-size: 1.15em; }
    .card-news-image { width: 50px; height: 50px; }
    .news-fallback-icon { font-size: 34px; }
    .admin-page-wrapper { padding: 24px 16px 40px; }
    .admin-card { padding: 24px 20px; }
    .admin-options { grid-template-columns: 1fr; }
    .admin-page-header h1 { font-size: 1.5em; }
    .admin-page-btn { width: 100%; justify-content: center; }

    .report-page-wrapper { padding: 16px 16px 30px; }
    .report-title { font-size: 1.5em; }
    .report-message-title { font-size: 1.2em; }
    .tech-progress-details { grid-template-columns: 1fr 1fr; font-size: 0.7em; }
    .dc-progress-percent { font-size: 1.7em; min-width: 80px; }

    .footer-inner { padding: 0 16px; }
    .footer-col-title { font-size: 14px; }
    .footer-col p { font-size: 12.5px; }
    .footer-social a { width: 28px; height: 28px; font-size: 12px; }
}