/* Kaizen Academia - Ocultar UI de Chamilo en modo embedded */

/* Header principal con logo y navegación */
#cm-header,
header#cm-header {
    display: none !important;
}

/* Navbar y menú superior */
nav.navbar,
.navbar.navbar-default,
.navbar-header,
.navbar-toggle,
#navbar {
    display: none !important;
}

/* Breadcrumb */
ul.breadcrumb,
.breadcrumb {
    display: none !important;
}

/* Footer */
footer.footer,
.footer,
.sub-footer,
section.sub-footer {
    display: none !important;
}

/* Panel de herramientas y notificaciones */
#cm-tools,
.nav-tools,
#notification-panel,
.notification-panel > .logo,
.notification-panel > ol.header-ol {
    display: none !important;
}

/* Forzar contenido al tope sin espacio del header */
body {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#main,
.main,
#wrap,
.wrap {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* === LP Controller (modo iframe Kaizen) === */

/* Botón hamburger (≡) toggle del sidebar */
#lp-sidebar-button,
.lp-sidebar-button,
button[data-toggle="sidebar"],
.lp_back_button,
#lpActionButtons,
.action-buttons { display: none !important; }

/* Iconos flotantes derecha (libreta, chat toggle) */
.lp_toggle_view_container,
.lp-toggle-view,
#lp-view-buttons { display: none !important; }

/* Chat widget inferior */
.social-chat,
.chat_container,
.bottom-chat,
#chatwindow,
.chatroom { display: none !important; }

/* Avatar y perfil en sidebar del LP */
.lp-user-image,
.lp_user_picture,
.lp-sidebar .user-info,
.lp-sidebar .avatar { display: none !important; }

/* Ocultar links que escapan a Chamilo */
a[href*="index.php"][href*="action=navigate"],
a.lp-go-back { display: none !important; }

/* === Reglas generales para todas las páginas en iframe === */
header,
header.navbar,
nav.navbar-default,
#toolbar-admin,
.navbar-default,
footer.bgfooter,
.bgfooter,
#navigation.notification-panel,
.social-menu,
.logo {
  display: none !important;
}

body > .container > .row > .col-xs-10,
body > .container > .row > .col-md-3 {
  display: none !important;
}

body > .container > .row > .col-xs-12.col-md-8 {
  display: none !important;
}

.container-fluid > .row > div > .section-notifications {
  display: none !important;
}
