/* === General === */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

html, body {
  height: 100%;
  margin: 0;
}


.content {
    flex: 1;
	/*****/
	background-color: #f1f1f1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
	/*****************/
}

/* Aumentar altura del navbar para permitir imagen grande */
.navbar {
    min-height: 110px;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
	border-bottom: 3px solid #7c2639;
	box-shadow: 0 1px 0 #ccc;
	color: #000000;
}


footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 15px 0;
}


/* === Contenido principal === */
main {
    background-color: #f1f1f1;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 1rem !important;
    margin: 10px 0;
	/*min-height: 200%; /* Hace que tenga la misma altura que el sidebar */
	/*min-height: 100vh;*/
	flex: 1; /* ✅ hace que crezca automáticamente */
	
}

/* === Sidebar / Menú lateral === */
.sidebar {
    background-color: #f1f1f1;
    color: #333;
    border-right: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-right: 15px;
	margin-top: 15px;
    min-height: 100%; /* Asegura que ocupe toda la altura */
}

.sidebar .nav-link,
.sidebar .nav-link.active,
.sidebar .nav-link:hover {
    color: #333;
}

.sidebar .nav-link {
    transition: background-color 0.3s ease;
    padding: 0.75rem 1rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: #cccccc;
}
.nav-item i {
    margin-right: 8px;
}

.offcanvas-body ul ul {
    list-style: none;
    padding-left: 1rem;
}

.offcanvas.show {
    z-index: 1060;
}

#offcanvas-header {
    background-color: #f1f1f1;
    color: #333;
    border-bottom: 1px solid #ccc;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-right: 8px;
}

.navbar-brand img {
    height: 30px;
    margin-right: 10px;
}

.navbar {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* === Botón hamburguesa === */
.btn-menu {
    background-color: #42202c;
    color: white;
    border-color: #42202c; /* Aseguramos consistencia */
}

.btn-menu:hover,
.btn-menu:focus {
    background-color: #7c2639;
    color: white;
}
/* === Contenedor del sidebar + main === */
/*.content-wrapper {
    display: flex;
    flex: 1;
    min-height: calc(100vh - 56px); // Altura total menos navbar 
	padding: 0 2rem 0 1rem;
}*/
.content-wrapper {
    display: flex;
  flex: 1;
  min-height: 0;
}

.main-content {
  flex: 1;
  padding: 2rem;
  background-color: #f1f1f1;
}

.btn-outline-danger{
	background-color: #fff;
}
.btn-outline-danger:hover{
	background-color: #7c2639;
}

.margen_inferior {
    margin-bottom: 30px;
}

.texto-rojo{
    color: red;
    font-weight: bold;
}


.tox-promotion, .tox-statusbar__branding{
	display: none;
}