/* =====================================================================
   ADMUSICA - Hoja de estilos principal (sitio público + área social)
   Asociación de Músicos de Ica
   Colores institucionales: bordó #0044A3, dorado #f5b301
   ===================================================================== */

/* === VARIABLES === */
:root {
    --admusica-primary: #0044A3;
    --admusica-primary-dark: #003380;
    --admusica-dark: #002560;
    --admusica-darker: #001a45;
    --admusica-gold: #f5b301;
    --admusica-gold-dark: #d49a00;
    --admusica-light: #fdf6e3;
    --admusica-cream: #fbf3e0;
    --admusica-gray: #6c757d;
    --admusica-shadow: 0 4px 20px rgba(0, 68, 163, 0.12);
    --admusica-shadow-hover: 0 8px 30px rgba(0, 68, 163, 0.18);
    --admusica-radius: 0.625rem;
}

/* === BASE === */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    background-color: #faf7f2;
    color: #2d2d2d;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--admusica-dark);
}

a {
    color: var(--admusica-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: var(--admusica-primary-dark); }

.text-muted { color: var(--admusica-gray) !important; }

/* === SCROLLBAR PERSONALIZADO === */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f1e9dd; }
::-webkit-scrollbar-thumb { background: var(--admusica-primary); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--admusica-primary-dark); }

/* =====================================================================
   COLORES INSTITUCIONALES
   ===================================================================== */
.bg-admusica {
    background-color: var(--admusica-primary) !important;
    color: #fff !important;
}
.bg-admusica-dark {
    background-color: var(--admusica-dark) !important;
    color: #fff !important;
}
.bg-admusica-darker {
    background-color: var(--admusica-darker) !important;
    color: #fff !important;
}
.bg-gold {
    background-color: var(--admusica-gold) !important;
    color: var(--admusica-dark) !important;
}
.text-admusica { color: var(--admusica-primary) !important; }
.text-admusica-dark { color: var(--admusica-dark) !important; }
.text-admusica-gold { color: var(--admusica-gold) !important; }
.text-gold { color: var(--admusica-gold) !important; }

/* Gradiente institucional */
.bg-admusica-gradient {
    background: linear-gradient(135deg, var(--admusica-primary) 0%, var(--admusica-dark) 100%) !important;
    color: #fff !important;
}
.bg-gold-gradient {
    background: linear-gradient(135deg, var(--admusica-gold) 0%, var(--admusica-gold-dark) 100%) !important;
    color: var(--admusica-dark) !important;
}

/* =====================================================================
   BOTONES
   ===================================================================== */
.btn-admusica {
    background-color: var(--admusica-primary);
    border-color: var(--admusica-primary);
    color: #fff;
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn-admusica:hover,
.btn-admusica:focus {
    background-color: var(--admusica-primary-dark);
    border-color: var(--admusica-primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 68, 163, 0.3);
}

.btn-outline-admusica {
    background-color: transparent;
    border-color: var(--admusica-primary);
    color: var(--admusica-primary);
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn-outline-admusica:hover,
.btn-outline-admusica:focus {
    background-color: var(--admusica-primary);
    border-color: var(--admusica-primary);
    color: #fff;
}

.btn-gold {
    background-color: var(--admusica-gold);
    border-color: var(--admusica-gold);
    color: var(--admusica-dark);
    font-weight: 700;
    transition: all 0.2s ease;
}
.btn-gold:hover,
.btn-gold:focus {
    background-color: var(--admusica-gold-dark);
    border-color: var(--admusica-gold-dark);
    color: var(--admusica-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 179, 1, 0.4);
}

.btn-outline-gold {
    background-color: transparent;
    border-color: var(--admusica-gold);
    color: var(--admusica-gold-dark);
    font-weight: 600;
}
.btn-outline-gold:hover {
    background-color: var(--admusica-gold);
    color: var(--admusica-dark);
}

/* =====================================================================
   NAVBAR / HEADER
   ===================================================================== */
.navbar.bg-admusica {
    background: linear-gradient(135deg, var(--admusica-primary) 0%, var(--admusica-dark) 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease;
    border-radius: 4px;
}
.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--admusica-gold);
    background: rgba(255, 255, 255, 0.08);
}
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--admusica-gold);
}
.navbar-brand {
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* =====================================================================
   HERO / BANNER
   ===================================================================== */
.hero-admusica {
    background: linear-gradient(135deg, var(--admusica-primary) 0%, var(--admusica-dark) 60%, var(--admusica-darker) 100%);
    color: #fff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.hero-admusica::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(245, 179, 1, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(245, 179, 1, 0.1) 0%, transparent 40%);
    pointer-events: none;
}
.hero-admusica .container { position: relative; z-index: 1; }
.hero-admusica h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.hero-admusica p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}
.hero-admusica .text-gold { color: var(--admusica-gold) !important; }

/* =====================================================================
   CARDS
   ===================================================================== */
.card {
    border: none;
    border-radius: var(--admusica-radius);
    box-shadow: var(--admusica-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--admusica-shadow-hover);
}
.card-header.bg-admusica,
.card-header.bg-admusica-gradient {
    border-radius: var(--admusica-radius) var(--admusica-radius) 0 0 !important;
}

/* Cards institucionales con borde superior */
.card-institucional {
    border-top: 4px solid var(--admusica-gold);
    border-radius: 0 0 var(--admusica-radius) var(--admusica-radius);
}
.card-institucional .card-title {
    color: var(--admusica-primary);
}

/* =====================================================================
   ICONOS CIRCULARES
   ===================================================================== */
.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 68, 163, 0.1);
    color: var(--admusica-primary);
    font-size: 1.4rem;
    flex-shrink: 0;
}
.icon-circle-lg {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 68, 163, 0.1);
    color: var(--admusica-primary);
    font-size: 2rem;
    flex-shrink: 0;
}
.icon-circle.bg-admusica,
.icon-circle-lg.bg-admusica {
    background-color: var(--admusica-primary) !important;
    color: #fff !important;
}
.icon-circle.bg-gold,
.icon-circle-lg.bg-gold {
    background-color: var(--admusica-gold) !important;
    color: var(--admusica-dark) !important;
}

/* =====================================================================
   SECCIONES
   ===================================================================== */
.section-padding {
    padding: 4rem 0;
}
.section-title {
    position: relative;
    margin-bottom: 2.5rem;
    text-align: center;
}
.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: var(--admusica-gold);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* =====================================================================
   AVATARES
   ===================================================================== */
