/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    /*min-height: 100vh;/**/
}

/* Header */
.header {
    background-color: #333;
    color: white;
    padding: 10px 20px;
}

.header-container {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Estilos para el contenido a la derecha del encabezado */
.header-right {
    text-align: right;
}

/* Estilo de la información del encabezado */
.header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Logo */
.logo-container {
    display: inline-block;
    margin-right: 20px;
}

.logo {
    width: 50px;  /* Ajusta el tamaño del logo según tus necesidades */
    height: auto;
}

.user-info {
    display: flex;
    align-items: center;
}

.edit-profile-btn {
    margin-left: 15px;
    background-color: #007BFF;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
}

.system-time {
    font-size: 14px;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 20px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* Estilos para footer-content */
.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 14px;
    color: #ffffff;
    padding: 10px 20px;
    background-color: #333; /* Asegura que coincida con el color del footer */
    border-top: 1px solid #444; /* Línea superior para diferenciar del contenido */
}

/* Container */
.container {
    /*display: flex;
    flex: 1;
    flex-direction: row;/**/
    width: 100%;
    height: calc(100vh - 80px); /* Ajusta para header y footer */
    /**padding-top: 20px;
    /*top:178px; /* Altura del header */
    padding: 0px 20px;
}

/* Menu */
.menu {
    width: 200px;
    background: #f4f4f4;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    height: 100%;
    position: fixed;/**/
    top:78px; /* Altura del header */
    left: 0;
    bottom: 0; /* Altura del footer */
    flex-direction: column;
}

.menu a {
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    color: #333;
}

/* Estilo para cuando el usuario pasa el ratón sobre los enlaces */
.menu a:hover {
    background-color: #e0e0e0; /* Color de fondo cuando se pasa el ratón */
    color: #007bff; /* Color del texto cuando se pasa el ratón */
}

/* Estilo del título */
h1 {
    margin-top: 0;
    color: #333;
}

h2 {
    text-align: center;
}

/* Content */
.content {
    flex: 1;
    margin-left: 220px; /* Espacio para el menú */
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
    border-radius: 8px;
    height: 100%;
    /*margin-top: 60px; /* Espacio para el header */
}

.login-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-container h2 {
    margin-bottom: 20px;
}

.login-container form {
    display: flex;
    flex-direction: column;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-container input[type="submit"] {
    padding: 10px;
    border: none;
    background-color: #28a745;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.login-container input[type="submit"]:hover {
    background-color: #218838;
}

form {
    width: 300px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form div {
    margin-bottom: 15px;
}

label {
    display: block;
}

/* Estilo de los campos de formulario */
input[type="text"],
input[type="password"] {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Estilo del botón */
button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

button:hover {
    background-color: #0056b3;
}


.error {
    color: red;
}