/* Estilos exclusivos para el plugin de la Emisora */
.emisora-buscador-cip {
    background: #ffffff;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.08), 0 8px 16px rgba(0,0,0,0.05);
    overflow: hidden;
}

.emisora-header {
    padding: 25px 25px 10px;
    text-align: center;
}

.emisora-titulo {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 5px;
}

.emisora-subtitulo {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0 0 15px;
}

.search-box-cip {
    display: flex;
    justify-content: center;
    padding: 0 25px 20px;
    gap: 10px;
}

.search-input {
    flex: 1;
    max-width: 450px;
    padding: 12px 18px;
    border: 2px solid #cbd5e1;
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.search-btn {
    background-color: #dc2626;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 0 22px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.search-btn:hover {
    background-color: #b91c1c;
    transform: scale(1.02);
}

.youtube-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    padding: 0 25px 20px;
    max-height: 400px;
    overflow-y: auto;
}

.video-card {
    background: #f8fafc;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.video-thumb {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.video-info {
    padding: 8px 10px;
}

.video-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-results {
    text-align: center;
    color: #94a3b8;
    font-style: italic;
    padding: 15px 0;
    grid-column: 1 / -1;
}

.video-wrapper-cip {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

@media (max-width: 600px) {
    .search-box-cip {
        flex-direction: column;
        align-items: center;
    }
    .search-input {
        max-width: 100%;
    }
    .youtube-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}