.avatar-sm { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.avatar-md { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.avatar-lg { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.avatar-xl { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }

.object-fit-cover { object-fit: cover; }

/* =====================================================================
   PERFIL DE USUARIO
   ===================================================================== */
.portada-perfil {
    height: 280px;
    background-size: cover;
    background-position: center;
    background-color: var(--admusica-dark);
    border-radius: var(--admusica-radius) var(--admusica-radius) 0 0;
    position: relative;
}
.portada-perfil-default {
    background: linear-gradient(135deg, var(--admusica-primary) 0%, var(--admusica-dark) 100%);
}
.perfil-avatar-overlay {
    position: relative;
    margin-top: -75px;
}
.perfil-avatar-overlay img {
    border: 5px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* =====================================================================
   MURO / PUBLICACIONES
   ===================================================================== */
.publication-content {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.7;
    font-size: 1rem;
}
.publication-card .card-body {
    padding: 1.25rem;
}
.video-embed-container {
    border-radius: var(--admusica-radius);
    overflow: hidden;
    margin-top: 0.75rem;
}
.video-embed-container iframe,
.video-embed-container .ratio {
    border-radius: var(--admusica-radius);
}

/* Caja de publicación */
.publish-box {
    background: #fff;
    border-radius: var(--admusica-radius);
    box-shadow: var(--admusica-shadow);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}
.publish-box textarea {
    border: 1px solid #e0d6c5;
    border-radius: 0.5rem;
    resize: vertical;
    min-height: 80px;
}
.publish-box textarea:focus {
    border-color: var(--admusica-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 68, 163, 0.15);
}

/* =====================================================================
   COMENTARIOS
   ===================================================================== */
.comment-box {
    background: #f8f4ec;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
}
.comment-form textarea {
    border-radius: 0.5rem;
    border: 1px solid #e0d6c5;
    min-height: 50px;
}

/* =====================================================================
   CHAT / MENSAJERÍA
   ===================================================================== */
.chat-wrapper {
    height: calc(100vh - 200px);
    min-height: 400px;
    background: #fff;
    border-radius: var(--admusica-radius);
    box-shadow: var(--admusica-shadow);
    overflow: hidden;
}
.chat-sidebar {
    border-right: 1px solid #eee;
    overflow-y: auto;
    background: #faf7f2;
}
.chat-conversation {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: #f5f0e6;
}
.chat-message {
    margin-bottom: 0.75rem;
    max-width: 75%;
}
.chat-message.mine {
    margin-left: auto;
}
.chat-bubble {
    padding: 0.6rem 1rem;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    word-wrap: break-word;
}
.chat-message.mine .chat-bubble {
    background: var(--admusica-primary);
    color: #fff;
    border-bottom-right-radius: 0.25rem;
}
.chat-message:not(.mine) .chat-bubble {
    border-bottom-left-radius: 0.25rem;
}
.chat-meta {
    font-size: 0.7rem;
    color: var(--admusica-gray);
    margin-top: 0.25rem;
}
.chat-input-area {
    border-top: 1px solid #eee;
    padding: 0.75rem;
    background: #fff;
}
.conversation-item {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.conversation-item:hover { background: #f0e8d8; }
.conversation-item.active { background: rgba(0, 68, 163, 0.08); border-left: 3px solid var(--admusica-primary); }

/* =====================================================================
   GALERÍA
   ===================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    aspect-ratio: 1 / 1;
    background: #eee;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 0.5rem;
    color: #fff;
    font-size: 0.85rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.album-card {
    transition: transform 0.2s;
}
.album-card:hover { transform: translateY(-3px); }

/* =====================================================================
   BADGES Y NOTIFICACIONES
   ===================================================================== */
.badge-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--admusica-gold);
    color: var(--admusica-dark);
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}
.notification-item {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: background 0.15s;
}
.notification-item:hover { background: #faf7f2; }
.notification-item.unread { background: rgba(245, 179, 1, 0.08); }
.notification-item.unread::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--admusica-gold);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

/* =====================================================================
   FORMULARIOS
   ===================================================================== */
.form-control:focus,
.form-select:focus {
    border-color: var(--admusica-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 68, 163, 0.15);
}
.form-label {
    font-weight: 600;
    color: var(--admusica-dark);
    margin-bottom: 0.4rem;
}
.form-control::placeholder { color: #b0a890; }

/* =====================================================================
   TABS
   ===================================================================== */
.nav-tabs .nav-link {
    color: var(--admusica-gray);
    font-weight: 600;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
}
.nav-tabs .nav-link:hover {
    color: var(--admusica-primary);
    border-color: transparent;
}
.nav-tabs .nav-link.active {
    color: var(--admusica-primary);
    background: transparent;
    border-bottom-color: var(--admusica-primary);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
footer.bg-admusica-dark {
    background: linear-gradient(135deg, var(--admusica-dark) 0%, var(--admusica-darker) 100%) !important;
}
footer a:hover { color: var(--admusica-gold) !important; }

/* =====================================================================
   UTILIDADES
   ===================================================================== */
.shadow-admusica { box-shadow: var(--admusica-shadow) !important; }
.rounded-admusica { border-radius: var(--admusica-radius) !important; }
.cursor-pointer { cursor: pointer; }
.min-h-200 { min-height: 200px; }
.min-h-300 { min-height: 300px; }
.max-h-96 { max-height: 24rem; overflow-y: auto; }

.divider-gold {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--admusica-gold), transparent);
    margin: 2rem 0;
    border: none;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--admusica-gray);
}
.empty-state i {
    font-size: 4rem;
    color: #d4c9b3;
    margin-bottom: 1rem;
}

/* Animaciones */
.fade-in {
    animation: fadeIn 0.4s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Toast notifications flotantes */
.toast-container-floating {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 360px;
}

/* Loading spinner overlay */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 991.98px) {
    .hero-admusica { padding: 3rem 0; }
    .hero-admusica h1 { font-size: 2.25rem; }
    .hero-admusica p { font-size: 1.1rem; }
    .portada-perfil { height: 200px; }
}

@media (max-width: 767.98px) {
    .hero-admusica h1 { font-size: 1.8rem; }
    .section-padding { padding: 2.5rem 0; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .chat-wrapper { height: calc(100vh - 180px); min-height: 400px; }
    .chat-sidebar { display: none; }
    .chat-sidebar.mobile-show { display: block; }
    .navbar-brand span { font-size: 1rem; }
    .perfil-avatar-overlay { margin-top: -50px; }
    .perfil-avatar-overlay img.avatar-xl { width: 90px; height: 90px; }
}

@media (max-width: 575.98px) {
    .hero-admusica h1 { font-size: 1.5rem; }
    .publication-image { max-height: 300px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
}

/* Print */
@media print {
    .navbar, footer, .btn, .no-print { display: none !important; }
    body { background: #fff; }
}

/* =====================================================================
   Fin de style.css
   ===================================================================== */

/* =====================================================================
   SLIDER PRINCIPAL (pantalla completa - estilo asociacionsuzuki)
   ===================================================================== */
.slider-admusica {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.slider-admusica .carousel-item {
    height: 70vh;
    min-height: 400px;
    transition: opacity 0.8s ease;
}
.slider-bg {
    height: 70vh;
    min-height: 400px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-color: #002560;
    display: flex;
    align-items: center;
    position: relative;
}
.slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,37,96,0.5) 100%);
}
.slider-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 900px;
    padding: 0 2rem;
    text-align: center;
    margin: 0 auto;
}
.slider-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.slider-subtitle {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    font-weight: 300;
}
.slider-admusica .carousel-indicators {
    margin-bottom: 2rem;
    z-index: 3;
}
.slider-admusica .carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    opacity: 0.5;
}
.slider-admusica .carousel-indicators button.active {
    background: #f5b301;
    border-color: #f5b301;
    opacity: 1;
    transform: scale(1.2);
}
.slider-admusica .carousel-control-prev,
.slider-admusica .carousel-control-next {
    width: 10%;
    opacity: 0.5;
    z-index: 3;
}
.slider-admusica .carousel-control-prev:hover,
.slider-admusica .carousel-control-next:hover {
    opacity: 1;
}
@media (max-width: 767.98px) {
    .slider-admusica .carousel-item, .slider-bg { height: 70vh; min-height: 400px; }
    .slider-title { font-size: 2rem; }
    .slider-subtitle { font-size: 1rem; }
}
@media (max-width: 575.98px) {
    .slider-admusica .carousel-item, .slider-bg { height: 70vh; min-height: 350px; }
    .slider-title { font-size: 1.5rem; }
    .slider-admusica .carousel-control-prev, .slider-admusica .carousel-control-next { display: none; }
}

/* =====================================================================
   BANNER ESTÁTICO (páginas internas - mitad de altura)
   ===================================================================== */
.page-banner {
    height: 50vh;
    min-height: 300px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-color: #002560;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,37,96,0.4) 0%, rgba(0,37,96,0.7) 100%);
}
.page-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 2rem;
}
.page-banner-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
}
@media (max-width: 767.98px) {
    .page-banner { height: 35vh; min-height: 250px; }
    .page-banner-title { font-size: 1.8rem; }
}
@media (max-width: 575.98px) {
    .page-banner { height: 30vh; min-height: 200px; }
    .page-banner-title { font-size: 1.4rem; }
}
/* =====================================================================
   SECCIÓN CTA REGISTRO (banner de llamada a la acción)
   ===================================================================== */
.cta-registro {
    background: linear-gradient(135deg, var(--admusica-primary) 0%, var(--admusica-dark) 100%);
    position: relative;
    overflow: hidden;
}
.cta-registro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(245, 179, 1, 0.15) 0%, transparent 50%);
    pointer-events: none;
}
.cta-registro .container {
    position: relative;
    z-index: 1;
}

/* =====================================================================
   NOTICIAS EN HOME
   ===================================================================== */
