
/* =========================================
   QROMA CIHS 2026 - ESTILOS INSTITUCIONALES
   ========================================= */

:root {
    --qroma-blue: #00539F;
    --qroma-dark-blue: #002E5D;
    --qroma-fuchsia: #E5007D;
    --qroma-orange: #F58220;
    --qroma-background: #F8FAFC;
    --qroma-text: #1E293B;
}

html {
    font-size: 16px;
}

body.qroma-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-bottom: 0;
    background-color: var(--qroma-background);
    color: var(--qroma-text);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* ENCABEZADO */

.qroma-header {
    background-color: var(--qroma-dark-blue);
    border-bottom: 4px solid var(--qroma-fuchsia);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.qroma-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.qroma-header-identity {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qroma-brand {
    background: white;
    color: var(--qroma-blue);
    font-size: 21px;
    font-weight: 800;
    padding: 10px 17px;
    border-radius: 9px;
    letter-spacing: 1px;
}

.qroma-header-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
}

.qroma-header-subtitle {
    color: #CBD5E1;
    font-size: 12px;
    margin: 0;
}

.qroma-environment {
    color: #FDE68A;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* CONTENIDO */

.qroma-main {
    flex: 1;
    padding-top: 40px;
    padding-bottom: 50px;
}

/* TARJETA DE ACCESO */

.qroma-access-card {
    max-width: 540px;
    margin: 0 auto;
    padding: 32px;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    background: white;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.qroma-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    background: #EFF6FF;
    color: var(--qroma-blue);
    border-radius: 50%;
    font-size: 28px;
    margin-bottom: 14px;
}

.qroma-form-title {
    color: var(--qroma-dark-blue);
    font-weight: 700;
    font-size: 25px;
}

.qroma-form-description {
    color: #64748B;
    font-size: 14px;
}

.qroma-privacy {
    background: #FFFBEB;
    border-left: 4px solid #F59E0B;
    border-radius: 0 8px 8px 0;
    padding: 15px;
    color: #92400E;
    font-size: 13px;
}

.qroma-label {
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
}

.qroma-input {
    min-height: 48px;
    border-radius: 9px;
    border: 1px solid #CBD5E1;
    padding: 11px 15px;
}

    .qroma-input:focus {
        border-color: var(--qroma-blue);
        box-shadow: 0 0 0 3px rgba(0, 83, 159, 0.12);
    }

.qroma-button {
    width: 100%;
    min-height: 48px;
    border: none;
    border-radius: 9px;
    background: var(--qroma-blue);
    color: white;
    font-weight: 700;
}

    .qroma-button:hover {
        background: var(--qroma-dark-blue);
        color: white;
    }

    .qroma-button:focus-visible {
        outline: 3px solid var(--qroma-orange);
        outline-offset: 3px;
    }

/* PIE DE PÁGINA */

.qroma-footer {
    padding: 18px 0;
    background: #F1F5F9;
    border-top: 1px solid #E2E8F0;
    color: #64748B;
    font-size: 12px;
}

/* RESPONSIVE */

@media (max-width: 576px) {
    .qroma-header-inner {
        flex-direction: column;
        text-align: center;
    }

    .qroma-header-identity {
        flex-direction: column;
    }

    .qroma-main {
        padding-top: 24px;
    }

    .qroma-access-card {
        padding: 22px;
    }

    .qroma-form-title {
        font-size: 22px;
    }
}


/* =========================================
   ACTIVIDAD 15 - DJ Y CEDULA ELECTORAL
   ========================================= */

/* Elementos comunes */

.qroma-step {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    background: #EFF6FF;
    color: var(--qroma-blue);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

.qroma-information-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px;
    color: #475569;
    line-height: 1.7;
}

.qroma-check {
    padding: 15px;
    background: #F8FAFC;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
}

    .qroma-check .form-check-input:checked {
        background-color: var(--qroma-blue);
        border-color: var(--qroma-blue);
    }

/* Cedula electoral */

.qroma-ballot {
    max-width: 950px;
    margin: 0 auto;
}

.qroma-ballot-header {
    background: var(--qroma-blue);
    color: white;
    padding: 24px;
    border-radius: 14px;
    margin-bottom: 22px;
}

    .qroma-ballot-header h1 {
        margin: 0 0 8px;
        font-size: 25px;
        font-weight: 700;
    }

    .qroma-ballot-header p {
        color: #DBEAFE;
        margin: 0;
        font-size: 14px;
    }

.qroma-section-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.qroma-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid #E2E8F0;
}

.qroma-section-title {
    color: var(--qroma-dark-blue);
    font-weight: 700;
    font-size: 19px;
    margin: 0;
}

.qroma-cupos {
    flex-shrink: 0;
    background: #F1F5F9;
    color: #475569;
    border-radius: 20px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
}

.qroma-position {
    margin-bottom: 20px;
}

    .qroma-position:last-child {
        margin-bottom: 0;
    }

.qroma-position-help {
    font-size: 12px;
    color: #64748B;
    margin-top: 6px;
}

.qroma-button--fuchsia {
    background: var(--qroma-fuchsia);
}

    .qroma-button--fuchsia:hover {
        background: #B90064;
    }

@media (max-width: 576px) {
    .qroma-ballot-header {
        padding: 20px;
    }

        .qroma-ballot-header h1 {
            font-size: 21px;
        }

    .qroma-section-card {
        padding: 18px;
    }

    .qroma-section-heading {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================
   ACTIVIDAD 16 - RESUMEN Y PANEL RRHH
   ========================================= */

/* RESUMEN ELECTORAL */

.qroma-summary {
    max-width: 760px;
    margin: 0 auto;
}

.qroma-summary-title {
    color: var(--qroma-dark-blue);
    font-weight: 700;
    font-size: 27px;
    text-align: center;
    margin-bottom: 10px;
}

.qroma-summary-description {
    color: #64748B;
    text-align: center;
    font-size: 14px;
    margin-bottom: 25px;
}

.qroma-summary-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.04);
}

.qroma-summary-card-header {
    padding: 16px 20px;
    background: #F1F5F9;
    color: var(--qroma-dark-blue);
    font-size: 16px;
    font-weight: 700;
}

.qroma-summary-card-body {
    padding: 20px;
}

.qroma-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #E2E8F0;
}

    .qroma-summary-row:last-child {
        border-bottom: none;
    }

    .qroma-summary-row span {
        color: #64748B;
        font-size: 14px;
    }

    .qroma-summary-row strong {
        color: var(--qroma-dark-blue);
        font-size: 14px;
        text-align: right;
    }

