/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-lyjarjhx5m] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-lyjarjhx5m] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/Cuestionario.razor.rz.scp.css */
/* =======================================================
   ESTILOS DE PANTALLA NORMAL
   ======================================================= */
.print-only-header[b-jiyvliudhm] {
    display: none; /* Ocultar cabecera de certificado en la web */
}

/* Efecto hover para las tarjetas de dones */
.don-card[b-jiyvliudhm] {
    transition: transform 0.2s;
}

    .don-card:hover[b-jiyvliudhm] {
        transform: translateY(-5px);
    }

/* =======================================================
   ESTILOS DE IMPRESIÓN / PDF (MODO CERTIFICADO)
   ======================================================= */
@media print {
    /* 1. CONFIGURACIÓN DE LA PÁGINA */
    @page {
        size: landscape; /* Hoja horizontal para que quepan las 3 columnas */
        margin: 1cm; /* Márgenes limpios */
    }

    /* 2. FORZAR COLORES Y GRÁFICOS (Soluciona el problema de los iconos) */
    *[b-jiyvliudhm] {
        -webkit-print-color-adjust: exact !important; /* Chrome/Edge */
        print-color-adjust: exact !important; /* Firefox */
        color-adjust: exact !important;
    }

    .mud-avatar[b-jiyvliudhm] {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
        /* Aseguramos que el fondo no sea transparente */
        background-color: inherit !important;
    }

    /* 2. Forzar que el ÍCONO (SVG) sea visible */
    .mud-icon-root[b-jiyvliudhm] {
        /* Forzamos que el relleno del icono sea visible */
        fill: currentColor !important;
        /* En MudBlazor, el icono suele heredar el color blanco del texto del avatar */
        color: white !important;
        opacity: 1 !important;
        display: inline-block !important;
        visibility: visible !important;
    }

    /* 3. LIMPIEZA DE INTERFAZ */
    .no-print-area[b-jiyvliudhm],
    .mud-appbar[b-jiyvliudhm],
    .mud-nav-menu[b-jiyvliudhm],
    .mud-drawer[b-jiyvliudhm],
    header[b-jiyvliudhm],
    footer[b-jiyvliudhm],
    button[b-jiyvliudhm] {
        display: none !important;
    }

    /* 4. FONDO BLANCO PURO */
    body[b-jiyvliudhm], .mud-main-content[b-jiyvliudhm], .mud-layout[b-jiyvliudhm] {
        background-color: white !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
        overflow: visible !important; /* Permite que el contenido fluya */
    }

    /* 5. DISEÑO DE LA GRILLA DE RESULTADOS */
    /* Forzamos que MudGrid se comporte como una tabla rígida para que no se descuadre */
    .results-grid[b-jiyvliudhm] {
        display: flex !important;
        flex-direction: row !important; /* Una fila */
        justify-content: center !important;
        gap: 20px !important;
        width: 100% !important;
    }

    /* 6. AJUSTE DE LAS TARJETAS (CARDS) */
    .mud-grid-item[b-jiyvliudhm] {
        flex: 1 !important; /* Que las 3 ocupen el mismo ancho */
        max-width: 32% !important; /* Un tercio de la hoja para cada una */
    }

    .don-card[b-jiyvliudhm] {
        border: 2px solid #ddd !important; /* Borde visible para definir el cuadro */
        box-shadow: none !important; /* Quitamos sombras 3D que se ven mal impresas */
        page-break-inside: avoid !important; /* Evita que una tarjeta se corte a la mitad */
        height: 100% !important;
        background-color: white !important;
    }

    /* 7. AJUSTE DE TEXTOS PARA QUE NO SE SALGAN */
    .mud-card-content[b-jiyvliudhm] {
        padding: 10px !important;
    }

    .mud-typography-body2[b-jiyvliudhm] {
        font-size: 0.85rem !important; /* Texto un poco más pequeño para que quepa */
        line-height: 1.2 !important;
        text-align: justify; /* Se ve más ordenado */
    }

    .mud-typography-h6[b-jiyvliudhm] {
        font-size: 1.1rem !important;
        font-weight: bold !important;
    }

    /* Mostramos la cabecera del certificado */
    .print-only-header[b-jiyvliudhm] {
        display: block !important;
        margin-bottom: 20px;
        width: 100%;
        text-align: center;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Contenedor Principal */
.landing-page-split[b-wgbjqt17fy] {
    min-height: 100vh; /* Ocupa casi toda la altura de la pantalla */
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    overflow: hidden; /* Evita scrollbars innecesarios */
}

/* Títulos */
.dones-title[b-wgbjqt17fy] {
    font-family: 'Georgia', serif; /* Tipografía más clásica para lo religioso */
    letter-spacing: -1px;
}

/* ==================================================
   MANEJO DE LA IMAGEN VERTICAL
   ================================================== */
.hero-vertical-container[b-wgbjqt17fy] {
    width: 100%;
    /* En escritorio, la imagen será ALTA (80% de la altura de la pantalla) */
    height: 75vh;
    max-height: 800px;
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
    margin-top: 6rem;
}

    .hero-vertical-container:hover[b-wgbjqt17fy] {
        transform: scale(1.02); /* Efecto zoom sutil al pasar mouse */
    }

/* Sombra elegante para la imagen */
.shadow-xl[b-wgbjqt17fy] {
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Elemento decorativo detrás de la imagen (opcional) */
.blob-bg[b-wgbjqt17fy] {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--mud-palette-primary-rgb), 0.15) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ==================================================
   BOTONES / TARJETAS DE ACCIÓN
   ================================================== */
.action-row[b-wgbjqt17fy] {
    background-color: white;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .action-row:hover[b-wgbjqt17fy] {
        transform: translateX(10px); /* Se mueve un poco a la derecha */
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        border-color: var(--mud-palette-primary);
    }

.cursor-pointer[b-wgbjqt17fy] {
    cursor: pointer;
}

/* ==================================================
   RESPONSIVE (CELULARES)
   ================================================== */
@media (max-width: 960px) {
    .landing-page-split[b-wgbjqt17fy] {
        height: auto; /* En celular la altura es libre */
        padding-bottom: 50px;
    }

    .hero-vertical-container[b-wgbjqt17fy] {
        height: 500px; /* En celular no tan alta */
        margin-top: 20px;
    }
}
/* /Components/Pages/Materiales.razor.rz.scp.css */
/* ==============================================
   ESTILOS DE LA PÁGINA DE RECURSOS
   ============================================== */

/* Fondo general suave para diferenciar del Home */
.resources-page[b-v91g2feqnp] {
    background-color: #f8f9fa; /* Gris muy claro */
    min-height: 90vh; /* Asegura que cubra la pantalla */
    padding-bottom: 40px;
}

/* Tipografía elegante para el título */
.page-title[b-v91g2feqnp] {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: -0.5px;
}

/* ==============================================
   DISEÑO DE LAS TARJETAS (CARD)
   ============================================== */

.resource-card[b-v91g2feqnp] {
    border-radius: 12px; /* Bordes redondeados modernos */
    border: 1px solid transparent;
    transition: all 0.3s ease; /* Suavidad en la animación */
    background: white;
    position: relative;
    overflow: hidden; /* Para que nada se salga de los bordes redondeados */
}

    /* Efecto al pasar el mouse (Hover) */
    .resource-card:hover[b-v91g2feqnp] {
        transform: translateY(-5px); /* Se levanta un poco */
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important; /* Sombra más pronunciada */
        border-color: var(--mud-palette-primary-lighten); /* Borde sutil de color */
    }

/* ==============================================
   CABECERA DEL ICONO (Parte superior de la tarjeta)
   ============================================== */

.card-icon-header[b-v91g2feqnp] {
    background-color: #fff0f0; /* Fondo rojizo suave (alusivo a PDF) */
    padding: 24px; /* Espacio interno amplio */
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

/* Cambiar color de fondo del header al pasar el mouse */
.resource-card:hover .card-icon-header[b-v91g2feqnp] {
    background-color: #ffe0e0; /* Un rojo un poco más intenso */
}

/* ==============================================
   AJUSTE DE TAMAÑO DE ICONOS
   ============================================== */

/* El modificador ::deep es necesario en Blazor CSS Aislado 
   para afectar componentes hijos de MudBlazor (como MudIcon).
*/
.card-icon-header[b-v91g2feqnp]  svg {
    width: 64px; /* Icono grande */
    height: 64px;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.1)); /* Sombra sutil al icono */
}
