/* Fondo oscuro cuando el menú está abierto */
/* Opción activa del menú lateral */
.menu-opciones a.activo {
    background-color: #7a0000;
    color: #ffffff;
    font-weight: bold;
}
.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    z-index: 1090;
    transition: 0.3s ease;
}

.overlay-menu.activo {
    opacity: 1;
    visibility: visible;
}

/* Menú lateral */
.menu-lateral {
    position: fixed;
    top: 0;
    left: -310px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, #111111, #2d2d2d);
    color: white;
    z-index: 1100;
    transition: 0.3s ease;
    box-shadow: 5px 0 18px rgba(0, 0, 0, 0.45);
    overflow-y: auto;
}

.menu-lateral.activo {
    left: 0;
}

/* Cabecera del menú */
.menu-header {
    background-color: #b30000;
    padding: 22px;
    text-align: center;
    position: relative;
}

.btn-cerrar-menu {
    position: absolute;
    top: 12px;
    right: 14px;
    border: none;
    background-color: transparent;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

.foto-menu {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    background-color: white;
    margin-bottom: 10px;
}

.foto-defecto {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background-color: #222222;
    color: white;
    border: 3px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    font-weight: bold;
    margin: 0 auto 10px auto;
}

.menu-header h4 {
    margin: 8px 0 4px 0;
    font-weight: bold;
    font-size: 20px;
}

.menu-header p {
    margin: 0;
    font-size: 14px;
    color: #f2f2f2;
}

/* Opciones */
.menu-opciones {
    padding: 18px 0;
}

.menu-opciones a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e8e8e8;
    text-decoration: none;
    padding: 14px 24px;
    font-weight: 600;
    transition: 0.25s ease;
    border-left: 5px solid transparent;
}

.menu-opciones a:hover {
    background-color: #3a3a3a;
    color: white;
    border-left: 5px solid #b30000;
}

.menu-opciones a i {
    width: 22px;
    text-align: center;
    color: #ff4d4d;
}

.menu-opciones .salir {
    margin-top: 15px;
    background-color: #b30000;
    color: white;
}

.menu-opciones .salir:hover {
    background-color: #850000;
    border-left: 5px solid white;
}

/* Modal */
.modal-ls {
    border-radius: 20px;
    background-color: #f4f4f4;
    overflow: hidden;
}

.modal-header-ls {
    background-color: #b30000;
    color: white;
}

.mensaje-modal {
    color: #333333;
    font-size: 18px;
    font-weight: 500;
    margin-top: 15px;
}

.btn-salir {
    background-color: #b30000;
    color: white;
    font-weight: bold;
    border-radius: 12px;
    padding: 9px 22px;
}

.btn-salir:hover {
    background-color: #850000;
    color: white;
}

.btn-cancelar {
    background-color: #555555;
    color: white;
    font-weight: bold;
    border-radius: 12px;
    padding: 9px 22px;
}

.btn-cancelar:hover {
    background-color: #333333;
    color: white;
}