/* ============================================================
   ANSV Nuevo - Estilos complementarios
   Coherencia visual con el sitio del Colegio de Ingenieros
   NO depende de css/ansv.css
   ============================================================ */

/* --- Botones de acción (migrado de ansv.css, scoped a esta sección) --- */
#ansv-nuevo .btn-primary.btn-publication {
    background: #00a44e !important;
    border: 2px solid #00a44e !important;
    color: white !important;
    border-radius: 50px;
    font-family: "Jost", sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 8px 44px 8px 20px;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

#ansv-nuevo .btn-primary.btn-publication:hover {
    background: #008c42 !important;
    border-color: #008c42 !important;
    color: white !important;
    text-decoration: none !important;
}

#ansv-nuevo .btn-publication i {
    position: relative;
    top: 4px;
    font-size: 18px;
    margin-left: 15px;
}

#ansv-nuevo .btn-label {
    position: relative;
    margin-top: -8px;
    display: inline-block;
}

/* --- Subtítulo con ícono de información --- */
.ansv-nuevo-subtitulo {
    font-family: "Jost", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #003A74;
    margin-bottom: 12px;
}

.ansv-nuevo-subtitulo i {
    color: #47b2e4;
    margin-right: 6px;
    font-size: 20px;
    vertical-align: middle;
}

/* --- Alerta IMPORTANTE --- */
.ansv-nuevo-alerta {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: linear-gradient(135deg, #fff8e1, #fff3cd);
    border: 1px solid #ffc107;
    border-left: 4px solid #e67e00;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 0 0 24px 0;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #5d4037;
    line-height: 1.7;
}

.ansv-nuevo-alerta i {
    font-size: 26px;
    color: #e67e00;
    flex-shrink: 0;
    margin-top: 1px;
}

/* --- Botón CTA principal --- */
.ansv-nuevo-btn-principal {
    font-family: "Jost", sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 1px !important;
    border-radius: 50px !important;
    background: #003A74 !important;
    border-color: #003A74 !important;
    padding-left: 36px !important;
    padding-right: 56px !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 58, 116, 0.3) !important;
    position: relative;
}

.ansv-nuevo-btn-principal i {
    position: absolute !important;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

.ansv-nuevo-btn-principal:hover {
    background: #00a44e !important;
    border-color: #00a44e !important;
    box-shadow: 0 6px 20px rgba(0, 164, 78, 0.4) !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* --- Separador de sección de ayuda --- */
.ansv-nuevo-separador {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 30px 0 22px 0;
}

.ansv-nuevo-separador-linea {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, #00a44e, transparent);
    border-radius: 2px;
}

.ansv-nuevo-separador-titulo {
    font-family: "Jost", sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: #00a44e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.ansv-nuevo-separador-titulo i {
    color: #00a44e;
    font-size: 17px;
    vertical-align: middle;
    margin-right: 4px;
}

/* --- Tarjetas de soporte --- */
.ansv-nuevo-soporte-card {
    background: #f3f5fa;
    border-radius: 10px;
    padding: 22px 20px 10px 20px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
    border: 1px solid #e0e6f0;
    height: 100%;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.ansv-nuevo-soporte-card:hover {
    box-shadow: 0 4px 16px rgba(0, 58, 116, 0.1);
    border-color: #00a44e;
}

.ansv-nuevo-soporte-icono {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 1px solid #d0d5dd;
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
    background: #f5f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00a44f;
}

.alert-danger {
    margin-bottom: 50px !important;
}

/* --- Links dentro de la sección: verde en lugar del azul heredado del sitio --- */
#ansv-nuevo a,
#ansv-nuevo a:hover {
    color: #00a44e;
    text-decoration: none;
}

.ansv-nuevo-soporte-icono i {
    font-size: 40px;
    color: #00a44f;
}

.ansv-nuevo-soporte-contenido {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 20px;
}

.ansv-nuevo-soporte-texto {
    font-size: 14px !important;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 14px;
}

/* --- Botones secundarios de soporte --- */
.ansv-nuevo-btn-secundario {
    font-family: "Jost", sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    border-radius: 50px !important;
    background: transparent !important;
    color: #00a44e !important;
    border: 2px solid #00a44e !important;
    padding-right: 42px !important;
    margin-bottom: 10px;
    position: relative;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    align-self: flex-start;
}

.ansv-nuevo-btn-secundario i {
    position: absolute !important;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
}

.ansv-nuevo-btn-secundario:hover {
    background: #00a44e !important;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 164, 78, 0.25) !important;
}



/* --- Responsivo --- */
@media (max-width: 768px) {
    .ansv-nuevo-separador-titulo {
        font-size: 12px;
        white-space: normal;
        text-align: center;
    }

    .ansv-nuevo-soporte-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ansv-nuevo-btn-principal {
        font-size: 13px !important;
        letter-spacing: 0.3px !important;
    }
}