.noticia-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s;
}
.noticia-img-default {
    background: linear-gradient(135deg, var(--admusica-primary) 0%, var(--admusica-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 3.5rem;
}
.card-hover .noticia-img:hover {
    transform: scale(1.05);
}

/* =====================================================================
   CMS - MODO EDICIÓN VISUAL (panel admin)
   ===================================================================== */
.cms-tab-content {
    min-height: 400px;
}
.cms-slide-card {
    transition: all 0.2s;
    border: 2px solid transparent;
}
.cms-slide-card:hover {
    border-color: var(--admusica-gold);
}
.cms-slide-preview {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
    background-color: var(--admusica-dark);
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
}
.cms-slide-preview-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 2rem;
    background: linear-gradient(135deg, var(--admusica-primary) 0%, var(--admusica-dark) 100%);
}
.cms-section-card {
    border-left: 4px solid var(--admusica-gold);
    transition: all 0.2s;
}
.cms-section-card:hover {
    box-shadow: 0 4px 15px rgba(0, 68, 163, 0.15);
}
.cms-menu-item {
    padding: 0.6rem 0.85rem;
    border: 1px solid #e9ecef;
    border-radius: 0.4rem;
    margin-bottom: 0.5rem;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.15s;
}
.cms-menu-item:hover {
    border-color: var(--admusica-primary);
    background: #faf7f2;
}
.cms-handle {
    cursor: move;
    color: #999;
    font-size: 1.1rem;
}
.cms-empty-preview {
    background: #f8f5ef;
    border: 2px dashed #d4c9b3;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    color: #b0a890;
}

/* =====================================================================
   REPRODUCTOR DE AUDIO + PLAYLIST
   ===================================================================== */

/* ===== Reproductor individual ===== */
.audio-single {
    background: #fff;
    border-radius: 0.625rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-left: 4px solid var(--admusica-primary);
}
.audio-single-play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--admusica-primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.audio-single-play-btn:hover {
    background: var(--admusica-primary-dark);
    transform: scale(1.05);
}
.audio-single-info {
    flex: 1;
    min-width: 0;
}
.audio-single-title {
    font-weight: 600;
    color: var(--admusica-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.audio-single-meta {
    font-size: 0.78rem;
    color: var(--admusica-gray);
}
.audio-wave {
    flex-shrink: 0;
    color: var(--admusica-primary);
    opacity: 0.4;
}

/* ===== Reproductor con playlist (estilo Spotify/Facebook) ===== */
.audio-player-playlist {
    background: linear-gradient(135deg, var(--admusica-dark) 0%, var(--admusica-darker) 100%);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0, 37, 96, 0.3);
    color: #fff;
}

/* Cabecera del reproductor */
.ap-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.15);
}
.ap-cover {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    object-fit: cover;
    background: var(--admusica-primary);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.ap-cover-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--admusica-primary) 0%, var(--admusica-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.ap-cover-placeholder i {
    font-size: 2.5rem;
    color: #fff;
}
.ap-info {
    flex: 1;
    min-width: 0;
}
.ap-info-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ap-info-artist {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}
.ap-badge {
    background: var(--admusica-gold);
    color: var(--admusica-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.4rem;
}

/* Controles del reproductor */
.ap-controls {
    padding: 0.75rem 1.25rem 1rem;
    background: rgba(0, 0, 0, 0.1);
}
.ap-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 0.6rem;
}
.ap-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ap-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
.ap-btn-play-pause {
    width: 48px;
    height: 48px;
    background: var(--admusica-gold);
    color: var(--admusica-dark);
    font-size: 1.5rem;
}
.ap-btn-play-pause:hover {
    background: var(--admusica-gold-dark);
    color: var(--admusica-dark);
}

/* Barra de progreso */
.ap-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.ap-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    min-width: 36px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.progress-track {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}
.progress-bar {
    height: 100%;
    background: var(--admusica-gold);
    border-radius: 3px;
    width: 0;
    transition: width 0.15s linear;
}
.progress-track:hover .progress-bar {
    background: var(--admusica-gold-dark);
}

/* Volumen */
.ap-volume {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
}
.volume-slider {
    width: 80px;
    cursor: pointer;
    accent-color: var(--admusica-gold);
}

/* Lista de canciones */
.ap-playlist {
    max-height: 360px;
    overflow-y: auto;
    padding: 0.5rem 0;
    background: rgba(0, 0, 0, 0.2);
}
.ap-playlist-header {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
}
.playlist-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 1.25rem;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.playlist-item:hover {
    background: rgba(255, 255, 255, 0.08);
}
.playlist-item.active {
    background: rgba(245, 179, 1, 0.15);
    border-left: 3px solid var(--admusica-gold);
}
.track-icon {
    font-size: 1rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}
.track-number {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}
.playlist-item.active .track-number {
    display: none;
}
.playlist-item:not(.active) .track-icon {
    display: none;
}
.track-info {
    flex: 1;
    min-width: 0;
}
.track-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.playlist-item.active .track-title {
    color: var(--admusica-gold);
    font-weight: 600;
}
.track-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.track-duration {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

/* Audio nativo oculto (controlamos con JS) */
.admusica-player {
    display: none;
}

/* Responsive del reproductor */
@media (max-width: 575.98px) {
    .ap-header {
        padding: 1rem;
    }
    .ap-cover,
    .ap-cover-placeholder {
        width: 60px;
        height: 60px;
    }
    .ap-cover-placeholder i {
        font-size: 1.8rem;
    }
    .ap-info-title {
        font-size: 1rem;
    }
    .ap-volume {
        display: none;
    }
    .playlist-item {
        padding: 0.55rem 1rem;
    }
}

/* =====================================================================
   ESTADO ONLINE / OFFLINE (puntos verde/rojo)
   ===================================================================== */
.status-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}
.status-success {
    background-color: #22c55e;
}
.status-danger {
    background-color: #ef4444;
}
.status-warning {
    background-color: #f59e0b;
}

/* Punto más pequeño para avatars pequeños */
.status-dot-sm {
    width: 9px;
    height: 9px;
    border-width: 1.5px;
}

/* =====================================================================
   CHAT WIDGET FLOTANTE (estilo Facebook)
   ===================================================================== */
.chat-widget-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--admusica-primary) 0%, var(--admusica-dark) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 68, 163, 0.4);
    z-index: 1050;
    font-size: 1.6rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 3px solid #fff;
}
.chat-widget-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(0, 68, 163, 0.5);
}
.chat-widget-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--admusica-gold);
    color: var(--admusica-dark);
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    padding: 0 4px;
}

.chat-widget-panel {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 340px;
    max-width: calc(100vw - 48px);
    height: 480px;
    max-height: calc(100vh - 130px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
    z-index: 1051;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: chatSlideUp 0.25s ease-out;
}
@keyframes chatSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-widget-header {
    background: linear-gradient(135deg, var(--admusica-primary) 0%, var(--admusica-dark) 100%);
    color: #fff;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.chat-widget-header h6 {
    color: #fff;
    font-weight: 700;
    margin: 0;
}

.chat-widget-search {
    padding: 0.65rem;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.chat-widget-list {
    flex: 1;
    overflow-y: auto;
    padding: 0.35rem;
}

.chat-widget-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.65rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #2d2d2d;
    transition: background 0.15s;
}
.chat-widget-item:hover {
    background: #f5f0e6;
    color: var(--admusica-primary);
}
.chat-widget-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}
.chat-widget-item .position-relative {
    position: relative;
    display: inline-block;
}
.chat-widget-item .status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 11px;
    height: 11px;
}
.chat-widget-info {
    flex: 1;
    min-width: 0;
}
.chat-widget-name {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chat-widget-status {
    font-size: 0.75rem;
    line-height: 1;
}

/* Responsive del chat widget */
@media (max-width: 575.98px) {
    .chat-widget-toggle {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }
    .chat-widget-panel {
        bottom: 80px;
        right: 8px;
        left: 8px;
        width: auto;
        max-width: none;
    }
}

/* =====================================================================
   SOCIAL HEADER (estilo Facebook - barra superior azul fija)
   ===================================================================== */
.social-header {
    background: linear-gradient(135deg, var(--admusica-primary) 0%, var(--admusica-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 1rem;
    gap: 1rem;
    z-index: 1030;
}

.social-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    max-width: 320px;
}
.social-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    font-size: 1.3rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.2s;
}
.social-logo:hover { background: rgba(255, 255, 255, 0.28); color: #fff; }

.social-search {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}
.social-search > i {
    position: absolute;
    left: 0.85rem;
    color: var(--admusica-gray);
    font-size: 0.9rem;
    pointer-events: none;
}
.social-search input {
    width: 100%;
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1rem 0.5rem 2.4rem;
    background: var(--admusica-light);
    font-size: 0.875rem;
    color: #2d2d2d;
    outline: none;
    transition: box-shadow 0.2s;
}
.social-search input:focus {
    box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.35);
    background: #fff;
}
.social-search input::placeholder { color: #9a8f7a; }

.social-center {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
}
.social-nav-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 48px;
    border-radius: 0.6rem;
    color: #e8eefc;
    font-size: 1.35rem;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
}
.social-nav-icon:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}
.social-nav-icon.active {
    color: #fff;
    border-bottom: 3px solid var(--admusica-gold);
    border-radius: 0.6rem 0.6rem 0 0;
}

.social-badge {
    position: absolute;
    top: 4px;
    right: 8px;
    background: var(--admusica-gold);
    color: var(--admusica-dark);
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--admusica-primary);
}

.social-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
    max-width: 320px;
}
.social-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background 0.2s;
}
.social-icon-circle:hover { background: rgba(255, 255, 255, 0.28); color: #fff; }

.social-profile-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 50px;
    transition: background 0.2s;
}
.social-profile-btn:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.social-profile-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

/* =====================================================================
   LAYOUT MURO - 3 columnas estilo Facebook (idéntico)
   ===================================================================== */
.muro-layout {
    display: block;
    width: 100%;
    padding-left: 300px;
    padding-right: 300px;
}
@media (max-width: 1199.98px) {
    .muro-layout {
        padding-left: 280px;
        padding-right: 1rem;
    }
}
@media (max-width: 991.98px) {
    .muro-layout {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 620px;
        margin: 0 auto;
    }
}
@media (max-width: 575.98px) {
    .muro-layout {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

.muro-col-left {
    position: fixed;
    top: 60px;
    left: 0;
    width: 280px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem 0.75rem 60px 0.75rem;
}
@media (max-width: 991.98px) {
    .muro-col-left { display: none; }
}

.muro-col-right {
    position: fixed;
    top: 60px;
    right: 0;
    width: 280px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 0 60px 0;
    background: #fff;
    display: flex;
    flex-direction: column;
}
.fb-right-contacts-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.fb-right-contacts-wrap .fb-right-contacts-list {
    flex: 1;
    overflow-y: auto;
}
@media (max-width: 1199.98px) {
    .muro-col-right { display: none; }
}

/* Columna derecha: contactos estilo Facebook (sin esquinas redondeadas) */
.fb-right-card {
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    padding: 0.85rem 1rem;
    margin-bottom: 0;
    border-bottom: 1px solid #e4e6eb;
}
.fb-right-card:last-child { border-bottom: none; }
.fb-right-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #050505;
    margin: 0 0 0.65rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e4e6eb;
}
.fb-right-birthday {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0;
}
.fb-right-birthday img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.fb-right-contacts-list { padding-right: 0.25rem; }
.fb-right-contact {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 0.35rem;
    border-radius: 6px;
    text-decoration: none;
    color: #050505;
    transition: background 0.12s;
}
.fb-right-contact:hover { background: #f0f2f5; color: #050505; }
.fb-right-contact-avatar { position: relative; flex-shrink: 0; }
.fb-right-contact-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.fb-right-contact-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
}
.fb-right-contact-status.status-online { background: #22c55e; }
.fb-right-contact-status.status-offline { background: #c1c3c7; }
.fb-right-contact-name {
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.muro-col-center {
    min-width: 0;
}

/* Sidebar izquierdo: menú de navegación estilo Facebook */
.muro-col-left .muro-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.muro-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    color: #050505;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.15s;
    margin-bottom: 0.15rem;
}
.muro-nav-item:hover {
    background: #e4e6eb;
    color: #050505;
}
.muro-nav-item.active {
    background: #e7f0ff;
    color: var(--admusica-primary);
    font-weight: 600;
}
.muro-nav-item i {
    font-size: 1.3rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e4e6eb;
    border-radius: 50%;
    color: var(--admusica-primary);
    flex-shrink: 0;
}
.muro-nav-item.active i {
    background: var(--admusica-primary);
    color: #fff;
}
.muro-nav-item .nav-badge {
    margin-left: auto;
    background: #e41e3f;
    color: #fff;
    border-radius: 10px;
    padding: 1px 6px;
    font-size: 0.72rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    line-height: 1.5;
}

/* Mini perfil en sidebar izquierdo */
.muro-mini-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background: #e4e6eb;
    margin-bottom: 0.75rem;
    text-decoration: none;
    color: #050505;
    transition: background 0.15s;
}
.muro-mini-profile:hover {
    background: #d8dadf;
    color: #050505;
}
.muro-mini-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Sidebar derecho: Contactos estilo Facebook */
.muro-contacts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.5rem 0.75rem;
}
.muro-contacts-header h6 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #65676b;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #050505;
    transition: background 0.12s;
}
.contact-item:hover {
    background: #e4e6eb;
    color: #050505;
}
.contact-avatar {
    position: relative;
    flex-shrink: 0;
}
.contact-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.contact-avatar .status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-width: 2px;
    border-color: #fff;
}
.contact-name {
    font-size: 0.92rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Cumpleaños en sidebar derecho */
.muro-birthday {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.6rem 0.65rem;
    background: #fff0e6;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.muro-birthday i {
    color: #e47b00;
    font-size: 1.3rem;
    margin-top: 1px;
}

/* Sección de contactos scrollable */
.muro-contacts-list {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.25rem;
}
.muro-contacts-list::-webkit-scrollbar { width: 6px; }
.muro-contacts-list::-webkit-scrollbar-track { background: transparent; }
.muro-contacts-list::-webkit-scrollbar-thumb { background: #c1c3c7; border-radius: 3px; }

/* Cards del feed estilo Facebook */
.muro-col-center .card {
    border-radius: 8px;
    border: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}
.muro-col-center .card .card-body {
    padding: 0.75rem 1rem;
}

/* Caja de publicación estilo Facebook */
.muro-col-center .card:first-child .card-body {
    padding: 0.75rem 1rem 0.5rem;
}

/* Botón de publicar estilo Facebook */
.muro-col-center .btn-admusica {
    background-color: var(--admusica-primary);
    border-radius: 6px;
    font-weight: 600;
    padding: 0.4rem 1rem;
}

/* Responsive: en móvil, el container del muro quita padding */
@media (max-width: 575.98px) {
    .muro-col-center .card {
        border-radius: 0;
        margin-bottom: 0.5rem;
    }
    .muro-col-center .card .card-body {
        padding: 0.6rem 0.75rem;
    }
}

/* =====================================================================
   WIDGET DE CHAT FLOTANTE (estilo Facebook Messenger)
   Se abre al ladito derecho sin recargar la página
   ===================================================================== */
.chat-windows-container {
    position: fixed;
    bottom: 0;
    right: 304px; /* Al lado izquierdo de la barra de contactos (280px + 24px gap) */
    z-index: 1050;
    display: flex;
    gap: 8px;
    align-items: flex-end;
    pointer-events: none;
}
@media (max-width: 1199.98px) {
    .chat-windows-container {
        right: 16px; /* Sin barra de contactos en tablet, pegado a la derecha */
    }
}
.chat-windows-container > * {
    pointer-events: auto;
}

.chat-win {
    width: 328px;
    max-width: calc(100vw - 32px);
    height: 440px;
    max-height: calc(100vh - 64px);
    background: #fff;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: cwSlideUp 0.2s ease-out;
}
@keyframes cwSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.chat-win-header {
    background: linear-gradient(135deg, var(--admusica-primary) 0%, var(--admusica-dark) 100%);
    color: #fff;
    padding: 0.6rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    min-height: 52px;
}
.cw-header-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
}
.cw-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.cw-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.4);
}
.cw-status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid var(--admusica-primary);
}
.cw-status-dot.status-success { background: #22c55e; }
.cw-status-dot.status-danger { background: #ef4444; }
.cw-header-text {
    min-width: 0;
    flex: 1;
}
.cw-name {
    font-weight: 600;
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}
.cw-status-text {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.8);
}
.cw-btn-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.25rem;
    border-radius: 4px;
    transition: background 0.15s;
    flex-shrink: 0;
}
.cw-btn-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Body (mensajes) */
.chat-win-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.75rem;
    background: #f0f2f5;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.chat-win-body::-webkit-scrollbar { width: 6px; }