.qroma-outline-button {
    display: block;
    text-align: center;
    text-decoration: none;
    border: 2px solid var(--qroma-blue);
    color: var(--qroma-blue);
    border-radius: 9px;
    padding: 12px;
    font-weight: 700;
}

    .qroma-outline-button:hover {
        background: var(--qroma-blue);
        color: white;
    }

/* PANEL RRHH */

.qroma-dashboard {
    max-width: 1050px;
    margin: 0 auto;
}

.qroma-dashboard-header {
    background: var(--qroma-dark-blue);
    color: white;
    padding: 26px;
    border-radius: 14px;
    margin-bottom: 24px;
}

    .qroma-dashboard-header h1 {
        font-size: 25px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .qroma-dashboard-header p {
        color: #CBD5E1;
        margin-bottom: 0;
    }

.qroma-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 25px;
}

.qroma-metric-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 13px;
    padding: 24px;
    min-width: 0;
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.04);
}

.qroma-metric-label {
    font-size: 13px;
    color: #64748B;
    margin-bottom: 15px;
}

.qroma-metric-value {
    font-size: 34px;
    font-weight: 800;
    color: var(--qroma-blue);
}

.qroma-metric-note {
    color: #94A3B8;
    font-size: 12px;
    margin-top: 10px;
}

.qroma-panel-section {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 22px;
}

    .qroma-panel-section h2 {
        color: var(--qroma-dark-blue);
        font-size: 19px;
        font-weight: 700;
        margin-bottom: 15px;
    }

.qroma-unavailable {
    background: #F8FAFC;
    border: 1px dashed #CBD5E1;
    border-radius: 10px;
    padding: 20px;
    color: #475569;
    font-size: 14px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .qroma-metrics-grid {
        grid-template-columns: 1fr;
    }

    .qroma-dashboard-header {
        padding: 20px;
    }

    .qroma-summary-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

        .qroma-summary-row strong {
            text-align: left;
        }
}
