
.sidebar-anuncios{
    width:360px;
    position:sticky;
    top:24px;
    height:calc(100vh - 48px);
    overflow-y:auto;
    align-self:start;
}


.seccion-anuncios{
margin-bottom:30px;
border-radius:16px;
overflow:hidden;
background:#f8fafc;
border:1px solid #eef2f6;
}

.titulo-seccion{
padding:15px 16px;
background:linear-gradient(135deg,#f8fafc,#ffffff);
border-bottom:2px solid #eef2f6;
font-weight:700;
color:#1e293b;
display:flex;
align-items:center;
gap:8px;
}

.anuncio-media{
width:100%;
height:160px;
background:#1e293b;
position:relative;
overflow:hidden;
}

.anuncio-media img,
.anuncio-media video{
width:100%;
height:100%;
object-fit:cover;
}

.anuncio-texto{
padding:16px;
background:white;
}

/* =====================================================
     ESTILOS PARA GESTIÓN DE ANUNCIOS
     ===================================================== */

/* Sidebar de anuncios */
.sidebar-anuncios {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.sidebar-anuncios::-webkit-scrollbar {
    width: 5px;
}

.sidebar-anuncios::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

/* Dropdown menus */
.dropdown-menu {
    transition: all 0.2s;
    z-index: 100;
}

.dropdown-menu div:hover {
    background: #f1f5f9;
}

/* Multimedia carousel */
.multimedia-item {
    transition: opacity 0.5s ease;
}

/* Indicadores */
.carrusel-indicadores {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 5px;
}

.indicador {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s;
}

.indicador.activo {
    background: #f97316;
    width: 12px;
    border-radius: 6px;
}

/* Modal */
#modalNuevo {
    animation: fadeIn 0.2s;
}

#modalNuevo > div {
    animation: slideUp 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Radios personalizados */
input[name="posicion"] + * {
    transition: all 0.2s;
}

input[name="posicion"]:checked + * {
    border-color: #f97316;
    background: #fff7ed;
}


