/* Estilos generales para la página */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    background-color: #1f2d3d;
    color: #ffffff;
}

/* Header (barra superior) */
header {
    background-color: #2c3e50;
    padding: 10px;
    text-align: center;
    font-size: 24px;
    color: white;
}

/* Sidebar (barra lateral izquierda) */
.sidebar {
    width: 20%;
    background-color: #2b3949;
    height: calc(100vh - 120px);
    padding-top: 20px;
    position: fixed;
    left: 0;
    top: 60px;
    overflow-y: auto;
}

.sidebar h3 {
    color: #bdc3c7;
    padding: 15px;
}
 
.sidebar a {
    width: 90%;
    background-color: #34495e;
    color: white;
    padding: 10px;
    margin: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: left;
    display: block;
    text-decoration: none;    
}

.sidebar a:hover {
    background-color: #3a5069;
}

/* Contenedor del contenido principal */
.content {
    margin-left: 21%;
    padding: 20px;
    height: calc(100vh - 120px);
}

.content h2 {
    border-bottom: 2px solid #bdc3c7;
    padding-bottom: 10px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    text-align: center;
    padding: 10px;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Formulario de login */
#login {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

#login input {
    padding: 10px;
    margin: 5px;
    width: 250px;
    border-radius: 4px;
    border: 1px solid #34495e;
}

#login button {
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #34495e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#login button:hover {
    background-color: #3a5069;
}



/* Barra de botones en el header */
.navbar-buttons {
    display: flex;
    gap: 10px;  /* Espacio entre los botones */
    margin-bottom: 14px;    
}

.navbar-buttons button {
    background-color: #34495e;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.navbar-buttons button:hover {
    background-color: #3a5069;
}


.content h3 {
    border-bottom: 1px solid #bdc3c7;
    padding-bottom: 10px;
}

div.sub {
    margin-left: 20px;
}

a.top-button {
    width: 20%;
    background-color: #2b3949;
    height: calc(100vh - 120px);
    padding-top: 20px;
    position: fixed;
    left: 0;
    top: 60px;
    overflow-y: auto;    
}

/* Barra de botones en el header */


.navbar-buttons a {
    background-color: #34495e;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
}

.navbar-buttons a:hover {
    background-color: #3a5069;
}