/* 
 * Estilos para la Página de Donación 
 * Diseño inspirado en las campañas de Wikipedia
 */

.saico-donacion-page {
    --bg-color: #f8f9fa;
    --text-primary: #202122;
    --text-secondary: #54595d;
    --accent-color: #3366cc;
    --border-color: #a2a9b1;
    
    background-color: var(--bg-color);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    padding: 40px 0 80px 0;
    min-height: 100vh;
}

/* Header simple solo para la página de donación si se requiere ocultar la navegación */
.saico-donacion-page-header {
    text-align: center;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eaecf0;
}
.saico-donacion-page-header img {
    max-height: 50px;
}

.saico-donacion-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.saico-donacion-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 850px) {
    .saico-donacion-grid {
        grid-template-columns: 1fr 400px;
        align-items: flex-start;
    }
}

/* Hero Premium Section */
 .saico-donacion-hero {
     display: flex;
     flex-direction: column;
     justify-content: center;
     padding: 20px 0;
 }
 
 .saico-donacion-badge {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     background: rgba(16, 185, 129, 0.1);
     color: #059669;
     padding: 6px 14px;
     border-radius: 20px;
     font-size: 14px;
     font-weight: 700;
     margin-bottom: 20px;
     width: max-content;
 }
 .saico-donacion-badge svg { width: 16px; height: 16px; }
 
 .saico-donacion-hero h1 {
     font-size: 3.5rem;
     font-weight: 900;
     color: #111827;
     line-height: 1.1;
     margin: 0 0 20px 0;
     letter-spacing: -1px;
 }
 
 .saico-donacion-hero .subtitle {
     font-size: 1.5rem;
     font-weight: 600;
     color: #374151;
     margin-bottom: 15px;
     line-height: 1.3;
 }
 
 .saico-donacion-hero .description {
     font-size: 1.1rem;
     color: #6b7280;
     margin-bottom: 30px;
 }
 
 .saico-trust-badges {
     display: flex;
     gap: 20px;
     flex-wrap: wrap;
 }
 .trust-item {
     display: flex;
     align-items: center;
     gap: 8px;
     font-size: 14px;
     font-weight: 600;
     color: #4b5563;
     background: #ffffff;
     padding: 10px 16px;
     border-radius: 8px;
     box-shadow: 0 1px 2px rgba(0,0,0,0.05);
     border: 1px solid #f3f4f6;
 }
 .trust-item svg {
     width: 18px;
     height: 18px;
     color: #10b981;
 }
 
 /* Widget Container Premium */
 .saico-donacion-widget-container {
     position: relative;
     top: 20px; /* Ya no es sticky, es relative para el glow */
     z-index: 1;
 }
 
 .widget-glow {
     position: absolute;
     top: -20px;
     left: -20px;
     right: -20px;
     bottom: -20px;
     background: linear-gradient(45deg, rgba(16,185,129,0.2), rgba(59,130,246,0.2));
     filter: blur(40px);
     z-index: -1;
     border-radius: 20px;
 }
 
 .widget-inner {
     background: #ffffff;
     border-radius: 16px;
     box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
     overflow: hidden;
     border: 1px solid rgba(255,255,255,0.5);
 }

/* Fix mobile Donorbox iframe */
.saico-donacion-widget-container iframe {
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .saico-donacion-hero h1 {
        font-size: 2.5rem;
    }
    .saico-donacion-hero .subtitle {
        font-size: 1.25rem;
    }
    .saico-donacion-hero {
        text-align: center;
        align-items: center;
    }
    .saico-trust-badges {
        justify-content: center;
    }
}
