/* Estilos para el plugin Bancos Recomendados */

.banco-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banco-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.banco-recomendado {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.banco-recomendado .check-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.banco-content {
    display: grid;
    grid-template-columns: 200px 1fr 1fr 150px;
    gap: 24px;
    padding: 24px;
    align-items: start;
}

.banco-col {
    display: flex;
    flex-direction: column;
}

/* Primera columna - Información del banco */
.banco-info {
    text-align: center;
}

.banco-logo {
    margin-bottom: 16px;
}

.banco-logo img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    border-radius: 8px;
}

.banco-nombre-cuenta h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
}

.cuenta-nombre {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
}

.banco-rating {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1;
}

.star {
    color: #ddd;
    margin: 0 1px;
}

.star.filled {
    color: #ffd700;
}

.banco-comisiones {
    margin-top: 8px;
}

.sin-comisiones {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.con-comisiones {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Segunda y tercera columna - Contenido */
.banco-caracteristicas h4,
.banco-descripcion h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}

.banco-caracteristicas .content,
.banco-descripcion .content {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.banco-caracteristicas .content ul,
.banco-descripcion .content ul {
    margin: 0;
    padding-left: 20px;
}

.banco-caracteristicas .content li,
.banco-descripcion .content li {
    margin-bottom: 8px;
}

.banco-caracteristicas .content p,
.banco-descripcion .content p {
    margin: 0 0 12px 0;
}

/* Cuarta columna - CTA */
.banco-cta {
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.banco-btn {
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
    display: block;
    width: 100%;
    margin-bottom: 8px;
}

.banco-btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.banco-btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    text-decoration: none;
    color: white;
}

.banco-btn-secondary {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
    box-shadow: 0 4px 15px rgba(149, 165, 166, 0.3);
}

.banco-btn-secondary:hover {
    background: linear-gradient(135deg, #7f8c8d, #6c7b7d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(149, 165, 166, 0.4);
    text-decoration: none;
    color: white;
}

.banco-btn:active {
    transform: translateY(0);
}

.banco-btn:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .banco-content {
        grid-template-columns: 160px 1fr 1fr 130px;
        gap: 20px;
        padding: 20px;
    }
    
    .banco-logo img {
        max-width: 100px;
        max-height: 50px;
    }
    
    .banco-nombre-cuenta h3 {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .banco-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .banco-info {
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        gap: 16px;
        align-items: center;
        text-align: left;
    }
    
    .banco-logo {
        margin-bottom: 0;
    }
    
    .banco-logo img {
        max-width: 80px;
        max-height: 40px;
    }
    
    .banco-nombre-cuenta {
        text-align: left;
    }
    
    .banco-nombre-cuenta h3 {
        margin-bottom: 4px;
        font-size: 16px;
    }
    
    .cuenta-nombre {
        margin-bottom: 0;
        font-size: 13px;
    }
    
    .banco-rating {
        margin-bottom: 0;
        font-size: 16px;
    }
    
    .banco-comisiones {
        margin-top: 0;
    }
    
    .banco-caracteristicas,
    .banco-descripcion {
        margin-top: 16px;
    }
    
    .banco-cta {
        margin-top: 20px;
    }
    
    .banco-btn {
        width: 100%;
        padding: 16px 20px;
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .banco-btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .banco-card {
        margin: 16px 0;
        border-radius: 8px;
    }
    
    .banco-content {
        padding: 16px;
    }
    
    .banco-info {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }
    
    .banco-nombre-cuenta {
        text-align: center;
    }
    
    .banco-logo img {
        max-width: 100px;
        max-height: 50px;
    }
    
    .banco-caracteristicas h4,
    .banco-descripcion h4 {
        font-size: 15px;
    }
    
    .banco-caracteristicas .content,
    .banco-descripcion .content {
        font-size: 13px;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }