/* Estilos principales del agregador de becas */
.coneb-agregador-becas {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.coneb-filtros-becas {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    align-items: center;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #34448a;
}

.coneb-filtros-becas select,
.coneb-filtros-becas input {
    padding: 12px 15px;
    border: 2px solid #34448a;
    border-radius: 5px;
    background: white;
    color: #34448a;
    font-weight: 600;
    min-width: 180px;
}

#busqueda-becas {
    flex: 1;
    min-width: 250px;
}

.btn-filtro {
    background: #34448a;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-filtro:hover {
    background: #e53326;
}

.coneb-resultados-info {
    margin-bottom: 20px;
    font-size: 1.1em;
    font-weight: 600;
    color: #34448a;
}

.coneb-lista-becas {
    display: grid;
    gap: 25px;
}

.coneb-beca-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.coneb-beca-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(52, 68, 138, 0.2);
    border-color: #34448a;
}

.beca-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.beca-header h4 {
    color: #34448a;
    margin: 0 0 10px 0;
    font-size: 1em;
    font-weight: 700;
    line-height: 1.3;
}

.beca-institucion {
    color: #e53326;
    font-weight: 600;
    font-size: 1em;
    background: #ffeaea;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
}

.beca-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.beca-meta span {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    border: 1px solid #e0e0e0;
    font-weight: 500;
}

.beca-beneficios,
.beca-requisitos {
    margin-bottom: 15px;
    line-height: 1.6;
}

.beca-beneficios strong,
.beca-requisitos strong {
    color: #34448a;
}

.beca-acciones {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.btn-beca {
    background: #34448a;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-beca:hover {
    background: #e53326;
    color: white;
    transform: translateY(-2px);
}

.btn-guardar {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-guardar:hover {
    background: #218838;
    transform: translateY(-2px);
}

.coneb-sin-resultados {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
}

.coneb-sin-resultados p {
    color: #6c757d;
    font-size: 1.2em;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .coneb-agregador-becas {
        padding: 15px;
    }
    
    .coneb-filtros-becas {
        flex-direction: column;
        align-items: stretch;
    }
    
    .coneb-filtros-becas select,
    .coneb-filtros-becas input {
        min-width: auto;
        width: 100%;
    }
    
    .beca-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .beca-acciones {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-beca,
    .btn-guardar {
        text-align: center;
        justify-content: center;
    }
    
    .coneb-beca-card {
        padding: 20px;
    }
}

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

.coneb-beca-card {
    animation: fadeInUp 0.5s ease-out;
}