.chat-win-body::-webkit-scrollbar-thumb { background: #c1c3c7; border-radius: 3px; }

.cw-loading,
.cw-empty {
    text-align: center;
    color: #65676b;
    padding: 2rem 1rem;
    font-size: 0.85rem;
    margin: auto;
}
.cw-loading i,
.cw-empty i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}
.cw-empty.cw-error i { color: #e41e3f; opacity: 1; }

/* Mensajes */
.cw-msg {
    display: flex;
    margin-bottom: 0.15rem;
}
.cw-msg-mio {
    justify-content: flex-end;
}
.cw-msg-otro {
    justify-content: flex-start;
}
.cw-bubble {
    max-width: 75%;
    padding: 0.5rem 0.75rem;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.35;
    word-wrap: break-word;
    word-break: break-word;
}
.cw-msg-mio .cw-bubble {
    background: var(--admusica-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.cw-msg-otro .cw-bubble {
    background: #fff;
    color: #050505;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.cw-text {
    white-space: pre-wrap;
}
.cw-time {
    font-size: 0.65rem;
    margin-top: 0.2rem;
    text-align: right;
    opacity: 0.7;
}

/* Footer (input) */
.chat-win-footer {
    display: flex;
    gap: 0.4rem;
    padding: 0.5rem;
    background: #fff;
    border-top: 1px solid #e4e6eb;
    flex-shrink: 0;
}
.cw-input {
    flex: 1;
    border: none;
    background: #f0f2f5;
    border-radius: 20px;
    padding: 0.5rem 0.9rem;
    font-size: 0.88rem;
    outline: none;
    transition: box-shadow 0.15s;
}
.cw-input:focus {
    box-shadow: 0 0 0 2px rgba(0, 68, 163, 0.2);
    background: #fff;
}
.cw-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.cw-btn-send {
    background: var(--admusica-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s;
}
.cw-btn-send:hover {
    background: var(--admusica-primary-dark);
}

/* Responsive: en móvil las ventanas ocupan más espacio */
@media (max-width: 575.98px) {
    .chat-windows-container {
        right: 0;
        left: 0;
    }
    .chat-win {
        width: 100%;
        max-width: 100%;
        height: 70vh;
        border-radius: 0;
    }
}

/* =====================================================================
   BARRA DE CONTACTOS FLOTANTE (estilo Facebook - inferior derecha)
   ===================================================================== */
.fb-contacts-bar {
    position: fixed;
    bottom: 0;
    right: 16px;
    width: 280px;
    max-height: 70vh;
    background: #fff;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    z-index: 1040;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e4e6eb;
    border-bottom: none;
}
.fb-contacts-bar.fb-collapsed {
    max-height: 48px;
}
.fb-contacts-bar.fb-collapsed .fb-contacts-list,
.fb-contacts-bar.fb-collapsed .fb-birthdays,
.fb-contacts-bar.fb-collapsed .fb-contacts-search-wrap {
    display: none;
}

.fb-contacts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #e4e6eb;
    flex-shrink: 0;
    cursor: default;
    min-height: 48px;
}
.fb-contacts-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #050505;
}
.fb-contacts-actions {
    display: flex;
    gap: 0.25rem;
}
.fb-contacts-btn {
    background: transparent;
    border: none;
    color: #65676b;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.fb-contacts-btn:hover {
    background: #e4e6eb;
    color: #050505;
}

.fb-contacts-search-wrap {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e4e6eb;
}
.fb-contacts-search-input {
    width: 100%;
    border: none;
    background: #f0f2f5;
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    outline: none;
}
.fb-contacts-search-input:focus {
    box-shadow: 0 0 0 2px rgba(0, 68, 163, 0.2);
    background: #fff;
}

/* Cumpleaños */
.fb-birthdays {
    border-bottom: 1px solid #e4e6eb;
    max-height: 180px;
    overflow-y: auto;
    flex-shrink: 0;
}
.fb-birthday-header {
    padding: 0.5rem 0.75rem 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #65676b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.fb-birthday-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    transition: background 0.12s;
}
.fb-birthday-item:hover {
    background: #f0f2f5;
}
.fb-birthday-item img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.fb-birthday-info {
    flex: 1;
    min-width: 0;
}
.fb-birthday-name {
    font-size: 0.82rem;
    font-weight: 500;
    color: #050505;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fb-birthday-badge {
    display: inline-block;
    background: #e41e3f;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    margin-top: 1px;
}
.fb-birthday-date {
    font-size: 0.7rem;
    color: #65676b;
}

/* Lista de contactos */
.fb-contacts-list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.25rem 0;
}
.fb-contacts-list::-webkit-scrollbar { width: 6px; }
.fb-contacts-list::-webkit-scrollbar-thumb { background: #c1c3c7; border-radius: 3px; }

.fb-contacts-loading {
    padding: 1rem;
    text-align: center;
}
.fb-contacts-empty {
    padding: 1.5rem 1rem;
    text-align: center;
    color: #65676b;
    font-size: 0.85rem;
}
.fb-contacts-empty i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.4;
}
.fb-contacts-empty a {
    color: var(--admusica-primary);
    text-decoration: none;
}

.fb-contact-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    transition: background 0.12s;
}
.fb-contact-item:hover {
    background: #f0f2f5;
}
.fb-contact-avatar {
    position: relative;
    flex-shrink: 0;
}
.fb-contact-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.fb-contact-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
}
.fb-contact-status.status-success { background: #22c55e; }
.fb-contact-status.status-danger { background: #c1c3c7; }
.fb-contact-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: #050505;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* Responsive: ocultar barra en móvil */
@media (max-width: 991.98px) {
    .fb-contacts-bar {
        display: none;
    }
}

/* =====================================================================
   PANEL DE NOTIFICACIONES DROPDOWN (estilo Facebook - desde el header)
   ===================================================================== */
.notif-overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 1080;
    display: none;
}
.notif-overlay-show {
    display: block;
}
.notif-panel {
    position: absolute;
    top: 60px;
    right: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    width: 380px;
    max-width: calc(100vw - 32px);
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: notifSlideDown 0.2s ease-out;
    border: 1px solid #e4e6eb;
}
@keyframes notifSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.notif-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e4e6eb;
    flex-shrink: 0;
}
.notif-panel-header h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #050505;
}
.notif-panel-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #65676b;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.notif-panel-close:hover {
    background: #e4e6eb;
}
.notif-panel-tabs {
    display: flex;
    border-bottom: 1px solid #e4e6eb;
    flex-shrink: 0;
}
.notif-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.6rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #65676b;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.15s;
}
.notif-tab:hover {
    background: #f0f2f5;
}
.notif-tab.active {
    color: var(--admusica-primary);
    border-bottom-color: var(--admusica-primary);
}
.notif-tab-badge {
    display: inline-block;
    background: #e41e3f;
    color: #fff;
    font-size: 0.7rem;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 4px;
    font-weight: 700;
}
.notif-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
}
.notif-panel-body::-webkit-scrollbar { width: 6px; }
.notif-panel-body::-webkit-scrollbar-thumb { background: #c1c3c7; border-radius: 3px; }

.notif-loading {
    padding: 2rem 1rem;
    text-align: center;
    color: #65676b;
}
.notif-empty {
    padding: 3rem 1rem;
    text-align: center;
    color: #65676b;
}
.notif-empty i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.4;
}
.notif-empty p {
    font-size: 0.9rem;
    margin: 0;
}

