/* ==================================================
   ICPV - Pantalla de Pago Cancelado (AZUL)
   ================================================== */

/* Contenedor Principal */
.icpv-cancel-container {
    max-width: 500px;
    margin: 50px auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    font-family: system-ui, -apple-system, sans-serif;
    text-align: center;
}

/* Encabezado con Icono */
.icpv-cancel-header {
    margin-bottom: 25px;
}

.icpv-cancel-icon {
    width: 64px;
    height: 64px;
    background: #fef2f2; /* Rojo/Ámbar muy suave */
    color: #dc2626; /* Rojo de alerta */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.icpv-cancel-icon svg {
    width: 32px;
    height: 32px;
}

.icpv-cancel-header h2 {
    color: #213056;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.icpv-cancel-subtitle {
    color: #6b7280;
    font-size: 15px;
    margin: 0;
}

/* Cuerpo del Mensaje */
.icpv-cancel-body {
    background: #fbfbfe;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 30px;
    border: 1px dashed #e5e7eb;
}

.icpv-cancel-body p {
    color: #4b5563;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.icpv-cancel-body p:last-child {
    margin-bottom: 0;
}

.icpv-cancel-body strong {
    color: #1f2937;
    display: block;
    margin-top: 5px;
}

/* Botones y Enlaces */
.icpv-cancel-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Botón Destacado: Reintentar */
.btn-retry-payment {
    display: block;
    background: #30c15c;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    transition: background 0.2s, transform 0.2s;
}

.btn-retry-payment:hover {
    background: #29ab51;
    transform: translateY(-1px);
}

/* Botón Secundario: Home */
.btn-cancel-home {
    display: block;
    background: #f3f4f6;
    color: #374151 !important;
    text-decoration: none;
    font-weight: 600;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    transition: background 0.2s;
}

.btn-cancel-home:hover {
    background: #e5e7eb;
}

/* Soporte técnico */
.icpv-cancel-support {
    font-size: 13.5px;
    color: #9ca3af;
    margin-top: 15px;
}

.icpv-cancel-support a {
    color: #213056;
    text-decoration: none;
    font-weight: 600;
}

.icpv-cancel-support a:hover {
    text-decoration: underline;
}

/* Responsivo */
@media (max-width: 480px) {
    .icpv-cancel-container {
        padding: 25px 20px;
        margin: 20px 15px;
    }
}