/* Estilos del encabezado */
header {
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: linear-gradient(135deg, #0093c4, #5edc9f);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-username {
    margin-top: 5px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

/* Estilos de la barra de navegación */
.header-left, .header-center, .header-right {
    display: flex;
    align-items: center;
}

.header-left {
    flex-direction: column;
}

/* Style for the back arrow */
.back-arrow {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    color: white; /* Color of the arrow */
    transition: color 0.3s ease;
}

/* Hover effect for the back arrow */
.back-arrow:hover {
    color: red; /* Change color on hover */
}

/* Estilos del logotipo */
.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

/* Estilos del nombre de la aplicación */
.app-name {
    font-size: 2em;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1;
}

/* Main Menu */
.menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.menu li {
    margin-left: 20px;
    position: relative;
}

.menu a {
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
    transition: background-color 0.3s;
    border-radius: 4px;
}

.menu a:hover {
    background-color: #fff;
    color: #0093c4;
}

/* Icono del menú para dispositivos móviles */
.menu-icon {
    display: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

/* Checkbox para controlar el menú desplegable */
#menu-toggle {
    display: none;
}

/* Submenú */
.submenu {
    position: relative;
}

.submenu > a::after {
    content: " \25BC"; /* Flecha indicando submenú */
    font-size: 12px;
}

.submenu-items {
    display: none;
    position: absolute;
    top: 100%;
    right: 10px;
    background: #5edc9f;
    color: #fff;
    list-style: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    z-index: 1000;
}

.submenu-items li {
    margin: 0;
    white-space: nowrap;
}

.submenu-items a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.submenu-items a:hover {
    background-color: #0093c4;
    color: #fff;
}

.submenu:hover .submenu-items {
    display: block;
}

/* Menú responsive */
@media (max-width: 1200px) {
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #0093c4, #5edc9f);
    }

    .menu li {
        margin: 0;
    }

    #menu-toggle:checked + .menu-icon + .menu {
        display: flex;
    }

    .menu-icon {
        display: block;
    }

    .submenu-items {
        left: 0px;
    }
}