/* Solicitud de amistad en el panel */
.notif-friend-request {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem;
    border-radius: 8px;
    transition: background 0.12s;
}
.notif-friend-request:hover {
    background: #f0f2f5;
}
.notif-fr-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.notif-fr-info {
    flex: 1;
    min-width: 0;
}
.notif-fr-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: #050505;
    text-decoration: none;
    display: block;
}
.notif-fr-name:hover {
    color: var(--admusica-primary);
}
.notif-fr-instrument {
    font-size: 0.78rem;
    color: #65676b;
}
.notif-fr-time {
    font-size: 0.72rem;
    color: #65676b;
    margin-top: 2px;
}
.notif-fr-actions {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex-shrink: 0;
}
.notif-btn-accept {
    background: var(--admusica-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.notif-btn-accept:hover {
    background: var(--admusica-primary-dark);
}
.notif-btn-accept:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.notif-btn-reject {
    background: #e4e6eb;
    color: #050505;
    border: none;
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.notif-btn-reject:hover {
    background: #d8dadf;
}
.notif-btn-reject:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.notif-fr-accepted,
.notif-fr-rejected {
    text-align: center;
    padding: 0.5rem;
    font-size: 0.88rem;
    font-weight: 500;
}

/* =====================================================================
   HERRAMIENTAS DEL CHAT (emojis, fotos, música)
   ===================================================================== */
.cw-toolbar {
    display: flex;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: #fff;
    border-top: 1px solid #e4e6eb;
    flex-shrink: 0;
}
.cw-tool-btn {
    background: transparent;
    border: none;
    color: #65676b;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.15s;
}
.cw-tool-btn:hover {
    background: #e4e6eb;
    color: var(--admusica-primary);
}

/* Selector de emojis */
.cw-emoji-picker {
    background: #fff;
    border-top: 1px solid #e4e6eb;
    max-height: 200px;
    overflow-y: auto;
    flex-shrink: 0;
}
.cw-emoji-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
    gap: 2px;
    padding: 0.5rem;
}
.cw-emoji-item {
    background: transparent;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background 0.1s;
}
.cw-emoji-item:hover {
    background: #e4e6eb;
}

/* Fotos en el chat */
.cw-photo-wrap {
    margin: -0.25rem -0.5rem 0.25rem;
}
.cw-photo {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px 8px 0 0;
    display: block;
    cursor: pointer;
}

/* Música en el chat */
.cw-music-wrap {
    margin: -0.25rem -0.5rem 0.25rem;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}
.cw-music-wrap iframe {
    width: 100%;
    height: 120px;
    border: none;
    display: block;
}

/* Buscador de música */
.cw-music-search {
    background: #fff;
    border-top: 1px solid #e4e6eb;
    padding: 0.5rem;
    max-height: 180px;
    overflow-y: auto;
    flex-shrink: 0;
}
.cw-music-input {
    width: 100%;
    border: 1px solid #e4e6eb;
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    outline: none;
    margin-bottom: 0.5rem;
}
.cw-music-input:focus {
    border-color: var(--admusica-primary);
}
.cw-music-loading {
    text-align: center;
    padding: 0.5rem;
    color: #65676b;
}
.cw-music-tip {
    font-size: 0.8rem;
    color: #65676b;
    padding: 0.5rem;
    background: #f0f2f5;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}
.cw-music-tip a {
    color: var(--admusica-primary);
    font-weight: 600;
}
.cw-music-send {
    display: flex;
    gap: 0.25rem;
}
.cw-music-url-input {
    flex: 1;
    border: 1px solid #e4e6eb;
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
    outline: none;
}
.cw-music-url-input:focus {
    border-color: var(--admusica-primary);
}
.cw-music-send-btn {
    background: var(--admusica-primary);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
    cursor: pointer;
    white-space: nowrap;
}
.cw-music-send-btn:hover {
    background: var(--admusica-primary-dark);
}

/* =====================================================================
   CAJA DE PUBLICACIÓN + PUBLICACIONES (estilo Facebook)
   ===================================================================== */
.fb-create-post {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem 0.5rem;
}
.fb-create-top {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}
.fb-create-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.fb-create-input {
    flex: 1;
    border: none;
    background: #f0f2f5;
    border-radius: 20px;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    resize: none;
    outline: none;
    min-height: 40px;
    max-height: 200px;
    font-family: inherit;
    transition: background 0.15s;
}
.fb-create-input:focus {
    background: #fff;
    box-shadow: 0 0 0 2px var(--admusica-primary);
}
.fb-create-input::placeholder {
    color: #65676b;
}

/* Preview de imagen */
.fb-create-preview {
    position: relative;
    margin-top: 0.75rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e4e6eb;
}
.fb-create-preview img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    display: block;
    background: #000;
}
.fb-create-preview-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background 0.15s;
}
.fb-create-preview-remove:hover {
    background: rgba(0, 0, 0, 0.8);
}

.fb-create-divider {
    height: 1px;
    background: #e4e6eb;
    margin: 0.75rem 0 0.5rem;
}

.fb-create-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.fb-create-action {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.65rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    color: #65676b;
    transition: background 0.15s;
    user-select: none;
}
.fb-create-action:hover {
    background: #f0f2f5;
}
.fb-create-action i {
    font-size: 1.3rem;
}
.fb-create-video-url {
    flex: 1;
    min-width: 200px;
}
.fb-create-video-input {
    width: 100%;
    border: 1px solid #e4e6eb;
    border-radius: 6px;
    padding: 0.4rem 0.65rem;
    font-size: 0.85rem;
    outline: none;
}
.fb-create-video-input:focus {
    border-color: var(--admusica-primary);
}
.fb-create-submit {
    margin-left: auto;
    background: var(--admusica-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.45rem 1.2rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.fb-create-submit:hover {
    background: var(--admusica-primary-dark);
}

/* Feed vacío */
.fb-empty-feed {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 3rem 1rem;
    color: #65676b;
}
.fb-empty-feed i {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.75rem;
    opacity: 0.4;
}
.fb-empty-feed h5 {
    color: #050505;
    margin-bottom: 0.25rem;
}

/* Publicaciones estilo Facebook */
.muro-col-center .card:not(.fb-create-post) {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    border: none;
}
.muro-col-center .card .card-body {
    padding: 0.75rem 1rem;
}

/* Imagen de publicación a ancho completo */
.publication-image-wrap {
    margin: 0.5rem -1rem 0;
    overflow: hidden;
    background: #fff;
}
.publication-image {
    width: 100%;
    max-height: 600px;
    object-fit: contain;
    display: block;
    background: #fff;
    cursor: pointer;
    transition: opacity 0.15s;
}
.publication-image:hover {
    opacity: 0.95;
}

/* Texto de publicación */
.publication-content {
    font-size: 0.95rem;
    line-height: 1.45;
    color: #050505;
    word-wrap: break-word;
}

/* Archivos seleccionados en la caja de publicación */
.fb-create-files {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.fb-create-file-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.6rem;
    background: #f0f2f5;
    border-radius: 8px;
}
.fb-create-file-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.fb-create-file-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.fb-create-file-icon-video { background: #e7f0ff; color: #0866ff; }
.fb-create-file-icon-pdf { background: #ffeaea; color: #f3425f; }
.fb-create-file-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
}
.fb-create-file-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #050505;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fb-create-file-remove {
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}
.fb-create-file-remove:hover {
    background: rgba(0,0,0,0.6);
}

/* Video embebido en publicación (YouTube - responsive 16:9) */
.publication-video-embed {
    margin: 0.5rem 0;
    border-radius: 8px;
    overflow: hidden;
}
.publication-video-embed .ratio {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}
.publication-video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Videos verticales (YouTube Shorts, TikTok, Instagram Reels) — 9:16 centrado */
.embed-vertical-wrap {
    display: flex;
    justify-content: center;
    padding: 0;
}
.embed-vertical {
    width: 100%;
    max-width: 380px;  /* ancho máximo para videos verticales */
    border-radius: 8px;
    overflow: hidden;
}
.embed-vertical-wrap .ratio-9x16 {
    max-height: 675px; /* 380 * 16/9 ≈ 675 */
}
@media (max-width: 480px) {
    .embed-vertical {
        max-width: 100%;
    }
    .embed-vertical-wrap .ratio-9x16 {
        max-height: 75vh; /* en móvil, ocupar hasta 75% de la altura de pantalla */
    }
}

/* Video subido en publicación */
.publication-video-wrap {
    margin: 0.5rem -1rem 0;
    background: #000;
    position: relative;
}
.publication-video {
    width: 100%;
    max-height: 600px;
    display: block;
    object-fit: contain;
}
.publication-file-name {
    padding: 0.5rem 1rem;
    background: #fff;
    font-size: 0.82rem;
    color: #65676b;
    border-top: 1px solid #e4e6eb;
}

/* Video no soportado por el navegador */
.publication-video-unsupported {
    padding: 2rem 1rem;
    text-align: center;
    color: #fff;
    background: #1c1e21;
}
.publication-video-unsupported i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
    color: #65676b;
}
.publication-video-unsupported p {
    font-size: 0.88rem;
    margin-bottom: 1rem;
    color: #e4e6eb;
}

/* Vista previa de PDF embebido */
.publication-pdf-preview-wrap {
    margin: 0 -1rem;
    background: #525659;
    border-radius: 0;
    overflow: hidden;
}
.publication-pdf-iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
    background: #525659;
}
@media (max-width: 575.98px) {
    .publication-pdf-iframe { height: 350px; }
}

/* PDF en publicación */
.publication-pdf-wrap {
    margin: 0.5rem 0 0;
}
.publication-pdf-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f0f2f5;
    border-radius: 8px;
    text-decoration: none;
    color: #050505;
    transition: background 0.15s;
    border: 1px solid #e4e6eb;
}
.publication-pdf-card:hover {
    background: #e4e6eb;
    color: #050505;
}
.publication-pdf-icon {
    width: 48px;
    height: 48px;
    background: #ffeaea;
    color: #f3425f;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.publication-pdf-info {
    flex: 1;
    min-width: 0;
}
.publication-pdf-title {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.publication-pdf-action {
    font-size: 0.78rem;
    color: #65676b;
}
.publication-pdf-download {
    font-size: 1.3rem;
    color: #65676b;
    flex-shrink: 0;
}

/* =====================================================================
   PERFIL ESTILO FACEBOOK
   ===================================================================== */
.fb-profile {
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    width: 80%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    overflow: hidden;
}
@media (max-width: 991.98px) { .fb-profile { width: 92%; } }
@media (max-width: 575.98px) { .fb-profile { width: 100%; border-radius: 0; } }

/* Portada */
.fb-profile-cover {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}
@media (max-width: 767.98px) {
    .fb-profile-cover { height: 180px; }
}
.fb-profile-cover-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #002f6b;
}
.fb-profile-cover-edit {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: #050505;
    border: none;
    border-radius: 6px;
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: background 0.15s;
}
.fb-profile-cover-edit:hover {
    background: #fff;
}

