/* === General === */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.content {
    flex: 1;
}

/* 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;
	background-color: #7c2639;
  	background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  	background-size: 4px 4px;
}


footer {
    background-color: #7c2639;
  	background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  	background-size: 4px 4px;
    color: white;
    text-align: center;
    padding: 15px 0;
}

a {
	color: #792021;
}

.titulo {
	letter-spacing: 1px;
	margin-top: 5px;
	margin-bottom: 15px;
	color: #6F2224;
	font-size: 18px;
	font-weight: bolder;
	line-height: normal;
	line-width: 100;
	text-indent: 0;
	border-bottom-color: #CCC;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	text-align: center;
}
.subtitulo {
	width: 1100px;
	margin: 0 auto;
	letter-spacing: 1px;
	margin-bottom: 20px;
	color: #333;
	font-size: 17px;
	font-weight: bolder;
	margin-top:20px;
}

/* === Contenido principal === */
main {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 2rem !important;
    margin: 15px 0;
	min-height: 120%; /* Hace que tenga la misma altura que el sidebar */
	
}

/* === Contenido principal para usuarios === */
main_user {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 2rem !important;
    margin: 15px 0;
	min-height: 120%; /* Hace que tenga la misma altura que el sidebar */
	
}


/* === Botón de login === */
.btn-login {
    background-color: #42202c;
    color: white;
    border: none;
}

.btn-login:hover {
    background-color: #7c2639;
}


/* === Sidebar / Menú lateral === */
.sidebar {
    background-color: #f9f9f9;
    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: #7c2639;
    color: #ffffff;
    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;
}

.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;
}

.hr-vino {
  border: none;
  border-top: 1px solid #7c2538; /* vino más saturado */
  opacity: 1;
  margin: 1rem 0;
  width: 75%;  
}

.form-group {
  margin-bottom: 2rem; /* aumenta espacio entre bloques */
}

.small-text {
  font-size: 0.85rem;
  color: #b58b00; /* mostaza */
}


/* agrega capa con estilo en los textos */
.styled-section {
  max-width: auto;
  margin: 2em auto;
  padding: 2em;
  margin: 0 3rem 0 3rem;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.8;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  color: #333;
}
/**con este estilo subrayamos el resultado de la buscqueda de nuestra tabla **/

   

  