/* Header del perfil */
.fb-profile-header {
    background: #fff;
    border-bottom: 1px solid #e4e6eb;
}
.fb-profile-header-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}
@media (max-width: 767.98px) {
    .fb-profile-header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Avatar */
.fb-profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    margin-top: -50px;
}
@media (max-width: 767.98px) {
    .fb-profile-avatar-wrap { margin-top: -60px; }
}
.fb-profile-avatar {
    width: 168px;
    height: 168px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    background: #fff;
}
@media (max-width: 767.98px) {
    .fb-profile-avatar { width: 130px; height: 130px; }
}
.fb-profile-avatar-edit {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: #e4e6eb;
    color: #050505;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.15s;
}
.fb-profile-avatar-edit:hover {
    background: #d8dadf;
}

/* Info del perfil */
.fb-profile-info {
    flex: 1;
    padding-bottom: 0.5rem;
    min-width: 0;
}
@media (max-width: 767.98px) {
    .fb-profile-info { width: 100%; }
}
.fb-profile-name {
    font-size: 2rem;
    font-weight: 800;
    color: #050505;
    margin: 0;
    line-height: 1.2;
}
@media (max-width: 767.98px) {
    .fb-profile-name { font-size: 1.5rem; }
}
.fb-profile-subtitle {
    font-size: 1rem;
    color: #65676b;
    margin: 0.15rem 0 0;
}
.fb-profile-location {
    font-size: 0.85rem;
    color: #65676b;
    margin: 0.15rem 0 0;
}

/* Acciones */
.fb-profile-actions {
    padding-bottom: 0.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
@media (max-width: 767.98px) {
    .fb-profile-actions { justify-content: center; }
}

/* Botones Facebook */
.fb-btn {
    display: inline-flex;
    align-items: center;
    border: none;
    border-radius: 6px;
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}
.fb-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.fb-btn-primary {
    background: var(--admusica-primary);
    color: #fff;
}
.fb-btn-primary:hover {
    background: var(--admusica-primary-dark);
    color: #fff;
}
.fb-btn-secondary {
    background: #e4e6eb;
    color: #050505;
}
.fb-btn-secondary:hover {
    background: #d8dadf;
    color: #050505;
}

/* Tabs del perfil */
.fb-profile-tabs {
    background: #fff;
    border-radius: 0 0 8px 8px;
    max-width: 1000px;
    margin: 0 auto;
}
.fb-profile-tabs-inner {
    display: flex;
    gap: 0.25rem;
    padding: 0 1rem;
    border-top: 1px solid #e4e6eb;
    overflow-x: auto;
}
.fb-profile-tab {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 0.9rem;
    color: #65676b;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.15s;
}
.fb-profile-tab:hover {
    background: #f0f2f5;
    color: #050505;
}
.fb-profile-tab.active {
    color: var(--admusica-primary);
    border-bottom-color: var(--admusica-primary);
}

/* Modales de cambio de foto */
.fb-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1090;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.fb-modal {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.fb-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e4e6eb;
}
.fb-modal-header h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}
.fb-modal-close {
    background: transparent;
    border: none;
    font-size: 1.6rem;
    color: #65676b;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fb-modal-close:hover {
    background: #e4e6eb;
}
.fb-modal-body {
    padding: 1rem;
    overflow-y: auto;
}
.fb-modal-preview-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e4e6eb;
}
.fb-modal-preview-cover {
    width: 100%;
    height: 160px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}
.fb-upload-label {
    display: inline-flex;
    align-items: center;
    background: #e4e6eb;
    color: #050505;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.15s;
}
.fb-upload-label:hover {
    background: #d8dadf;
}
.fb-upload-preview {
    display: block;
    margin-top: 0.75rem;
    max-width: 150px;
    max-height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
}
.fb-upload-preview-wide {
    max-width: 100%;
    max-height: 160px;
    border-radius: 8px;
}


/* =====================================================================
   FOOTER MÍNIMO FLOTANTE (páginas sociales - barra azul a todo el ancho)
   ===================================================================== */
.fb-footer-minimal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--admusica-primary) 0%, var(--admusica-dark) 100%);
    text-align: center;
    padding: 8px 16px;
    font-size: 0.78rem;
    color: #fff;
    z-index: 1000;
    width: 100%;
}
.fb-footer-minimal a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}
.fb-footer-minimal a:hover {
    text-decoration: underline;
}


/* =====================================================================
   HEADER MEJORADO + DROPDOWNS + SCROLL GRIS (estilo Facebook)
   ===================================================================== */

/* Mini perfil en la barra superior (foto + nombre, clic va al perfil) */
.social-user-mini {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: #fff;
    padding: 0.2rem 0.4rem;
    border-radius: 20px;
    transition: background 0.15s;
    flex-shrink: 0;
}
.social-user-mini:hover { background: rgba(255,255,255,0.15); color: #fff; }
.social-user-mini-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.4);
}
.social-user-mini-name {
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Dropdowns estilo Facebook (chat y notificaciones) */
.social-chat-dropdown,
.social-notif-dropdown {
    width: 360px;
    max-width: calc(100vw - 32px);
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 6px !important;
}
.social-dropdown-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e4e6eb;
    font-size: 1rem;
}
.social-chat-list,
.social-notif-list {
    max-height: 400px;
    overflow-y: auto;
}
.social-chat-item,
.social-notif-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    color: #050505;
    transition: background 0.12s;
    border-bottom: 1px solid #f0f2f5;
}
.social-chat-item:hover,
.social-notif-item:hover { background: #f0f2f5; color: #050505; }
.social-chat-item img,
.social-notif-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.social-chat-info,
.social-notif-info { flex: 1; min-width: 0; }
.social-chat-name,
.social-notif-text {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.social-chat-msg,
.social-notif-time {
    font-size: 0.78rem;
    color: #65676b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.social-dropdown-footer {
    display: block;
    text-align: center;
    padding: 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--admusica-primary);
    text-decoration: none;
    border-top: 1px solid #e4e6eb;
}
.social-dropdown-footer:hover { background: #f0f2f5; }

/* Scroll gris natural como Facebook (sin barra azul) */
.muro-col-left::-webkit-scrollbar,
.muro-col-right::-webkit-scrollbar,
.social-chat-list::-webkit-scrollbar,
.social-notif-list::-webkit-scrollbar {
    width: 8px;
}
.muro-col-left::-webkit-scrollbar-track,
.muro-col-right::-webkit-scrollbar-track,
.social-chat-list::-webkit-scrollbar-track,
.social-notif-list::-webkit-scrollbar-track {
    background: transparent;
}
.muro-col-left::-webkit-scrollbar-thumb,
.muro-col-right::-webkit-scrollbar-thumb,
.social-chat-list::-webkit-scrollbar-thumb,
.social-notif-list::-webkit-scrollbar-thumb {
    background: #c1c3c7;
    border-radius: 4px;
}
.muro-col-left::-webkit-scrollbar-thumb:hover,
.muro-col-right::-webkit-scrollbar-thumb:hover,
.social-chat-list::-webkit-scrollbar-thumb:hover,
.social-notif-list::-webkit-scrollbar-thumb:hover {
    background: #b0b3b8;
}

/* Espacio de publicidad arriba de cumpleaños en columna derecha */
.fb-right-ad {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    text-align: center;
}
.fb-right-ad-label {
    font-size: 0.7rem;
    color: #65676b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.fb-right-ad-content {
    font-size: 0.85rem;
    color: #050505;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
    border-radius: 6px;
    padding: 0.5rem;
}


/* =====================================================================
   PUBLICIDAD ENTRE POSTS (estilo Facebook)
   ===================================================================== */
.fb-ad-post {
    border: 1px solid #e4e6eb !important;
}
.fb-ad-icon {
    width: 40px;
    height: 40px;
    background: #f0f2f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #65676b;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.fb-ad-label {
    font-size: 0.7rem;
    color: #65676b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}


/* =====================================================================
   ETIQUETA PUBLICIDAD EN POSTS (estilo Facebook)
   ===================================================================== */
.fb-ad-label-inline {
    display: inline-block;
    font-size: 0.7rem;
    color: #65676b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 0.5rem;
    font-weight: 600;
}
.fb-boost-btn {
    font-size: 0.82rem !important;
}
.fb-boost-btn:hover {
    color: var(--admusica-primary) !important;
}


/* =====================================================================
   NOTICIA - Imagen lateral a la derecha (proporcional, no muy grande)
   ===================================================================== */
.noticia-img-lateral {
    max-height: 250px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.15s;
}
.noticia-img-lateral:hover {
    opacity: 0.9;
}
@media (max-width: 767.98px) {
    .noticia-img-lateral {
        max-height: 200px;
    }
}


/* =====================================================================
   REPRODUCTOR DE AUDIO EN PUBLICACIONES (estilo Spotify)
   ===================================================================== */
.fb-audio-player {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 8px;
    padding: 0.75rem;
    overflow: hidden;
}
.fb-audio-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #1DB954;
}
.fb-audio-header i {
    font-size: 1.3rem;
}
.fb-audio-player audio {
    border-radius: 6px;
}


/* =====================================================================
   PERFIL - Layout 2 columnas (datos izq + publicaciones der)
   ===================================================================== */
.fb-profile-content {
    width: 80%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1rem 2rem;
}
@media (max-width: 991.98px) { .fb-profile-content { width: 92%; } }
@media (max-width: 575.98px) { .fb-profile-content { width: 100%; padding: 0.5rem 0.5rem 1.5rem; } }

.fb-profile-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 1rem;
    align-items: start;
}
@media (max-width: 767.98px) { .fb-profile-layout { grid-template-columns: 1fr; } }

.fb-profile-left { position: sticky; top: 76px; }
@media (max-width: 767.98px) { .fb-profile-left { position: static; } }

.fb-profile-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    padding: 1rem;
    margin-bottom: 1rem;
}
.fb-profile-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #050505;
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e4e6eb;
}
.fb-profile-data-list { list-style: none; padding: 0; margin: 0; }
.fb-profile-data-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.45rem 0;
    font-size: 0.9rem;
    color: #050505;
}
.fb-profile-data-list li i { color: #65676b; font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; width: 20px; text-align: center; }

.fb-profile-photos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.fb-profile-photo-thumb { aspect-ratio: 1/1; overflow: hidden; border-radius: 6px; cursor: pointer; background: #f0f2f5; }
.fb-profile-photo-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.15s; }
.fb-profile-photo-thumb:hover img { opacity: 0.85; }

.fb-profile-right { min-width: 0; }

.fb-feed-post {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
}
.fb-feed-post-header { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.5rem; }
.fb-feed-post-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.fb-feed-post-info { flex: 1; }
.fb-feed-post-name { font-weight: 600; font-size: 0.92rem; color: #050505; text-decoration: none; }
.fb-feed-post-name:hover { color: var(--admusica-primary); }
.fb-feed-post-date { font-size: 0.78rem; color: #65676b; }
.fb-feed-post-content { font-size: 0.92rem; line-height: 1.45; color: #050505; margin-bottom: 0.5rem; word-wrap: break-word; }
.fb-feed-post-image-wrap { margin: 0 -1rem 0.5rem; overflow: hidden; background: #fff; }
.fb-feed-post-image { width: 100%; max-height: 500px; object-fit: contain; display: block; background: #fff; }
.fb-feed-post-video-embed { margin: 0.5rem 0; border-radius: 8px; overflow: hidden; }
.fb-feed-post-video-embed .ratio { width: 100%; border-radius: 8px; overflow: hidden; }
.fb-feed-post-video-embed iframe { width: 100%; height: 100%; border: none; }
.fb-feed-post-video-embed .embed-vertical-wrap { display: flex; justify-content: center; }
.fb-feed-post-video-embed .embed-vertical { width: 100%; max-width: 380px; border-radius: 8px; overflow: hidden; }
.fb-feed-post-video-embed .embed-vertical-wrap .ratio-9x16 { max-height: 675px; }
.fb-feed-post-video-wrap { margin: 0 -1rem 0.5rem; background: #000; }
.fb-feed-post-video { width: 100%; max-height: 500px; display: block; object-fit: contain; }
.fb-feed-post-pdf-wrap { margin: 0 -1rem 0.5rem; }

/* ====== REACCIONES ESTILO FACEBOOK DINAMICO ====== */
.fb-react-wrap {
    position: relative;
    display: inline-block;
}
.fb-react-trigger {
    background: none;
    border: none;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: background 0.15s, transform 0.15s;
    font-weight: 600;
}
.fb-react-trigger:hover {
    background: #f0f2f5;
    transform: scale(1.05);
}
.fb-react-popup {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 8px;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
    padding: 8px 12px;
    gap: 4px;
    z-index: 1000;
    flex-direction: row;
    align-items: center;
    transform: translateY(10px) scale(0.8);
    transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.2s;
}
.fb-react-wrap:hover .fb-react-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.fb-react-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20px;
    width: 20px;
    height: 8px;
}
.fb-react-opt {
    background: none;
    border: none;
    padding: 4px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.7rem;
    line-height: 1;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(0);
    opacity: 0;
    position: relative;
}
.fb-react-wrap:hover .fb-react-opt {
    transform: scale(1);
    opacity: 1;
}
.fb-react-wrap:hover .fb-react-opt:nth-child(1) { transition-delay: 0s; }
.fb-react-wrap:hover .fb-react-opt:nth-child(2) { transition-delay: 0.04s; }
.fb-react-wrap:hover .fb-react-opt:nth-child(3) { transition-delay: 0.08s; }
.fb-react-wrap:hover .fb-react-opt:nth-child(4) { transition-delay: 0.12s; }
.fb-react-wrap:hover .fb-react-opt:nth-child(5) { transition-delay: 0.16s; }
.fb-react-opt:hover {
    transform: translateY(-8px) scale(1.5) rotate(-5deg);
}
.fb-react-opt::before {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: #050505;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
    margin-bottom: 4px;
}
.fb-react-opt:hover::before {
    opacity: 1;
}
.fb-react-opt.is-active {
    background: #e7f3ff;
    border-radius: 50%;
}
